Skip to Content
Technical Articles
Author's profile photo Rohit Khan

SAP S/4HANA Cloud Key User Extensibility – Maintain data in Custom Business Object – Part 4

BLOG UPDATES IN PROGRESS!!

Last reviewed for Updates: January 17 2019

SAP S/4HANA Cloud Key User Extensibility – Maintain data in Custom Business Object – Part 4

Target Audience – Key Users of SAP S/4HANA Cloud and Developers

Blog applicability – SAP S/4HANA Cloud 1702, SAP S/4HANA Cloud 1705 and SAP S/4HANA Cloud 1708, S/4HANA Cloud 1805, 1808 and 1811

In this part of the blog series, we will now see how we can maintain the values of our newly created custom business object. If you remember in the previous blog – part 3, we had chosen the option UI Generation. When this option is selected, the system generates a maintenance UI (akin to SM30 in On-Premise system).

If you have directly landed on this blog, please first go through part 1, part 2 and part 3 of this blog series. Please note that you should have the pre-requisites already in place as discussed in the part 1 of this blog series.

Let’s go through the steps and see how to create a new custom business object –

Log on to you SAP S/4HANA Cloud system. Once logged in you will arrive at your home page (Fiori Launchpad). Look for the tile Custom Business Objects.

Note – Please note that once the custom business object has been generated, it will take some time for the link (Go to generated UI) to be active.

Once this link is available, at this stage, we can click on this link and it will open the maintenance UI. But think of the actual production scenario, where the end user will not have access to the custom business objects tile. So how will it work then? Of course, the end user will need a tile on his/her Fiori Launchpad where they can click on it and maintain the values. Think of this like providing a new custom transaction code in On-Premise system. But for end user of a SAP S/4HANA Cloud system, he/she would need a tile.

So now let us go through the steps and see how to create a new custom tile for the newly created maintenance UI for the Custom Business Object.

Since we are already inside the editor of Custom Business Object, you would notice another link – Maintain Catalog Extensions

Before we go ahead, let us understand what is Maintain Custom Catalog Extension?

Custom Catalog Extension is another tool provided in Key-User Extensions and you would notice that it is present in the same group as other Key-User tools. If not that, you would need to find the app and assign it to your group.

This tile displays all the custom tiles that have been assigned to custom or standard catalogs.

Now let us come back to where we started. Click on the link Maintain Catalog as stated above, and it will take you inside the Custom Catalog Editor. Click on Add.

Once you click on Add, it will open a pop-up where we need to choose a Business Catalog. At this point, we can either assign it to some custom business catalog if you have already created it or you can also choose a standard catalog.

For this blog, we will pick up the standard business catalog – SAP_CORE_BC_EXT

Select the catalog and it will show the item as selected where the new custom tile will appear

Click on Ok from the bottom bar.

A new line item will appear which shows the business catalog and the status of the same. The status would be Unpublished first time.

Select this line and then click on the option – Publish

Next say – Ok

The publishing process will start. It will take some time before it is completely published.

 

Now go back to your home and click on the me icon  .

Next click on App finder and in the search box, look for Supplier.

Find your business catalog. In this case – Extensibility. You would notice a new tile – Supplier there. Select that app by clicking on the pin and come back to the home screen.

Once you click on the PIN icon, it will pop-up the list of groups available on your Fiori Launchpad. Select any one of your choice. In this case, we will add this new custom tile to the My Home.

Select Close and click on the back button from top to arrive at your home screen. The newly created tile would be there.

Just refresh your Fiori Launchpad once in case the tile is not appearing. The following screen shot shows how the tile will appear.

Let us now go ahead and maintain some records for this custom business object.

Click the tile and it will open the maintenance UI. Now click on the plus (+) icon to create a new record for the parent node – Supplier

Here you will notice that the custom code list values are now appearing as F4. Remember this we had created in the part 2 of the blog series.

Click on F4 to choose the desired account group. Choose the group and it will now appear in the field.

Maintain the country and click on Save. This would save the record for the parent node – supplier. Once you come back to the original screen, click on the Go button and your newly created record will appear.

Select the record and click on the arrow on the right side.

Now we will maintain the values for the sub-node – Role

Click on the Roles tab and the plus (+) icon.

Maintain the values and hit Save

 

Congratulations you have successfully learned how to create a new custom business object, how to create a new custom code list value and how to create a custom tile and maintain the values for the custom business object in SAP S/4HAHA Cloud!

Rohit Khan, S/4HANA Regional Implementation Group

 

 

Choose the following links for all the previous parts of this blog series –

  1. Part 1 – SAP S/4HANA Cloud Key User Extensibility – Introduction to Custom Business Objects – Part 1
  2. Part 2 – SAP S/4HANA Cloud Key User Extensibility – Custom business object – Creating Code List Values – Part 2
  3. Part 3 – SAP S/4HANA Cloud Key User Extensibility – Create Custom Business Object – Part 3

 

 

 

 

 

 

 

 

 

 

Assigned Tags

      19 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Gajaba Kalum
      Gajaba Kalum

      hi Rohit,

       

      Thanks for the wonderful blog.. it's really informative. But i have a small issue in my Custom Business Object screen when going to Generate UI for the custom object i have created.

      Those 2 buttons (Go To Generate UI & Maintain Catalog) are not showing even after a while.

      Let me know the root cause for this... ??  Could it be an authorization issue??

       

      rgds,

      Kelum Gajaba

      Author's profile photo Rohit Khan
      Rohit Khan
      Blog Post Author

      Hi Kelum,

      You are working on which version of S/4 - S/4HANA OP or S/4HANA Cloud?

      Thanks

      Rohit

      Author's profile photo Gajaba Kalum
      Gajaba Kalum

      hi Rohit,

      I'm working on S/4HANA OP 1709   and SAP-FIORI front-end server is 4.0

       

      rgds,

      Kelum Gajaba

      Author's profile photo Rohit Khan
      Rohit Khan
      Blog Post Author

       

      Hello Kalum,

      Please note that this option is limited to SAP S/4HANA Cloud version only. Hope that answers your query.

      You can also see more information related to supported features here in this link.

      Thanks

      Rohit

      Author's profile photo Gajaba Kalum
      Gajaba Kalum

      hi Rohit,

       

      Thanks for the response.. Does that means that there is no way to generate custom business objects or Catalogs  On Prem ??

       

      rgds,

      Kelum Gajaba

      Author's profile photo Rohit Khan
      Rohit Khan
      Blog Post Author

      Hi Kelum,

      You can generate CBO, but then at present this is a restriction in OP. For catalogs, you can still use the existing LPD to create custom catalogs.

      Regards

      Rohit

      Author's profile photo Pawan Kalyan
      Pawan Kalyan

      HI Rohit Khan ,

      I would like to keep 2 fields as Key fields in CBO. But it is not getting possible for me . Can you please guide me if there is any other way to do it?

      My Intention is to create a value help for custom field using association from CBO. But the custom field for which i need match code should contain 2 fields as Key Fields. Please advice if there is any way.  Thank you so much for all your blogs...!!!

      Author's profile photo Rohit Khan
      Rohit Khan
      Blog Post Author

      Hi Pawan Kalyan ,

       

      It should be pretty straight forward to add more than one field as key fields in CBO. Can you please share the error you are getting?

       

      Regards

      Author's profile photo Pawan Kalyan
      Pawan Kalyan

      Hello Rohit Khan , Thanks for the reply . I am not able to share error details ?

      But I am quite sure , If we check the check box – Association, we are getting the error  saying, More than 1 Key field for CBO is not possible. If possible, I will share error details on Monday. If we don’t  check the checkbox then , I am able to check as many fields as Key Fields as I want.

      Author's profile photo Rohit Khan
      Rohit Khan
      Blog Post Author

      Hi Pawan Kalyan ,

      You can try to attach the error here and also if possible list the steps you did in order for me to reply you with the right answer.

      Thank you

      Regards

      Author's profile photo Pawan Kalyan
      Pawan Kalyan

      Hi Rohit Khan ,

      Sorry for the delayed response. Please find the screenshot. I am expecting a match code for the custom field. I am creating CBO to show Match Code. I have 3 key fields and when I am trying to activate , I am getting this error. I have this error in 1709 , 1809 S/4 HANA OP as well  . Please suggest what should i do to get the requirement done . Thanks a lot for all the guidance...

       

      Author's profile photo Rohit Khan
      Rohit Khan
      Blog Post Author

      Hi Pawan Kalyan ,

       

      The field that you have hidden, is it a CBO?

      Thanks

      Rohit

      Author's profile photo Pawan Kalyan
      Pawan Kalyan

      Hi Rohit Khan

      I have hidden two things.. One CBO Name and other Field - ZXYZ

      Name of CBO  – ZABC

      Name of Field - ZXYZ

      Yes. Business Object ZABC cannot be associated. It requires one root key field.. Thanks for the prompt response…

       

      I am planning to add Field ZXYZ in Manage Purchase Requisitions app as a custom Field(Custom Fields and logic App)  and its type is CBO - ZABC

       

      Please guide me how can I do this and whether it is feasible or not... 

       

      Looking forward to your reply…!!!

      Author's profile photo Rohit Khan
      Rohit Khan
      Blog Post Author

      Hi Pawan Kalyan ,

       

      Okay. So please make sure that the flag 'Can be associated' is selected for the CBO - ZABC and also in the screen from the drop type for the 'Type' you choose - Association to Business Object.

      Hope this should resolve the issue.

      Regards

      Rohit

      Author's profile photo Pawan Kalyan
      Pawan Kalyan

      Hi Rohit Khan ,

       

      Checkbox was checked already(It was there from the start of creation of CBO). I believe the problem lies in No of Key Fields. Because , When I try to do the same with selecting only one field as Key Field, I am able to create CBO without any issue.

      Can you please guide me in this regard.

      Sorry for the trouble…!!!

      Author's profile photo Rohit Khan
      Rohit Khan
      Blog Post Author

      Hi Pawan Kalyan ,

      I think your observation is correct. I got it now. System accepts one key field for the root node that has the flag - Can be associated selected.

      Regards

      Rohit

      Author's profile photo Pawan Kalyan
      Pawan Kalyan

      Hi Rohit Khan ,

      Thanks for checking...!!! So is there any way out to achieve the same functionality?(with Multiple Key Fields)

      Can you please suggest any alternative for this so that I will try to do the same

      Author's profile photo Rohit Khan
      Rohit Khan
      Blog Post Author

      Hi Pawan Kalyan ,

       

      I can check it.

      Regards

      Rohit

      PS. I would advise you to post new questions here - https://answers.sap.com/questions/ask.html and tag it under S/4HANA S/4HANA Cloud. This way community will also be benefited. 🙂

       

      Author's profile photo Shariq Muhammad
      Shariq Muhammad

      Hi Rohit,

      Could you please also post a blog stating the steps to capture and move objects to Quality / Production systems.

      Thanks much.