Application Development 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: 

BDC-Session Method

Former Member
0 Kudos

Hi,

Is there any way to automatically execute the session created in the BDC Session method.

I read some where using RSBDCSUB we can do that.

Can anyone tell me what is RSBDCSUB and and how can i achieve the automatic execution of sessions.

Thanks

Dan

1 ACCEPTED SOLUTION

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Dan,

in your program, where BDC-sessions are created, one additional statement can help:

SUBMIT rsbdcsub WITH mappe EQ 'your_name'
                      WITH von   EQ sy-datum.

If you create multiple sessions, you can use wildcards for 'mappe', too.

Regards,

Christian

5 REPLIES 5

Former Member
0 Kudos

Dan,

RSBDCSUB is an ABAP program that can be executed via transaction SE38 or SA38 and will allow you to process BDC Sessions. You can insert this into your program, call it externally as mentioned above, or schedule a job to do so.

Former Member
0 Kudos

Hi

Joel Thanks 4 the information.

I checked RSBDCSUB program.

We can execute all the Batch Input sessions by running that program.

But we need to manually run this program to execute the sessions.

How about executing the session from our BDC program?

Any way to automate this execution without manually clicking buttons?

0 Kudos

There is a dialog about automating the submission of a batch job.

Message was edited by: Charles Folwell

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Dan,

in your program, where BDC-sessions are created, one additional statement can help:

SUBMIT rsbdcsub WITH mappe EQ 'your_name'
                      WITH von   EQ sy-datum.

If you create multiple sessions, you can use wildcards for 'mappe', too.

Regards,

Christian

0 Kudos

Christian,

That worked fine.

That is what I was looking for.

Great Info... Appreciate ur help.

Dan