‎2014 Jan 29 6:19 AM
Dear All,
From a custom program I am using following syntax to call BOM Change through batch input in ECC6.0.
SUBMIT RCSBI020 WITH LOG_NAME = <Path>
WITH BDC_FLAG = 'X'
USER SY-UNAME
VIA JOB <jobname> NUMBER <jobcount>
AND RETURN.
But this is not creating the batch input session. If I execute RCSBI020 report directly, then the batch input session is getting created.
Request you to guide me.
Best Regards
Akshay
‎2014 Feb 06 1:20 AM
Dear All,
The problem is solved.
When we use
SUBMIT RCSBI020 WITH LOG_NAME = <Path>
WITH BDC_FLAG = 'X'
USER SY-UNAME
VIA JOB <jobname> NUMBER <jobcount>
AND RETURN.
There should be correct data at the given <Path>. In my case I was giving some test <Path> and while debugging, after passing submit statement, changing the path where the correct data was saved.
Therefore, even if the correct path was given while debugging, Submit was taking the test <Path> for reading data. Thus failing to create the session.
Best Regards
Akshay
‎2014 Jan 29 1:33 PM
Hi,
The simplest way to solve this is by debugging... Have you tried this?
Is the statement CALL FUNCTION BDC_CLOSE_GROUP is reached? Also maybe some other parameter is missing?
Br,
Manu.
‎2014 Jan 30 2:45 AM
Hi Manu,
This code is working perfectly fine in ECC5.0, but when I am executing in ECC6.0, Batch input session is not getting created.
Thanks.
Best Regards
Akshay
‎2014 Jan 30 6:39 AM
I have checked by directly executing RCSBI020, it successfully creates batch input session, but when I submit RCSBI020 through add on report by passing same parameters, batch input session is not getting created.
‎2014 Feb 06 1:20 AM
Dear All,
The problem is solved.
When we use
SUBMIT RCSBI020 WITH LOG_NAME = <Path>
WITH BDC_FLAG = 'X'
USER SY-UNAME
VIA JOB <jobname> NUMBER <jobcount>
AND RETURN.
There should be correct data at the given <Path>. In my case I was giving some test <Path> and while debugging, after passing submit statement, changing the path where the correct data was saved.
Therefore, even if the correct path was given while debugging, Submit was taking the test <Path> for reading data. Thus failing to create the session.
Best Regards
Akshay