Skip to Content
0

Queue Mismatch in Mapping

Dec 13, 2016 at 12:29 AM

37

avatar image

Hello,

I am facing issue with queue mismatch.

I need to map ZCHARVL-CHARC---Characteristic-Name and ZCHARVL-VALUE---Characteristic-Value with condition if ZTECHRS-TR_TYPE= PI.

Also ZTECHRS can have multple occurences.

I need to map ZCHARVL-CHARC---Characteristic-Name
and ZCHARVL-VALUE---Characteristic-Value
with condition 
if ZTECHRS-TR_TYPE= PI


Also ZTECHRS can have multple occurences.


Eg.


Source Side                                        Targert Side(Expected)
      <ZDOCIT SEGMENT="1">
         <ORDERED_PROD>FEE00001</ORDERED_PROD>     <ns2:Characteristic>   
         <ZCHARVL SEGMENT="1">                       <ns2:Name>TEXT3</ns2:Name>
            <CHARC>TEXT1</CHARC>                     <ns2:Value>NOT_NEEDED</ns2:Value>
            <VALUE>0.0</VALUE>                     </ns2:Characteristic>
         </ZCHARVL>                                <ns2:Characteristic> 
         <ZCHARVL SEGMENT="1">                       <ns2:Name>TEXT4</ns2:Name>
            <CHARC>TEXT2</CHARC>                     <ns2:Value>Y/ns2:Value>
         </ZCHARVL>                                 </ns2:Characteristic>
      </ZDOCIT>
      <ZDOCIT SEGMENT="1">
         <ZTECHRS SEGMENT="1">
            <TR_OBJ_ID>100010318</TR_OBJ_ID>
            <TR_TYPE>PI</TR_TYPE>
         </ZTECHRS>
         <ZTECHRS SEGMENT="1">
            <TR_OBJ_ID>41375540</TR_OBJ_ID>
            <TR_TYPE>PH</TR_TYPE>
         </ZTECHRS>
         <ZCHARVL SEGMENT="1">
            <CHARC>TEXT3</CHARC>
            <VALUE>NOT_NEEDED</VALUE>
         </ZCHARVL>
         <ZCHARVL SEGMENT="1">
            <CHARC>TEXT4</CHARC>
            <VALUE>Y</VALUE>
         </ZCHARVL>
      </ZDOCIT>


Regards,
Roshan 


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Harish Mistri Dec 13, 2016 at 01:05 AM
0

Hi Roshan,

The condition segment and value segment are at the same level. As both of them having multiple occurrence, how would you identify which ZCHARVL should be mapped for the output?

regards,

Harish

Share
10 |10000 characters needed characters left characters exceeded