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_CREATE and DOWNTIME value

Former Member
0 Kudos

Hi experts,

I have got a program which create notification like in IW21. Problem is, that when I want to edit notification from BAPI_ALM_NOTIF_DATA_MODIFY and when the ENDMLFNDATE and ENDMLFNTIME (date & time of end above) fields are filled, the DOWNTIME field in IW23 is not filled.

The value is empty, where is the trick ?

Interesting is, that during standard creating of notif. in IW21 after fields are filled the DOWNTIME is a difference between this two fields.

Any idea.

Thanks Daniel.

3 REPLIES 3

Former Member
0 Kudos

Any idea why after BAPI_ALM_NOTIF_DATA_MODIFY downtime field is not filled ?

Former Member
0 Kudos

Hi!

You haven't mentioned, but the difference is calculated between STRMLFNDATE + STRMLFNTIME and ENDMLFNDATE + ENDMLFNTIME.

You might also try out to put an 'X' into the BREAKDOWN field, that marks if the technical place/equipment is out of order.

Regards

Tamá

0 Kudos

I have something like this:


     CALL FUNCTION 'BAPI_ALM_NOTIF_DATA_MODIFY'
       EXPORTING
         number             = ls_qmel-qmnum
         notifheader        = ls_head
         notifheader_x      = ls_headx
       IMPORTING
         notifheader_export = ls_export.

of course ls_head-breakdown and ls_headx-breakdown = 'X' and it didn't work.

Furthemore ls_export-downtime is not filled.

Even when I put there some value with ls_export-unit field also without any result.