cancel
Showing results for 
Search instead for 
Did you mean: 

Need help on Java Mapping

Former Member
0 Kudos

000000000000F0011000001448MSQUAL9010000000906 *

200798438321H001 SHEN.500010/10/200723:56:55NOSP KWO4A MS*

2007984383215397 00000500000205 *

2007984383215396 00000200000205 *

200798438321C001 *

200798438322H001 SBHS.500011/10/200705:50:00NOSP AGH4A MS*

2007984383225397 00000500000205 *

2007984383225396 00000238000205 *

2007984383220012 00001480000355 *

200798438322C001 *

=============================================

Main header :000000000000F0011000001448MSQUAL9010000000906 ( relation 1:1 )

Each record ending with Start : *

Sub Header : 200798438321H001 ( relation 0:unbound )

body messages 00000500000205 ( relation 0:unbound )

Close Subheader :200798438322C001 ( relation 0:unbound )

any one could help how to write the Java mapping , am able to get the data from local folder , but error getting as a message mapping error, there is no key field values for in this message.

Probably it should be happen with Java mapping, actually I am from SAP SD back ground, can understand the ABAP.

Warm regards,

kumar.

Accepted Solutions (1)

Accepted Solutions (1)

VijayKonam
Active Contributor
0 Kudos

Hi,

I think file adapter is sufficient for you. Dont need any java mapping. Refer to the file adapter content conversion for sender. Identify the key fields for heading, messages and footer. Then define record set with repeating structures in it like head,1,msg,*,footer,1.

This should solve the problem.

VJ

Former Member
0 Kudos

Hi Vijay,

Thanks for the response , for polling the data not a problem only I am getting the problem while in message mapping.

might you abserved the file structure..,

Header,1,Subheader,,Message,,Footer,*

Answers (0)