cancel
Showing results for 
Search instead for 
Did you mean: 

Flatfile to complxe structure

Former Member
0 Kudos

Hi

is it possible to convert a flatfile:

fieldA,fieldB,fieldC(subfield,subfield,...,subfield)

fieldA,fieldB,fieldC(subfield,subfield,...,subfield)

...

to a datatype like this with a various number of maindata and a various number of subdata?

<documentName>...

<recordset>

<maindata>

<field-nameA1>field-value</field-nameA1>

<field-nameA2>field-value</field-nameA2>

<field-nameA3>field-value</field-nameA3>

<subdata>

<subfield>value</subfiled>

...

<subfield>value</subfiled>

</subdata>

</maindata>

</recordset>

<recordset>

...

</recordset>

</documentName>

Greets

J.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jorg,

Yes it is possible,

check my reply in this link

Regards

Vishnu

Former Member
0 Kudos

Hi

yes it is possible just do the <u>java mapping</u> and your problem is solved.

https://www.sdn.sap.com/irj/sdn/webinar?rid=/library/uuid/ae970919-0301-0010-72a2-9129b935f711

just chek the above document which will help you to understand the concepts.

Regards

Piyush

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Yes its possible to convert a flat file data into a complex structure. check out the link to sap help.

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

cheers,

naveen