Skip to Content
0

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

Nov 23, 2017 at 11:44 AM

74

avatar image

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!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Nic Teunckens Nov 23, 2017 at 10:28 PM
0

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).

Show 4 Share
10 |10000 characters needed characters left characters exceeded

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

BAPI Control was ended.

Regards,

Sireesha.

0

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

Hi Nic,

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

Regards,

Sireesha.

0

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.

0
avatar image
Former Member Nov 27, 2017 at 11:21 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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.

0
Peter Atkin Nov 24, 2017 at 08:07 AM
0

sreesha sap

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

PeteA

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Yes Peter below error is coming

BAPI Control was ended like but Order is not created.

Regards,

Sireesha.

0

Sireesha

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

PeteA

0

Hi Peter,

Above BAPI returns the below error,

Message ID Message No Message

IWO_BAPI2 110 BAPI control was ended

Regards,

Sireesha

0

Did you run BAPI_TRANSACTION_COMMIT after BAPI_ALM_ORDER_MAINTAIN as Nic suggested above?

0