BAPI_ALM_NOTIF_CREATE not creating any maintenance notification.
I am trying to use the BAPI_ALM_NOTIF_CREATE bapi to create a notification. If I use the transaction IW21, I can create it perfectly. However, when I call the bapi from my z program, or from the transaction se37 (as a test), passing exactly the same data, it returns no error or information message, but the notification is never created when I check the result with the transaction IW23.
Am I missing some data to pass to the BAPI, that gets automatically created when using Tx IW21?
Any pointer, any light over this matter is GREATLY appreciated.
You need to call the Function module BAPI_ALM_NOTIF_SAVE after BAPI_ALM_NOTIF_CREATE.
Also you need to commit using BAPI_TRANSACTION_COMMIT.