cancel
Showing results for 
Search instead for 
Did you mean: 

Disconnect Notification from work order using bapi for transaction IW32

Raju212
Explorer
0 Kudos
1,010

Hi all,

Help me on requirement to disconnect Notification from work order using any BAPI.

I tried using BAPI_ALM_ORDER_MAINTAIN with method delete and object type objectlist but its not working its giving error "Deletion of notification allocation to order & not allowed" But manually from IW32 I am able to disconnect it by using disconnect button.

Accepted Solutions (0)

Answers (2)

Answers (2)

NTeunckens
Active Contributor
0 Kudos

In that case, create a SAP-Incident to get information on the Availability of such Methods. We're on a relatively high (ECC) ABAP-version and there is no "DISCONNECT" Method to purely Disconnect, so my guess is that such option is nog provided (in BAPI).

NTeunckens
Active Contributor
0 Kudos

Are you using the "OBJECTLIST" and "DELETE" Statements in the Methods? See this older Question in this Forum and Sample-code : link

If so, please update / see recent SAP-Notes for the BAPI "BAPI_ALM_ORDER_MAINTAIN". Check SAP ONE Support Launchpad, using the MessageID and MessageNumber that you are receiving now ...

As a Reference, some SAP-Notes that mention the possible actions for Deleting Objects from the ObjectList (such as a Notification) are :

  • SAP-KBA 1001840 "Object list cannot be processes correctly with BAPI" : link
  • SAP-KBA 1649279 "Wrong status when notification is deleted from object list" : link
  • SAP-KBA 1867884 "BAPI: Pop-up in BAPI when deleting notification" : link
  • SAP-KBA 1956628 "EAM Simplicity: Errors when changing Notification/Order assignment" : link
  • SAP-KBA 2032068 "Status enhancements for BAPI BAPI_ALM_ORDER_MAINTAIN 2" : link
  • SAP-KBA 2121573 "Revision of BAPIs in PM/CS" : link


See this SAP-Blog on some of the new Functions of the BAPI, provided you imported the SAP-Notes : link

Hope this helps

Nic T.

Raju212
Explorer
0 Kudos

Hi Nic Teunckens

Thanks for your reply.

My requirement is not to delete notification but disconnect it from order.

Since there is no method named Disconnect so I tried with delete method and I have used same as you mentioned in above link for objectlist and delete method but no success.

On above listed notes - No one deals with disconnection of notification and my system is already in higher version.