Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI Problem

Former Member
0 Likes
488

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

5 REPLIES 5
Read only

Former Member
0 Likes
467

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.

Read only

Former Member
0 Likes
467

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

Read only

GauthamV
Active Contributor
0 Likes
467

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.

Read only

Former Member
0 Likes
467

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.

Read only

Former Member
0 Likes
467

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.