Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_ALM_NOTIF_CLOSE issue

former_member206377
Active Contributor
0 Likes
914

Hi All,

I am using BAPI_ALM_NOTIF_CLOSE to close PM Notification . When I run the BAPI directly I see that the Notification is closed but when I call it in my program, It does not happen.

The reason for the above is :

In my program I have used a FM 'IWO_UI_DL_HEADER_RETRIEVE' where iv_activitytype = 'A" (Display) as a result there is a structure T365 which holds the tcode, it fetches the tcode as iw23(Display transaction).

When I again call BAPI_ALM_NOTIF_CLOSE in my program, the structure T365 is ralready filled and hence takes the same tcode IW23 (display transaction) and hence the notification is not closed.

Can anybody provide inputs on how to resolve the issue?

Hi All,

I am using BAPI_ALM_NOTIF_CLOSE to close PM Notification . When I run the BAPI directly I see that the Notification is closed but when I call it in my program, It does not happen.

The reason for the above is :

In my program I have used a FM 'IWO_UI_DL_HEADER_RETRIEVE' where iv_activitytype = 'A" (Display) as a result there is a structure T365 which holds the tcode, it fetches the tcode as iw23(Display transaction).

When I again call BAPI_ALM_NOTIF_CLOSE in my program, the structure T365 is ralready filled and hence takes the same tcode IW23 (display transaction) and hence the notification is not closed.

Can anybody provide inputs on how to resolve the issue?

1 REPLY 1
Read only

former_member206377
Active Contributor
0 Likes
599

changed the ACTIVITY TYPE parameter of FM IWO_UI_DL_HEADER_RETRIEVE to 'V'