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

validation for pr creation on pr document type

Former Member
0 Likes
571

in me51n transaction i want to provide a check between values entered in the fields pr document type (BSART) and materialgroup(Matkl) entered in the PR at the time of PR creation, along with the corresponding values for these 2 fields,maintained in a Z_table.Relatively new to abap,plz reply asap

2 REPLIES 2
Read only

Former Member
0 Likes
436

Hello,

This can be done by enhancing the standard SAP transaction.

There exist a lot of enhancement technolgies.

The most common used once are :

- User exits (easy to program)

- BADIs (easy to program)

- Enhancement Framework (complex)

To enhance a transaction like ME51N a user exit or BADI will do.

Search on the internnet first how to implement user exits and BADIs and check with your functional analysts which BADI or user exit to use.

Example for ME51N can be the user exit MEREQ001.

Check enhancement MEREQ001 with transaction SMOD, check the different components to see which once you can use, again discuss this with your functional people to see when this exit is called in tcode ME51.

Implementation of user exits can be done via CMOD.

Success.

Wim

Read only

Former Member
0 Likes
436

Hi,

You can check if the badi ME_REQ_POSTED suits your requirement.

hope it helps.

Regards,

Raj