I have a scenario where the target field of one idoc segment should get populated ie. field should count how many other different segments are generated in the target.for example
segment A comes to 2 times then say field of segment C should be 2 in the target