How to Find Bapi for Particular Transaction in SAP

How to find function module or Bapi for particular transaction in sap?

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 

Related ABAP Topics:
Table CDHDR and CDPOS Usage

Get help for your ABAP problems
Do you have a ABAP Question?

SAP Books
SAP Certification, Interview Questions, Functional, Basis Administration and ABAP Programming Reference Books

More ABAP Tips

Main Index
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.