Show TOC

Mapping Delete and Update OperationsLocate this document in the navigation structure


When mapping the Update operation with BOR or RFC as your data source, for ease of use, any selections you make in a parameter (by selecting or removing the selection for the checkboxes) are automatically reflected in its related X parameter and vice versa. This means that you do not have to select or remove the selections in the boxes in both parameters.

This happens only if the following conditions are met:

  • The two structures have the same name; the only difference being the X character at the end of the X structure.

    All parameters in the X structure are of type CHAR(1).


    We recommend that you check if the selections are correct. If the above conditions are met, parameters that you select for the Update operation also have their X constant value automatically set.

  • For each X parameter, a matching parameter is identified in the regular Xstructure.

    Selecting a node in the regular structure is automatically reflected in the X structure. When you select a constant value, X is set, when empty. CHAR is set. For example, ' '

    When no matching parameter is found in the regular structure, the constant is ' '

  • All fields are initially selected for mapping (boxes checked), so you may wish to remove the selections for the whole structure by clicking the checkbox next to the root element.

    Whenever you remove the selection for a mandatory Property, a popup warns you of this. Select Yes if you wish to proceed.

For all operations, any selection or non-selection of the return structure, or any of its field during mapping has no effect at runtime, because all the messages from the SAP backend system will be added to the application log of the SAP Gateway system.

The leading message is sent to the SAP Gateway consumer. For BOR and RFC data sources, the log container should be called Return, it can either be a table or a structure, and the parameter type can be similar to BAPIRET2_T (for a table) or BAPIRET2 (for a structure).

More Information

Creating the Mapping

Changing the Mapping

In addition, you can use the SAP Gateway Generators Cookbook to quickly create a Data Model and test the generated SAP Gateway service using the Data Model Generator tool.