Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

'BAPI_ALM_NOTIF_DATA_MODIFY' not updating the records..please help

Hello all

I m using 'BAPI_ALM_NOTIF_DATA_MODIFY' bapi to update a notification activity in IW22 but it seems its not updating .

i WANT TO UPDATE 3 FIELDS

d_code

dl_code

dl_codegrp

this is the code i m using :

waitem-dl_code = <fs1>-codeb.

waitem-d_code = <fs1>-codec.

waitem-dl_codegrp = <fs1>-codegruppe.

waitem-item_key = '0001'.

waitem-item_sort_no = '0001'.

append waitem to notitem.

wa_notiitem_x-dl_code = 'X'.

wa_notiitem_x-d_code = 'X'.

wa_notiitem_x-dl_codegrp = 'X'.

wa_notiitem_x-item_key = '0001'.

append wa_notiitem_x to notifactv_x.

wafactv-act_key = '0001'.

wafactv-act_sort_no = '0001'.

wafactv-act_code = <fs1>-codea.

wafactv-item_sort_no = '0001'.

wafactv-act_codegrp = <fs1>-codegruppe.

append wafactv to notifactv.

wa_notifactv_x-act_key = '0001' .

wa_notifactv_x-act_code = 'X'.

wa_notifactv_x-act_codegrp = 'X'.

APPEND wa_notifactv_x to notifactv_x.

CALL FUNCTION 'BAPI_ALM_NOTIF_DATA_MODIFY'

EXPORTING

NUMBER = <fs>-qmnum

  • NOTIFHEADER = ' '

  • NOTIFHEADER_X =

  • IMPORTING

  • NOTIFHEADER_EXPORT =

TABLES

NOTIFITEM = notitem

NOTIFITEM_X = notiitem_x

  • NOTIFCAUS =

  • NOTIFCAUS_X =

NOTIFACTV = notifactv

NOTIFACTV_X = notifactv_x

  • NOTIFTASK =

  • NOTIFTASK_X =

  • NOTIFPARTNR =

  • NOTIFPARTNR_X =

RETURN = zbapireturn

.

After this i m using

BAPI_ALM_NOTIF_SAVE &

'BAPI_TRANSACTION_COMMIT'

PLease suggest me

Thanks in advance

NIlesh

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question