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

Automatic start of batch input session

Former Member
0 Likes
2,371

Hello @ll,

in a report I create a batch input session with the forms of the inlcude bdcrecx1 which than will be visible in transaction SM35.

Is there any possibility to start the processing of the batch input session after creating? I mean to start the processing in the program not in transaction SM35!

Thans for any usefull help!

Chris

Hi Max,

which reprot "R" do you mean???

Chris

6 REPLIES 6
Read only

Former Member
0 Likes
1,441

Hi

Yes after creating the session call the report RSBDCSUB to run the session:

SUBMIT RSBDCSUB WITH MAPPE = <SESSION NAME>

WITH VON = SY-DATUM

WITH BIS = SY-DATUM

WITH FEHLER = ' '

EXPORTING LIST TO MEMORY

AND RETURN.

Max

Read only

0 Likes
1,441

Hi Max,

which reprot "R" do you mean???

Chris

Read only

0 Likes
1,441

Hi

Excuse I pressed Post Message button but I haven't ended my answer: RSBDCSUB

Max

Read only

0 Likes
1,441

Hi Chris

As Max specified, within your program after calling CLOSE_SESSION. Use the below code provided by Max.

SUBMIT RSBDCSUB WITH MAPPE = <b><SESSION NAME></b>

WITH VON = SY-DATUM

WITH BIS = SY-DATUM

WITH FEHLER = ' '

EXPORTING LIST TO MEMORY

AND RETURN.

<SESSION NAME> <-- is the session name that you have created and visible in SM35.

Submitting the program RSBDCSUB with the session name will execute the session specified.

Regards

Eswar

Read only

0 Likes
1,441

Hi,

In the BDC program that u created for the session creation.

after creating the sessoin SUBMIT the RSTBDCSUB program.

Regards,'

Sunil

Read only

Former Member
0 Likes
1,441

David,

Run the report RSBDCSUB .It will run the session