Show TOC

Configuring Tag Repository at RuntimeLocate this document in the navigation structure

Prerequisites

You can configure the tag repository at runtime if the following applies:

Context

You use this function to set up new meaning connections between your application and a query view input field in the side panel of BCV without having to modify your application's source code.

Procedure

  1. In Customizing, choose Start of the navigation path Cross-Application Components Next navigation step Processes and Tools for Enterprise Applications Next navigation step Business Context Viewer Next navigation step Query Management Next navigation step Define BCV Queries End of the navigation path.

    In the Query Fields view, select query fields that you want to assign your new meaning to. The query fields must be of type Input, or Input/Output.

  2. In Customizing, choose Start of the navigation path Cross-Application Components Next navigation step Processes and Tools for Enterprise Applications Next navigation step Business Context Viewer Next navigation step User Interface Next navigation step Define Query Views End of the navigation path. In the Query Input Fields view, check that the query fields you selected are available. If they are not, create them.
  3. In Customizing activity Define BCV Queries, assign your meaning to the query field. To do so, enter the meaning in the Meaning field, and save.
  4. Open the side panel, and in the Query Views accordion item, enter your query ID, and execute the query view corresponding to it. For more information, see Side Panel.
  5. In the view area, choose Start of the navigation path Functions Next navigation step Change Input End of the navigation path and check that the relevant fields are blank.
  6. Restart your application and insert the following at the end of the URL: &SAP-CONFIG-MODE=X. The application starts in configuration mode.
  7. Choose any output field from which you want to obtain the runtime value for your meaning, by choosing Start of the navigation path Tags Next navigation step Manage Tags End of the navigation path from the context menu. The system displays the meanings as tags.

    You can also choose a UI element that contains multiple values, such as a table column. At runtime, the system will pass all selected values of the UI element to the meaning. To use this feature, you must activate the FND, Business Context Viewer NWBC Side Panel (/BCV/NWBC_SIDEPANEL) business function.

  8. Select your newly created meaning from the list and choose OK. The name of meanings begins with /BCV/:.
  9. Restart your application in productive mode, and open the side panel.
  10. Perform steps 4 and 5 again, and check that the relevant fields are filled with values taken from your meaning.
  11. To manage your own meanings easily, access your application in configuration mode (see step 6 above) and call tag the repository function (see step 7 above).