‎2006 Nov 29 9:33 AM
Hi All,
I have a requirement to create a user exit for enjoy transactions ME21N/22N/23N/51N/52N/53N.
I have used the following user exit function modules: EXIT_SAPMM06E_012 (for ME21N/22N/23N) and EXIT_SAPLMEREQ_005 (for ME51N/52N/53N).
This user exit should validate the data entered by the user in these transactions.
In item overview section of the PO/PR the validation is carried out well on material group, but in services tab (as shown in fig) under item details, the validation for material group is not being carried out.
The problem is that in above said function modules we are unable to catch the data on the screen in either import or export parameters of the function modules for item services data, but in case of item details
We are able to catch the data for item details in import/export parameters of the function module.
Any Pointers on above issue....
Regards
Shiva
‎2006 Nov 29 12:08 PM
Hi,
You can use METHOD : PROCESS_ITEM of BADI : ME_PROCESS_PO_CUST to do item validation.
What is the field name that you are trying to validate, and we can find out whether its possible to do it in this badi or not. Is that field belonging to EKPO?
‎2006 Nov 29 12:13 PM
‎2006 Nov 29 12:16 PM
Then that should be EKPO-MATKL.
You can definitely validate this PROCESS_ITEM. Go through the documentation of this badi and you can easily get this done.
‎2006 Nov 29 12:21 PM
are u getting the EKPO data or not ? If yes then check EKPO-MATKL, and put ur validations ?
first try then let us know the probs.
Regards
prabhu