‎2013 Feb 08 1:21 PM
Hello All
I have a list of called Function Modules from a piece of code and would like to identify as BAPI or not. Some are obvious by their naming convention. However not all bapi modules are named as such. How can I identify if a fuction module is a bapi or just a function module?
Thanks in advance!
‎2013 Feb 08 1:41 PM
Hi Michaell,
Naming convetion for BAPI will start with BAPI where as FM doesnt need naming convention.
With this you can identify BAPI or FM from your code
‎2013 Feb 08 2:10 PM
A bapi has to an RFC. Check FM's attributes.
Also, all BAPIs are listed in transaction BAPI.
They have to have a corresponding business object.
‎2013 Feb 08 2:12 PM
Chinmay
By looking at attributes is there a way to tell if it has a corresponding business object? Or is this only through tran code "BAPI" or one of the SWO# codes?
‎2013 Feb 08 2:24 PM
You can go to Tools tab in BAPI transaction to see the corresponding business object. But I am not sure how to see the corresponding business object if you only have a function module name.
Let me check.
‎2013 Feb 08 2:34 PM
Okay, I checked a bit. I am not sure if this is reliable method, but it seems to work for few BAPIs I checked.
go to SE16 with table SWOTDV. - Give ABAPNAME = your FM name and ABAPTYPE = F.
You will get corresponding business object if it exists.
‎2013 Feb 08 2:44 PM
Chinmay
Thank you for the assistance. I think that at least gives me a good direction. Seems to work in the insantaces of the ones that I know are BAPIs. I'll work through my list. I figured there had to be some way.
Many Thanks!