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

Question on BATCH_MASTER BADI

0 Likes
1,000

Hi folks,

Could you kindly help me on this issue of mine? The client requirement is to auto-populate the region of origin (MCHA-HERKR) during MSC1N. We are using the user exit EXIT_SAPLV01Z_002 to generate the batch numbers (special coding required). The problem is, the region of origin is not found in that particular user exit. It is in EXIT_SAPLV01Z_013 but this is not invoked during MSC1N.

I tried implementing a BADI, definition name BATCH_MASTER. I created and activated the implementation Z_UPDATE_REGION. My code is in the method CHECK_DATA_BEFORE_SAVE. However, the system does not pass through it whenever I transact using MSC1N. I read through some email threads in this forum and somebody mentioned that the BATCH_MASTER BADI only gets triggered during MSC2 and MSC2N. So, I tried changing my created batches via MSC2N just to see if the BADI gets triggered. Still, no update happened.

If any of you has done the BADI before, could you please share your knowledge with me? Do I need to activate something else in order for the BADI to work?

Thank you in advance.

Hoops

Hi folks,

Could you kindly help me on this issue of mine? The client requirement is to auto-populate the region of origin (MCHA-HERKR) during MSC1N. We are using the user exit EXIT_SAPLV01Z_002 to generate the batch numbers (special coding required). The problem is, the region of origin is not found in that particular user exit. It is in EXIT_SAPLV01Z_013 but this is not invoked during MSC1N.

I tried implementing a BADI, definition name BATCH_MASTER. I created and activated the implementation Z_UPDATE_REGION. My code is in the method CHECK_DATA_BEFORE_SAVE. However, the system does not pass through it whenever I transact using MSC1N. I read through some email threads in this forum and somebody mentioned that the BATCH_MASTER BADI only gets triggered during MSC2 and MSC2N. So, I tried changing my created batches via MSC2N just to see if the BADI gets triggered. Still, no update happened.

If any of you has done the BADI before, could you please share your knowledge with me? Do I need to activate something else in order for the BADI to work?

Thank you in advance.

Hoops

1 REPLY 1
Read only

0 Likes
736

Please disregard this question. I have found the answer to it. Thanks to all who took time to read my post.