Skip to Content
0
Jun 30, 2015 at 07:13 AM

Regarding Process Order Details of Order category 40

321 Views

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