cancel
Showing results for 
Search instead for 
Did you mean: 

JDBC to IDoc ( error when mapping multiple JDBC records to IDoc)

jwalithtatikonda2
Participant
0 Kudos

Hi,

I am working on JDBC to IDoc scenario, I have declared row as 0 to unbounded and by default the IDoc structure is 1..1.

Inorder to map multiple rows from JDBC to get multiple IDoc's, I have changed the occurrence of IDoc in "Messages" tab of Message mapping to 0 to unbounded.

I have mapped "row" to "IDoc".

When I test the mapping, it works fine, giving the same number of IDoc's with that of row.

When I test end to end, in SXMB_MONI, it gives me following error:

<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>

<SAP:P1>MSGGUID 54A3A64E895D48EC3F20C69FEFE2E82B: Tag found instead of tag IDOC BEGIN=</SAP:P1>

can any one help me out with this.

Thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

If you are using multimapping..n:m.Make sure that in interface mapping its in the same order as in the message mapping otherwise it'll give the error as mentioned by you.

Former Member
0 Kudos

Hi Jwalith,

Check this blog from Michel

Make sure that you changed occurance as per this blog.

hope this is helpful

regards,

Venkat.

Former Member
0 Kudos

Hi,

Are you sure with the changes of IDOC structure are syntactically right..???

Please make sure to have the IDOC structure as 1..unbounded.

Thanks

swarup