Step By Step Creation Of A new Business Object

hi,
  Please Give Me Details Of A Business Object,like step by step creation of a new business object and it's utilization.

Create a business object (SWO1).
Give the business object name prefixed with Z_.
Enter the following fields with values:
Object type:      Z_TESTXX
This is the internal technical key. Page: 1
Object type can have maximum 10 characters. This must be unique across all object type. Objects are specific instances of object types at runtime.
Object name: Object_Name_for_XX  
The object type is addressed with this name by external applications. This is a descriptive English name and can be up to 32 characters. This also must be unique across all object type.
Name:      Object Name: XX       
This is a meaningful name of the business object.
Description:     Object Description: XX     
Page: 1
Object description, can be up to 40 characters.
Program:      Z_TESTXX       
Each object type has an ABAP/4 program in which methods of the object are implemented. This program is generated automatically when you create or revise an object type.
Application: indicates cross application.
3: Create an event.
Open the Object type in change mode. When you change your subtype the first step is to create a new event, this is done by selecting the Event node and clicking the create button. Give the event a name and a description.  Next set the status of this object type component to implemented.
Event:          Z_EVENT_XX                              
Name:          Event name: XX                          
Description:     Event Description: XX                   
Click on the new event andu2026
Edit - Change Release Status- Object Type Component - Implemented
(A small box sign vanishes from the right side of the event, indicating that it is implemented)
There can be multiple triggering events for a standard/customer task.
In R/3 4.0 the release strategy for new Object Types and Object Type Components (methods, attributes, events, etc.) was enhanced.  Now when an object type and/or components are created, there are different statuses to select, based on its required purpose.  The statuses are:
u2022     Modeled - objects cannot be accessed at runtime.  This is the status that is automatically set when an object type or component is created.  Items with a modeled status cannot be referenced in any type of workflow task.
u2022     Implemented - objects can be used internally in a test environment.  They are accessible, but may not be stable (especially if no delegation has been defined).
u2022     Released - objects are ready for production. Note:  Local objects cannot be released.
u2022     Obsolete - objects are typically replaced by new functionality or incompatible with previous versions.   This status is optional.
4: Create a method.
Next a method must be created without using any function module template. When creating the method ensure that the method call is synchronous - this means that the method doesn't require a terminating event.
A method can be synchronous or asynchronous. Synchronous Method
Method that, for the duration of its execution, assumes the process control and, after its execution, reports to the calling component (work item manager, in this case).
Synchronous methods can return the following data, if defined: Return parameters, one result and Exceptions.
Terminating events can also be defined for a single-step task described with a synchronous method. At runtime, the relevant work item is then terminated either when the synchronous method is successfully executed or when one of the defined terminating events occurs.
Asynchronous Method
Method that, after its execution, does not report directly to the calling component (work item manager, in this case).
Asynchronous object methods do not return results, parameters or exceptions.
At least one terminating event must be defined for a single-step task described with an asynchronous object method.
At runtime, the relevant work item is only terminated if one of the defined terminating events occurs.
Next set the status of this object type component to implemented. The methods are not implemented unless you once open their program.  Select the method and open its program. It gives a message u201CDo you want to generate a template automatically for the missing sectionu201D. Click u201CYesu201D. Inside the program insert the code u201CCALL TRANSACTION u2018FB03u2019. Display Financial Document.
Method:     Z_METHODXX                              
Name:      Method name: XX                        
Description:     Method Description: XX                                                                               
Edit - Change Release Status - Object Type Component - Implemented
5. Create Key fields.
Create key fields with ABAP dictionary field proposal.
It is the identifying key, via which the system can access a specific object, that is, an instance of the object type. The key fields of an object type are usually also the key fields in the table containing the header data for the object type. Only character-based data types are allowed as key fields. The total length allowed for all key fields is 70 characters. Each key field refers to a field in the ABAP Dictionary.
Enter u2018BKPFu2019 in table name field and select all the key fields. Press Continue button. Next set the status of these key fields to implemented.
Edit - Change Release Status -Object Type Component - Implemented
6:Implement business object.
The whole business object needs to be implemented so click on the business object title andu2026
Edit - Change Release Status - Object Type - Implemented
Now you can check the syntax, generate the Business Object and then test it. Execute the custom method you created and give the Company code, Document number and Year.

Similar Messages

  • Regarding New Business Object display.

    Hi All,
    I have defined a new Business Object for Account. BO is working fine.
    I am sending a work item to approver for his approval, where i bind this BO to work item task, Now ideally he should see this as "Associated Business Object" in the work item on UI, but it is not coming over there. I checked in the work item log, BO contains values.
    In other workflows like opportunity and all, where i delegated the standard BOs, same kind of binding is there and "Associated Business Object" is coming over there.
    Now i wanna know that can we display user defined BO in the "Associated Business Object" or not ?
    If yes, then where can be the issue with my workflow, is there any other procedure to be follow.
    Regards,
    Raman.

    yes, we can display that. Some UI configuration needs to be changed for that.

  • Can I copy MATERIAL adapter object and create new business object in R3AC1

    Hi experts,
    I need to copy MATERIAL adapter object and create a new business object R3AC1.
    Please let me know whether this is feasible.
    Thanks & Regards,
    Keya

    Usually  when there is a need to change/create an adapter object, I suggest to change object class to CUSTOMIZING in R3AC1. Then save it and call transaction R3AC3. There do necessary changes and afterwards switch back to original object class. There is no copy functionality for adapter objects. Kindly use transaction R3AC3 to create a new adapter object and maintain all tabs according to your requirements. When you are finished, kindly change the object class "CUSTOMIZING" to the original class name you're copying and the new adapter object will be visible in R3AC1.
    Documentation can be found in
       https://service.sap.com/ce    -> Early Product Training         > SAP CRM 4.0 & mySAP CRM Edition 2004 .. on the learning map, please choose "Development Consultant" -> Open "Enhance CRM Scenarios"
    Here you can find a lot of guides and SAP tutors on how to create an adapter object, example coding, and so on.
    To enable Filter Fields for an Adapter object make requisite changes in table SMOFFILFLD and generate the Adapter Object using SMOGGEN. CHeck table CRMPAROLTP in ECC to enable Filtering

  • New Business Object

    Hi Everyone,
    I am creating a new business object in MAS. and I am getting the following message.
    Unable to launch Business Object Wizard : BDoc validation is off - Switch on the Bdoc Validation from Tools-> Options-> BDoc Repository.
    I am getting confused with the following fields.
    Destination and Server.
    what should I enter in the above fields? Is it the IP address or the SID.
    Help will be appreciated.
    Thank you.
    Chan

    hi chanakya,
    u should enter sid only.
    see the links
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=newbusinessobjectsinMAS&adv=true&sdn_author_name=&sortby=cm_rnd_rankvalue
    www.businessobjects.com/pdf/product/catalog/platform/enterprise/xi3_whats_new.pdf -
    regards
    karthik
    if usefull reward me points

  • SAP Cloud SDK : Creation of Form using Business Object Error

    Hi Experts,
    I have created custom business object with object based screen and i want to create form for this custom business object.
    I have tried using this.
    Step 1. Right Click on Business Object and select Create Form option.
    Step 2. Enter the require information and click on Next 
    Step 3.  Select the element from the business object you need to display in the form
    Step 4. Select the default language English and Next and Finish it,
    After finish it the form open in adobe reader automatically but i am getting error as shown below.
    and In the solution explorer i can see this.
    Can anyone help me why it display the error while open the newly created form.
    What are the software i need to install or add-ons in my system to open the from or remove this error.
    I have installed the Adobe Life Cycle Designer For SAP Business ByDesign 135.0XXX, Adobe Reader X(10.1.3) , SAP Business ByDesgin Add-In Adobe Life Cycle designer.
    Kindly any software missing or any add-ons require to be install or upgrade?
    Many Thanks,
    Mithun

    Hello Alessandro,
    I have solved the multiple line display in the table.
    I have issue to display the no of character in the table.
    I have Create custom business object and create the form i am using the TectCollection type in table level in businessobject node.
    Case 1. This is my Entry1 in the business object and it display as shown below.
    Here in the table "Undefined Text" is my 1000+ character text.
    When i click on preview button the data display under the PDF as shown below.
    Here the above screen we can see that the data comes perfectly in the PDF without missing data in table level.(Please i have not rename the columns name).
    Case 2.  When i Create new entry 2 and enter the multiple lines into the table as shown below.
    Here in the above screen we can see that i have multiple row under the table.
    When i click on preview button the PDF display with all the line under the table but the data is missing under the third column as shown below.
    Here above screen display the same result but the in the yellow highlighted part full data not display as previous case 1.
    Why the full data display in Case 1 and not in Case 2?
    Is there any configuration to display data ?
    Also i can not change the property of the page in form to "Allow Page Break with Content" this option is disable.
    Kindly suggest me what is wrong in this PDF design.
    Regards,
    Mithun

  • Error in Creation of a New View Object from Existing Entites

    I define a Complex JOIN in the expert mode of the View Object Creation Mode. On trying to access the VO, the system returns an error, unable to creat View Objecy.
    THe SQL Statement begins with
    SELECT * from ( select ...My actual Query)
    Is it possible to define ur own view objects with the same flexibility as the Data Tables

    Hi Saket,
    Following will be required for created a custom business object.
    1. Object Type - ZTEST (Internal Techincal Key)
    2. Object Name - ZTESTNAME (Technical Key Name)
    3. Name - TEST (Name of BO, it is used while selecting the object type)
    4. Description - (Short Description of BO)
    5. Program - ZTESTPROGRAM (ABAP program in which the methods of the object type are implemented)
    6. Application - A or B.. etc (Area to which your BO is related)
    Please remember that you can learn these basic things by giving F1 help on those fields and in HELP.SAP.COM.
    Regards,
    Gautham Paspala

  • Creating new business object key.

    Hi experts,
    i created a new z business object and created its keys but when i am trying to release the business object key 'personnelnumber' it's showing following error:
    "Function 'Change status' is not supported by the selected object 'PersonnelNumber' ".
            Please suggest me the solution.

    But in program of  my Z business object ZANNUAL_COMP error is shown as follows so i can't generate my business object.
    The data object "OBJECT-_ZANNUAL_COMP" does not have a component
    "PERSONNELNUMBER".
        please suggest me solution.
    thanks
    Snehasish Das

  • Assert new business object as tree output in business rule fail

    Hi all
    I use Jdev 12.1.3
    When I create a business rule with input as tree and output parameter as tree. input/output parameters are different .xsd files but are same structure.
    In my rule set i define a rule that read the tree (it contain a collection with 1 to many relation such as http://docs.oracle.com/cd/E28271_01/user.1111/e10228/rules_start.htm#autoId34http://) and then i want to assert new in my output tree but in reading collection for insert their element failed.
    This is my rule body:
    And my error is:
    Can not set java.lang.Long field com.oracle.xmlns.bpm.bpmobject.businessdata.mosavabatedayere.MosavabateDayereType.dayereId to com.oracle.xmlns.bpm.bpmobject.businessdata.mosavabehayeyegan.MosavabehayeYeganType
    MosavabateDayereType is a array in ListMosavabateDayereType
    thanks to all

    It's working now..I had to use Global variable to declare child element of the output variable and use the same during action.

  • Creation of a new Authorization object

    Hi ,
    I need to create a new Authorization group and add three existing tables to it.
    Kindly suggest a way.
    Regards.

    Authorization Field
    Smallest unit in an authorization object. An authorization field either represents data, such as a key field in a database table, or activities, such as Read or Create. Activities are specified as identifiers, which are stored in the database table TACT and the customer-specific table TACTZ.
    Maintenance using transaction SU20.
    Authorization Object
    Repository object that forms the basis for authorizations. An authorization object comprises up to 10 authorization fields. The combination of authorization fields, which represent data and activities, is used for authorization assignment and to check authorizations. Authorization objects are grouped together in authorization classes.
    Maintenance using transaction SU21.
    Authorization
    Enter in the user master record or part of an authorization profile. An authorization comprises complete or generic values for the authorization fields in an authorization object. The combination determines the activities with which a user can access certain data.
    Maintenance in transaction SU03 or generation from transaction PFCG (profile generator for role maintenance).
    Authorization Profile
    Grouping of several individual authorizations or further authorization profiles. Can be entered in the user master record instead of individual authorizations. An authorization can be assigned to authorization profiles as often as you wish.
    Maintenance in transaction SU02 or generation from transaction PFCG (profile generator for role maintenance).

  • New Business Group in HR 11.5.7 FP.G.

    New Business Group in HR 11.5.7 FP.G.
    Hi all,
    We have Oracle HR 11.5.7 (Family Pack G), SSHR 5.2, WorkFlow 2.6.0.
    We currently have two different Business Groups for Country A (Main Banking Operations) and Country B (Banking Operations Abroad).The Human Resources Dept wants to create a New Business Group to hold information for an Insurance Company that belongs to the Group (base at Country A) but whose employees'(currently they are not held in Oracle HR) have different collective agreements and reporting structures.Also users of Insurance not to be able to see data from banking Operations, but some users in banking to be able to see all data.
    Firstly, can anyone help us regarding the pros/flexibility and cons/limitations of creating a New Business Group for the purpose described above?
    From the way I see it if we create a New Business Group we will have more overhead even if the Flexfield Structures will remain the same.If we use the existing Country A BG to hold this info we will have to change all responsibilities/users/ profiles to restrict access based on less clearly defined lines as opposed to a New BG.
    If we will proceed with the creation of a New Business Group (Users requested for a new BG to be created) does anyone knows or have an implementation/priority step guide/plan for a new BG not limited just to the creation of the Organization details?
    Does anyone have an indication as to the average time required to setup a new BG as described above with all related information completed(security/ responsibilities/Organizations/positions/jobs/locations/grades/ elements/element links/special info/etc)?
    Lastly, we recently setup SSHR 5.2 for the purposes of Online Appraisal System for the BG of Country A-Main Banking Opreations. Is there any impact that we have to consider, regarding the new BG?
    I hope someone can give me some feedback!
    Thanking you in advance for your much appreciated help.
    Best regards,
    Elena

    Dear 'thierry' and 'HCMgaclark'
    Thanks a lot for your replies.
    In case I convince Key Business users to use the existing BG is there an easy way to exclude these new employees from showing in all reporting unless we want to display them?
    One reason that will cause us difficulties to do that is the fact that we are not using the Position/Organization Hierachies of the HR. instead we use an additional Organization Flexfield to hold a code that represents our organizational structure due to our Payroll links.
    We use Discoverer 4.1.41.05 for reporting purposes. We created our own EUL and have 2 BUsiness Areas, one for each BG.Users connect as Super Users (Responsibility). If we add these employees in the existing BG, what worries me is that we have to specifically exclude from each report the new employees and structures while in some cases a user should be able to see both.
    is there an easy way out of these problems?
    If we eventually decide to use a separate BG does anyone knows or have an implementation/priority step guide/plan for a new BG not limited just to the creation of the Organization details?
    Thanks a lot for your time and help.
    Best regards,
    Elena

  • Re-Install Business Objects on new CMS Environment

    Hi All ,
    I have to  Re-Install Business Objects on new CMS Environment
    Can you provide me steps and documents for same .
    Regards,
    Abhishek

    Hi Abhishek,
    Please refer the below link & SCN Thread for your reference.
    Business Intelligence - Installation Link:
    Installation - Business Intelligence (BusinessObjects) - SCN Wiki
    SAP Business Objects 4.0 Installation Steps by SAP:
    http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&frm=1&source=web&cd=1&cad=rja&uact=8&ved=0CCsQFjAA&url=http%3A%2F%2Fwiki.scn.sap.com%2Fwiki%2Fdownload%2Fattachments%2F333808373%2FSAP%2BBO4.0sp4-fp3%2BImplement.docx%3Fversion%3D1%26modificationDate%3D1368111605377&ei=vzcNVO7pA8bluQTrqID4BQ&usg=AFQjCNH9TdZToCXUM62ohGY1j0Ej98-gzQ&sig2=73QHmf2acp_sqQHKD115fw&bvm=bv.74649129,d.c2E
    Installation-manual-SAP-BusinessObjects-BI4.0-(inclusive-mobile-configuration-for-iPad)
    http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&frm=1&source=web&cd=2&cad=rja&uact=8&ved=0CDQQFjAB&url=http%3A%2F%2Fwww.pieterverstraeten.com%2Fblog%2F%3Fdownload%3DInstallation-manual-SAP-BO-BI4.0-inclusive-mobile-configuration-for-iPad.pdf&ei=IDgNVJW9Gs2MuATwaQ&usg=AFQjCNHrtSXXADA-6ISkgrPU7b9FyK6AHg&sig2=RPkgtC2dvQ1U2YVNvY4YnQ&bvm=bv.74649129,d.c2E
    Business Objects BI 4.0 - Installation Step by Step
    http://bobj4.blogspot.in/2011/06/business-objects-bi-40-installation.html
    SAP BusinessObjects Business Intelligence Suite 4.1 SP03 (SP3) Released
    http://scn.sap.com/docs/DOC-53864
    BI platform 4.0 cluster configuration
    http://wiki.scn.sap.com/wiki/display/BOBJ/BI+platform+4.0+cluster+configuration
    BI4.0 Product Support page
    http://wiki.scn.sap.com/wiki/display/BOBJ/BI4.0+Product+Support+page
    Thanks,
    Daya

  • New Business Components doesn't load with their foreign keys

    Hi,
    When your database schema has already been defined and nothing moves, the creation of Business Components in JDeveloper works pretty well.
    When you are developing a real application and sometimes the customer changes his mind or something, you have to add some Business Components later in the process.
    My question, why associations and links doesn't follow the creation of new business object?
    Example 1
    I load every database object I need. All associations and links are created.
    Example 2
    I have let say three tables. I create my new Business Components by selecting only 2 tables out of 3. If there are foreign keys, they are loaded.
    Now, I want to create the last business components (table 3 of 3), and this table got foreign keys pointing to one of the two previous tables I just loaded.
    Surprise, it won't load any foreign key.
    I have tried multiples ways to synchronise object, I don't see it working. So I have to create every associations and links myself. Anybody knows a trick that they want to share for this kind of situation?
    Thanks
    Edited by: benster on Feb 7, 2013 3:01 PM

    Hi,
    actuallly Chris Muir brought up the idea to make the entity wizard more intelligent of this. However, this is currently a suggestion by him and we work with the developers to get this idea validated and eventually in the product. Since then you will have to create relations manually. Note however that in this ADF BC behaves like the EJB entities from table wizard that also can only look up dependencies if the table is part of the selection. In your case, you select a single table and the table has a FK to another table. However, the other table is not part of the selection so why would ADF BC want to create the key relation ship. Before you say, it could parse your project, let me add that related objects may be saved in ADF libraries, which means we would parse the class path, which may be a long time waiting for you for the IDE to get back to you. So this requzrement - though valid - needs a different approach in the wizards. Until then you will have to build it manually.
    Frank

  • How to add new EEW Business Objects

    Hi guys,
    could you please give me a solution how to add new business objects? Following are the SAP Objects that you can Enhance Using EEWB:
    ADS Analytical Data Storage
    BUPA Business Partner
    BUPR Business Partner Relationships
    BUSINESS_ACTIVITY Business Activity
    BUSINESS_TRANSACTION CRM Business Transaction
    CATEGORY_ENHANCEMENT Category Extension
    COMPLAINTS Complaint
    COUNTERS Counter
    CRM_CASE СRM Case
    CRM_RPT Resource Planning Tool
    GRANTOR_PROJECT Grantor Project
    INDIVIDUAL_OBJECT Individual Object
    INSTALLED_BASE Installed Base
    LEAD Lead
    MARKETING_ELEMENT Marketing Element
    OPPORTUNITY Opportunity
    PPR Partner/Product Range
    RELTYPE Relationship Category
    SALES_CONTRACT Sales Contract
    SALES_TRANSACTION Sales Transaction
    SERVICE_CONFIRMATION Service Completion Confirmation
    SERVICE_CONTRACT Service Contract
    SERVICE_TRANSACTION Service Process
    SOLUTION_DATABASE Solution Database
    But, i didn`t find how add it.

    Hi,
    To my knowledge adding objects to EEWB is possible by customers, SAP controls which all objects enhancement are possible through EEWB, the objects which you have listed are supported by sap for enhancement via EEWB.
    If you are on CRM 7.0 you can use AET which supports more objects that can be enhanced.(AXTREG - transaction for AET supported objects)
    Hope this helps.
    Cheers,
    Sumit Mittal

  • Workflow - Create a new buisness object type for an new infotype.

    Hi all,
    I have an issue with creating a new buisness object type, which is related to a
    supertype, for an new infotype.
    I am new to workflow and business object. I don't have much knowledge in these area. I need to resolve this problem ASAP.
    Could someone please provide me a step-by-step guide on how to create a new business object type, which is related to an existing supertype, for an newly created infotype?
    If would be very much appreciated if someone could assist me in resolving this issue.
    Thank You.

    Business objects are maintained in SWO1 creating a subtype is done with the button: Create subtype (F9)
    If you don't have knowledge of workflow or abap objects, it is perhaps better to tell your employer that and find someone who has.
    If your problem is simply only creating a subtype then go with the instructions I already gave you, if however more things need to be done, like extending the subtype with (virtual)attributes, methods, events, delegating the subtype and implementing the methods in newly created tasks and subsequently workflows I really advise to find someone who can do this, or attend a SAP course on this subject.
    Kind regards, Rob Dielemans

  • Creating a Business Object

    Hi,
        I would like to know the Step by Step procedure for creating a business object.
          My requirement is to create a new business object and use it in my Workflow.
    If any material is available please forward to my Email ID.
    Mail ID : [email protected]
    Thank you,
    Ramu N.

    Hi Ramu,
    Why dont you refer the following link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/4f/5668735cf211d194a30000e82dec10/frameset.htm
    Regards,
    <i><b>Raja Sekhar</b></i>

Maybe you are looking for

  • Switching from iPhone 4 to iPhone 5..

    I've recently done an early upgrade from an iPhone 4 to an iPhone 5 - the guy in the phone shop said I couldn't use my iPhone 5 until the signal dies on my iPhone 4 - does anyone know how long this usually takes because I'm desperate to use my new ph

  • After sending a picture or message in "Message", what causes the "send" button to grey out?

    After sending a picture or message in "Message", what causes the "send" button to grey out?

  • JDeveloper 10.1.2.1 won't compile my code?

    Hi, I'm pretty new to JDeveloper, and Java in general. I've just downloaded and tried to run JDeveloper 10g (10.1.2.1.0, Build 1913) and I've having problems. When the application loads, I get a dialog message titled "Java Virtual Machine Launcher",

  • Reg:SAP GEM add on

    Hi experts, I have a requirement to imlpement the add on SAP GEM(Global Employee Management it is a SAP HR sub module)  in our production environment. Currently we are on ECC6.0 with SAPHR-SAPKE60028 and EA HR-SAPKGPHD17 levels. Can some pls.let me k

  • Adobe Acrobat X Teacher & Student re-installation

    My PC has crashed and I've also lost my Adobe Acrobat X installation files, but I had kept the product ket safely and still have it. Where can I download the  Acrobat X installation files from? Thanks.