Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Skip Information message from SUBMIT

Former Member
0 Likes
1,332

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.

2 REPLIES 2
Read only

former_member188827
Active Contributor
0 Likes
662

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

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
662