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

Generic Batch Number assignment via Customer exit

Former Member
0 Likes
1,067

Hi Folks,

The client requirement is as follows:

Once a user enters a batch number customer exit EXIT_SAPLV01Z_002 should be triggered.

Here, in this exit via custom logic, i am supposed to create a generic batch code.

If the user enters a batch code from any tcode be it MSC1N, Purchase order creation, MB11, Process order etc.

First a validation should be done. Else, if field is blank then a generic batch number is to be created.

Generic batch would be like PMFGYMDxxx- PMFG- Plant of manufacture, YMD- Date in YMD format and xxx as next.

My concern is that when user enters a batch code from above mentioned TCODES this Customer exit does not get triggered.

It only gets triggered when batch number field is left empty.

Need help!!

Hi Folks,

The client requirement is as follows:

Once a user enters a batch number customer exit EXIT_SAPLV01Z_002 should be triggered.

Here, in this exit via custom logic, i am supposed to create a generic batch code.

If the user enters a batch code from any tcode be it MSC1N, Purchase order creation, MB11, Process order etc.

First a validation should be done. Else, if field is blank then a generic batch number is to be created.

Generic batch would be like PMFGYMDxxx- PMFG- Plant of manufacture, YMD- Date in YMD format and xxx as next.

My concern is that when user enters a batch code from above mentioned TCODES this Customer exit does not get triggered.

It only gets triggered when batch number field is left empty.

Need help!!

1 REPLY 1
Read only

Former Member
0 Likes
658

Moderator message - Welcome to SCN. But please do not post your requirements and ask the forum to do your work for you - post locked Also, Please read and and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again. Rob