cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc occurrence error

Former Member
0 Kudos

Hi ,

When i try to place an file on FTP, my interface file is placked and executed. the problem is that it can send only one idoc.

So, i have changed the occurrence from 1:1 to 0:unbounded.

Now i am getting an error as :Cannot create target element

/PEXR2002/IDOC/E1IDKU1. Values missing in queue

context. Target XS~

When i am reverting back to 1:1 it is working fine.

Please help me.

Thanks,

Manju.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

try mapping E1IDKU1 to a blank constant.........

Answers (2)

Answers (2)

former_member333459
Participant
0 Kudos

Hi Manju,

Change the occurence of PEXR2002 rather than changing the occurence of IDoc.

Regards,

Neethu

Former Member
0 Kudos

Hi,

I tried to chnage the occurrence of PEXR2002, but i couldnot able to do. When i upload the chnaged XML it is showing error.

This is my XML. If you can, help me.

<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema xmlns:xsd = "http://www.w3.org/2001/XMLSchema">

<xsd:element name = "PEXR2002">

<xsd:complexType>

<xsd:sequence>

<xsd:element

name = "IDOC"

type = "REMADV.PEXR2002"

minOccurs = "0"

maxOccurs = "unbounded"/>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

I would not able to attach the full xml

Thanks,

Manju

Former Member
0 Kudos

Hi Manju,

Test your Mapping in ESR with the Payload.

This could be because the first occurance of the <Field> is mapped to the first occurance of the /PEXR2002/IDOC/E1IDKU1, but may be for the second occurance it is unable to find the source value so it is not able to map the field which could be mandatory.

Please check your mapping with some node functions.

Regards

Praveen K