cancel
Showing results for 
Search instead for 
Did you mean: 

perform checks at MSC1N

Former Member
0 Kudos

Hi,

At MSC1N, SAP prevents creation of batches if the Material/Plant/Batch already exists in the system.

I have a user request to make this check at batch level, i.e. regardless of any material or plant, as long as the batch is already in the system, no creation should be possible.

Any idea how this can be done ? Is there any user exit available ?

Thanks n Regards,

jl

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Josephine,

U can use EXIT_SAPLV01D_001 to perform batch level check. Based on the what level u have config. ur batch system u can control automatically.

Former Member
0 Kudos

Hi Dani,

EXIT_SAPLV01D_001 is good but "batch" is missing from the import parameter.

thanks n rgds,

jo

Former Member
0 Kudos

Hi Josephine,

If the batch is missing you can get the batch from using the program call stack and getting the batch info using the dynamic referencing technique( field symbols).

Hope this helps

Cheers

VJ

Former Member
0 Kudos

Hi VJ,

I have not done this before.

Appreciate if you could give me some tips.

thanks n rgds,

jo

Former Member
0 Kudos

Hi Jo,

Take a look at the following link. This should give you an idea on how to access data witin user exit which is not available in the parameters of the user exit.

<a href="/people/brad.williams/blog/2005/04/25/userexits--how-do-i-access-inaccessible-data data dynamically</a>

Hope this helps

Cheers

VJ

Former Member
0 Kudos

Hi VJ,

Your tip is super, my program works very well.

Thanks for your help.

Thanks n Regards,

Jo

Former Member
0 Kudos

Thanks ur welcome

Have a pleasant day !!

Cheers

VJ

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

I would suggest you to use BADI: BATCH_MASTER.

I did an implementation on method CHECK_DATA_BEFORE_SAVE.

It works fine, should match your requirement.

Former Member
0 Kudos

Hi,

I have quick question on BATCH_MASTER BADI, Here I want to get the Storage Location value to compare.

Thanks in advance

Prasad

Former Member
0 Kudos

Hi,

I tried implementing SAPLV01P but could not find data to create a batch ( no batch management). Could you just check out SAPLV01P once and let us know.

Former Member
0 Kudos

HI

GOOD

CHECK WITH THE FOLLOWING USER EXITS

BATCHCHK Function Module Exits for Check in Case of Batch Changes

MBCFC010 Propose batch number on Inventory Management item screen

SAPLCHVW Batch where-used list

SAPLMHD1 Shelf life expiration date

SAPLV01D Determining the initial status of a batch

SAPLV01P Function Module Exits at Time Batches Are Updated

SAPLV01Z CFCs for internal batch number assignment

SAPLV1ZE CFCs for external batch number assignment

SAPLV1ZN CFCs for batch valuation in VB_CREATE_BATCH

THANKS

MRUTYUN

Former Member
0 Kudos

Hi MRUTYUN,

thanks for your reply but I have already tried out those user exits.

rgds,

jo