cancel
Showing results for 
Search instead for 
Did you mean: 

SHPMNT04, idoc to XMLHelp!!!

Former Member
0 Kudos

Hi

I am wondering if someone can please help with my mapping?      

source:
IDOC SHPMNT04
target XML
Detail:
Test:
Error:


Cannot create target element /ns0:MT_SHPMNT04_LB_R_NODE/ROW/E1EDT20/E1EDL20/E1ADRM1/Address2_2. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XS

Any Ideas??
Regards
Norma

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Input  Data:

E1ADRM1 : AG

E1ADRM1 : WE

E1ADRM1 : OSP

E1ADRM1 : OSO

Detail:


Regards

Norma

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Rishabh,

Since the target node E1ADRM1 is 1 to unbounded, you need to apply the logic of checking for WE value from PARTNER_Q input field for the node and its elements.

For E1ADRM1 target node:

Check PARTNER_Q(keep context to E1EDL20) input value with "WE"-->pass this to IFWITHOUTELSE boolean function,the second argument is a blank value-->pass this to target node.

For its elements:

Check PARTNER_Q(keep context to E1EDL20) input value with "WE"-->pass this to IFWITHOUTELSE boolean function,the second argument is its corresponding source element-->pass this to target element.



Can you check this and let us know if you still faces issue.


Regards

Vishnu

Former Member
0 Kudos

issue solved!!

*validation was added in each field!!

Regards.

Norma

pvishnuvardan_reddy
Active Contributor
0 Kudos

Regards

Vishnu

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Norma,

It looks like target field Address2_2 is not getting populated.

Can you check the mapping for this field and also check display queue to find out the cause.

You can share the mapping screen shot with input data.

Regards

Vishnu

azharshaikh
Active Contributor
0 Kudos

Hi Norma,

Please check the mapping for your target field Address2_2. Its mandatory field and required some value to be mapped.


You can check the display queue for this field and see if the source field that you have mapped to it has values in it context for mapping.


Please provide screenshots


Regards,

Azhar