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: 

Update Processing Status in ME53 screen using a BAPI or BADI

former_member209217
Active Contributor
0 Kudos

Hi Experts,

For the Transaction ME53N under Item Section ,inside the tab screen STATUS there is a field Proc.Status . We are trying to change the value of this field using a suitable BAPI or BADI. But we haven't succeeded so far . The Reason is that this field is always in Non-Editable mode irrespective of whether the requisition is in change mode or display mode.  Please can anyone of you please suggest if there is any BAPI or BADI using which we can achieve this. Your responses are highly appreciated

Best Regards,

Lakshman

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

From/To which value(s) do you want to change those "status" fields, those are usually updated after initial creation by the attachment of the requisition to a purchase order, a request of quotation, etc. So even if you fill the PROC_STAT field in a BAPI like BAPI_PR_CHANGE it may be too late to change value, or it can even not make sense to ?

Regards,

Raymond

8 REPLIES 8

raymond_giuseppi
Active Contributor
0 Kudos

From/To which value(s) do you want to change those "status" fields, those are usually updated after initial creation by the attachment of the requisition to a purchase order, a request of quotation, etc. So even if you fill the PROC_STAT field in a BAPI like BAPI_PR_CHANGE it may be too late to change value, or it can even not make sense to ?

Regards,

Raymond

0 Kudos

Hi Raymond,

The value should be set to "B PO Created" irrespective of what the value it previously holds. I am looking for a way to achieve this.

0 Kudos

How did you attach the purchase requisitions to the purchase orders, the status should have been changed during this event ?

(So the correct BAPI would be BAPI_PO_CHANGE or BAPI_PO_CREATE1 ?)

Regards,

Raymond

0 Kudos

Thanks Raymond,

So What Parameter I should populate in order to set the status. Or is it populated automatically  once I attach a PO to requisition . Can you please shed some light on this?

0 Kudos

On my systems it is automatically set when PR attached to PO, PO created by BAPI, ME21N or ME58/59.

Regards,

Raymond

0 Kudos

So what you mean is that the value sets automatically once we attach a Po to the PR. So I think that it doesn't make any sense to search for a BAPI or BADI to change that value .

0 Kudos

Yes

Former Member
0 Kudos

Laxman,

The field seems likely to be updated based on status of PR automatically by system, like PR created, PO created etc..

I dont think it is right option to find a way to update this field, as it might impact data coming in from SRM too..

why dont you enhace the item screen with one more field to meet your requirement, enhancing the screen will it not helpful for you.

Thanks,

Vinod