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

Batch input session not getting created

Former Member
0 Likes
1,842

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,194

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

4 REPLIES 4
Read only

Former Member
0 Likes
1,194

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.

Read only

0 Likes
1,194

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

Read only

Former Member
0 Likes
1,194

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.

Read only

Former Member
0 Likes
1,195

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