11-03-2011 1:28 PM
Dear Friends,
I'm doing some changes to PM order via BAPI_ALM_ORDER_MAINTAIN. In Pm order there are operations and components. In my system each time I create a new component for new operation, the numbering of components is reset and new component is assigned item number 0010. I'm trying to find a way how to pass the component item number via BAPI, but such field is not present in IT_COMPONENT structure. I found the item number is written in RESB-POSNR. Do you know how I can control the item numbering for new components created?
Maybe you also know if the components numbering can be changed via customizing?
Thanks!
Regards,
Vojtek
11-03-2011 6:01 PM
Hi,
Try to pass component item number in below mentioned field in table IT_COMPONENT.
IT_COMPONENT-ITEM_NUMBER = pass component item number
IT_COMPONENT-ACTIVITY = pass operation activity number.
For operation.
IT_OPERATION-ACTIVITY = pass operation number.
May this will help you.
Thanks,
Vijay
11-03-2011 6:01 PM
Hi,
Try to pass component item number in below mentioned field in table IT_COMPONENT.
IT_COMPONENT-ITEM_NUMBER = pass component item number
IT_COMPONENT-ACTIVITY = pass operation activity number.
For operation.
IT_OPERATION-ACTIVITY = pass operation number.
May this will help you.
Thanks,
Vijay
11-04-2011 7:40 AM
Dear Vijay,
It works, item_number really works! I don't know how I missed it, because I tried to add different fields in component table.. Sometimes a view from a different side helps. Thank you so much!