2013 Oct 31 6:52 AM
Hi guys,
I have created an Zprog1 with SUBMIT statement, like this below.
submit Zprog2 with p_dsplay eq ' '
with p_update eq 'X'
with p_bukrs eq p_bukrs
with s_date in s_date
with p_class eq '3013'
with p_uom eq 'LB'
with p_curr eq 'USD'
exporting list to memory
and return.
My problem here is, i am getting information message from Zprog2 which is reflected in Zprog1
while im executing. But i dnt want to show that information message from Zprog2.
Kindly help me ASAP. Thanks in advance.
2013 Oct 31 6:56 AM
In your zprog2 you can incorporate a check on field SYST-CALLD to see if it is 'X'. syst-calld is 'X' when it is called from some other program.
if syst-calld ne 'X'.
message 'XXX' type 'I'.
endif.
Regards
2013 Oct 31 6:57 AM