cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC-FILE

Former Member
0 Kudos

Hi all,

I have a source segment from an idoc with the following fields:

E1KNVP

PARVW

KUNN2

is mapped to the Target structure ADDR_TYPE.

Now PARVW can have a,b,c and KUNN2 can have 1,2,3

I want a flat file as:

a,1,b,2,c,3

How to pass multiple values of source fields to target to get this output?

--

Srini

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Write a UDF whcih will take both PARVW and KUNN2 as a context and then concatenate it PARVW<i>+ ","+ KUNN2<i> with i ranging from 0 to (PARVW.length())

Thanx

Aamir

Pl:I m assuming that you occurences of PARVW and KUNN2 will be same

Edited by: Aamir Suhail on Jun 27, 2008 8:25 AM

Former Member
0 Kudos

Amir,

Ya occurrences are the same for both the fields, can you give me a sample code.

Thanks,

Sri