Skip to Content
0
Former Member
Nov 20, 2008 at 04:41 AM

Exit from a print program based on a condition

116 Views

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