on 10-01-2010 4:52 PM
Hi all,
In my IDOC-File scenario, the source IDOC COSMAS structure can have many segments E1CSKSM. One of the elements in this segment is BUKRS. I need to get all the company codes in all source segments in an element in the target structure.
For example:
Source: Target:
E1CSKSM Row
BUKRS = "A01" BUKRS = "A01"
AllBUKRS = "A01"
E1CSKSM Row
BUKRS = "A02" BUKRS = "A02"
AllBUKRS = "A01A02"
E1CSKSM Row
BUKRS = "A03" BUKRS = "A03"
AllBUKRS = "A01A02A03"
How can I get this?
Thanks for your help,
Elaine
Hi Rodrigo,
Thanks so much for this. It works well.
My UDF has type of 'All Values of Queue':
String a="";
for(int i=0; i <= bukrsArr.length - 1; i++)
{
if(!(bukrsArr<i>.equals(ResultList.CC)))
{
a = a + bukrsArr<i>;
}
}
resultList.addValue(a);
Regards,
Elaine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use a udf. context=all values of the queue.
UDF
String a="";
for(int i=0;i<=bukrsArr.size();i++){
if(!(bukrsArr<i>.CC)){
a=a+bukrsArr<i>;
}
resultList.addValue(a);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.