Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Logic for Latest Start and Latest finish dates of COOIS Transaction

percy_686
Explorer
0 Kudos

I got requirement to get the Latest Start and Latest finish dates same as the COOIS Transaction based on Production order number. Other required fields values are available in PM_ORDER_DATA_READ. Unable to get the Latest Start and Latest finish dates. Kindly help to get the values of Latest Start and Latest finish dates based on Order number.
Regards.

1 ACCEPTED SOLUTION

listat
Participant
0 Kudos

Hello Prasabap Deshnnel,

Have you tried utilizing same functions as COOIS transaction?

Inside it is using FM COIS_SELECT_PARAMETERS_SET and FM COIS_SELECT_ORDERS_READ for Production Orders.

You need to pass IT_PARAMETER as input parameter with value of your Planner Order using S_AUFNR select option.

Kind regards,

Tatjana

4 REPLIES 4

listat
Participant
0 Kudos

Hello Prasabap Deshnnel,

Have you tried utilizing same functions as COOIS transaction?

Inside it is using FM COIS_SELECT_PARAMETERS_SET and FM COIS_SELECT_ORDERS_READ for Production Orders.

You need to pass IT_PARAMETER as input parameter with value of your Planner Order using S_AUFNR select option.

Kind regards,

Tatjana

0 Kudos

Thank you Tatjana for helpful answer.

janbuchmann
Contributor
0 Kudos

Use BAPI_PRODORD_GET_DETAIL with your order number as input parameter NUMBER and ORDER_OBJECTS-HEADER = 'X' and ORDER_OBJECTS-OPERATIONS = 'X'

0 Kudos

Thank You Jan for helpful answer.