04-07-2018 5:14 PM
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
04-07-2018 6:40 PM
Why do you need a z-table and custom code when the same outcome can be easily achieved with standard configuration and master data maintenance?
I would suggest that you discuss first with the functional consultant why none of the possible options via configuration + master data maintenance are not feasible (there are at least 3 ways to do that with zero development effort).
If it is really unavoidable to resort to development - it makes sense to explain in your question what you have tried so far and at which point exactly you face problems, add code samples, show errors etc.
04-07-2018 7:13 PM
Hi,
Would you please explain the business requirement ?
Material Listing & Exclusion is already available in the standard system to meet such requirement, then why to go for zee Table?
Regards
Kamlesh
04-07-2018 7:14 PM
Hi Madam,
there are at least 3 ways to do that with zero development effort
Could you please tell what are these three ways?
04-07-2018 7:36 PM
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).
04-08-2018 5:28 AM
04-08-2018 8:26 AM
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.
04-09-2018 6:39 AM
Hi Khusboo,
You can use USEREXIT_SAVE_DOCUMENT_PREPARE of program SAPMV45A to validate your requirement before Save.