Application Development 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: 

I have a requirement to restrict deletion of line items in PR in ME52.

0 Kudos

Hello experts,

I have a requirement to allow deletion of line items from PR in ME52 tcode only when the PR is completely released i.e, EBAN-BANPR is EQ to '5'.

Please suggest me the Badi name or any any Exits which will fulfill my requirement.

Thanks.

1 ACCEPTED SOLUTION

JL23
Active Contributor

Why do you want managers to approve items where the creator already intends to delete them. This creates extra effort on various people and departments and may even lead to an unwanted purchasing process because the requisitioner may miss the deletion at the right time between final release and when the buyer starts ordering.

4 REPLIES 4

former_member220028
Active Contributor
0 Kudos

Hi,

try

BAPI_REQUISITION_GETDETAIL

BAPI_REQUISITION_CHANGE

raymond_giuseppi
Active Contributor
0 Kudos

Do you actually mean obsolete ME52 and not ME52N?

Which BAdI/Exit did you already try after your initial search?

JL23
Active Contributor

Why do you want managers to approve items where the creator already intends to delete them. This creates extra effort on various people and departments and may even lead to an unwanted purchasing process because the requisitioner may miss the deletion at the right time between final release and when the buyer starts ordering.

0 Kudos

Thanks for the suggestion Jurgen.

The requirement has been scrapped.

Br,

Pk