03-12-2013 1:44 PM
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
03-12-2013 2:22 PM
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
03-12-2013 2:22 PM
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
03-12-2013 2:53 PM
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.
03-12-2013 3:20 PM
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
03-12-2013 4:10 PM
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?
03-12-2013 6:22 PM
On my systems it is automatically set when PR attached to PO, PO created by BAPI, ME21N or ME58/59.
Regards,
Raymond
03-13-2013 7:36 AM
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 .
03-13-2013 8:19 AM
03-13-2013 4:09 AM
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