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

process a session without using SM35????

Former Member
0 Likes
805

Hello Gurus,

I am new to BDC and LSMW.Please answer the following questions.

<b> Q.1 I</b>n session method, how can we process a session through BDC program <b>without using SM35 transaction</b> ????

<b>Q.2</b> If we are in the process of processing a session and suddenly system crashes, how can we reprocess the same session

<b>Q.3</b> In LSMW , suppose we are uploading 1000 records, if 500 are uploaded successfully and remaining 500 records were not successfully uploaded.Then how do we upload the remaining 500 error records? I mean how can we exactly start uploading from the first error record ???

Thanks in Advance,

Anky.

Points rewarded for sure.

4 REPLIES 4
Read only

Former Member
0 Likes
675

HI,

1) Use RSBDCSUB program to scedule the BDC program

2) You can rerun the program, it will upload the reocords, if you used the commit then delete the records which you uploaded then do the upload

3) We can create the Session in the LSMW, then run the session in Error screen mode and do the modification to the error record

Regards

Sudheer

Read only

0 Likes
675

Hi Sudheer,

Thanks for the reply.

RSBDCSUB is to process the sessions.But with in the BDC program, how do we call this RSBDCSUB program and pass the session name...so that it can processs the given session??

For the third answer, if the error records are large in number then it will be a tideous job to do the modification for each record right?? Is there any other way to upload the error records???

Thanks,

Anky

Read only

0 Likes
675

<b>Use SUBMIT report RSBDCSUB </b>

CALL FUNCTION 'JOB_OPEN'

EXPORTING

JOBNAME = JOBNAME

IMPORTING

JOBCOUNT = JOBNUMBER.

SUBMIT 'RSDBCSUB' AND RETURN

  • with your BDC name as parameter>

VIA JOB JOBNAME NUMBER JOBNUMBER

CALL FUNCTION 'JOB_CLOSE'

EXPORTING

JOBCOUNT = JOBNUMBER

JOBNAME = JOBNAME

STRTIMMED = 'X' .

Read only

0 Likes
675

for your 3rs answer:

if you are uploading a file with large number of records having incorrect data, then, its not your headache, contact the concerned department and ask them to send the correct file with correct data.