Application Development 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: 

BAPI_ALM_NOTIF_TASK_COMPLETE does not set carried-data

ralf_wenzel_heuristika
Active Participant
0 Kudos
258

Hi,

I am using BAPI_ALM_NOTIF_DATA_ADD to add a task to an existing notification. Because I have to set carried_out_by, carried_out_date and carried_out_time (and this FM only can set carried_by), I also use this call:

  CALL FUNCTION 'BAPI_ALM_NOTIF_TASK_COMPLETE'

    EXPORTING

      number           = notif_no

      task_key         = task_key

      carried_out_by   = sy-uname

      carried_out_date = sy-datum

      carried_out_time = sy-uzeit

    TABLES

      return           = return.

Unfortunately, the carried_out-data is not set (but the status is changed correctly to 'completed'). Table return is empty.

What am I doing wrong???

1 ACCEPTED SOLUTION

ChristianGünter
Contributor
0 Kudos
112

After calling  BAPI_ALM_NOTIF_TASK_COMPLETE you have to call  BAPI_ALM_NOTIF_SAVE. Then it should work.

1 REPLY 1

ChristianGünter
Contributor
0 Kudos
113

After calling  BAPI_ALM_NOTIF_TASK_COMPLETE you have to call  BAPI_ALM_NOTIF_SAVE. Then it should work.