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

capturing batch no in msc1n -- BDC

Former Member
0 Likes
746

Dear Friends,

Im using BDC for creating Batches, we have automatic batch activated in the customization

when im running the BDC there is one new batch no getting generated and now at the runtime i want to capture the batch no and store into my internal table at runtime, for that i have tried GET Parameter id but im unable to get.

KIndly suggest is ther any other way to capture that batch number ??

Regards,

Sunny V

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
620

Hi Sunny,

Have you tried parameter ID CHA. (have used the same.. working perfectly)

alternative:

BAPI - BAPI_BATCH_CREATE.

Nag

Dear Friends,

Im using BDC for creating Batches, we have automatic batch activated in the customization

when im running the BDC there is one new batch no getting generated and now at the runtime i want to capture the batch no and store into my internal table at runtime, for that i have tried GET Parameter id but im unable to get.

KIndly suggest is ther any other way to capture that batch number ??

Regards,

Sunny V

3 REPLIES 3
Read only

Former Member
0 Likes
621

Hi Sunny,

Have you tried parameter ID CHA. (have used the same.. working perfectly)

alternative:

BAPI - BAPI_BATCH_CREATE.

Nag

Read only

Former Member
0 Likes
620

Get it from field of batch number itself. Just debug your program with all BDC code, somewhere batch number must generate in your BDC program. Just keep store it from there.

Read only

Former Member
0 Likes
620

thnks