Skip to Content
1
Jul 02 at 06:04 PM

BAPI_ALM_ORDER_MAINTAIN unlink header notification

112 Views Last edit Jul 02 at 06:06 PM 2 rev

Dear SCN,

I'm using BAPI_ALM_ORDER_MAINTAIN to unlink notification from object list using method 'DELETE'

and it works fine when the notification is not header notification.

When header notification message IM273 is raised: Deletion of notification allocation to order & not allowed

How can we unllink header notification using BAPI?

Already tried with

clear l_header-notif_no.
l_header-orderid = im_aufnr.
append l_header to lt_header.
l_header_up-orderid = 'X'.
l_header_up-notif_type = 'X'.
l_header_up-notif_no = 'X' .
append l_header_up to lt_header_up.
clear l_methods.
l_methods-refnumber = 1.
l_methods-method = 'SAVE'.
l_methods-objecttype = ''.
l_methods-objectkey = ''. ??
append l_methods to lt_methods.

Thanks in advance.

Regards,

Maria João Rocha