cancel
Showing results for 
Search instead for 
Did you mean: 

problem with BAPI

Former Member
0 Kudos

Hi,

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.

Thanks,

Amit

Accepted Solutions (0)

Answers (1)

Answers (1)

martin_nooteboom
Active Contributor
0 Kudos

Hi Amit,

This doesn't sound like a workflow problem. I think you will have more luck when posting in the appropriate ABAP forum.

Which I see you have done. But next time mention that you cross post in different forums.

Regards,

Martin

Former Member
0 Kudos

Well im a workflow guy so i posted it automatically on the workflow forum .. but i apologize for that since it wasnt a directly related topic (though not too far away ) . BTW i solved it .. this BAPI does not work on its own .. has to be linked to another bapi called BAPI_ALM_NOTIF_SAVE which will save the created notification .

Thanks

Amit