cancel
Showing results for 
Search instead for 
Did you mean: 

FM to update Service Order status

Former Member
0 Kudos

Hi all,

Can anyone please suggest a released FM to update service order status from TECO to CLSD?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member188685
Active Contributor
0 Kudos

You Can use

BAPI_ALM_ORDER_MAINTAIN

Regards

Vijay

Former Member
0 Kudos

Hi,

I tried using BAPI_ALM_ORDER_MAINTAIN

If i pass CHANGE to the tables parameter- it_methods-method

i am getting the following error msg:

'BAPI call-up must have a SAVE or DIALOG method'

The return structure is giving the following message if i pass 'SAVE/DIALOG' :

'Method SAVE/DIALOG is not provided for object USERSTATUS'

Can u plz help me out...

Former Member
0 Kudos

Hi,

You could use CRM_STATUS_UPDATE, but if you use that function, the update will probably not be send through the flows of CRM (=> dependent systems, like MSA, will not be updated).

If you want the update to pass through the CRM flow, you'll have to use the standard Bapi to maintain orders (CRM_ORDER_MAINTAIN) or the inbound XIF-function which might be easier to use: CRMXIF_ORDER_SAVE.

The first is based on tables which contain the changes, the second is based on a bdoc-structure that you'll need to fill for yourself

<b>Reward points</b>

Regards