cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_ALM_ORDER_MAINTAIN not updating Component's Requirement quantity

Former Member
0 Kudos

Hii All,

I have a requirement where I have to update Requirement quantity of the component.

To update it, I am using BAPI_ALM_ORDER_MAINTAIN where I am providing following values:

IT_METHODS:

000001     COMPONENT     CHANGE     4000197

000001                                    SAVE            4000197

IT_COMPONENT:

IT_COMPONENT-RESERV_NO = 0000000353

IT_COMPONENT-RES_ITEM      = 0010

IT_COMPONENT-ITEM_NUMBER = 0010

IT_COMPONENT-ACTIVITY = 0010

IT_COMPONENT-REQUIREMENT_QUANTITY = 3

IT_COMPONENT_UP:

IT_COMPONENT_UP-ITEM_NUMBER = 'X'.

IT_COMPONENT_UP-ACTIVITY = 'X'.

IT_COMPONENT_UP-REQUIREMENT_QUANTITY = 'X'

When I execute the BAPI with above values, RETURN table shows me following output:

E     CMC                 003    Components with Keys 0000000353 0010  Not Found

E     IWO_BAPI2     113     Error  during processing of BAPI methods

Please let me know, what is missing as the component key is valid.

Thanks,

Manish Verma

Accepted Solutions (1)

Accepted Solutions (1)

peter_atkin
Active Contributor
0 Kudos

The IT_COMPONENT-RES_ITEM looks like it has the wrong value.

Try changing 0010 to 0001

PeteA

Former Member
0 Kudos

Thanks Pete.

Its working now.

Answers (0)