‎2014 Apr 07 11:44 PM
Hi, I'm getting the following error executing the function module, I need to get the information from structure CAUFVD.
Any idea ?
Error: intern: Prg-error in LCOSFU21 reading AFPO
‎2014 Apr 10 1:09 AM
Thanks all, it seems that function doesn't work, I tried PM_ORDER_DATA_READ instead and solved my problem.
‎2014 Apr 08 12:40 AM
One idea. Hit the question mark in the bottom right corner of your pop up to get more information about this error - detailed description error message number etc. At least you can share the results here if you don't feel any more enlightened after reading the long text.
‎2014 Apr 08 3:44 AM
hi Karina
Seems there are no relative order item in AFPO or VSAFPO_CN DBtable, maybe you can change other order to call this function.
regards,
Archer
‎2014 Apr 10 1:13 AM
Hi Dengyong, you're right, the function it doesn't work for that kind of orders, I tried with others and it worked fine, I found another one that solves my problem, thank you!
‎2014 Apr 08 3:47 AM
Hello Karina.
The FM that you had mentioned is not released.
Instead you can use BAPI_PRODORD_GET_DETAIL.
Regards.
‎2014 Apr 10 1:09 AM
Thanks all, it seems that function doesn't work, I tried PM_ORDER_DATA_READ instead and solved my problem.
‎2014 Apr 10 3:55 AM
Karina,
The FM PM_ORDER_DATA_READ is also not released.
Though it may solve your problem, it is not the best way when you have BAPI for that.
Regards.
‎2014 Apr 11 4:04 PM
Thanks, but that BAPI is only suitable for production orders, right?
I need one method for maintenance orders, with this one I get the message error: Order X has the wrong order category for this BAPI.
Thanks in advance for your guidance, I had not noticed that the function module PM_ORDER_DATA_READ was not released yet.
‎2014 Apr 12 3:45 AM
Yes, the BAPI I had mentioned is only for production orders.
For maintenance orders, try BAPI_ALM_ORDER_GET_DETAIL.