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

how to process batch input session through program

Former Member
0 Likes
1,558

Hi Friends,

I am getting 5 batch input sessions in SM35,but I want to process these all sessions through program without going to SM35.

How it is possible through Program?

Please Guide me!

Thanks,

Yogesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
863

using RSBDCSUb prg we can do this

3 REPLIES 3
Read only

Former Member
0 Likes
864

using RSBDCSUb prg we can do this

Read only

0 Likes
863

Hi Madhavi,

Thanks for solution.

Read only

Former Member
0 Likes
863

Hi,

It's the report to run the batchinput sessions.

When you create to B.I. session, you can execute it by transaction SM35 (but it uses rsbdcsub) or rsbdcsub.

For example you can use it in the same program where you create B.I.:

Here the code to fill the structures of FI batch input

standard....

...here it creates session...

SUBMIT RFBIBL00 WITH DS_NAME = VA_FILE

WITH CALLMODE = CALLMODE AND RETURN.

....here it runs session....

SUBMIT RSBDCSUB WITH MAPPE = P_NAME

WITH VON = SY-DATUM

WITH BIS = SY-DATUM

WITH FEHLER = ' '

TO SAP-SPOOL

LIST NAME P_NAME

LIST DATASET P_NAME

COVER TEXT P_NAME

NEW LIST IDENTIFICATION ' '

EXPORTING LIST TO MEMORY

AND RETURN.

regards,

Shiva.