Problem Mapping Deep Structure to Flat Structure

Hello,
I hope someone can help me.  My scenario is idoc to file.  I am collecting many idocs with a bpm and writing them out to one file.  My bpm is working great, but my mapping program is not working properly.  My source message is a deep structure and my target message is a flat structure. 
See my example message formats below.
Source message:
zmessage (1..1)
+zidocmessage (0..unbounded)
++zidoc       (1..1)
+++zidocheader (1..1)
++++zidocitem  (0..unbounded)
Target Message:
zmessage (1..1)
+zfilemessage   (1..1)
++zfilefirstrec (1..1)
++zfileheader (1..unbounded)
++zfileitem   (1..unbounded)
I need to map zidocheader to zfileheader and zidocitem to zfileitem. 
The Source Data:
<zmessage>
  <zidocmessage>
    <zidoc>
      <zidocheader>
         <hfield1>hf1</hfield1>
         <hfield2>hf2</hfield2>
         <zidocitem>
           <ifield1>if1</ifield1>
           <ifield2>if2</ifield2>
         </zidocitem>
         <zidocitem>
           <ifield1>if1</ifield1>
           <ifield2>if2</ifield2>
         </zidocitem>
      </zidocheader>
    </idoc>
  <zidocmessage>
    <zidoc>
      <zidocheader>
         <hfield1>hf1</hfield1>
         <hfield2>hf2</hfield2>
         <zidocitem>
           <ifield1>if1</ifield1>
           <ifield2>if2</ifield2>
         </zidocitem>
         <zidocitem>
           <ifield1>if1</ifield1>
           <ifield2>if2</ifield2>
         </zidocitem>
      </zidocheader>
    </idoc>
</zmessage>
The Target Data:
<zmessage>
  <zfilemessage>
    <zfilefirstrec>
      <firstrecfield1>ff1</firstrecfield1>
      <firstrecfield2>ff2</firstrecfield2>
    </zfilefirstrec>
    <zfileheader>
      <hfield1>hf1</hfield1>
      <hfield2>hf2</hfield2>
    </zfileheader>
    <zfileitem>
       <ifield1>if1</ifield1>
       <ifield2>if2</ifield2>
    </zfileitem>
    <zfileitem>
       <ifield1>if1</ifield1>
       <ifield2>if2</ifield2>
    </zfileitem>
    <zfileheader>
      <hfield1>hf1</hfield1>
      <hfield2>hf2</hfield2>
    </zfileheader>
    <zfileitem>
      <ifield1>if1</ifield1>
      <ifield2>if2</ifield2>
    </zfileitem>
    <zfileitem>
       <ifield1>if1</ifield1>
       <ifield2>if2</ifield2>
    </zfileitem>
  <zfilemessage>
</zmessage>
Can someone advise me on how to map this correctly?
Thank you,
Rhonda

Hello,
Can someone please help me with this problem?
I am at the point where all of the records in my source message are being written out, however, all of the header records are together and all of the line item records are together.  So, the target message is not in the proper sequence.  It should contain the header record, then item records, header record, then item records, etc. 
Is there anyone that can help me with this issue?
Thank you,
Rhonda

Similar Messages

  • Conversion of hierarchy structure to flat structure

    Hi Gurus,
    I am mapping a multi node XML structure to flat structure to create the JDBC statements to Oracle database. I think JDBC DML statement can have only flat structure.
    Now how to convert the incoming multi node xml file to several flat structures?
    Can I map the multi node XML structure to jdbc structure?
    Please help me this is critical.
    Thanks
    Kalyan

    Chilla,
    Thanks for the post. My source structure is as below. I have to map this one to flat structure for JDBC. For each customer_num, drop_point there are many customer brands. Now with the customer number and drop point, we have to create the flat structure for each customer brand.
    <?xml version="1.0" encoding="UTF-8" ?>
    <record>
    <CUSTOMER_NUM>00140084000</CUSTOMER_NUM>
    <DROP_POINT>00140084000</DROP_POINT>
    <CUSTOMER_BRANDS>
           <BRAND_CODE>23258</BRAND_CODE>
           <BRAND_EFF_DATE>20060617</BRAND_EFF_DATE>
           <BRAND_CAN_DATE>99991231</BRAND_CAN_DATE>
           <FREIGHT_CODE>2</FREIGHT_CODE>
           <BRAND_STATUS>00</BRAND_STATUS>
           <INVOICE_UOM />
           <CREATION_DATE />
          <TRANS_LOCATION_CD>272</TRANS_LOCATION_CD>
          <TRANS_FAC_TYPE_CD>058</TRANS_FAC_TYPE_CD>
    </CUSTOMER_BRANDS>
    <CUSTOMER_BRANDS>
    <BRAND_CODE>23265</BRAND_CODE>
    <BRAND_EFF_DATE>20060617</BRAND_EFF_DATE>
    <BRAND_CAN_DATE>99991231</BRAND_CAN_DATE>
    <FREIGHT_CODE>2</FREIGHT_CODE>
    <BRAND_STATUS>00</BRAND_STATUS>
    <INVOICE_UOM />
    <CREATION_DATE />
    <TRANS_LOCATION_CD>272</TRANS_LOCATION_CD>
    <TRANS_FAC_TYPE_CD>058</TRANS_FAC_TYPE_CD>
    </CUSTOMER_BRANDS>
    <CUSTOMER_BRANDS>
    <BRAND_CODE>23365</BRAND_CODE>
    <BRAND_EFF_DATE>20010901</BRAND_EFF_DATE>
    <BRAND_CAN_DATE>99991231</BRAND_CAN_DATE>
    <FREIGHT_CODE>2</FREIGHT_CODE>
    <BRAND_STATUS>00</BRAND_STATUS>
    <INVOICE_UOM />
    <CREATION_DATE />
    <TRANS_LOCATION_CD>272</TRANS_LOCATION_CD>
    <TRANS_FAC_TYPE_CD>058</TRANS_FAC_TYPE_CD>
    </CUSTOMER_BRANDS>
    <CUSTOMER_BRANDS>
    <BRAND_CODE>23531</BRAND_CODE>
    <BRAND_EFF_DATE>20050210</BRAND_EFF_DATE>
    <BRAND_CAN_DATE>99991231</BRAND_CAN_DATE>
    <FREIGHT_CODE>2</FREIGHT_CODE>
    <BRAND_STATUS>00</BRAND_STATUS>
    <INVOICE_UOM />
    <CREATION_DATE />
    <TRANS_LOCATION_CD>272</TRANS_LOCATION_CD>
    <TRANS_FAC_TYPE_CD>058</TRANS_FAC_TYPE_CD>
    </CUSTOMER_BRANDS>
    <CUSTOMER_BRANDS>
    <BRAND_CODE>97335</BRAND_CODE>
    <BRAND_EFF_DATE>20070217</BRAND_EFF_DATE>
    <BRAND_CAN_DATE>99991231</BRAND_CAN_DATE>
    <FREIGHT_CODE>3</FREIGHT_CODE>
    <BRAND_STATUS>00</BRAND_STATUS>
    <INVOICE_UOM>01</INVOICE_UOM>
    <CREATION_DATE />
    <TRANS_LOCATION_CD>420</TRANS_LOCATION_CD>
    <TRANS_FAC_TYPE_CD>New</TRANS_FAC_TYPE_CD>
    </CUSTOMER_BRANDS>
    <CUSTOMER_BRANDS>
    <BRAND_CODE>99448</BRAND_CODE>
    <BRAND_EFF_DATE>20070217</BRAND_EFF_DATE>
    <BRAND_CAN_DATE>99991231</BRAND_CAN_DATE>
    <FREIGHT_CODE>3</FREIGHT_CODE>
    <BRAND_STATUS>00</BRAND_STATUS>
    <INVOICE_UOM>01</INVOICE_UOM>
    <CREATION_DATE />
    <TRANS_LOCATION_CD>4</TRANS_LOCATION_CD>
    <TRANS_FAC_TYPE_CD>New</TRANS_FAC_TYPE_CD>
    </CUSTOMER_BRANDS>
    <CUSTOMER_BRANDS>
    <BRAND_CODE>97337</BRAND_CODE>
    <BRAND_EFF_DATE>20070217</BRAND_EFF_DATE>
    <BRAND_CAN_DATE>99991231</BRAND_CAN_DATE>
    <FREIGHT_CODE>3</FREIGHT_CODE>
    <BRAND_STATUS>00</BRAND_STATUS>
    <INVOICE_UOM>01</INVOICE_UOM>
    <CREATION_DATE />
    <TRANS_LOCATION_CD>4</TRANS_LOCATION_CD>
    <TRANS_FAC_TYPE_CD>New</TRANS_FAC_TYPE_CD>
    </CUSTOMER_BRANDS>
    <CUSTOMER_BRANDS>
    <BRAND_CODE>99471</BRAND_CODE>
    <BRAND_EFF_DATE>20070217</BRAND_EFF_DATE>
    <BRAND_CAN_DATE>99991231</BRAND_CAN_DATE>
    <FREIGHT_CODE>3</FREIGHT_CODE>
    <BRAND_STATUS>00</BRAND_STATUS>
    <INVOICE_UOM>01</INVOICE_UOM>
    <CREATION_DATE />
    <TRANS_LOCATION_CD>12</TRANS_LOCATION_CD>
    <TRANS_FAC_TYPE_CD>New</TRANS_FAC_TYPE_CD>
    </CUSTOMER_BRANDS>
    <CUSTOMER_BRANDS>
    <BRAND_CODE>97234</BRAND_CODE>
    <BRAND_EFF_DATE>20070217</BRAND_EFF_DATE>
    <BRAND_CAN_DATE>99991231</BRAND_CAN_DATE>
    <FREIGHT_CODE>3</FREIGHT_CODE>
    <BRAND_STATUS>00</BRAND_STATUS>
    <INVOICE_UOM>01</INVOICE_UOM>
    <CREATION_DATE />
    <TRANS_LOCATION_CD>11</TRANS_LOCATION_CD>
    <TRANS_FAC_TYPE_CD>New</TRANS_FAC_TYPE_CD>
    </CUSTOMER_BRANDS>
    <CUSTOMER_BRANDS>
    <BRAND_CODE>94771</BRAND_CODE>
    <BRAND_EFF_DATE>20070217</BRAND_EFF_DATE>
    <BRAND_CAN_DATE>99991231</BRAND_CAN_DATE>
    <FREIGHT_CODE>3</FREIGHT_CODE>
    <BRAND_STATUS>00</BRAND_STATUS>
    <INVOICE_UOM>01</INVOICE_UOM>
    <CREATION_DATE />
    <TRANS_LOCATION_CD>120</TRANS_LOCATION_CD>
    <TRANS_FAC_TYPE_CD>New</TRANS_FAC_TYPE_CD>
    </CUSTOMER_BRANDS>
    <SALES_TERMS_CODE />
    <ACTION />
    <REC_STATUS />
    </record>

  • How to map a deep xml structure to flat structure

    Hi, I'm trying to map a deep xml structure to a flat file structure. See this:
    <SalesPoint>
             <header>
                  <idTx></idTx>
                  <opCode></opCode>
             </header>
             <body>
              <DataSet>
                   <codOperacion></codOperacion>
                   <codCanalDeVenta></codCanalDeVenta>
                   <cuitDeposito>
                   <docMinorista>
                   <fechaOperacion>
                   <codCC>
                   <Details>
                         <Dato>
                                        <nroSerieEquipo></nroSerieEquipo>
                            <codNMU></codNMU>
                            <codOrigenEquipo></codOrigenEquipo>
                            <codConcepto></codConcepto>
                             <codSegmento></codSegmento>
                            <motivoSiniestro></motivoSiniestro>
                         </Dato>
                   </Details>
              </DataSet>
             </body>
    </SalesPoint>
    to:
    <SalesPoint>
            <idTx></idTx>
            <opCode></opCode>
         <codOperacion></codOperacion>
         <codCanalDeVenta></codCanalDeVenta>
         <cuitDeposito></cuitDeposito>
         <docMinorista></docMinorista>
         <fechaOperacion></fechaOperacion>
         <codCC></codCC>
            <nroSerieEquipo></nroSerieEquipo>
            <codNMU></codNMU>
         <codOrigenEquipo></codOrigenEquipo>
         <codConcepto></codConcepto>
         <codSegmento></codSegmento>
         <motivoSiniestro></motivoSiniestro>
    </SalesPoint>
    Thanks in advance!!!!

    I do not think this is a complex XML structure. All that you need to take care is about the contexts. How ever it is not possible to give u the complete mapping here. If you have tried mapping already and facing some issues.. please put it here.. so that some one can help you.
    VJ

  • Hierarchical structure to Flat Structure mapping in Message mapping

    Hi Experts,
       I need to map the below hierarchical segments of SHPMNT03 IDOC XML to  repitative stucture G_SHL of 857 EDI XML.
    Segments from IDoc.
    E1EDT20(Shipment)
    E1EDL20(Delivery)
    E1EDL24(Delivery Line Item)
    E1EDL44(IDoc: Handling Unit Item Delivery) for Pack)
    Required Target Segment:
    SHIPMENT HL (BOL)
    DELIVERY HL (PO NUMBER 1)
    ITEM HL (PART A)                       
    PACK HL (1ST BUNDLE)
    PACK HL (2ND BUNDLE) 
    ITEM HL (PART B)
    PACK HL (1ST BUNDLE)
    DELIVERY HL (PO NUMBER 2)
    ITEM HL (PART A)
    PACK HL (1ST BUNDLE)
    PACT HL (2ND BUNDLE)
    PACK HL (3RD BUNDLE)
    Please let me know how to achive this.
    I tried to achive this by changing the context of the target field, but in that case I am loosing the sequence. I get all delivery together, all Item together..like this.Please tell me how to retain the sequence.
    Please reply ASAP.
    Thanks in advance,
    Shweta.

    Hi Sushama,
    Could you be bit more elaborative on the problem. What exactly is the error ?? what is the source/target structure ? with this information one would be able diagnose the scenario assist you!!!
    Regards
    Manju

  • Nested structure to flat structure in the PI mapping

    Dear friends,
    I've a issue regarding message mapping within PI 7.0
    This is how my source structure looks like:
    <?xml version="1.0" encoding="UTF-8"?>
    <stop>
       <stopreference/>
       <action>
          <actionreference>1</actionreference>
          <shipment>
             <shipmentreference>11</shipmentreference>
             <goods>
                <goodsreference>111</goodsreference>
             </goods>
             <goods>
                <goodsreference>111</goodsreference>
             </goods>
          </shipment>
       </action>
       <action>
          <actionreference>2</actionreference>
          <shipment>
             <shipmentreference>22</shipmentreference>
             <goods>
                <goodsreference>222</goodsreference>
             </goods>
          </shipment>
       </action>
    </stop>
    The target structure looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <Test>
       <STOPDETAILS>
          <item>
             <EXTERNAL_STOP/>
             <EXTERNAL_ACTION/>
             <EXTERNAL_SHIP/>
              <EXTERNAL_GOOD/>
            </item>
       </STOPDETAILS>
    </Test>
    In the source message the stop is the header and within a stop there can be 0 or more actions, within action there can be 0 or more shipments and within a shipment there can be 0 or more goods...
    My target message is a flat XML structure...
    The customer wants to see an Item target structure for every goods, the shipment, the action and the stop. If the there are no goods, they wants just to see the shipment, the action and the stop...and so on...
    So its look like this:
    stop 1 - action 1 - shipment 1 - good 1
    stop 1 - action 1 - shipment 1 - good 2
    stop 1 - action 1 - shipment 2 - good 1
    stop 1 - action 1 - shipment 2 - good 2
    stop 1 - action 2 - shipment 1 - good 1
    stop 1 - action 2 - shipment 1 - good 2
    And so on...
    I've to solve this issue in the Graphical Mapping...
    Do you have a suggestion how to do that?
    Kind regards,
    Kamran

    <?xml version="1.0" encoding="UTF-8"?>
       <STOPDETAILS>
          <ITEM>
             <MANDT/>
             <EXTERNAL_STOP>0010000020_0006</EXTERNAL_STOP>
             <ADRNZ>0026858089</ADRNZ>
             <TIMESTAMP>20090721121900 </TIMESTAMP>
             <TIMESTAMPSTART>20090721121600 </TIMESTAMPSTART>
             <TIMESTAMPSTOP>20090721121700 </TIMESTAMPSTOP>
             <ID_STOP>40</ID_STOP>
             <DESCR_STOP>Done</DESCR_STOP>
             <EXTERNAL_ACTION>0080004483</EXTERNAL_ACTION>
             <TIMESTAMP_ACTION>20090721121900 </TIMESTAMP_ACTION>
             <ID_ACTION>30</ID_ACTION>
             <DESCR_ACTION>Partly Done</DESCR_ACTION>
             <EXTERNAL_SHIP/>
             <ID_SHIPM/>
             <DESC_SHIPTYPE/>
             <EXTERNAL_GOOD/>
             <ID_GOOD/>
             <DESCR_GOOD/>
          </ITEM>
          <ITEM>
             <MANDT/>
             <EXTERNAL_STOP>0010000020_0006</EXTERNAL_STOP>
             <ADRNZ>0026858089</ADRNZ>
             <TIMESTAMP>20090721121900 </TIMESTAMP>
             <TIMESTAMPSTART>20090721121600 </TIMESTAMPSTART>
             <TIMESTAMPSTOP>20090721121700 </TIMESTAMPSTOP>
             <ID_STOP>40</ID_STOP>
             <DESCR_STOP>Done</DESCR_STOP>
             <EXTERNAL_ACTION>0080004484</EXTERNAL_ACTION>
             <TIMESTAMP_ACTION>20090721121900 </TIMESTAMP_ACTION>
             <ID_ACTION>deelbewerking</ID_ACTION>
             <DESCR_ACTION>Done</DESCR_ACTION>
             <EXTERNAL_SHIP>0080004484</EXTERNAL_SHIP>
             <ID_SHIPM>20</ID_SHIPM>
             <DESC_SHIPTYPE>Planned</DESC_SHIPTYPE>
             <EXTERNAL_GOOD>0080004484_0001</EXTERNAL_GOOD>
             <ID_GOOD>40</ID_GOOD>
             <DESCR_GOOD/>
          </ITEM>
          <ITEM>
             <MANDT/>
             <EXTERNAL_STOP>0010000020_0006</EXTERNAL_STOP>
             <ADRNZ>0026858089</ADRNZ>
             <TIMESTAMP>20090721121900 </TIMESTAMP>
             <TIMESTAMPSTART>20090721121600 </TIMESTAMPSTART>
             <TIMESTAMPSTOP>20090721121700 </TIMESTAMPSTOP>
             <ID_STOP>40</ID_STOP>
             <DESCR_STOP>Done</DESCR_STOP>
             <EXTERNAL_ACTION>0080004484</EXTERNAL_ACTION>
             <TIMESTAMP_ACTION>20090721121900 </TIMESTAMP_ACTION>
             <ID_ACTION>40</ID_ACTION>
             <DESCR_ACTION>Done</DESCR_ACTION>
             <EXTERNAL_SHIP>0080004484</EXTERNAL_SHIP>
             <ID_SHIPM>20</ID_SHIPM>
             <DESC_SHIPTYPE>Planned</DESC_SHIPTYPE>
             <EXTERNAL_GOOD>0080004484_0002</EXTERNAL_GOOD>
             <ID_GOOD>40</ID_GOOD>
             <DESCR_GOOD/>
          </ITEM>
       </STOPDETAILS>

  • How can i map a file with different structures to several deep structures?

    Hey experts,
    here is my situation. I have to build a file2file scenario. The file has a flat structure without any separators. Depending on the value of the keyfield, i have to determinate, which kind of structure in the current sequence there is. Like i wrote, there isn't any fieldseparator, but for every possible structure (overall 4 types) i know the type by the length of every field in the structure.
    My task is:
    1. Read the file into PI and transform to XML
    2. Map the flat structure depending on the keyvalue to the deep structure
    3. Transform several fields in the different structures like the requirement
    4. Write back the file via FTP as the same flat structure as before
    Do you have any approach to solve the item number 2 (the other steps are clear for me)?
    Do i need several mapping-programs? If so, how can i determinate the right mapping-program, deping on the keyvalue?
    Thanks in advance
    Tobi

    Here the inbound payload:
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_MULTI_TYPES xmlns:ns="namespace">
    - <VORSATZ>
      <ZSATA>0</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>000</BUZEI>
      <ERDAT>20080905</ERDAT>
      <UZEIT>000549</UZEIT>
      <ZPROG>PGRR3010</ZPROG>
      <ZLIEF>T</ZLIEF>
      <START>20080905</START>
      <ZFILL />
      <ZENDE>E</ZENDE>
      </VORSATZ>
    - <KOPFSATZ>
      <ZSATA>1</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>000</BUZEI>
      <BUDAT>20080904</BUDAT>
      <BLDAT>20080904</BLDAT>
      <XBLNR />
      <WAERS />
      <HWAE2>EUR</HWAE2>
      <HWAE3 />
      <KURS2>000000000</KURS2>
      <KURS3>000000000</KURS3>
      <BKTXT />
      <ZFILK />
      <ZENDE>E</ZENDE>
      </KOPFSATZ>
    - <POSITIONSSATZ>
      <ZSATA>4</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>001</BUZEI>
      <KOART>S</KOART>
      <SHKZG>S</SHKZG>
      <NEWKO>30611102</NEWKO>
      <GSBER>17AB</GSBER>
      <ZUBUK />
      <VBUND />
      <WRBTR>0000000000000</WRBTR>
      <ZBTR1>0000000057576</ZBTR1>
      <ZBTR2>0000000000000</ZBTR2>
      <ZSTEU />
      <VALUT>20080904</VALUT>
      <KOSTL />
      <AUFNR />
      <ZUONR>X4025V64RE460XXXXX</ZUONR>
      <SGTXT>REX</SGTXT>
      <BEWAR />
      <ZFPOS />
      <ZENDE>E</ZENDE>
      </POSITIONSSATZ>
    - <POSITIONSSATZ>
      <ZSATA>4</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>009</BUZEI>
      <KOART>S</KOART>
      <SHKZG>S</SHKZG>
      <NEWKO>20519109</NEWKO>
      <GSBER>17AB</GSBER>
      <ZUBUK />
      <VBUND />
      <WRBTR>0000000000000</WRBTR>
      <ZBTR1>0000000021070</ZBTR1>
      <ZBTR2>0000000000000</ZBTR2>
      <ZSTEU />
      <VALUT>20080904</VALUT>
      <KOSTL />
      <AUFNR />
      <ZUONR>X4025V64RE460XXXXX</ZUONR>
      <SGTXT>REX</SGTXT>
      <BEWAR />
      <ZFPOS />
      <ZENDE>E</ZENDE>
      </POSITIONSSATZ>
    - <POSITIONSSATZ>
      <ZSATA>4</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>010</BUZEI>
      <KOART>S</KOART>
      <SHKZG>S</SHKZG>
      <NEWKO>20519109</NEWKO>
      <GSBER>17AA</GSBER>
      <ZUBUK />
      <VBUND />
      <WRBTR>0000000000000</WRBTR>
      <ZBTR1>0000000009796</ZBTR1>
      <ZBTR2>0000000000000</ZBTR2>
      <ZSTEU />
      <VALUT>20080904</VALUT>
      <KOSTL />
      <AUFNR />
      <ZUONR>X4027V63RE460XXXXX</ZUONR>
      <SGTXT>REX</SGTXT>
      <BEWAR />
      <ZFPOS />
      <ZENDE>E</ZENDE>
      </POSITIONSSATZ>
    - <NACHSATZ>
      <ZSATA>9</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>010</BUZEI>
      <ERDAT>20080905</ERDAT>
      <UZEIT>000549</UZEIT>
      <ZPROG>PGRR3010</ZPROG>
      <ZZSOL>000000000359502</ZZSOL>
      <ZZHAB>000000000359502</ZZHAB>
      <ZZBEL>0000001</ZZBEL>
      <ZZPOS>000000010</ZZPOS>
      <ZFILN />
      <ZENDE>E</ZENDE>
      </NACHSATZ>
    - <VORSATZ>
      <ZSATA>0</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>000</BUZEI>
      <ERDAT>20080905</ERDAT>
      <UZEIT>000549</UZEIT>
      <ZPROG>PGRR3010</ZPROG>
      <ZLIEF>T</ZLIEF>
      <START>20080905</START>
      <ZFILL />
      <ZENDE>E</ZENDE>
      </VORSATZ>
    - <KOPFSATZ>
      <ZSATA>1</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>000</BUZEI>
      <BUDAT>20080904</BUDAT>
      <BLDAT>20080904</BLDAT>
      <XBLNR />
      <WAERS />
      <HWAE2>EUR</HWAE2>
      <HWAE3 />
      <KURS2>000000000</KURS2>
      <KURS3>000000000</KURS3>
      <BKTXT />
      <ZFILK />
      <ZENDE>E</ZENDE>
      </KOPFSATZ>
    - <POSITIONSSATZ>
      <ZSATA>4</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>001</BUZEI>
      <KOART>S</KOART>
      <SHKZG>S</SHKZG>
      <NEWKO>30611102</NEWKO>
      <GSBER>17AB</GSBER>
      <ZUBUK />
      <VBUND />
      <WRBTR>0000000000000</WRBTR>
      <ZBTR1>0000000057576</ZBTR1>
      <ZBTR2>0000000000000</ZBTR2>
      <ZSTEU />
      <VALUT>20080904</VALUT>
      <KOSTL />
      <AUFNR />
      <ZUONR>X4025V64RE460XXXXX</ZUONR>
      <SGTXT>REX</SGTXT>
      <BEWAR />
      <ZFPOS />
      <ZENDE>E</ZENDE>
      </POSITIONSSATZ>
    - <POSITIONSSATZ>
      <ZSATA>4</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>009</BUZEI>
      <KOART>S</KOART>
      <SHKZG>S</SHKZG>
      <NEWKO>20519109</NEWKO>
      <GSBER>17AB</GSBER>
      <ZUBUK />
      <VBUND />
      <WRBTR>0000000000000</WRBTR>
      <ZBTR1>0000000021070</ZBTR1>
      <ZBTR2>0000000000000</ZBTR2>
      <ZSTEU />
      <VALUT>20080904</VALUT>
      <KOSTL />
      <AUFNR />
      <ZUONR>X4025V64RE460XXXXX</ZUONR>
      <SGTXT>REX</SGTXT>
      <BEWAR />
      <ZFPOS />
      <ZENDE>E</ZENDE>
      </POSITIONSSATZ>
    - <POSITIONSSATZ>
      <ZSATA>4</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>010</BUZEI>
      <KOART>S</KOART>
      <SHKZG>S</SHKZG>
      <NEWKO>20519109</NEWKO>
      <GSBER>17AA</GSBER>
      <ZUBUK />
      <VBUND />
      <WRBTR>0000000000000</WRBTR>
      <ZBTR1>0000000009796</ZBTR1>
      <ZBTR2>0000000000000</ZBTR2>
      <ZSTEU />
      <VALUT>20080904</VALUT>
      <KOSTL />
      <AUFNR />
      <ZUONR>X4027V63RE460XXXXX</ZUONR>
      <SGTXT>REX</SGTXT>
      <BEWAR />
      <ZFPOS />
      <ZENDE>E</ZENDE>
      </POSITIONSSATZ>
    - <NACHSATZ>
      <ZSATA>9</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>010</BUZEI>
      <ERDAT>20080905</ERDAT>
      <UZEIT>000549</UZEIT>
      <ZPROG>PGRR3010</ZPROG>
      <ZZSOL>000000000359502</ZZSOL>
      <ZZHAB>000000000359502</ZZHAB>
      <ZZBEL>0000001</ZZBEL>
      <ZZPOS>000000010</ZZPOS>
      <ZFILN />
      <ZENDE>E</ZENDE>
      </NACHSATZ>
      </ns:MT_MULTI_TYPES>
    And here the outbound payload:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_MULTI_TYPES xmlns:ns0="namespace">
    - <VORSATZ>
      <ZSATA>0</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>000</BUZEI>
      <ERDAT>20080905</ERDAT>
      <UZEIT>000549</UZEIT>
      <ZPROG>PGRR3010</ZPROG>
      <ZLIEF>T</ZLIEF>
      <START>20080905</START>
      <ZFILL />
      <ZENDE>E</ZENDE>
      </VORSATZ>
    - <VORSATZ>
      <ZSATA>0</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>000</BUZEI>
      <ERDAT>20080905</ERDAT>
      <UZEIT>000549</UZEIT>
      <ZPROG>PGRR3010</ZPROG>
      <ZLIEF>T</ZLIEF>
      <START>20080905</START>
      <ZFILL />
      <ZENDE>E</ZENDE>
      </VORSATZ>
    - <KOPFSATZ>
      <ZSATA>1</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>000</BUZEI>
      <BUDAT>20080904</BUDAT>
      <BLDAT>20080904</BLDAT>
      <XBLNR />
      <WAERS />
      <HWAE2>EUR</HWAE2>
      <HWAE3 />
      <KURS2>000000000</KURS2>
      <KURS3>000000000</KURS3>
      <BKTXT />
      <ZFILK />
      <ZENDE>E</ZENDE>
      </KOPFSATZ>
    - <KOPFSATZ>
      <ZSATA>1</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>000</BUZEI>
      <BUDAT>20080904</BUDAT>
      <BLDAT>20080904</BLDAT>
      <XBLNR />
      <WAERS />
      <HWAE2>EUR</HWAE2>
      <HWAE3 />
      <KURS2>000000000</KURS2>
      <KURS3>000000000</KURS3>
      <BKTXT />
      <ZFILK />
      <ZENDE>E</ZENDE>
      </KOPFSATZ>
    - <POSITIONSSATZ>
      <ZSATA>4</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>001</BUZEI>
      <KOART>S</KOART>
      <SHKZG>S</SHKZG>
      <NEWKO>30611102</NEWKO>
      <GSBER>17AB</GSBER>
      <ZUBUK />
      <VBUND />
      <WRBTR>0000000000000</WRBTR>
      <ZBTR1>0000000057576</ZBTR1>
      <ZBTR2>0000000000000</ZBTR2>
      <ZSTEU />
      <VALUT>20080904</VALUT>
      <KOSTL />
      <AUFNR />
      <ZUONR>X4025V64RE460XXXXX</ZUONR>
      <SGTXT>REX</SGTXT>
      <BEWAR />
      <ZFPOS />
      <ZENDE>E</ZENDE>
      </POSITIONSSATZ>
    - <POSITIONSSATZ>
      <ZSATA>4</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>009</BUZEI>
      <KOART>S</KOART>
      <SHKZG>S</SHKZG>
      <NEWKO>20519109</NEWKO>
      <GSBER>17AB</GSBER>
      <ZUBUK />
      <VBUND />
      <WRBTR>0000000000000</WRBTR>
      <ZBTR1>0000000021070</ZBTR1>
      <ZBTR2>0000000000000</ZBTR2>
      <ZSTEU />
      <VALUT>20080904</VALUT>
      <KOSTL />
      <AUFNR />
      <ZUONR>X4025V64RE460XXXXX</ZUONR>
      <SGTXT>REX</SGTXT>
      <BEWAR />
      <ZFPOS />
      <ZENDE>E</ZENDE>
      </POSITIONSSATZ>
    - <POSITIONSSATZ>
      <ZSATA>4</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>010</BUZEI>
      <KOART>S</KOART>
      <SHKZG>S</SHKZG>
      <NEWKO>20519109</NEWKO>
      <GSBER>17AA</GSBER>
      <ZUBUK />
      <VBUND />
      <WRBTR>0000000000000</WRBTR>
      <ZBTR1>0000000009796</ZBTR1>
      <ZBTR2>0000000000000</ZBTR2>
      <ZSTEU />
      <VALUT>20080904</VALUT>
      <KOSTL />
      <AUFNR />
      <ZUONR>X4027V63RE460XXXXX</ZUONR>
      <SGTXT>REX</SGTXT>
      <BEWAR />
      <ZFPOS />
      <ZENDE>E</ZENDE>
      </POSITIONSSATZ>
    - <POSITIONSSATZ>
      <ZSATA>4</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>001</BUZEI>
      <KOART>S</KOART>
      <SHKZG>S</SHKZG>
      <NEWKO>30611102</NEWKO>
      <GSBER>17AB</GSBER>
      <ZUBUK />
      <VBUND />
      <WRBTR>0000000000000</WRBTR>
      <ZBTR1>0000000057576</ZBTR1>
      <ZBTR2>0000000000000</ZBTR2>
      <ZSTEU />
      <VALUT>20080904</VALUT>
      <KOSTL />
      <AUFNR />
      <ZUONR>X4025V64RE460XXXXX</ZUONR>
      <SGTXT>REX</SGTXT>
      <BEWAR />
      <ZFPOS />
      <ZENDE>E</ZENDE>
      </POSITIONSSATZ>
    - <POSITIONSSATZ>
      <ZSATA>4</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>009</BUZEI>
      <KOART>S</KOART>
      <SHKZG>S</SHKZG>
      <NEWKO>20519109</NEWKO>
      <GSBER>17AB</GSBER>
      <ZUBUK />
      <VBUND />
      <WRBTR>0000000000000</WRBTR>
      <ZBTR1>0000000021070</ZBTR1>
      <ZBTR2>0000000000000</ZBTR2>
      <ZSTEU />
      <VALUT>20080904</VALUT>
      <KOSTL />
      <AUFNR />
      <ZUONR>X4025V64RE460XXXXX</ZUONR>
      <SGTXT>REX</SGTXT>
      <BEWAR />
      <ZFPOS />
      <ZENDE>E</ZENDE>
      </POSITIONSSATZ>
    - <POSITIONSSATZ>
      <ZSATA>4</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>010</BUZEI>
      <KOART>S</KOART>
      <SHKZG>S</SHKZG>
      <NEWKO>20519109</NEWKO>
      <GSBER>17AA</GSBER>
      <ZUBUK />
      <VBUND />
      <WRBTR>0000000000000</WRBTR>
      <ZBTR1>0000000009796</ZBTR1>
      <ZBTR2>0000000000000</ZBTR2>
      <ZSTEU />
      <VALUT>20080904</VALUT>
      <KOSTL />
      <AUFNR />
      <ZUONR>X4027V63RE460XXXXX</ZUONR>
      <SGTXT>REX</SGTXT>
      <BEWAR />
      <ZFPOS />
      <ZENDE>E</ZENDE>
      </POSITIONSSATZ>
    - <NACHSATZ>
      <ZSATA>9</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>010</BUZEI>
      <ERDAT>20080905</ERDAT>
      <UZEIT>000549</UZEIT>
      <ZPROG>PGRR3010</ZPROG>
      <ZZSOL>000000000359502</ZZSOL>
      <ZZHAB>000000000359502</ZZHAB>
      <ZZBEL>0000001</ZZBEL>
      <ZZPOS>000000010</ZZPOS>
      <ZFILN />
      <ZENDE>E</ZENDE>
      </NACHSATZ>
    - <NACHSATZ>
      <ZSATA>9</ZSATA>
      <MANDT>001</MANDT>
      <BUKRS>0560</BUKRS>
      <BLART>8F</BLART>
      <BELNR>1816008128</BELNR>
      <BUZEI>010</BUZEI>
      <ERDAT>20080905</ERDAT>
      <UZEIT>000549</UZEIT>
      <ZPROG>PGRR3010</ZPROG>
      <ZZSOL>000000000359502</ZZSOL>
      <ZZHAB>000000000359502</ZZHAB>
      <ZZBEL>0000001</ZZBEL>
      <ZZPOS>000000010</ZZPOS>
      <ZFILN />
      <ZENDE>E</ZENDE>
      </NACHSATZ>
      </ns0:MT_MULTI_TYPES>

  • Mapping Query: Flat Structure to Hierarchical Structure.

    I have a scenario which uses the sender file adapter. Therefore my source message has a flat structure. The requirement is that the target message will have a hierarchical structure as shown below.
    Source Message Type
    MT_Acc_Out    1..1
    …fileHeader   1..1
    …docHeader    1..unbounded
    …docItem      1..unbounded
    …fileTrailer  1..1
    Target Message Type
    MT_Acc_In     1..1
    …batchHeader  1..1
    …docHeader    1..unbounded
    ……docItem     1..unbounded
    …fileTrailer  1..1
    The source structures docHeader and docItem both contain a field called seqNo which is used to link the items to the header.
    The requirement is that in the target message the docItems are children of the corresponding docHeader.
    I am having difficulty mapping the target docItem node. Does this require a user defined function or can it be achieved using standard functions?
    Any assistance would be appreciated.

    You can use standard or user-defined functions, see this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/59/f6ae42e0fac911e10000000a1550b0/frameset.htm
    see the part of flat structure_2_nested tables part.

  • Flat structure,deep structure, and info structure

    hi,
    What is meant by flat ,deep ,info structures what is difference among them?

    Flat structure:
    If you have a structure with list of fields on it and You can have a structure with in the structure included
    Deep structure:
    If you have tabletype(internal table) included in the
    structure
    Flat structures contain only elementary data types with a fixed length (no internal tables, reference types, or strings).
    The term deep structure can apply regardless of whether the structure is nested or not
    The technical difference between deep structures and all others is as follows.
    When you create a deep structure, the system creates a pointer in memory that points to the real field contents or other administrative information.
    When you create a flat data type, the actual field contents are stored with the type in memory. Since the field contents are not stored with the field descriptions in the case of deep structures, assignments, offset and length specifications and other operations are handled differently from flat structures

  • Problems with deep request structure in web service

    I'm having problems when trying to consume an Enterprise Service-like web service in my Web Dynpro application. The web service FindXByElements has a request-structure as follows:
    XByElementsQuery
    -ProcessingConditions
    -QueryHitsMaximumNumberValue
    -QueryHitsUnlimitedIndicator
    -XSelectionByElements
    -ID
    -Year
    Regarding the structures on level two, the structure ProcessingConditions are of the global data type "WITHOUT_LASTRETURNED_QueryProcessingConditions" and are therefore typed. The structure XSelectionByElements on the other hand are just a "level" in the request structure and are therefore not typed. Both structures have occurrence 1 so they have to be filled with input data.
    The code in wdDoInit in the Component Controller looks like this:
    QueryXInModel model = new QueryXInModel();
    wdContext.nodeRequest_FindXByElements().bind(wdContext.createRequest_FindXByElementsElement(new Request_FindXByElements(model)));
    wdContext.currentRequest_FindXByElementsElement().modelObject().setXByElementsQuery(new XByElementsQuery_Sync(model));
    //Processing structure
    wdContext.currentXByElementsQueryElement().modelObject().setProcessingConditions(new WITHOUT_LASTRETURNED_QueryProcessingConditions(model));
    //Selection structure
    wdContext.currentXByElementsQueryElement().modelObject().setXSelectionByElements(new XSelectionByElements(model));
    The last row generates the following exception:
    java.lang.IllegalArgumentException: Cannot perform write operation 'setRelatedModelObject' on target role: Class 'XSelectionByElements' is not compatible to class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$002fXsdComplexType$005b3$005d$002fXsdSequence$002fXsdElement$005b2$005d$002fXsdComplexType' of target role 'XSelectionByElements' in model class 'XByElementsQuery_Sync'
    There seems to be a problem to bind a non-typed structure element to a context node since the processing structure is working fine but the selection structure are not.
    What am I doing wrong, anyone got any clues?
    /Oskar

    Hi
    QueryXInModel model = new QueryXInModel();
    wdContext.nodeRequest_FindXByElements().bind(wdContext.createRequest_FindXByElementsElement(new Request_FindXByElements(model)));
    wdContext.currentRequest_FindXByElementsElement().modelObject().setXByElementsQuery(new XByElementsQuery_Sync(model));
    //Processing structure
    wdContext.currentXByElementsQueryElement().modelObject().setProcessingConditions(new WITHOUT_LASTRETURNED_QueryProcessingConditions(model));
    //Selection structure
    wdContext.currentXByElementsQueryElement().modelObject().setXSelectionByElements(new XSelectionByElements(model));
    XByElementsQuery
    ProcessingConditions
    QueryHitsMaximumNumberValue
    QueryHitsUnlimitedIndicator
    XSelectionByElements
    ID
    Year
    as
              QueryXInModel model = new QueryXInModel();
               Request_FindXByElement  request = new Requst_FindXByElement();
                ProcessCondition   processCond  = new  ProcessCondition(model);
                QueryHitsMaximumNumberValue  qhMaxNumValues = QueryHitsMaximumNumberValue(model);
          QueryHitsUnlimitedIndicator  qhUnLimind = new QueryHitsUnlimitedIndicator(model);
            XSelectionByElements  selecByEle = new XSelectionByElements(model);
                     processCond.set....();                         
                     qhMaxNumValues .set...();
               and so on
                    request.set....();
    wdcontext.nodeReqestFindX..bind(request);
      in the above during the values you will automatically get the set values .

  • Mapping hierarchy structure to flat one

    Hi,
    I have incoming hierarchical structure:
    Node(0...3)
       Field1
       Field2
    Outcoming flat structure:
    Field1 from Node no.1
    Field2 from Node no.1
    Field1 from Node no.2
    Field2 from Node no.2
    Field1 from Node no.3
    Field2 from Node no.3
    Have any idea how to do this.
    Thanks,
    Regards,
    Natalia.

    Hello,
    You can try using the copyValue function and then specify the position to be copied e.g
    Field1 --> removeContext --> copyValue[0] --> Node no. 1
    Field2 --> removeContext --> copyValue[0] --> Node no. 1
    Field1 --> removeContext --> copyValue[2] --> Node no. 3
    Field2 --> removeContext --> copyValue[2] --> Node no. 3
    Hope this helps,
    Mark

  • Field mapping in transfer structure and communication structure

    Hi,
    I am able to see the mapping of BW field with R/3 field in the transfer structure.
    By the same time, in the communication structure the same BW field is there with out any mapping (Unmapped).
    Can any one advice what could be the problem. Thanks.
    Regards,
    Abhi.

    Hi Abhi
    In communication structure will not have any mapping, it is just the structure to communicate to Datatarget. Mapping between Source fields and BW fields is done at transfer rules and mapping btwn communication struture and Datatarget will be donein Update rules.
    Regards,
    Kiran.

  • Hierarchy  to  Flat  Structure

    Hi all..
    I  need to map a Hirarchial Struture to a Flat Structure ...in  my souce node HDR can appear multiple times and below that one sub node STS also can appear multiple times ...
    i need a flat targer stucture of source of same kind ..
    what is the way to do that .. ? i tried doing it with Graphical mapping i am getting a worng output ...plz tell me what to be done  ?...
    <u><b>source Hirarchital Structure</b></u>
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:mt_IB_WIP xmlns:ns1="urn:agrp:ib">
       <ROU>
          <Record_Type>ROU</Record_Type>
          <Sender_ID/>
          <Receiver_ID/>
          <Document_Type>OSTRPT</Document_Type>
          <Sender_ID_qualifier/>
          <Receiver_ID_qualifier/>
          <Document_version_number/>
          <Filler/>
            <HDR>
             <Record_Type>HDR</Record_Type>
             <Vendor_ID/>
             <Purchase_order_number/>
             <Customer_order_number/>
             <Article_number/>
             <Transfer_date/>
             <Transfer_time/>
             <WIP_date/>
             <Division/>
             <WIP_date_qualifier/>
             <Client_Number/>
             <LSCD/>
             <Reason_Code>0000</Reason_Code>
             <Filler/>
               <STS>
                <Record_Type>STS</Record_Type>
                <Vendor_id/>
                <Purchase_order_number/>
                <Customer_order_number/>
                <Article_number/>
                <Transfer_date/>
                <Transfer_time/>
                <Free_text_description/>
                <Division/>
                <Filler/>
             </STS>
          </HDR>
          <HDR>
             <Record_Type>HDR</Record_Type>
             <Vendor_ID/>
             <Purchase_order_number/>
             <Customer_order_number/>
             <Article_number/>
             <Transfer_date/>
             <Transfer_time/>
             <WIP_date/>
             <Division/>
             <WIP_date_qualifier/>
             <Client_Number/>
             <LSCD/>
             <Reason_Code>0000</Reason_Code>
             <Filler/>
             <STS>
                <Record_Type>STS</Record_Type>
                <Vendor_id/>
                <Purchase_order_number/>
                <Customer_order_number/>
                <Article_number/>
                <Transfer_date/>
                <Transfer_time/>
                <Free_text_description/>
                <Division/>
                <Filler/>
             </STS>
          </HDR>
       </ROU>
    </ns1:mt_IB_WIP>
    <b><u>Target Flat Structure</u></b>
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:mt_IB_WIP1 xmlns:ns0="urn:agrp:ib">
       <ROU>
          <Record_Type/>
          <Sender_ID/>
          <Receiver_ID/>
          <Document_Type/>
          <Sender_ID_qualifier/>
          <Receiver_ID_qualifier/>
          <Document_version_number/>
          <Filler/>
       </ROU>
       <HDR>
          <Record_Type/>
          <Vendor_ID/>
          <Purchase_order_number/>
          <Customer_order_number/>
          <Article_number/>
          <Transfer_date/>
          <Transfer_time/>
          <WIP_date/>
          <Division/>
          <WIP_date_qualifier/>
          <Client_Number/>
          <LSCD/>
          <Reason_Code/>
          <Filler/>
       </HDR>
       <STS>
          <Record_Type/>
          <Vendor_id/>
          <Purchase_order_number/>
          <Customer_order_number/>
          <Article_number/>
          <Transfer_date/>
          <Transfer_time/>
          <Free_text_description/>
          <Division/>
          <Filler/>
       </STS>
    </ns0:mt_IB_WIP1>

    <b><i><u>Source</u></i></b>
    Node HDR is 0 to unbounded
    Node STS is 0 to unbounded
    <b><u>Target</u></b>
    Node HDR is 0 to unbounded
    Node STS is 0 to unbounded

  • Error generating test frame - smartform -flat structure

    When i run the smartform,its giving an error message saying "Error generating test frame".When i run through driver program it gives dump saying "zmbook must be flat structure".
    Now the problem is in smartform -> form interface -> tables it_test like zmbook
    its saying zmbook must be flat structure.
    here zmbook is transparent table.but says use flat structure.
    i tried it through structure also but says use flat structure.
    i tried it through table type of tructure also but says use flat structure.
    can anyone help me out
    regards sajid

    Hi shaik,
    Create the table type for zmbook in se11 and include this table  type in the form interface.
    Goto se11 : datatype-->yy_book
                      select table type
    In the line type : Zmbook.
    Goto smartforms and in the form interface include this yy_book.
    Regards,
    Sravanthi

  • My time machine 3 TB HD was encryption enabled and it took forever.  I tried reformattiing, it is online, but, get this Partition map repair failed while adjusting structures to fit current whole disk size.  Any comments appreciated.

    My time machine 3 TB HD was encryption enabled and it took forever.  I tried reformattiing, it is online, but, get this Partition map repair failed while adjusting structures to fit current whole disk size.  Any comments appreciated.

    This issue has been in discussion (actively) since last August here:
    https://discussions.apple.com/thread/4218970?start=0&tstart=0
    After months and months of new reports, it's pretty clear that this is an Apple Mountain Lion problem and one that Apple needs to address.  As one frsutrated user noted :
    >>There is no consistent solution for a user.  Apple has to supply it.  All you can do is submit a bug report to
    >> http://www.apple.com/feedback    
    Please, if you are encountering this problem you will save yourself a lot of wasted time and energey simple by joining me and others in asking Apple to fix this problem: Make a bug report.
    Thanks!

  • Disk utility gives "Error: Partition map repair failed while adjusting structures to fit current whole disk size"

    I am getting the following error when running Disk Utility (under ML) on an exteral USB hard drive:
    Error: Partition map repair failed while adjusting structures to fit current whole disk size.
    I get thsi when I ask Disk Utility to "Repair Disk" at the top level of the disk hierarchy (i.e. not on one of the partitions within the disk but on the disk itself).  I was not getting this error with Lion on the same disk before I upgraded from Lion to ML.
    It seems like a bug in ML.  I found websites where they suggest that you just run Lion's Disk Utility and it will show the disk to be fine.
    Any thoughts?

    So, I finally seemed to have resolved things with the Seagate 4TB Firewire external drive.  If you Google about, you will find a thread on Seagate's own support forum that describes how to disable the sleep function on the drive.  You CANNOT ALLOW THE DRIVE TO SLEEP WHILE CONNECTED TO YOUR MAC.
    After a lot of reading, here's what I think is happening: the drive goes to sleep, after some period of inactivity, and when you shutdown your Mac, OS X tries to write something to the drive as part of the dismount / disconnect / shutdown process.  That fails in some manner, leaving the drive 'corrupted' at the filesystem or partition level.
    Then, on the next boot-up, Mountain Lion tells you that it cannot repair the drive and it mounts as read only.  Your only fix at that point is to re-partition / re-format and start over (which is big fun with 3TB of data to copy back on to the drive).
    If you prevent the drive from sleeping, whenever it's connected to the MacBook, then the above process doesn't occur and voila, the drive just works.  So far, I haven't had any problems with about a week of starting / shutting down my MacBook connected to the offending drive (translation: I was going to return the drive, but the problem is clearly with Mac OS X Mountain Lion).

Maybe you are looking for

  • I am unable to receive texts on my new LG G2 when sent from some other iPhones

    I had an iPhone 4 and switched to LG G2 android.  I am unable to receive texts on my new LG G2 when sent from some other iPhones.  I've done everything Sprint and Apple have suggested - turned off imessaging, made sure the contact info on the other i

  • How to store multiple values in a coloum for a particaular row?

    By mistake i posted this in abap general forum but i think this question should belong to Data Dictionary section I want to design a table where we can store a table where we can save multiple values of  column for a particular row. how to achieve th

  • ITunes 10.5.3.3 installation - disable auto sync

    I have tried everything to disable the AutomaticDeviceSync.  I have created the HKEY_LOCAL_MACHINE\Software\Apple Computer, Inc.\iTunes\Parental Controls\Default\AdminFlags HKEY_CURRENT_USER\Software\Apple Computer, Inc.\iTunes\Parental Controls\User

  • External hard drive filesystem to use for both pc and mac

    hi everyone, i've got a 120 gig portable WD passport harddrive that i'm planning on using to move files between my pc and macbook. it is recognized fine on both and I am able to copy files to my macbook but cannot write files to it, i'm assuming it h

  • Min,Max for a time Range and Sum of Records for the last date/time

    Hi All, I have a table with the following structure/data: create table  Events   (                                     [EventID]        int                   NOT NULL,                                     [Title]             nvarchar(200)  NOT NULL,