Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 


Important Transactions while working with BOPF:

  • BOB: Business Object Builder.

  • BOBX: Business Object Builder eXpert.

  • BOBT: Business Object Builder – Test.


Simple step by step example for creating Business Object in BOPF.

  1. Start T-code: BOB (Business Object Builder). Click on “Custom Business Object”. A wizard opens as below proceed with continue.

  2. Provide with a Prefix and Name and continue.

  3. Propose a constant interface name and continue.

  4. Propose a Persistent structure name, the Root node name is auto filled with ROOT.
    The Persistent Structure defines the attributes that are stored in the database.
    The Transient Structure defines the attributes calculated at runtime.
    Both structures are implemented as regular DDIC structures and are created in the DDIC transaction SE11. You can simply double click the structure to proceed with the structure creation.

    I have created the following structure.
     

  5. Proceed with Continue in the wizard. The Combined Structure, Table type and the Database Table is automatically proposed.

  6. Proceed with Continue and complete the wizard. You will be prompted for package, which I have assigned to Local Object.

  7. The BO is created as below, by default a Query is created SELECT_ALL:

  8. We are now creating ITEM node. Right click ROOT and create a Sub node.

    A wizard opens proceed with the ITEM as node name.

  9. Provide a Persistent structure which is created in se11 or create it through Forward navigation.
    The following Item structure is created.


  10. Continuing we get the Combined Structure, Table type and Database Table.
    Proceed with continue and complete the wizard. We now have the ITEM node created.


 

Testing: Let us now proceed with Testing of the BO:

  1. Open T-code BOBT (Business Object Builder – Test). Provide with your Business Object name.

  2. Select the ROOT and click Add node instance. Provide with your input data.

  3. Select the record and click “Execute Association” button and click on “ITEM”.

  4. You can add two item level records.

  5. Save your records by clicking the save button.


Thank you.


4 Comments