Count fields in Mapping
We are using PI7.0, we have a requirement where we need to count the number of fields occurring in the target and that count has to be given in one of the field. The target elements vary according to the input. To be clear, for example
If 5 fields are formed in the target, the 5th field should have the number 5 as the output.
Can this be achieved in message mapping ?
If so, kindly help me .