Show TOC

Creating and Configuring the Alternative KeyLocate this document in the navigation structure

Use

In the Business Object node structure, every node instance has a 16-bit code as a unique identifier also known as the GUID. The GUID specifies a particular instance or record. In the user interface an alternative key can be used to identify that record.

Prerequisites

In a SAP development system, you have already created a Web Dynpro application. For more information see, Creating and configuring an FPM OVP Application.

Procedure

Creating an Alternative Key for a Form UIBB

  1. On the Component Configuration screen, choose the New button and select Initial screen.

  2. To create a form UIBB for the Initial screen, on the Overview Page Schema tab, choose the UIBB button and choose ADD Form Component.

  3. The system adds another UIBB row in the table with predefined entries for the selected component in the Component and Window Name columns. Enter a configuration name in the Configuration Name column. The form component is FPM_FORM_UIBB.

  4. Save the configuration.

  5. Choose the Configure UIBB button.

Configuring the Alternative Key

  1. To create the configuration for your UIBB, in the Editor for the Web Dynpro ABAP Component Configuration screen, choose the New button.

  2. In the Create Configuration dialog box, enter any required description and confirm your entry.

  3. In the Select Package dialog box, enter your required package and confirm your entry.

  4. In the Edit Feeder Class dialog box, enter the /BOFU/CL_FBI_GUIBB_ALTKEY_FDR feeder class and choose the Edit Parameters button.

  5. In the Edit Parameters dialog box, enter the following parameters and choose the OK button:

    • Business Object: Name of the BO which you have referred to; for example, /BOFU/DEMO_SALES_ORDER

    • Node: Name of the node; for example, ROOT

    • Alternative Key: Name of the alternative key you use to query the root node; for example, ORDER_ID

  6. Click OK.

  7. Save the UIBB configuration.

Adding Group Elements for Alternative Key

  1. On the Component Configuration, on the Form UIBB Schema tab choose the Element button and select Add Group.

  2. In the Group Title column, enter a suitable title for the group.

  3. Choose the Child Element button and select Add Elements to Group.

  4. In the Edit Group dialog box, select the element and choose the OK button

  5. Save the UIBB configuration.

More Information