Skip to Content
avatar image
-3
Former Member

Validate matnr with sold to party in VA01

Hi,

I need to pass error message in VA01 when we enter sold to party and material in the trasaction, it will vaildate with the ztable with the combination of sold to party and matnr is present in Ztable or not. If the combination mismatch then it will throw message in VA01.

please suggest.

Thanks in advance.

Regards,

Khusboo

Add comment
10|10000 characters needed characters exceeded

  • I was thinking of listing, exclusion and CMIR (the last one is not a good approach, but I have seen it used for such purposes as well).

  • Yes CMIR is also an option.

    Thanks!

  • Former Member Kamlesh Kumar Arya

    the requirement is like I need to throw a message whenever we enter material in line item in va01 , it will validate the material with the sold to party from the z table and if the combination of sold to party and material is not present it should throw a message.I tried doing change in user exit mv45afzz but its not hittng the include userexit_save_document_prepare.

    please guide.

  • Get RSS Feed

1 Answer

  • Apr 09 at 05:39 AM

    Hi Khusboo,

    You can use USEREXIT_SAVE_DOCUMENT_PREPARE of program SAPMV45A to validate your requirement before Save.

    Add comment
    10|10000 characters needed characters exceeded