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

SESSION METHOD ( BDC )

Former Member
0 Likes
1,943

1)When we will go for SESSION METHOD in BDC ?

2)How to schedule SESSION METHOD in Background ?

3)How to down load errors from Log file ?

4)What happens when an error is encountered while updating in Background as well as in foreground ?

Waiting for early reply with points..................

3 REPLIES 3
Read only

Former Member
0 Likes
1,196

1)When we will go for SESSION METHOD in BDC ?

Huge data and no run time validation

2)How to schedule SESSION METHOD in Background ?

use this program - RSBDCSUB

3)How to down load errors from Log file ?

use program - RSBDCLOG

4)What happens when an error is encountered while updating in Background as well as in foreground ?

you will reprocess the session if configuration issue at transaction wise ,if techinical problem i mean program then reupload the data.

Read only

Former Member
0 Likes
1,196

1. If you are having huge amount of data, if you are uploading the data for multiple applications and if the logfile is necessary...

2. U can use RSBDCSUB

3.

There is a way but it is a bit complicated you will have to do it in debugging the SM35 screen. I hope that I am clear enough below

What I do to get the Log of the SM35 session is take it from the internal table storing the log

in debug mode.

1)First goto SM35

2)Select the log

3)Click on Log

4)Click on the Session

5)Go into debugging mode /h

6)Click on Display

7)Create a Breakpoint on Subroutine 'extend_message_texts'

😎 You will find a internal table bdclm, let the subroutine process completely

9)then save the internal table as excel sheet by clicking on the button next to the find button at the top which comes when you see the contents of bdclm

Thus the errors are saved in a file.

4. If there are any error records in session, all those error records will get poulated in log .and after the session is completed , u can see error records which can be corrected and reprocessed again.

Read only

Former Member
0 Likes
1,196

hi,

1) When we will go for SESSION METHOD in BDC ?

large amont of data and background processing

handling multiple applications for validations at a time

2) How to schedule SESSION METHOD in Background ?

for scheduling we use predefined executable programs

RSBDCSUB and RSBDCBTC.

write these two statement after BDC_CLOSE_GROUOP.

SUBMIT RSBDCSUB via SELECTION-SCREEN.

SUBMIT RSBDCBTC EQ QID.

3) How to down load errors from Log file ?

execute RSBDCLOG for download.

4) What happens when an error is encountered while updating in Background as well as in foreground ?

if any error records encountered while processing in Background/Foreground , the error records are handled by log file.

we can corect the error records which are exisisting in logfile and process the session for this entaire process work with SM35.

regards,

Ashokreddy