‎2007 Feb 14 3:52 AM
‎2007 Feb 14 3:58 AM
Business objects are created using transaction SW01. Refer SAP help for detailed steps.
~Kiran
‎2007 Feb 14 4:00 AM
Hi
Creating Business Objects Locate the document in its SAP Library structure
Use
Business Objects are necessary for the Drag&Relate service to link the application-specific parameters of the Drag&Relate Source and the Drag&Relate-Target using the Relation Resolving Service. The Business Objects contain the necessary metadata and are saved in the Portal Content Directory (PCD).
The Distributed Query Engine (DQE) is used to import the Business Objects in order to request the metadata from the connected systems.
Note
Up to and including SAP EP 6.0 SP 11 from SAP NetWeaver 04 SP Stack 11, no names for Business Objects from the Distributed Query Engine (DQE) that start with a numeric value. For this reason, most of the InfoObjects from SAP BW automatically get a T at the beginning (for example, 0CUSTOMER becomes T0CUSTOMER).
Procedure
You have the following options for creating Business Objects:
Importing Business Objects
With the following steps, you can import Business Objects manually:
1. Start the Structure linkPortal Content Studio.
2. Open the folder Business Objects
3. Using the context menu, create a folder with the name of the logical system from which you want to import Business Objects.
Background documentation
The Business Objects that were automatically created (see below) are created under a folder with the name of the logical system. The system automatically creates a folder.
During manual import, first you have to create this type of folder manually and store all Business Objects from the logical system in this folder.
4. Choose Import Business Object in the context menu.
5. Enter a search term and choose the associated system alias.
Note
In every case, use search with SAP BW! Due to the high number of InfoObjects, comfortable operation is not possible without searching.
6. Choose Find.
7. Choose the desired Business Object with Insert.
8. To import the Business Object, choose Save.
For more information on the import of Business Objects, see Structure linkBusiness Object Importer and Structure linkBusiness Object Editor.
Automatically Creating Business Objects
You have two options for having the necessary Business Objects created automatically:
The iView Wizard enables simple creation of new iViews. When you create a new iView with BW content, the system automatically imports the Business Objects that are included in the BEx Web Application. Also, the system adds the Business Objects to the Main Object property. The iView is prepared as the Drag&Relate Target.
For more information about the procedure, see Integration Using the Portal Content Studio.
The BEx Web Application Designer enables publishing of BEx Web Applications as iViews. As of SAP BW 3.5 SP 11 from SAP NetWeaver 04 SP Stack 11, the system automatically imports the Business Objects that are included in the BEx Web Application. In addition, the system adds the Business Objects to the Main Object property so that the iView is prepared as a Drag&Relate Target.
For more information, see Integration Functions in the Web Application Designer.
Result
The imported or automatically created Business Objects are visible and maintainable in the Portal Content Studio under the Business Objects folder. To maintain them, you can call the Business Object Editor in the Portal Content Studio.
Leaving content frame
Thanks,
Shankar
‎2007 Feb 14 4:03 AM
Hi,
Creating BAPI object:
- Enter Tr.Code <SWO1> (Note. It is letter O and not Zero).
- 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>. Enter Function Module name and select from the top menu Function Module -> Release -> Release.
- Goback to TR.CODE <SWO1>.
Here select the menu combination shown below in the same 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 (4th button from left hand side looks like spinning wheel).
- Then Click on the button that says PROGRAM to see the source code.
To check if this is present in work flow goto TR.CODE <BAPI>.
Here it shows business object repository.
- First click on the middle button and then select ALL and hit ENTER.
- Goto tab [ALPHABETICAL] and look for the object that you created. This shows that the BAPI object has been created successfully.
Hope this helps.
Reward if helpful.
Regards,
Sipra
‎2007 Feb 14 4:04 AM
Hi amit,
business object are representations of business entities...in functional view.
however they are like ordinary objects of object oriented methodology.they have the
business functionality.all business objects are stored in Bor(business object repository).
use the tcode sw01.
go thru these for what bo is and how they are created..
http://www.erpgenie.com/abap/bor.htm
hope this helps u a bit,
all the best,
regards,
sampath
mark helpful answers