06-30-2015 8:13 AM
Hi ,
I need to fetch component details of a process order. While using bapi_prodord_get_detail for order category i get an error saying "Order 000001118700 has the wrong order category for this BAPI". As far as my understanding the bapi only returns order details of order category 10 i.e. Production Order. Is there any FM which can give me the Process Order details for any type of order category or order category 40(Process Order). The parameters i am passing are as follows :
CALL FUNCTION 'BAPI_PRODORD_GET_DETAIL'
EXPORTING
number = wa_field-aufnr
order_objects = lw_order_objects
IMPORTING
return = lw_return
TABLES
component = lint_component.
I am passing 'X' for component in lw_order_objects.
Thanks in advance
Dilit
06-30-2015 8:41 AM
Hello Dilit,
Can you please try below FM and let me know whether you are able to get the required data.
CO_SF_AFFV_READ.
06-30-2015 10:01 AM
07-02-2015 6:49 AM