‎2006 Sep 19 6:10 PM
Can any one please tell me the main points to be noted while creating a BAPI and how it differs from an FM ?
‎2006 Sep 19 6:13 PM
Hi Sri,
- You will have to define a structure for every parameter in the BAPI. You cannot use the same structures used in existing applications because BAPI structures are frozen when BAPIs are released and then there are restrictions on changing them.
- Each BAPI must have its own function group.
- Under the attributes tab remember to select Processing Type Remote Enabled module, otherwise the function module cannot be invoked via RFC and used as a BAPI.
- Import/Export parameters can only be BY VALUE for an RFC enabled function module.
For more information, please check this link.
http://www.erpgenie.com/sap/abap/bapi/example.htm
Hope this will help.
Regards,
Ferry Lianto
‎2006 Sep 19 6:13 PM
Hi Sri,
- You will have to define a structure for every parameter in the BAPI. You cannot use the same structures used in existing applications because BAPI structures are frozen when BAPIs are released and then there are restrictions on changing them.
- Each BAPI must have its own function group.
- Under the attributes tab remember to select Processing Type Remote Enabled module, otherwise the function module cannot be invoked via RFC and used as a BAPI.
- Import/Export parameters can only be BY VALUE for an RFC enabled function module.
For more information, please check this link.
http://www.erpgenie.com/sap/abap/bapi/example.htm
Hope this will help.
Regards,
Ferry Lianto
‎2006 Sep 19 6:18 PM
<b>Import/Export parameters can only be BY VALUE for an RFC enabled function module.</b>
Can you please explain this sentence to me?
‎2006 Sep 19 6:18 PM