Rajesh,
Sample code for your issue is like this:
DATA: notifheader TYPE bapi2080_nothdri,
notifheader_x TYPE bapi2080_nothdri_x.
notifheader-plangroup = wa_data-ingpr.
notifheader_x-plangroup = 'X'.
notifheader-pm_wkctr = wa_data-arbpl.
notifheader_x-pm_wkctr = 'X'.
CALL FUNCTION 'BAPI_ALM_NOTIF_DATA_MODIFY'
EXPORTING
number = p_number
notifheader = notifheader
notifheader_x = notifheader_x.
CALL FUNCTION 'BAPI_ALM_NOTIF_SAVE'
EXPORTING
number = p_number.
You need to understand these points.
- The above code demonstrated 2 fields namely INGRP and ARBPL of Notification.
- The corresponding field names in the FM structure (notifheader) are PLANGROUP and PM_WRKCTR which are seen on the left side of the code.
- So, you need to use those corresponding field names from the structure for your 10 fields.
- Also notice that fm 'BAPI_ALM_NOTIF_SAVE' needs to be used at the end like shown above.
- The above code is illustrative only, you need to make use of it for finalizing your code.
Good luck
KJogeswaraRao