‎2008 Jun 05 11:58 AM
Hi all,
I m newbie for fm or bapi.
Can anybody tell me when we have to use standard bapi, then we only have to pass the parameters only or
we can change in code also.
when we goto se37-> bapi_material_savedata->display->F8->
then appear
1.RFC
2I.mport Parametrs.When we click on each individual parametr,
num of columns appear.How can v know which r req ones..
3.Tables
Plz tell in detail how we can use std bapi
Best Regards,
Aastha
‎2008 Jun 05 11:59 AM
Hi,
The easist way is to read the standard documentation attached to the BAPI in SE37.
If that is no good look at the interface for the BAPI in SE37 and you will see which parameters are optional - those that are not must be specified.
Gareth.
‎2008 Jun 05 12:01 PM
In the f.m import parameters and tables parameters u will find 2 columns with check boxes , one column is optional and other pass by value...
If the optional one is checked(ticked) that parameter is optional
Edited by: sai reddy on Jun 5, 2008 1:02 PM
‎2008 Jun 05 12:03 PM
hi,
goto transaction BAPI there u can see all the bapi's available.
open the bapi u require and click on documentation.
there every thing is provided like wht r manditory fields.....
all the function modules r stored in TFDIR table.
‎2008 Jun 05 12:06 PM
In bapi ,
Export parameter is for to Export the actual parameter on basis of which u want desire records.
Import parameter is the record retrived by the BAPI on basis of Export parameter.
Tables works either ways.
‎2008 Jun 05 12:06 PM
Hi ,
In plain language BAPI is standard Function Module .
This function Modules are designed for Buisness specific application.
for e.g. bapi_material_save_data works in the same way as the tcode MM01 and MM02 .
Bapis are the reflection of your standard buisness Tcode.
Ya the RFC stuff you see that are for Remote Function calls .
Actually Bapi's are also used in IDOCS and ALE . So these function modules are RFC enabled so that they can becalled from remote for data transfer and all.
Just took BAPI as a Function Module.
i hope this has put some light on BAPI.