Show TOC

Rules for Creating ParametersLocate this document in the navigation structure

Use

When Web service test scenarios are uploaded, new parameters are created according to the following rules:

  • Existing parameters have the highest priority and are never replaced by new parameters or direct value assignment.

  • New import/export parameters are only created if there are no existing parameters. Variables, on the other hand, are always created, and are given the prefix V_CHK_.

  • If no parameters are selected to be created, the uploaded values are assigned directly to the structure.

  • Only in the import part of the structure: Variables are assigned directly to the command structure if there are no existing parameters and no new import parameters are to be created.

  • In the case of SAP Web services, new parameters are created for all subnodes of the PARAMETERS node.

  • In the case of non-SAP Web services, new parameters are created for all subnodes of INPUT/OUTPUT.

  • No new parameters are created for the CONTROLLER nodes.

  • LOG nodes only appear in the export part of the command structure and are identified as follows:

    • Export parameters are given the prefix E_LOG_.

    • Variables are given the prefix V_CHK_LOG_.

  • If you are uploading to an existing Web service command, the following applies:

    • If the existing parameters are flagged for deletion and no new import or variable parameters are selected to be created, the uploaded values are assigned directly to the structure.

    • New import or variable parameters delete all values assigned directly to the structure.

    • Processing is top-to-bottom (for example, import parameters are only created if there are no existing parameters, whereas variables are always created).

Example

New parameters can only be created for the following nodes:

  • In the import section ( Start of the navigation path IMPORTING Next navigation step INPUT Next navigation step PARAMETERS End of the navigation path) for the nodes MESSAGEHEADER and ADVERTISINGSALESORDER

  • In the export section ( Start of the navigation path EXPORTING Next navigation step OUTPUT Next navigation step PARAMETERS End of the navigation path) for the nodes MESSAGEHEADER, ADVERTISINGSALESORDER, and LOG

Import and variable parameters are only created if at least one value is uploaded for the parameter node.

In the above example, no import parameter is created for the node Start of the navigation path IMPORTING Next navigation step INPUT Next navigation step PARAMETERS Next navigation step MESSAGEHEADER End of the navigation path because no values were uploaded for the node.

Furthermore, no uploaded values are transferred as default export parameters because they would be overwritten anyway when the eCATT script is executed. Export parameters do not overwrite any existing parameters.