Configuring Tag Repository at Runtime
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.
You can configure the tag repository at runtime if the following applies:
You have defined a meaning. For more information, see Definition of Meanings.
You have defined a query and assigned a valid context key and query view to it. For more information, see Definition of Queries and Definition of Query Views.
In Customizing, choose .
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
.
In Customizing, choose . In the Query Input Fields
view, check that the query fields you selected are available. If they are not, create them.
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.
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.
In the view area, choose and check that the relevant fields are blank.
Restart your application and insert the following at the end of the URL: &SAP-CONFIG-MODE=X. The application starts in configuration mode.
Choose any output field from which you want to obtain the runtime value for your meaning, by choosing 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.
Select your newly created meaning from the list and choose OK
. The name of meanings begins with /BCV/:
.
Restart your application in productive mode, and open the side panel.
Perform steps 4 and 5 again, and check that the relevant fields are filled with values taken from your meaning.
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).