We are using the BAPI BAPI_ALM_NOTIF_CREATE to create a plant maintenance notification. I have populated it with the following data :
maintenance notification type
equipment number in header
functional location in header
coding group in header
coding in header
I am using a wrapper bapi to house this one and am also calling a BAPI_TRANSACTION_COMMIT after this bapi is called .
However my problem is when the BAPI runs. The result has notification number which starts with a '%'. When i go into IW23 to check if a notification was created , none exists !
I used the same data and ran transaction IW21 directly, and the notification was successfully created. That means the data im using is correct and sufficient.
So why is it not being created properly with the BAPI ?
Any and all help will be greatly appreciated.