I have a file to IDOC scenario where the incoming XML strcuture contains the following data:
The data in the National_Insurance_Number tag should be checked as follows:
If the first 2 characters in this tag contain 'TN' like above, the value moved to the target IDOC segment-field should be ' ' else, the value should be moved as it is.
I need to define a User defined function for this.
Can you please help me how to do this?