2010 Sep 07 11:53 AM
I have an existing custom made RFC function module which I want to use from a non-SAP system. How do I find whether it's (the existing RFC enables FM) a BAPI or not? If I come to know that this is a BAPI then it may prevent me from creating another Wrapper BAPI which in turn calls this existing RFC.
I have an existing custom made RFC function module which I want to use from a non-SAP system. How do I find whether it's (the existing RFC enables FM) a BAPI or not? If I come to know that this is a BAPI then it may prevent me from creating another Wrapper BAPI which in turn calls this existing RFC.
2010 Sep 07 12:01 PM
Hi Swapnil,
you might identify an RFC enabled function module used for BAPI e.g. by calling transaction SE37, using the input help -> Information System, typing in the name of your function module, press button "All Selections" (the one with the plus sign) and select "Only Modules for BAPI". Hope that helps you.
Best regards,
Andreas
2010 Sep 07 12:23 PM
Hi Andreas,
In SE37 when I use where used list for the RFC Z* FM, there is no item named "Only Modules for BAPI" in the help list.
Hi Keshav,
Can u please elaborate a bit, how can I know from BAPI tcode, whether the RFC is a BAPI or not?
2010 Sep 07 12:25 PM
If you want to call a SAP function from an external server, then it doesn't matter whether the name starts with 'BAPI' or whatever.
The only thing that matters is that it is an RFC enabled function.
edit.
And since it's your own function that is RFC enabled, you can use the function without writeing a wrapper around it.
But... make sure you're not using any function exceptions to raise errors, but instead use a RETURN table with errors (just like SAP does).
2010 Sep 07 2:46 PM
Hi Swapnil,
please make sure that you use the Input Help (F4) in SE37 and continue as described already. It should work that way.
Best regards,
Andreas
2010 Sep 07 12:03 PM
If its bapi then it will be registered in Business object repository.
You can check it via transaction BAPI.
2010 Sep 07 12:18 PM
Hi Swapnil,
If the function module has 'BAPI' in its name and if it remote enabled then it is BAPI. the parameters of the function module has to be pass by value and not by reference. BAPIRET or BAPIRET2 as changing paramter.
There is no much difference B/W Remote function module and BAPI. only difference the BAPI function module are assigned to Object's Method. through SW01. so that Non-SAP System can access the SAP Business Layer.
Hope the information will he useful.
Regards
Santosh
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |