cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI Example

Former Member
0 Kudos

Hi,

Could some one pls take me through a an example on how to work with BAPI's? I want to try BAPI practically, but don't know how to set it up?

Ashish

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

it's the same as working with RFC

download RFC into XI

map something to RFC parameters

make sure the check - bapi commit is turned on in RFC channel

done

Regards,

michal

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Exactly as pointed by Michal. The only difference is that in the Receiver RFC adapter , you would need to turn on the BAPI Commit.

Also, this is available only from Sp 14. Below SP 14, you had to write a wrapper RFC to do this. Not needed now.

Regards

Bhavesh

Former Member
0 Kudos

Hi,

I am trying to use a BAPI (BAPI_CompanyCode_GetDetail), can you pls tell me the abap code that needs to be written for this.

Call transaction BAPI_companycode_getdetail.

exporting parameters companycode.

Commit work.

Is the above code write?

Do I need to declare any tables on top?

Thanks,

Ashish

Former Member
0 Kudos

Hi Guys,

The bapi commit check box in RFC adaper, does it have to be checked whenever i am using BAPI or only if i am updating something using BAPI?

Regards,

Ashish