cancel
Showing results for 
Search instead for 
Did you mean: 

Items validation in VA01

Former Member
0 Kudos

Hi all! I´m facing the problem of trying to make a validation that I was asked for. The thing is, I have to check the field lgtyp (Storage type) for every position of the sales order (VA01). I try a field exit (obsolete, I know!) but it didn't work because the exit is executed before the system picks the material (in that moment the LGTYP that will be used is known, not when the exit runs). Neither I found a helpful user exit.

The best choice would be to add the condition for LGTYP when the system chooses the storage location where the material will be taken from, but i'm afraid that won't be possible because that part is standard (i think) and can't be changed by an user exit.

What can I do??!

PD: The validation I have to make is that storage type (LGTYP) doesn't start with 9 (eg 922).

Thanks in advance!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I solved it mayself

Former Member
0 Kudos

Hi Matias Catanzariti,

How did You validate ??? Could you please share the Solution with SCN members.

Regards,

Suneel G

Former Member
0 Kudos

Hi Matias Catanzariti,

As you can find User EXits in this two Includes MV45AFZB / MV45AFZB for VA01.

I guess in Include MV45AFZZ You will find this USEREXIT_SAVE_DOCUMENT_PREPARE.

In exit try to validate your storage type.

Regards,

Suneel G