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

capture message after SUBMIT report

Former Member
0 Likes
1,355

I have called submit report like below in  RFC function module .

submit rfitemap

              with kd_lifnr in r_it_lifnr

              with x_apar   eq abap_true

              with x_merk   eq abap_true

              with x_norm   eq abap_true

              with x_opsel  eq abap_true

              with x_park   eq abap_true

              with x_shbv   eq abap_true

              exporting list to memory and return.

how to capture  or skip  error or information populated by submit program ?

As the function module is a RFC function module, the FM is called from some SMDL program  .  Once the program executes  submit statement

is giving system failure exception and giving message like 'No connection with development system'.

Instead of giving messages populated in return table ,the SMDL program returns "NO connection"  message.

How to display the message from return table ?

I have called submit report like below in  RFC function module .

submit rfitemap

              with kd_lifnr in r_it_lifnr

              with x_apar   eq abap_true

              with x_merk   eq abap_true

              with x_norm   eq abap_true

              with x_opsel  eq abap_true

              with x_park   eq abap_true

              with x_shbv   eq abap_true

              exporting list to memory and return.

how to capture  or skip  error or information populated by submit program ?

As the function module is a RFC function module, the FM is called from some SMDL program  .  Once the program executes  submit statement

is giving system failure exception and giving message like 'No connection with development system'.

Instead of giving messages populated in return table ,the SMDL program returns "NO connection"  message.

How to display the message from return table ?

1 REPLY 1
Read only

ThangaPrakash
Active Contributor
0 Likes
622

Hello Kachana,

You can try like mentioned in the below thread with JOB OPEN, submit your program, JOB CLOSE and read the job log to get the messages raised during the submit program.

Regards,

TP