Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9146

How to avoid output file and error lines when condition does not match

$
0
0

Hi Experts
A customer want to send purchase order files to several vendors and each vendor has their own requirement to content and file format. I have prepared scenarios for each vendor and a template is (conditionally) called when CardCode matches. It works fine, - PO file is generated when CardCode matches, but error lines are written to SAP B1 Control Center each time CardCode does not match the one defined in a scenario (100 or more times per day). Problem is that these error lines does not get automatic deleted. Conditional processing are made in this way:
Choose.jpg

Result Message in SAP B1 Control Center when CardCode does not match:
FromLocalVariable inMsg.jpg

I tried to avoid an error line in SAP B1 Control Center when CardCode does not match in this way:

Choose Otherwise.jpg

Then no error lines are written to SAP B1 Control Center, but an output file is generated each time (order file when CardCode matches and an empty file when CardCode does not match).

 


Any suggestions on how to avoid both errors types (error lines in SAP B1 Control Center and empty output files)?
Or - can lines in SAP B1 Control Center be automatic deleted?

 

Regards
Steen


Viewing all articles
Browse latest Browse all 9146

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>