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 for BUssiness Transaction

Former Member
0 Likes
618

Hello,

HOw to know the BAPI for particular bussiness transaction.

regards

Raj

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
548

Hi Raj,

If you mean that you need to know what BAPI's a particular tranx uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use.

Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this.

1. Find out the package of the transaction.

Start Va01 go to system --> status.

Double click on transaction

Package is VA

Open this package in SE80

Open business engineering-->Business object types

Find the BO which sounds the most appropriate

I would suggest BUS2032 Sales Order

Double click.

Open methods.

Find the released method with from data or something similar in the name

Createfromdat2

Position the cursor in it and click the program button

Scroll down to find the bapi used in this method

With this way you can also find out programs and FM's

2. Start va01 go to system-->status

Double click transaction VA01

Double click on package

Read the application component. (this is SD-SLS Sales)

Then open the transaction BAPI

Sales and distribution>Sales>sales order

createfromdat2

Thankyou,

Regards

Hello,

HOw to know the BAPI for particular bussiness transaction.

regards

Raj

3 REPLIES 3
Read only

b_deterd2
Active Contributor
0 Likes
548

Hi,

There is no direct way to know this.

You have to check out transaction BAPI and this forum. Also search all function modules in SE37 with BAPI*.

Regards,

Bert

Read only

Former Member
0 Likes
548

Hi ,

Try like this,

->go se93 & then get the package name.

-> go to se80 & then put the package name.

-> go to

bussiness engineering->bussiness object type

->then select the bussiness object type.

-> double click on bus (eg bus2032)..

then in business objects u can see

interfaces

key fields

attributes.

methode

events.

double cilck on release methode

u can all bapi's used for particular transcation..

reward points if helpfull.

Read only

Former Member
0 Likes
549

Hi Raj,

If you mean that you need to know what BAPI's a particular tranx uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use.

Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this.

1. Find out the package of the transaction.

Start Va01 go to system --> status.

Double click on transaction

Package is VA

Open this package in SE80

Open business engineering-->Business object types

Find the BO which sounds the most appropriate

I would suggest BUS2032 Sales Order

Double click.

Open methods.

Find the released method with from data or something similar in the name

Createfromdat2

Position the cursor in it and click the program button

Scroll down to find the bapi used in this method

With this way you can also find out programs and FM's

2. Start va01 go to system-->status

Double click transaction VA01

Double click on package

Read the application component. (this is SD-SLS Sales)

Then open the transaction BAPI

Sales and distribution>Sales>sales order

createfromdat2

Thankyou,

Regards