‎2007 Jul 13 8:22 AM
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.
‎2007 Jul 13 8:33 AM
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
‎2007 Jul 13 6:48 PM
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
‎2007 Jul 13 10:13 PM
<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' .
‎2007 Jul 13 10:43 PM
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.