Question reg. 'SUBMIT'
Program A calls Program B with variant V.
However program A does not want the program B to process all the criteria in variant V (it may want to delete/modify some of the values of the variant V ).
How to achieve this using 'Submit' ?
Any input or example is highly appreciated.
Thanks a lot.
Use the syntax as shown below
SUBMIT B USING SELECTION-SET 'TEST'
WITH P_TEST1 EQ ' '
WITH P_TEST2 EQ ' '.
p_test1, p_test2 are the parameters in report B which needs to be ignored which are also included in the variant 'TEST'. The values supplied with the '<b>WITH'</b> addition take precedence over the values supplied with <b>USING SELECTION-SET</b> addition