cancel
Showing results for 
Search instead for 
Did you mean: 

Java Mapping for Flat file

Former Member
0 Kudos

hello SDNers,

I am using JAVA mapping for converting FlatFlie IDoc to IDoc and i am using metadata for this.While downloading metadata from SAP system, the first segment in the data record is having level 2.

1) What is the use of Level in metadata?

2) What is the Level for first segment in data record of metadata. Is it Level 1 or Level 2?

3) I am facing an error while appending the node. Is it because of Level differs?

Plese help me out and thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>I am using JAVA mapping for converting FlatFlie IDoc to IDoc and i am using metadata for thi

why do you develop is from scratch is the code is already there - just copy and paste...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1...

>>>1) What is the use of Level in metadata?

this shows how the nested segments in IDOC are to be understood

>>>3) I am facing an error while appending the node. Is it because of Level differs?

no, it becase your code is incorrect - the level velidation will be done at the receiver

Regards,

Michal Krawczyk