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

MSC2N - Change Batch

Former Member
0 Likes
1,097

Hi,

In transaction MSC2n, to change/update the shelf life exp date, the user exit is as follows.EXIT_SAPLVBMD_001. I have a FM that generates an IDOC in case of any change in the date. when i try to call this FM in above mentioned customer exit the importing field I_BNCOM - Batch Number Allocation: Communication Block (Dialog) is not populating any values. If i hardcode the values of FM parameters, the user exit is triggered and it works fine but does not work when i try to pass the importing parameter of user exit.

Does anyone know how to fix this?

Regards,

Ramya

2 REPLIES 2
Read only

Former Member
0 Likes
673

Hi,

It doesnt matter of how you are passing parameters to the FM in the user exit. Better try to pass the importing data into local variables and try to use the same to call FM.

Thanks,

Basha

Read only

Former Member
0 Likes
673

The check before the exit function fails and it does not passs any values.

Instead used a BADi BATCH_MASTER where the interface and method is trigerred once the Shelf life date is entered. VFDAT.

Ramya