Skip to Content
Nov 03, 2017 at 03:01 PM

Mapping logic to populate number of IDocs based on input logic

360 Views Last edit Nov 03, 2017 at 03:03 PM 2 rev

Hi Experts,

We are working on File to IDoc scenario.Number of ADRMAS01 IDocs that get generated should depend on below logic.

If IsCustomer and IsSupplier both are equal to string "true" then number of IDocs that should get generated should be equal to (number of occurrences of NatVer field multiplied by 2) i.e., suppose both of them are true then number of ADRMAS01 IDocs that should generate are 2 * no.of occurrences of NatVer field in input. Else if either of them IsCustomer andIsSupplier value is equal to "true" then number of ADRMAS01 IDocs that should occur is equal to number of occurrences of NatVer field.

Can this be achieved by standard functions or UDF is required. Kindly help.

Snippet of roles nodes.




roles.jpg (25.0 kB)
roles.jpg (23.9 kB)