on 07-19-2006 8:28 PM
hi,
I have a problem changing a production order.
the problem ocures from a purchase requisition. When I am in ME52N the deletion indicator goes in display, where Icant delete it.
I am trying to delete a line item from the requistion of account assigment --> "f" and item category "d".
when I try to delete the line item I get the message " this item is only deletable via the associated production order".
I tried to locate the production order through Co03, but was not able to, so that I can then go to change mode and then delete. I was able to find the order in the table afko --" order header data PP orders".
at the same item I am unable to locate the order in the table afpo -- "order item".
the order finish date is in 2004. I am thinking that the order might have been archived.
if so, I am stuck how to delete the line item.
if anyone, has any ideas or any way around, do let me know
Thanks,
Srikanth.
Was able to do with the BAPI's
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Thanks for the quick reply.
When I tried to delete the requisition item it gives me an error code "CJ021" "WBS Element 00028863 does not exist"
The requisition has been created in the first place with a wrong WBS element. I wonder how?
Actaully it is one of the validation which SAP checks.
and know it is not letting me to delete the requisition.
Kindly suggest.
Thanks
Srikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srikanth,
You can use this BAPI (transaction SE37) to delete PR line item.
BAPI_REQUISITION_CHANGE
BAPI_REQUISITION_DELETE
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.