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

BDC Session method need to process the session in the same program

Former Member
0 Likes
681

Hi Experts,

I have a req req the Session Method.

The Req is that i need to run the Session method in Back-ground and this has to process the Session which was created in SM35.

But the Req now is that in the same program i was suppose to process the Session which was created and display the error records in the output of my program.

Pls help me on this.

3 REPLIES 3
Read only

dhirendra_pandit
Active Participant
0 Likes
534

Hi Sunil,

If you are using the session method in background method

then session implisitely maintain all the message in error log

you can see it after process the session.

if you want to capture all the message in your program then

do one thing

use call transaction method and collect all the message into internal table

and show it on output screen.

ex.

Call transaction <tcode> mode 'N' messages into <MSGtab>.

Regards

D. Pandit

Read only

0 Likes
534

Hi,

The user wants the same to be done in only Session method.

Let me know how to proceed.....

Thanks,

Sunil

Read only

0 Likes
534

Hi,

To process a BDC session use the program: RSBDCSUB.

Call the RSBDCSUB to schedule the batch input session that has been created in the

previous step. You must also first create a variant for RSBDCSUB using:

Session name

Target Server: Optional

Extended log..etc and other parameters on the selection screen of RSBDCSUB

Hope this helps

Regards

Shiva