on 09-11-2007 6:04 AM
I have a scenario where i had to map file data to a Z rfc in R/3.
but i am new to java language ...can any one help me..
My source File field is :
EDI_DC40 2DELVRY02RCVCONN
<b>E2EDL20 xxxxx</b>
E2EDL24 field1 field2
E2EDL24 field1 field2
E2EDL24 field1 field2
E2EDL24 field1 field2
EDI_DC40 2DELVRY03RCVCONN
<b>E2EDL20 yyyyyy</b>
E2EDL24 field1 field2
EDI_DC40 2DELVRY03RCVCONN
<b>E2EDL20 zzzz</b>
E2EDL24 field1 field2
E2EDL24 field1 field2
and My Targetdaat in RFC import parameter is of table type will be :
xxxxx field1 field2
xxxxx field1 field2
xxxxx field1 field2
xxxxx field1 field2
yyyyyy field1 field2
zzzz field1 field2
i am not able to achive it by till now..
Regards
ajay Pant
HI,
You can use "UseOneAsMany" if you want to repeat one value in many places at target side.
Regards,
Akshay Jamgaonkar,
Reward points if find useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
<b>like wise <recordset> will repeat</b> means each segement should come under separate record set,is't like that.
regards
yugapreetha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
U ll first have to import the RFC under Imported objects
At the sender end u ll have to first use file content conversion to convert ur file structure into xml format
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
Then u can do the graphical mapping directly.
Where exactly u want UDF?
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey
your requirement is not clear,could you please explain what u exactly wanna do?
why do u want to use UDF?
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
but the record set is repeating like
<Recordset>
<E2ED20>
<FIELD1>020</FIELD1>
<VBELN>0083662685</VBELN>
</E2ED20>
<E2E24>
<FIELD2>020</FIELD2>
<POSNR>900001</POSNR>
<CHARG>1078629</CHARG>
</E2E24>
<E2E24>
<FIELD2>020</FIELD2>
<POSNR>900002</POSNR>
<CHARG>1078630</CHARG>
</E2E24>
</Recordset>
<b>like wise <record set> will report</b>
as given data in source file mentioned above:
regards
Ajay
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
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.