Skip to Content
0
Former Member
Mar 18, 2009 at 04:30 PM

BAPI_ALM_ORDER_MAINTAIN to create Operation

670 Views

Hi,

I am using BAPI_ALM_ORDER_MAINTAIN to create Operation for an existing order.

As of now am hard coding the available Activity number while creating a new operation.

How can I get the available Activity numbers dynamically or is there any function module or table which contains tha available Activity number for an Order so that i can pass it to my above FM?

IT_OPERATION-ACTIVITY = '0470'. -


> here i have to pass the available Activity

IT_OPERATION-CONTROL_KEY = 'PM01'.

IT_OPERATION-PLANT = '0100'.

IT_OPERATION-DESCRIPTION = 'Description'.

IT_OPERATION-LANGU = 'E'.

APPEND IT_OPERATION.

Thanks & Regards,

Adithya M.

Edited by: Mahadas Adithya on Mar 19, 2009 3:48 PM