Skip to Content

Get to know additional functionality of the Custom Business Configurations app

Learn how to copy and paste data from spreadsheet applications. Get to know how to create business configuration documentation and make use of intent navigation.
You will learn
  • How to copy and paste data from spreadsheet applications
  • How to create business configuration documentation
  • How to make use of intent navigation
mervey45Merve TemelNovember 23, 2022
Created by
jmmargo
May 23, 2022
Contributors
jmmargo
sepp4me
maximilianone

Prerequisites

  • Step 1

    You can add multiple error codes with copy & paste from a spreadsheet application.

    1. Start the Custom Business Configurations app.

      Start Custom Business Configurations app
    2. Select your business configuration.

      Select business configuration
    3. Click Edit.

    4. Select Export as.

      Export as
    5. Export the current table content to spreadsheet:

      • File Name: ErrorCode###s
      • Format: Spreadsheet
      • Split cells with multiple values: true
    6. Open the downloaded file and Enable Editing.

    7. Add two new rows with following data:

      • Error Code: 403, Description: Forbidden
      • Error Code: 404, Description: Not Found
    8. Select both rows and copy

    9. Back in the Custom Business Configurations app, click Paste.

      Paste new rows
    10. If prompted, click on Allow.

    11. After pasting, you can see the new rows. Select a transport and click on Save.

      Save new rows
  • Step 2

    You want to provide a detailed documentation of the business configuration to the user of the Custom Business Configurations app.

    1. Open your ABAP package in ADT, right-click on your Business Configuration Maintenance Object and select New Knowledge Transfer Document.

      Select New Knowledge Transfer Document
    2. Create a new knowledge transfer document with Name ZERRORCODE###

    3. Finish the wizard.

    4. Write the documentation in markdown.

      Write documentation
    5. Activate your Knowledge Transfer Document.

    6. Reload the Custom Business Configurations app. A new action will now will be visible on the top right corner.

      New action visible
    7. Click Show Documentation.

      Show Documentation action

    Which semantic object can be used for intent navigation?

  • Step 3

    You want to navigate from your SAP Fiori app to the maintenance view of a Business Configuration Maintenance Object.

    For this intent navigation you can use the parameter TechnicalIdentifier for the semantic object BusinessConfiguration with the action maintain.

    • You can test this in the browser:
      • /ui#BusinessConfiguration-maintain navigates to the List Report of the Custom Business Configurations app.
      • /ui#BusinessConfiguration-maintain?TechnicalIdentifier=ZERRORCODE### directly navigates to the maintenance view of the Business Configuration Maintenance Object ZERRORCODE###
    • In your SAP Fiori app one option is to use cross application navigation:
    JavaScript
    Copy
    sap.ushell.Container.getServiceAsync("CrossApplicationNavigation").then(function (oService) {
        oService.toExternal({
            target: {
                semanticObject: "BusinessConfiguration",
                action: "maintain"
            },
            params: {
                TechnicalIdentifier: "ZERRORCODE###"
            }
        });
    });
    
  • Step 4

Back to top