cancel
Showing results for 
Search instead for 
Did you mean: 

Exit from a print program based on a condition

Former Member
0 Kudos

Hi Experts,

We have a requirement regarding the output determination in SAP Script print output for Billing. As of now, there are two outputs being processed for the same billing type.The outputs have different print programs and scripts.

Our requirement is to put a condition, based on which only one output should get processed. The scenario is as described below.

Output 1: Program 1

Output 2 :Program 2

Case 1 : The condition is fulfilled

Program 1 should exit and not process the output while Program 2 should run and process the output

Case 2: The condition is not fulfilled

Program 1 should run and process the output while Program 2 should exit and not process the output

Both the outputs have the transmission medium as print.

Thanks

RAVI

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I hope there is no need to code for this, this can be handled with the help of NACE. But the key is you should assign the exact output to be printed while creating the bill.

If condition is fulfilled assign output type 1 otherwise assign output type 2.

Regards

Karthik D