Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User Exits

Former Member
0 Likes
490

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

4 REPLIES 4
Read only

Former Member
0 Likes
447

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?

Read only

0 Likes
447

i m trying to validate Material group field

Read only

Former Member
0 Likes
447

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.

Read only

Former Member
0 Likes
447

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