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.Capture.PNG
  2. Provide with a Prefix and Name and continue./wp-content/uploads/2014/04/1_437974.png
  3. Propose a constant interface name and continue./wp-content/uploads/2014/04/1_437974.png
  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.
    /wp-content/uploads/2014/04/1_437974.png
    I have created the following structure.
    /wp-content/uploads/2014/04/1_437974.png

  5. Proceed with Continue in the wizard. The Combined Structure, Table type and the Database Table is automatically proposed./wp-content/uploads/2014/04/1_437974.png
  6. Proceed with Continue and complete the wizard. You will be prompted for package, which I have assigned to Local Object./wp-content/uploads/2014/04/1_437974.png
  7. The BO is created as below, by default a Query is created SELECT_ALL:/wp-content/uploads/2014/04/1_437974.png
  8. We are now creating ITEM node. Right click ROOT and create a Sub node.
    /wp-content/uploads/2014/04/1_437974.png
    A wizard opens proceed with the ITEM as node name./wp-content/uploads/2014/04/1_437974.png
  9. Provide a Persistent structure which is created in se11 or create it through Forward navigation./wp-content/uploads/2014/04/1_437974.png
    The following Item structure is created.
    /wp-content/uploads/2014/04/1_437974.png

  10. Continuing we get the Combined Structure, Table type and Database Table./wp-content/uploads/2014/04/1_437974.png
    Proceed with continue and complete the wizard. We now have the ITEM node created./wp-content/uploads/2014/04/1_437974.png


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./wp-content/uploads/2014/04/1_437974.png
  3. Select the record and click “Execute Association” button and click on “ITEM”./wp-content/uploads/2014/04/1_437974.png
  4. You can add two item level records.
    /wp-content/uploads/2014/04/1_437974.png
  5. Save your records by clicking the save button.

Thank you.

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. Venu P

    Hello Mayur,

    thank you for posting the document on bopf, its very useful for beginners .Please post the document on other topics what you said in the above document.

    thank you

    (0) 
    1. Mayur B Post author

      Hi Venu,

      Sorry for my late reply. I have added a document for creating a delegate node and consuming in FPM, hope it might help you. . 🙂

      Regards,

      Mayur

      (0) 

Leave a Reply