Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8526

Re: Need Help on Mapping Logic

$
0
0

  Hello,

Try this:

 

1) E1MBXYI


Execution type: all values of a context

Input: var1

 

String initial = "";

for(int i=0;i<var1.length;i++)

{

if(!var1[i].equals(initial))

{

result.addValue(var1[i]);

initial = var1[i];

}

}

 

Mapping:

 

Ur main logic (i.e. till format by example) - UDF - E1MBXYI


2) ZXYZSEG


Mapping:

 

Ur main logic (i.e. till format by example) - SplitByValue(each value) - ZXYZSEG

 

Note - I have just provided u the hint for the segments, but for field mapping u have to play around with the context.

 

 

Thanks

Amit Srivastava




Viewing all articles
Browse latest Browse all 8526

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>