cancel
Showing results for 
Search instead for 
Did you mean: 

Can someone suggest me BAPI FM for creating service order w.r.t service notification number.

0 Kudos

Hi All,

Can some one suggest me some BAPI for creating Service Oder using IW31 w.r.t Service Notification Number.

I have tried with : BAPI_ALM_ORDER_MAINTAIN. But is not working fine.

Please urgent!

Thanks and Regards!

Accepted Solutions (0)

Answers (3)

Answers (3)

raveeshsaurabh3
Active Participant
0 Kudos

BAPI_ALM_ORDER_MAINTAIN should be able to create the order with respect to the notification. If you are facing some issues, this means the parameters were not filled correctly, as I have been working on the same BAPI and it is working fine for me except one problem.

Notification is not getting updated with the order number which means QMEL-AUFNR is blank. Let me know if you face this issue.

Thanks

Raveesh

0 Kudos

Hi Raveesh,

Thanks for your reply for me using with BAPI_ALM_ORDER_MAINTAIN i am not able to create service order w.r.t notification number can you please paste your code which creates service order if i can create then will let you know which updates QMEL or not like.

Regards,

Sireesha.

peter_atkin
Active Contributor
0 Kudos

sreesha sap

Are you getting any error messages in the RETURN table when running BAPI_ALM_ORDER_MAINTAIN?

PeteA

0 Kudos

Yes Peter below error is coming

BAPI Control was ended like but Order is not created.

Regards,

Sireesha.

peter_atkin
Active Contributor
0 Kudos

Sireesha

What is th exact error message text (including message number)?

PeteA

0 Kudos

Hi Peter,

Above BAPI returns the below error,

Message ID Message No Message

IWO_BAPI2 110 BAPI control was ended

Regards,

Sireesha

peter_atkin
Active Contributor
0 Kudos

Did you run BAPI_TRANSACTION_COMMIT after BAPI_ALM_ORDER_MAINTAIN as Nic suggested above?

NTeunckens
Active Contributor
0 Kudos

See this short Wiki and Sample code on the use of "BAPI_ALM_ORDER_MAINTAIN'" with Method "CREATETONOTIF" : https://wiki.scn.sap.com/wiki/display/ERPLO/Using+BAPI_ALM_ORDER_MAINTAIN+method+CREATETONOTIF

Can you check in a small Test Program or Test Sequence for this BAPI + BAPI_TRANSACTION_COMMIT? If this doesn't work, see the Returnparameters and check the Messages (or post them here for us to look at).

0 Kudos

Thanks for your reply Nic yes tried like that only below error is coming

BAPI Control was ended.

Regards,

Sireesha.

NTeunckens
Active Contributor
0 Kudos

This is a very Generic BAPI-Return message that is (almost?) always returned ... (Msg "IWO_BAPI2 110")
Basically, you should look for ANY previous Return-message, so check what Other Return-messages are raised and Post them here ... Those will be a lot more Desciptive and will probably offer better explanation of the Missing Component.

0 Kudos

Hi Nic,

Only that return message is showing and service order is not created din't get any other messages.

Regards,

Sireesha.

NTeunckens
Active Contributor
0 Kudos

Hello Sreesha

See SAP-KBA 2489125 : link

Extract :

Symptom

You are using the BAPI BAPI_ALM_ORDER_MAINTAIN to Add a Notification to multiple order operations. But user gets the error "The object list counter &1 is already assigned to another operation". In IW32 this is allowed.

Solution

Implement the attached correction.


Implement the Note and see if this Helps ...

Nic T.