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

Submit BDC to process in background automatically

Former Member
0 Likes
1,411

Hi,

How would I automtacally have my BDC session to process in the background and complete it without going through SM35 to process in the background.

Thanks,

Will

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
973

Hi Will,

Please check this sample code.

  SUBMIT rsbdcsub AND RETURN
         EXPORTING LIST TO MEMORY
         WITH mappe = p_sessionnanme
         WITH von   = w_datum
         WITH bis   = sy-datum
         WITH z_verarb = c_true
         WITH fehler = c_false.

Regards,

Ferry Lianto

7 REPLIES 7
Read only

Former Member
0 Likes
973

Hi Will,

You can run/submit SAP standard program RSBDCSUB which will process your session automatically.

Regards,

Ferry Lianto

Read only

0 Likes
973

Hi Ferry,

Would the code be

submit RSBDCSUB.

Would I put this after the statement PERFORM BDC_TRANSACTION USING 'GS01'.

So would it be

PERFORM BDC_TRANSACTION USING 'GS01'.

submit RSBDCSUB.

I had done this before years ago and didn't copy the code . Would you help with the syntax.

Thanks

Hi All your replies are faster than my typing.

Will

Message was edited by:

Will Ferrell

Message was edited by:

Will Ferrell

Read only

Former Member
0 Likes
973

you can use

eithe RSBDCSUB or RSBDCBTC for it

Regards,

GNK

Read only

Former Member
0 Likes
973

U can do it via RSBDCSUB.

submit RSBDCSUB via selection-screen with mappe = <session name>

z_verarb = 'X'

fehler = 'X'.

Read only

Former Member
0 Likes
974

Hi Will,

Please check this sample code.

  SUBMIT rsbdcsub AND RETURN
         EXPORTING LIST TO MEMORY
         WITH mappe = p_sessionnanme
         WITH von   = w_datum
         WITH bis   = sy-datum
         WITH z_verarb = c_true
         WITH fehler = c_false.

Regards,

Ferry Lianto

Read only

0 Likes
973

Thanks so much Ferry and regards.

Read only

Former Member
0 Likes
973

hi ,

you can also write this statement

SUBMIT RSBDCSUB VIA SELECTION-SCREEN.

Regards,

GNK