07-04-2007 11:16 AM
step by step to do BAPI in ABAP
If using CatsDB table will be greatfull,
Points will be rewarded
thank you,
Regards,
Jagrut Shukla
07-04-2007 11:18 AM
Hi,
refer to the following link:
http://sap-img.com/abap/bapi-step-by-step-guidance.htm
Hope this helps.
Reward if helpful.
Regards,
Sipra
07-04-2007 11:18 AM
Hi,
refer to the following link:
http://sap-img.com/abap/bapi-step-by-step-guidance.htm
Hope this helps.
Reward if helpful.
Regards,
Sipra
07-04-2007 11:45 AM
Hi,
This is in general step ..
<code>
1 BAPI Browser Tcode - BAPI
2 BAPI Object Builder Tcode - SWO1
3 Naming Convention for BAPI's "Naming Conventions:
1) Business Object: BUS0001 where 0001 is an active function group.
2) Function Module: BAPI_<object name>_<methodName>
3) Method Name : Max 30 chars. Should start with capital letter. GetDetail
4) Reference fields : Structures. Should start with BAPI "
4 Steps for creating a BAPI "Steps for Creating a BAPI:
1) Create a Function Module in SE37 and assign it to an active Function Group.
(Check Remote Enable in attributes section)
2) Fill the Import (Input) Parameters for the RFC
3) Fill the Export (Output) Parameters
(BAPIRETURN IS MANDATORY)
4) Fill the Table parameters, if any
5) Write the functionality in the source code
6) Activate and Release the Function Module"
5 Attaching Methods to Business Object "Attaching method to BO:
1) Transaction - SWO1, create a Business Object.
Object Type Internal technical key of the BO in the BOR.
Super Type If we are using some existing parent node features
Object Name Descriptive Name (This is displayed in list of Objects)
Name Descriptive name to select Object Type.
Description Text max 40 char
Program ABAP prg generated, associated with the object type.
2) Go to Utilities ->API Methods -> Add method
3) Add key fields and attributes, if any
4) Generate the Object
5) Select the Added Method, Edit ->Change Release Status -> Object Component -> To be Implemented
6) Select Object Type, Edit ->Change Release Status -> Object Type -> To be Implemented
7) Select the Added Method, Edit ->Change Release Status -> Object Component -> To be Released
😎 Select Object Type, Edit ->Change Release Status -> Object Type -> To be Released"
6 How to check BAPI Functions?
Either in TFDIR table by specifying BAPI_* or from SE37 by specifying BAPI_*
7 Difference between BAPI and RFC BAPIs and RFCs both are remote function
modules. All BAPIs are RFCs , but all RFCs are not BAPIs . BAPI process a
business object and handles a busienss function completely. RFC perform a
function which process tables , files etc. but not a complete business function.
</code>
Reward if u find helpful.
Regrads,
Rajesh