cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Mass Change Quantity in Subscription order using BTMF process

bvijay_borule28
Explorer
0 Likes
1,102

Hi All,

I'm trying to update the Quantity in subscription contract using BTMF process: CHANGE_QUANTITY. Able to update the Quantity, but the technical status for the newly created item is not active because of Equipment ID is not added to object list in subscription order.

Is there any way to add the equipment to object list in subscription order using any API or something?

Thanks in Advance.

Accepted Solutions (1)

Accepted Solutions (1)

0 Likes

Hi Vijay,

We are not aware of your scenario but if you have the requirement of changing the quantity and updating the Equipment IDs in the Object List then please refer to the BTMF process SCALE_EQUIPMENT(Scale Up/Down Equipment).

For more information please see https://help.sap.com/viewer/95ad0cb1c441447888d695da7f3fd3d9/2020.001/en-US/2d83babdd6e146148efc65f2...

If execution is via API the Equipment IDs would have to be supplied as you would Technical Resources in the process container.

Thanks,
Vinay

bvijay_borule28
Explorer
0 Likes

Hi Vinay,

Thank you for your response.

Our requirement is to modify the quantity and add equipment ID to objects list in subscription order.

For example:

If we increase the quantity by 1, one equipment ID needs to be added to objects list in subscription order.

If we increase the quantity more 1, those many equipment ID needs to be added to objects list in subscription order.

Not sure whether we can achieve this or not

Regarding BTMF process SCALE_EQUIPMENT, can you please let us know what parameter we need to pass to achieve this. We are using CRM_ISX_BTX_API_CONT_CHANGE to change the contract data.

Thanks in advance.

Answers (2)

Answers (2)

0 Likes

Hi Vijay,

In case of scale down (say from quantity 2 to 1) you would have to pass in the TR_TYPE and TR_SLOT with the TR_OBJ_ID as blank.

TR_TYPE1 EQ (just an example)

TR_SLOT1 2

TR_OBJ_ID1 (Empty)

TR_OBJ_KEY1

When TR_OBJ_ID is blank then it will considered as a delete scenario.

Thanks,
Vinay

0 Likes

Hi Vijay,

In the standard delivered scenario there is coupling between the Equipment IDs in Object List and the Technical Resource IDs.

Hence the Scale Equipment process expects the process container to be filled similar to how you would for the Change Technical Resources process.

For e.g. You have an active Subscription Contract with quantity 1 and now you want to modify the quantity to 3.

Then you will have to build the process container as below to modify the quantity to 3 and add two additional Equipment IDs.

Name Value

QUANTITY 3

TR_TYPE1 EQ (just an example)

TR_SLOT1 2

TR_OBJ_ID1 222 (Equipment ID)

TR_OBJ_KEY1

TR_TYPE2 EQ (just an example)

TR_SLOT2 3

TR_OBJ_ID2 333 (Equipment ID)

TR_OBJ_KEY2

Please verify if this suits your requirements.

Thanks,
Vinay

bvijay_borule28
Explorer
0 Likes

Hi Vinay,

Its working for addition of equipment ids. but for deletion of equipment its not working, can you please let me know how to proceed with deletion ?

Thanks a lot.

Regards

Vijay