Skip to Content
avatar image
Former Member

Unable to create new notification using Funtion module.

I tried creating a new notification using the Function Module BAPI_ALM_NOTIF_CREATE.

I have passed the notif_type & notif_header values ( filled notif_date in notif_header).

I have called the FMs BAPI_ALM_NOTIF_SAVE and BAPI_TRANSACTION_COMMIT after create.

I am passing NOTIF_NO from NOTIFHEADER_EXPORT as importing parameter for BAPI_ALM_NOTIF_SAVE.

There is no new notification generated , I am getting '%00000000001' as the notification number.

Please advice on how to create new notification.

Thanks,

Vivek.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 22, 2014 at 06:47 AM

    Hello Vivek,

    I understand that (in fm BAPI_ALM_NOTIF_SAVE) you are passing the %00000000001 value in the Importing table. You need to Export this number to the Importing parameter NUMBER of the FM.

    I tested the following way. It is working fine.

    You too can test from SE37 by selecting menu Function Module --> Test --> Test sequences.


    After executing first FM when you press back button, you are directed to the NUMBER field of 2nd fm where you give the temporary Notification number %00000000001. After this you will be directed to the last fm where you need not do anything. The Notification is successfully saved. You can run IW22 and see this Notification Saved just now.

    Best of luck

    KJogeswaraRao


    Capture.JPG (21.1 kB)
    Add comment
    10|10000 characters needed characters exceeded