The Mapping table displays when you open the Mapping screen to do the following:
Create new mappings for the parameters of a data source and the properties of an entity set.
For more information, see Creating the Mapping
Edit the mapped operations.
The Mapping table displays the following set of buttons in its tool bar:
Click to add a new row to the end of the Mapping table.
Click to add a new row above the selected cell in the Mapping table.
Click to remove the selected row and its content from the Mapping table.
Sort the content of the Mapping table in an ascending or in a descending order.
Click to add or remove the heading columns in the Mapping table. The main area of the Mapping table consists of the title, table for entity set <Name of Entity Set>.
Mapping screen help
Opens the help information for the mapping screen.
Available in edit mode.
Choose this button to automatically generate and display the available input and output mapping relations between the properties of the entity set and the parameters of the data source. Once the user clicks on Propose Mapping button, a mapping is created between the properties and the Data Source Parameters from which the property was imported
Input Mapping: mapping the properties of the entity set to the data source parameters. An Input mapping will be created only if there is an Import parameter in the Data Source with the same name as the Data Source Attribute from which the property was created.
Output Mapping: mapping the data source parameters to the properties of the entity set .
Below the title, are the following column headings:
Entity Set Property:
Displays the path to a specific property in the entity set. If the specified property is a simple field, the field name displays. If it is part of a complex type (structure), it displays the structure name or field. A search help is assigned to each property, it provides a popup with the entity structure. When you open the Mapping screen for the first time, the Mapping Table displays the default entity set properties. You can map the same property to more than one data source attribute. The same icons for the entity properties are available in the entity property search help, to enable you to clearly identify the key properties.
Press F4 in a property to get the Property view, which displays all the fields for the entity set, and to select a property.
Specifies the direction of the mapping, and describes the data flow direction.
An input data flow direction indicates that the service request is mapped into the RFC input parameters, and an output data flow direction indicates that the RFC output is mapped into the service result.
The direction is determined based on the data source declaration type as follows:
When the button points to the right, the mapping is of type input. When the button points to the left, the mapping is of type output.
If the data source parameter is an import field, it means the direction is coming from the model to the data source, and the direction is set to input. You cannot change it.
If the data source parameter is an export field, the flow is coming from the data source to the model, the direction is set to Output and you cannot change it.
If the data source parameter is a changing or table parameter, you must decide the direction of flow.
If the data source parameter is for both directions, you send the data from the model and also get it back. In this case, you must specify one line of the parameter for input and another line for output.
Data Source Parameter
Specifies the path to a specific data source attribute. You can specify data source entries as follows:
Press F4 to select the data source parameter from the popup.
Drag and drop the data source parameter from the Data Source view into the Mapping table; on the same row as the entity set property to which you want to map.