FAQ KB0402950
Email
How can I perform the loop function in Managed Gateway for Spend&Network with value variable?
Question

How can I perform the loop function in SAP Integration Suite, managed gateway for spend management and SAP Business Network 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 Managed Gateway for Spend&Network 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 Managed Gateway for Spend&Network 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 Managed Gateway for Spend&Network 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 Integration Suite Managed Gateway > Managed Gateway for Business Network
SAP Integration Suite Managed Gateway > Managed Gateway for Business Network SCC > Managed Gateway for Buyer Business Network SCC
SAP Integration Suite Managed Gateway > Managed Gateway Foundation & Tools > Managed Gateway for Managed Gateway Portal

Terms of Use  |  Copyright  |  Security Disclosure  |  Privacy