2007 Oct 19 9:17 AM
Hi Friends,
Could anyone help me about followings:
1) what is Business Objects, SAP Business Objects in SAP ?
2) Why it is used ?
3) what is BAPIs, why it is used, How it is works actually ?
4) we have ALE and EDI to communicate data between SAP-SAP and SAP-NonSAP respectively.why we go for BAPIs?
5) What is OOPs,how it works in realtime ?
Please treat it as urgent.
Thx in Adv.
Bobby
2007 Oct 19 9:56 AM
hi,
here are the answers to few of your queries :
BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
for oops concepts in abap, you can go through :
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
hope they help you.
reward if useful..
reagrds,
ritika malhotra
2007 Oct 19 10:11 AM
Hi Bobby,
Answers for your OOPS question
Check this for basic concepts of OOPS
Tabstrip
Editable ALV
Tree
http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_usrint.htm
General Tutorial for OOPS
++++++++
Helpful links and examples ........
http://www.sapgenie.com/abap/OO/index.htm
http://www.geocities.com/victorav15/sapr3/abap_ood.html
http://www.brabandt.de/html/abap_oo.html
Check this cool weblog:
/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
http://www.sapgenie.com/abap/OO/
http://www.sapgenie.com/abap/OO/index.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
http://www.sapgenie.com/abap/OO/
http://www.sapgenie.com/abap/OO/index.htm
http://www.sapgenie.com/abap/controls/index.htm
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
http://www.sapgenie.com/abap/OO/index.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
http://www.sapgenie.com/abap/OO/
these links
http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
For funtion module to class
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
for classes
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
for methods
http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
for inheritance
http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
for interfaces
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
For Materials:
1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
😎 http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
http://www.erpgenie.com/sap/abap/OO/index.htm
http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
Thanks, Aby Jacob
2007 Oct 19 10:52 AM
Hi Bobby,
Answer to your BAPI question
http://www.henrikfrank.dk/abaptips/abapindex.htm
===================================================
http://www.sap-img.com/abap/bapi-step-by-step-guidance.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8b/40aeefc95c11d1ad0c080009b0fb56/content.htm
http://www.erpgenie.com/sap/abap/bapi/index.htm
/people/swaroopa.vishwanath/blog/2005/03/11/rfc-migration-to-bapi-in-r3--step-by-step
BAPI-step by step
http://www.sapgenie.com/abap/bapi/example.htm
++++++++++++++
There are 5 different steps in BAPI.
1- Create BAPI Structure
2- Create BAPI Function Module or API Method.
3- Create BAPI object
4- Release BAPI Function Module.
5- Release BAPI object.
Step1.
======
Creating BAPI Structure:
- Go to <SE11>.
- Select Data Type & Enter a name.
- Click on Create.
- Note: Always BAPI should be in a development class
with transport request number (Not Local Object).
- Select Structure & hit ENTER.
- Enter the required fields. Make sure that the first field is the Primary Key Field.
- Then SAVE & ACTIVATE.
Step 2.
=======
Creating BAPI module:
- Enter TR.CODE <SE37>
- First of all select the menu
Goto -> Function Groups -> Create Group.
Enter a name (Note: This name Must start with ZBAPI)
Let this screen be as it is and open another window and there, enter TR.CODE <SE80).
Click on the Third ICON that says Inactive Objects.
Select the group that you just created and click on Activate.
Notice that the group you created will disappear from the list of inactive objects.
- Go back to ><SE37> screen and enter a name and hit <ENTER>. Then enter the group name that you just created and activated.
NOTE: When you release a function module the respective group
will be attached to that particular application.
Now click on the first Tab that says [ATTRIBUTES]
and select the radio button that says remote-enabled module.
Then click on the second tab that says [IMPORT].
Enter a PARAMETER NAME, TYPE and the structure you created
in the first step. Also select the check box Pa.
All remote enabled functional modules MUST be Pa enabled,
where Pa means Passed by Value and if you dont select Pa,
then that means it will be passed by reference..
Then click on tab that says [EXPORT].
Enter the following as is in the first three fields
RETURN TYPE BAPIRETURN (These 3 field values are always same)
Here also select Pa meaning Pass by value.
Note: BAPIRETURN contains structure with message fields.
Then SAVE and ACTIVATE.
Step 3.
========
Creating BAPI object:
- Enter Transaction Code <SWO1> (Note. It is letter O).
- Enter a name and then click on create. Enter details.
NOTE: Make sure that that Object Type and Program name are SAME.
- Enter Application M, if you are using standard table Mara.
If you are using your own database then select Z at the bottom.
- Then hit <ENTER>.
- Now we have to add Methods. High light METHODS and then select the following from the menu:
Goto Utilities -> API Methods -> Add Methods.
- Enter function Module name and hit <ENTER>.
- Select the second FORWARD ARROW button (>)to go to next step.
- Check if every thing looks ok and again click on FORWARD ARROW button (>).
- Then select YES and click on <SAVE>.
- Now on a different screen goto TR.CODE <SE37>.
Step 4- Release BAPI Function Module.
=======================================
Enter Function Module name and
select from the top menu Function Module -> Release -> Release.
Step 5- Release BAPI object.
===========================
- Goback to Transaction CODE <SWO1>.
Here select the menu combination
in specified order.
- Edit -> Change Release Status -> Object Type Component -> To Implemented.
- Edit -> Change Release Status -> Object Type Component -> To Released.
- Edit -> Change Release Status -> Object Type -> To Implemented.
- Edit -> Change Release Status -> Object Type -> To Released.
- Then click on <SAVE>.
- Then click on Generate Button .
- Then Click on the button that says PROGRAM to see the source code.
For checking goto Transaction CODE <BAPI>
Here it shows business object repository.
look for the object that you created.
This shows that the BAPI object has been created successfully.
Regards, Aby Jacob