FAQ 188965
Email
How can I perform the loop function in CIG with value variable?
Question

How can I perform the loop function in Cloud Integration Gateway (CIG) with Value Variable?

Answer

If you tried to perform the loop function with the item Position and it didn't work, you could perform it using the Value Variable as the following steps:

  1. Right click on mapping line.
  2. Click Target Variable > Add Value Variable.
  3. Click on the target sequential field that contains the value we could match with the sourcing one. It could be the field @lineNumber, for example.
  4. Repeat step 1 > click Add Source Condition > Select the source sequential field you'd like to match.
  5. Click Value Variable > select the variable you had chosen in the step 3 > OK.
  6. Save Mapping.
Additional Information

There is another way to perform the loop in CIG Mapping Tool with the item Position, you could find the steps to perform it in the SAP Article Why target field is showing multiple values if I have more than one line item?

When using the loop functionality in CIG Mapping Tool, it is a good practice to always set it after all source and target conditions. It is more certain that this will work if this is followed since the CIG Mapping Tool perform the mappings in the order that it is maintained. So if the loop has a condition to happen, the loop won't follow the same if the loop is set before.


Applies To

SAP Ariba Buying and Invoicing
SAP Ariba Sourcing
SAP Business Network

Terms of Use  |  Copyright  |  Security Disclosure  |  Privacy