Challenge with a quite complex mapping

I have the following 3 different situations
1-
<idoc>
<header>
<E1ED24 >
                    <POSNR>000001</POSNR>
                    <QTY>100</QTY>
                     <E1EDL41>
                     <PONR>45</PONR>
                      </E1EDL41>
</E1EDL24>
<E1ED24 >
                   <POSNR>000002</POSNR>
                    <QTY>200</QTY>
                     <E1EDL41>
                     <PONR>45</PONR>
                      </E1EDL41>
</E1EDL24>
<E1EDL37 >
                  <E1EDL44 >
                      <POSNR>000001</POSNR>
                      <QTY>100</QTY>
                  </E1EDL44>
</E1EDL37>
<E1EDL37 >
                  <E1EDL44 >
                      <POSNR>000002</POSNR>
                      <QTY>200</QTY>
                  </E1EDL44>
</E1EDL37>
</header>
</idoc>
2 -
<idoc>
<header>
<E1ED24 >
                    <POSNR>000001</POSNR>
          <QTY>100</QTY>
                     <E1EDL41>
                     <PONR>45</PONR>
                      </E1EDL41>
</E1EDL24>
<E1ED24 >
                   <POSNR>000002</POSNR>
          <QTY>200</QTY>
                     <E1EDL41>
                     <PONR>45</PONR>
                      </E1EDL41>
</E1EDL24>
<E1EDL37 >
                  <E1EDL44 >
                      <POSNR>000001</POSNR>
              <QTY>100</QTY>     
                  </E1EDL44>
                  <E1EDL44 >
                      <POSNR>000002</POSNR>
                     <QTY>200</QTY>
                 </E1EDL44>
</E1EDL37>
</header>
</idoc>
3-
<idoc>
<header>
<E1ED24 >
                    <POSNR>000001</POSNR>
                    <QTY>100</QTY>
                     <E1EDL41>
                     <PONR>45</PONR>
                      </E1EDL41>
</E1EDL24>
<E1ED24 >
                   <POSNR>000002</POSNR>
                   <QTY>200</QTY>
                     <E1EDL41>
                     <PONR>45</PONR>
                      </E1EDL41>
</E1EDL24>
<E1EDL37 >
                  <E1EDL44 >
                      <POSNR>000001</POSNR>
                     <QTY>50</QTY>
                  </E1EDL44>
                  <E1EDL44 >
                      <POSNR>000001</POSNR>
                      <QTY>50</QTY>
                 </E1EDL44>
</E1EDL37>
<E1EDL37 >
                  <E1EDL44 >
                      <POSNR>000002</POSNR>
                      <QTY>100</QTY>
                  </E1EDL44>
                  <E1EDL44 >
                      <POSNR>000002</POSNR>
                     <QTY>100</QTY>
                 </E1EDL44>
</E1EDL37>
</header>
</idoc>
whenever the <E1EDL37 > <E1EDL44 ><POSNR> is equal  to  <E1ED24 ><POSNR>, then all the segments <E1EDL37 > should follow the idoc with the same PONR of  the segment <E1ED24 > in this case it is 45. it can be more than one PONR and the belonging positions  in each file .
in the the last situation 2 segment <E1EDL37 > should be created with 2 position each.
How can write one mapping program that reflects  each situation.
and help is highly appreciated.
Thanks.

Hi Amit
Thanks for the answer
I will try to explain as good as I can
As mentioned I have the following 3 different situations
This is an Idoc to Idoc scenario
1 situation -
<idoc>
<header>
<E1ED24 >
<POSNR>000001</POSNR>
<QTY>100</QTY>
<E1EDL41>
<PONR>45</PONR>
</E1EDL41>
</E1EDL24>
<E1ED24 >
<POSNR>000002</POSNR>
<QTY>200</QTY>
<E1EDL41>
<PONR>45</PONR>
</E1EDL41>
</E1EDL24>
<E1EDL37 >
<E1EDL44 >
<POSNR>000001</POSNR>
<QTY>100</QTY>
</E1EDL44>
</E1EDL37>
<E1EDL37 >
<E1EDL44 >
<POSNR>000002</POSNR>
<QTY>200</QTY>
</E1EDL44>
</E1EDL37>
</header>
</idoc>
I should have one Idoc for <PONR>45</PONR>
<idoc>
<header>
<E1ED24 >
                    <POSNR>000001</POSNR>
                    <QTY>100</QTY>
                     <E1EDL41>
                     <PONR>45</PONR>
                      </E1EDL41>
</E1EDL24>
<E1ED24 >
                   <POSNR>000002</POSNR>
                    <QTY>200</QTY>
                     <E1EDL41>
                     <PONR>45</PONR>
                      </E1EDL41>
</E1EDL24>
<E1EDL37 >
                  <E1EDL44 >
                      <POSNR>000001</POSNR>
                      <QTY>100</QTY>
                  </E1EDL44>
</E1EDL37>
<E1EDL37 >
                  <E1EDL44 >
                      <POSNR>000002</POSNR>
                      <QTY>200</QTY>
                  </E1EDL44>
</E1EDL37>
</header>
</idoc>
And one Idoc for  <PONR>46</PONR>
<idoc>
<header>
<E1ED24 >
                    <POSNR>000003</POSNR>
                    <QTY>100</QTY>
                     <E1EDL41>
                     <PONR>46</PONR>
                      </E1EDL41>
</E1EDL24>
<E1ED24 >
                   <POSNR>000002</POSNR>
                    <QTY>200</QTY>
                     <E1EDL41>
                     <PONR>46</PONR>
                      </E1EDL41>
</E1EDL24>
<E1EDL37 >
                  <E1EDL44 >
                      <POSNR>000004</POSNR>
                      <QTY>100</QTY>
                  </E1EDL44>
</E1EDL37>
<E1EDL37 >
                  <E1EDL44 >
                      <POSNR>000004</POSNR>
                      <QTY>200</QTY>
                  </E1EDL44>
</E1EDL37>
</header>
</idoc>
2  siatuation -
<idoc>
<header>
  <E1ED24 >
                    <POSNR>000001</POSNR>
                    <QTY>100</QTY>
                     <E1EDL41>
                     <PONR>45</PONR>
                      </E1EDL41>
</E1EDL24>
<E1ED24 >
                   <POSNR>000002</POSNR>
                    <QTY>200</QTY>
                     <E1EDL41>
                     <PONR>45</PONR>
                      </E1EDL41>
</E1EDL24>
<E1ED24 >
                    <POSNR>000003</POSNR>
                    <QTY>100</QTY>
                     <E1EDL41>
                     <PONR>46</PONR>
                      </E1EDL41>
</E1EDL24>
<E1ED24 >
                   <POSNR>000004</POSNR>
                    <QTY>200</QTY>
                     <E1EDL41>
                     <PONR>46</PONR>
                      </E1EDL41>
</E1EDL24>
<E1EDL37 >
                  <E1EDL44 >
                      <POSNR>000001</POSNR>
                      <QTY>100</QTY>
                  </E1EDL44>
</E1EDL37>
<E1EDL37 >
                  <E1EDL44 >
                      <POSNR>000002</POSNR>
                      <QTY>200</QTY>
                  </E1EDL44>
</E1EDL37>
<E1EDL37 >
                  <E1EDL44 >
                      <POSNR>000003</POSNR>
                      <QTY>100</QTY>
                  </E1EDL44>
                  <E1EDL44 >
                      <POSNR>000004</POSNR>
                      <QTY>200</QTY>
                  </E1EDL44>
</E1EDL37>
</header>
</idoc>
I should have one Idoc for <PONR>45</PONR> with 2 <E1EDL37 > and 2 positions
And one Idoc for  <PONR>46</PONR> with only 1 segment <E1EDL37 >  and 2 positions like this
<E1ED24 >
<POSNR>000003</POSNR>
<PONR>46</PONR>
</E1EDL24>
<E1ED24 >
<POSNR>000002</POSNR>
<PONR>46</PONR>
</E1EDL24>
<E1EDL37 >
<E1EDL44 >
POSNR>000004</POSNR>
</E1EDL44>
<E1EDL44 >
<POSNR>000004</POSNR>
</E1EDL44>
</E1EDL37>
That is based on PONR ,  a new Idoc should be created  for each new value.
this part is done by split by value for PONR
Sorry I will continue with other message

Similar Messages

  • Complex mapping with deep structure

    Hi all,
    I need to create a complex mapping as follows:
    Source message:
    CreateOrder (0..1)
    -sell-order (0..1)
    --items-sell-order (0..1)
    ---items-sell-request (0..unbounded)
    sell-discount (0..1)
    sell-discount (0..unbounded)
    discount-id (0..1)
    discount-quantity (0..1)
    description (0..1)
    Target message:
    MT_xxxx
    -ORDER_V3 (0..1)
    --TDESC (0..1)
    ---item (0..unbounded)
    ITEM_NUMBER (0..1)
    discount (0..unbounded)
    REASON (0..1)
    VALUE (0..1)
    DESCRIPTION (0..1)
    --TPLUGIN (0..1)
    ---item (0..unbounded)
    ITEM_NUMBER (0..1)
    discount (0..unbounded)
    ID (0..1)
    QUANTITY (0..1)
    The mapping has some rules:
    If sell-order - items-sell-order - items-sell-request - sell-discount - sell-discount - discount-id .length > 0 then the structure TPLUGIN must be filled
    else
      the structure TDESC must be filled
    The problem is: the field ITEM_NUMBER is an index that is unique and must increment each record of node items-sell-request, and it is not mandatory an item to have discounts.
    When I test with n items and all items with discount node, it works perfect. However, if I put for example 10 items in the source array, and for example the records 5 and 6 doesn't have discounts, the association item x discount makes the mapping get lost and mess all the target nodes.
    Could anyone help me?
    Thanks in advance.
    Ricardo.

    Hi Luis,
    An example for source message could be something like:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:CreateOrder>
       <ns0:sell-order>
          <ns1:items-sell-order>
             <ns1:items-sell-request>
                <ns1:sell-discount>
                   <ns1:sell-discount>
                      <ns1:discount-id>1</ns1:discount-id>
                      <ns1:discount-quantity>10</ns1:discount-quantity>
                      <ns1:description>Description1</ns1:description>
                   </ns1:sell-discount>
                <ns1:sell-discount>
                      <ns1:discount-id>2</ns1:discount-id>
                      <ns1:discount-quantity>20</ns1:discount-quantity>
                      <ns1:description>Description2</ns1:description>
                   </ns1:sell-discount>
                </ns1:sell-discount>
             </ns1:items-sell-request>
          <ns1:items-sell-request>
                    *other fields not mentioned here, without sell-discount node*
             </ns1:items-sell-request>
               <ns1:items-sell-request>
                <ns1:sell-discount>
                   <ns1:sell-discount>
                      <ns1:discount-id>A</ns1:discount-id>
                      <ns1:discount-quantity>50</ns1:discount-quantity>
                      <ns1:description>DescriptionA</ns1:description>
                   </ns1:sell-discount>
                   <ns1:sell-discount>
                      <ns1:discount-id>B</ns1:discount-id>
                      <ns1:discount-quantity>100</ns1:discount-quantity>
                      <ns1:description>DescriptionB</ns1:description>
                   </ns1:sell-discount>
                   <ns1:sell-discount>
                      <ns1:discount-id>C</ns1:discount-id>
                      <ns1:discount-quantity>200</ns1:discount-quantity>
                      <ns1:description>DescriptionC</ns1:description>
                   </ns1:sell-discount>
                </ns1:sell-discount>
             </ns1:items-sell-request>
               <ns1:items-sell-request>
                <ns1:sell-discount>
                   <ns1:sell-discount>
                      <ns1:discount-id>I</ns1:discount-id>
                      <ns1:discount-quantity>400</ns1:discount-quantity>
                      <ns1:description>DescriptionI</ns1:description>
                   </ns1:sell-discount>
                   <ns1:sell-discount>
                      <ns1:discount-id>II</ns1:discount-id>
                      <ns1:discount-quantity>500</ns1:discount-quantity>
                      <ns1:description>DescriptionII</ns1:description>
                   </ns1:sell-discount>
                </ns1:sell-discount>
             </ns1:items-sell-request>
          </ns1:items-sell-order>
       </ns0:sell-order>
    </ns0:CreateOrder>
    And an example for target message related to this source is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns2:MT_xxxx">
    <ORDER_V3>
         <TDESC>
              <item>
                   <ITEM_NUMBER>4</ITEM_NUMBER>
                   <discount>
                        <REASON>I</REASON>
                        <VALUE>400</VALUE>
                        <DESCRIPTION>DescriptionI</DESCRIPTION>
                   </discount>
              </item>
         </TDESC>
         <TPLUGIN>
              <item>
                   <ITEM_NUMBER>1</ITEM_NUMBER>
                   <discount>
                        <ID>1</ID>
                        <QUANTITY>10</QUANTITY>
                   </discount>
                   <discount>
                        <ID>2</ID>
                        <QUANTITY>20</QUANTITY>
                   </discount>
              </item>
              <item>
                   <ITEM_NUMBER>3</ITEM_NUMBER>
                   <discount>
                        <ID>A</ID>
                        <QUANTITY>50</QUANTITY>
                   </discount>
                   <discount>
                        <ID>B</ID>
                        <QUANTITY>100</QUANTITY>
                   </discount>
                   <discount>
                        <ID>C</ID>
                        <QUANTITY>200</QUANTITY>
                   </discount>
              </item>
         </TPLUGIN>
    </ORDER_V3>
    </ns2:MT_GerarOrdVd_req>
    Edited by: Ricardo Guedes on Oct 20, 2011 3:03 AM

  • PI 7.30 Message Mapping with MsgSplit error Split mapping created no messages, cannot proceed.

    Hi @all,
    I am working on a scenario to split one soruce message with several items to 0..n message for the same receiver.
    Therefore the occurrency of target message (signature in MM) have been adjusted.
    Not all items are forwarded to receiver, only if the content meets some rules the item should be forwarded.
    It could be that no item of the source message meet these rules and therefore no target message at all should be created.
    During test of this case I am facing following error in RWB, scenario is setup as integrated configuration.
    MappingException: Split mapping created no messages, cannot proceed. Review your mapping setup: splitting to 0 messages is not allowed.
    As the occurrency of the target message is 0..n, 0 should be also valid and there should be no error in this case, just stop processing like if there is no receiver in receiver determination step (mode IGNORE)
    Otherwise this will end up in lots of error messages which have to be analyzed and canceled manually which is quite time consuming.
    Maybe someone faced the same issue and found a solution to get rid of this error message.
    Best regards
    Jochen

    Hi Somil,
    hi Sriram,
    thanks for your response.
    In my scenario there also multiple receiver applications receiving data from one single sender application. We are using PI 7.30 dual stack and major goal is to setup all scenario as integrated configurations to have java only processing. One reason for this setup is that the main support user do not have extensive PI knowledge so far and we want to keep it as simple as possible and therefore do not want them to care about the abap stack as much as possible.
    Unfortunately migration to java only is not possible yet.
    In this release extended receiver determination using operation mapping is not supported in integrated configuration.
    There is quite complex rules to check if an item should be forward or not including lots of fields and also value mapping, so it would be quite difficult/impossible to write XPATH expression to have the same check during receiver determination step.
    One workaround could be creating a dummy message in case of no item to be forward and root this message to different place (local file which is always to be overwritten)
    Are there any alternatives/workarounds?
    Best regards
    Jochen
    Message was edited by: Jochen Gugel

  • XI IDoc complex mapping problem - help needed!

    Hi all,
    I am mapping WPUBON IDoc (sent as IDoc XML file) to WPUBON IDoc in R/3. However, I have a complex mapping requirement that I am trying to use the graphical tool for.
    Source segment structure is such that we have:
    E1WPB01 (header) has one or many E1WPB02 (items) and E1WPB05 (coupons).
    E1WPB02 (items) have one or many E1WPB03 (item conditions).
    So for each IDoc, we can have many items (E1WPB02), each item can have many conditions (E1WPB03) and each IDoc can have many coupons (E1WPB05).
    For each E1WPB05 received, we need to take the value and divide it proportionately in order to add an extra E1WPB03 discount condition segment to each E1WPB02 item (we are a retailer and this will allow us to break down customer coupon discounts across each item in the basket). For example, if we have 2 E1WPB02 items with values $2 and $3 and the coupon is worth $1, item 1 needs a new E1WPB03 segment with a value of $0.40 and item 2 needs one with a value of $0.60.
    This process needs to occur for each E1WPB05 segment (customers could have more than one coupon). No E1WPB05 segments are required in the target IDoc.
    I have tried a few things but really am a bit stuck on where to start.... any ideas anyone?
    Thankyou.
    Stuart Richards

    Stefan,
    Here's some sample source XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <WPUBON01>
       <IDOC>
          <EDI_DC40>
             <TABNAM>EDI_DC40</TABNAM>
             <MANDT>104</MANDT>
             <DOCNUM/>
             <DOCREL>620</DOCREL>
             <DIRECT>2</DIRECT>
             <IDOCTYP>WPUBON01</IDOCTYP>
             <MESTYP>WPUBON</MESTYP>
             <MESCOD>ST6</MESCOD>
             <SNDPOR>WPUX</SNDPOR>
             <SNDPRT>KU</SNDPRT>
             <SNDPRN>0799</SNDPRN>
             <RCVPOR>SAPRD1</RCVPOR>
             <RCVPRT>KU</RCVPRT>
             <RCVPRN>0799</RCVPRN>
             <REFINT>00000000000016</REFINT>
          </EDI_DC40>
          <E1WPB01 SEGMENT="1">
             <POSKREIS>0001</POSKREIS>
             <KASSID>1</KASSID>
             <VORGDATUM>20060107</VORGDATUM>
             <VORGZEIT>134512</VORGZEIT>
             <BONNUMMER>120572</BONNUMMER>
             <KASSIERER>4400</KASSIERER>
             <CSHNAME> </CSHNAME>
             <BELEGWAERS>GBP</BELEGWAERS>
             <E1WPB02 SEGMENT="2">
                <VORGANGART/>
                <QUALARTNR>ARTN</QUALARTNR>
                <ARTNR>000005034394436881</ARTNR>
                <VORZEICHEN>-</VORZEICHEN>
                <MENGE>1</MENGE>
                <REFBONNR> </REFBONNR>
                <E1WPB03 SEGMENT="3">
                   <VORZEICHEN/>
                   <KONDITION>PN10</KONDITION>
                   <KONDVALUE>10.00</KONDVALUE>
                   <CONDID/>
                   <QUALCONDID/>
                </E1WPB03>
             </E1WPB02>
             <E1WPB02 SEGMENT="5">
                <VORGANGART/>
                <QUALARTNR>ARTN</QUALARTNR>
                <ARTNR>000005034394471158</ARTNR>
                <VORZEICHEN>-</VORZEICHEN>
                <MENGE>1</MENGE>
                <REFBONNR> </REFBONNR>
                <E1WPB03 SEGMENT="6">
                   <VORZEICHEN/>
                   <KONDITION>PN10</KONDITION>
                   <KONDVALUE>20.00</KONDVALUE>
                   <CONDID/>
                   <QUALCONDID/>
                </E1WPB03>
             </E1WPB02>
             <E1WPB02 SEGMENT="8">
                <VORGANGART/>
                <QUALARTNR>ARTN</QUALARTNR>
                <ARTNR>000005034394469131</ARTNR>
                <VORZEICHEN>-</VORZEICHEN>
                <MENGE>1</MENGE>
                <REFBONNR> </REFBONNR>
                <E1WPB03 SEGMENT="9">
                   <VORZEICHEN/>
                   <KONDITION>PN10</KONDITION>
                   <KONDVALUE>30.00</KONDVALUE>
                   <CONDID/>
                   <QUALCONDID/>
                </E1WPB03>
             </E1WPB02>
             <E1WPB05 SEGMENT="11">
                <VORZEICHEN>+</VORZEICHEN>
                <RABATTART>PTCS</RABATTART>
                <RABVALUE>6.00</RABVALUE>
             </E1WPB05>
             <E1WPB06 SEGMENT="11">
                <VORZEICHEN>+</VORZEICHEN>
                <ZAHLART>PTCS</ZAHLART>
                <SUMME>10.00</SUMME>
                <KARTENNR/>
                <ZUONR>120572</ZUONR>
             </E1WPB06>
          </E1WPB01>
       </IDOC>
    </WPUBON01>
    So we have one coupon worth $6.00. We have 3 items in the basket worth $10, $20 and $30 respectively. The additional E1WPB03 for each will need to contain $1, $2 and $3 respectively to give:
    <?xml version="1.0" encoding="UTF-8"?>
    <WPUBON01>
       <IDOC>
          <EDI_DC40>
             <TABNAM>EDI_DC40</TABNAM>
             <MANDT>104</MANDT>
             <DOCNUM/>
             <DOCREL>620</DOCREL>
             <DIRECT>2</DIRECT>
             <IDOCTYP>WPUBON01</IDOCTYP>
             <MESTYP>WPUBON</MESTYP>
             <MESCOD>ST6</MESCOD>
             <SNDPOR>WPUX</SNDPOR>
             <SNDPRT>KU</SNDPRT>
             <SNDPRN>0799</SNDPRN>
             <RCVPOR>SAPRD1</RCVPOR>
             <RCVPRT>KU</RCVPRT>
             <RCVPRN>0799</RCVPRN>
             <REFINT>00000000000016</REFINT>
          </EDI_DC40>
          <E1WPB01 SEGMENT="1">
             <POSKREIS>0001</POSKREIS>
             <KASSID>1</KASSID>
             <VORGDATUM>20060107</VORGDATUM>
             <VORGZEIT>134512</VORGZEIT>
             <BONNUMMER>120572</BONNUMMER>
             <KASSIERER>4400</KASSIERER>
             <CSHNAME> </CSHNAME>
             <BELEGWAERS>GBP</BELEGWAERS>
             <E1WPB02 SEGMENT="2">
                <VORGANGART/>
                <QUALARTNR>ARTN</QUALARTNR>
                <ARTNR>000005034394436881</ARTNR>
                <VORZEICHEN>-</VORZEICHEN>
                <MENGE>1</MENGE>
                <REFBONNR> </REFBONNR>
                <E1WPB03 SEGMENT="3">
                   <VORZEICHEN/>
                   <KONDITION>PN10</KONDITION>
                   <KONDVALUE>10.00</KONDVALUE>
                   <CONDID/>
                   <QUALCONDID/>
                </E1WPB03>
    <b>           <E1WPB03 SEGMENT="9">
                   <VORZEICHEN/>
                   <KONDITION>PN10</KONDITION>
                   <KONDVALUE>1.00</KONDVALUE>
                   <CONDID/>
                   <QUALCONDID/>
                </E1WPB03></b>
             </E1WPB02>
             <E1WPB02 SEGMENT="5">
                <VORGANGART/>
                <QUALARTNR>ARTN</QUALARTNR>
                <ARTNR>000005034394471158</ARTNR>
                <VORZEICHEN>-</VORZEICHEN>
                <MENGE>1</MENGE>
                <REFBONNR> </REFBONNR>
                <E1WPB03 SEGMENT="6">
                   <VORZEICHEN/>
                   <KONDITION>PN10</KONDITION>
                   <KONDVALUE>20.00</KONDVALUE>
                   <CONDID/>
                   <QUALCONDID/>
                </E1WPB03>
    <b>           <E1WPB03 SEGMENT="9">
                   <VORZEICHEN/>
                   <KONDITION>PN10</KONDITION>
                   <KONDVALUE>2.00</KONDVALUE>
                   <CONDID/>
                   <QUALCONDID/>
                </E1WPB03></b>
             </E1WPB02>
             <E1WPB02 SEGMENT="8">
                <VORGANGART/>
                <QUALARTNR>ARTN</QUALARTNR>
                <ARTNR>000005034394469131</ARTNR>
                <VORZEICHEN>-</VORZEICHEN>
                <MENGE>1</MENGE>
                <REFBONNR> </REFBONNR>
                <E1WPB03 SEGMENT="9">
                   <VORZEICHEN/>
                   <KONDITION>PN10</KONDITION>
                   <KONDVALUE>30.00</KONDVALUE>
                   <CONDID/>
                   <QUALCONDID/>
                </E1WPB03>
    <b>           <E1WPB03 SEGMENT="9">
                   <VORZEICHEN/>
                   <KONDITION>PN10</KONDITION>
                   <KONDVALUE>3.00</KONDVALUE>
                   <CONDID/>
                   <QUALCONDID/>
                </E1WPB03></b>
             </E1WPB02>
             <E1WPB06 SEGMENT="11">
                <VORZEICHEN>+</VORZEICHEN>
                <ZAHLART>PTCS</ZAHLART>
                <SUMME>10.00</SUMME>
                <KARTENNR/>
                <ZUONR>120572</ZUONR>
             </E1WPB06>
          </E1WPB01>
       </IDOC>
    </WPUBON01>
    The 3 new segments required are highlighted in bold. Note that coupon segment can be repeating but is not required in the target message.
    Cheers

  • Explain a complex mapping in informatica(interview question)

    Hi Deepak, Complex mapping examples I can give you here SCD type 2 can be called as a complex mapping.Doing a mapping through indirect method can be a complex mapping. It depends on your experience. How much experience you are having. Regards,DJ

    explain a complex mapping in informatica(interview question)can any one explan with a complex example  thank you all in advance

  • Hello ! i was in Vietnam , I can buy 1 pcs iphone4s , so phone market in Vietnam is quite complex tap.toi bought second-hand products appe dung.khi listen and buy the only known called glide wep.i not know what about software icoud and my brother borrow a

    Hello ! i was in Vietnam , I can buy 1 pcs iphone4s , so phone market in Vietnam is quite complex tap.toi bought second-hand products appe dung.khi listen and buy the only known called glide wep.i not know what about software icoud and my brother borrow a watch and do something when i hold the camera has locked user accounts icoud.va I never should never registered icoud know nothing about it through ca.vua im traffic accident problem in my head so do not remember anything , what e-mail address registered in both phones now I just keep imei number in my notebook only. I loved iphone 4s phone her , so I had to buy it for 120 employees ngay.vi not use the phone anymore I 've lost 10 eat sleep all right now roi.cac you please have I somehow helps reactivate and continue to use it not ? if have any information please email them to help me [email protected] . because my language is bad for you please email them for me I can not speak directly with you is just empathy for me okay ! thank you

    Stop trolling and don't post personal information on a public forum.  Nobody can help you on a public user to user technical support forum.

  • I have a macbook pro version 10.7.5 and my mailbox will not open at all and comes up with a quit message even though it is not open. how can i get into my account. it works on my iPhone an i have internet and all other functions working on my computer

    I have a macbook pro version 10.7.5 and my mailbox will not open at all and comes up with a quit message even though it is not open. how can i get into my account. it works on my iPhone and i have internet and all other functions working on my computer

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, look under User Diagnostic Reports (not "Diagnostic and Usage Messages") for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents—the text, not a screenshot. I know the report is long. Please post all of it anyway.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • Issue with xsd Data type mapping for collection of user defined data type

    Hi,
    I am facing a issue with wsdl for xsd mapping for collection of user defined data type.
    Here is the code snippet.
    sample.java
    @WebMethod
    public QueryPageOutput AccountQue(QueryPageInput qpInput)
    public class QueryPageInput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class QueryPageOutput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class Account_IO implements Serializable, Cloneable {
    protected ArrayList <AccountIC> fintObjInst = null;
    public ArrayList<AccountIC>getfintObjInst()
    return (ArrayList<AccountIC>)fintObjInst.clone();
    public void setfintObjInst(AccountIC val)
    fintObjInst = new ArrayList<AccountIC>();
    fintObjInst.add(val);
    Public class AccountIC
    protected String Name;
    protected String Desc;
    public String getName()
    return Name;
    public void setName(String name)
    Name = name;
    For the sample.java code, the wsdl generated is as below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions
    name="SimpleService"
    targetNamespace="http://example.org"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    >
    <wsdl:types>
    <xs:schema version="1.0" targetNamespace="http://examples.org" xmlns:ns1="http://example.org/types"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://example.org/types"/>
    <xs:element name="AccountWSService" type="ns1:accountEMRIO"/>
    </xs:schema>
    <xs:schema version="1.0" targetNamespace="http://example.org/types" xmlns:ns1="http://examples.org"
    xmlns:tns="http://example.org/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://examples.org"/>
    <xs:complexType name="queryPageOutput">
    <xs:sequence>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="accountEMRIO">
    <xs:sequence>
    <xs:element name="fIntObjectFormat" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageType" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageId" type="xs:string" minOccurs="0"/>
    <xs:element name="fIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fOutputIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fintObjInst" type="xs:anyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="queryPageInput">
    <xs:sequence>
    <xs:element name="fPageSize" type="xs:string" minOccurs="0"/>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    <xs:element name="fStartRowNum" type="xs:string" minOccurs="0"/>
    <xs:element name="fViewMode" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://example.org" xmlns:ns1="http://example.org/types">
    <import namespace="http://example.org/types"/>
    <xsd:complexType name="AccountQue">
    <xsd:sequence>
    <xsd:element name="arg0" type="ns1:queryPageInput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQue" type="tns:AccountQue"/>
    <xsd:complexType name="AccountQueResponse">
    <xsd:sequence>
    <xsd:element name="return" type="ns1:queryPageOutput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQueResponse" type="tns:AccountQueResponse"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="AccountQueInput">
    <wsdl:part name="parameters" element="tns:AccountQue"/>
    </wsdl:message>
    <wsdl:message name="AccountQueOutput">
    <wsdl:part name="parameters" element="tns:AccountQueResponse"/>
    </wsdl:message>
    <wsdl:portType name="SimpleService">
    <wsdl:operation name="AccountQue">
    <wsdl:input message="tns:AccountQueInput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    <wsdl:output message="tns:AccountQueOutput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="SimpleServiceSoapHttp" type="tns:SimpleService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="AccountQue">
    <soap:operation soapAction=""/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="SimpleService">
    <wsdl:port name="SimpleServicePort" binding="tns:SimpleServiceSoapHttp">
    <soap:address location="http://localhost:7101/WS-Project1-context-root/SimpleServicePort"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    In the above wsdl the collection of fintObjInst if of type xs:anytype. From the wsdl, I do not see the xsd mapping for AccountIC which includes Name and Desc. Due to which, when invoking the web service from a different client like c#(by creating proxy business service), I am unable to set the parameters for AccountIC. I am using JAX-WS stack and WLS 10.3. I have already looked at blog http://weblogs.java.net/blog/kohlert/archive/2006/10/jaxws_and_type.html but unable to solve this issue. However, at run time using a tool like SoapUI, when this wsdl is imported, I am able to see all the params related to AccountIC class.
    Can some one help me with this.
    Thanks,
    Sudha.

    Did you try adding the the XmlSeeAlso annotation to the webservice
    @XmlSeeAlso({<package.name>.AccountIC.class})
    This will add the schema for the data type (AccountIC) to the WSDL.
    Hope this helps.
    -Ajay

  • Problems with Initial steps for Mapping with Java in XI 3.0

    Hi,
    I am having problems with a simple java mapping in XI 3.0. I have created another test class in my PC to test it ,and it works.
    But when I use it in a example mapping it does not work.
    I think the reason is because It cannot find the classes used in the XI server.
    What do I have to do to make it work ?
    Do I need to add / change / view something in the XI server?
    Thanks a lot...
    David

    Down by java mapping

  • XI Mail Adapter: sending emails with attachment with help of java mapping

    Hi ,
    On trying out the scenerio mentioned in the blog, using the java mapping provided
    "XI Mail Adapter: An approach for sending emails with attachment with help of Java mapping
    The scenerio works just fine.
    But the payload as the content of the attachment is not getting generated in proper XML format.
    I suppose it's because of the replace special characters code part..
    Can anyone help me state the modification required in the code.
    Thanks!
    Regards,
    Faria Mithani

    It might be a codepage issue. Is your original payload UTF-8?

  • TS1702 After I updated my new Ipad  with IOS 6, now Map& Dictation icon are not working. please help me

    After I updated my new Ipad  with IOS 6, now Map& Dictation icon are not working. please help me

    Thank you wjsten for your soon reply. Unfortunately on these days I'm in a country that Apple don't have any retail store here and for sake of time I prefer to fix it myself to DHL it to the nearest country to use its warranty. Do you have any idea how can I fix it? Do you think it's a software issue?

  • A process by the name of avgcmgr is loading the CPUs by up to 100 percent. At least 5 of them have appeared on the activity monitor. I've removed them with forced quit but they return! How do I permanently get rid of them? CPUA temp is now 194F.

    A process by the name of avgcmgr is loading the CPUs by up to 100 percent. At least 5 of them have appeared on the activity monitor. I've removed them with forced quit but they return! How do I permanently get rid of them? Three of these processes has now driven the CPUA temp to 194F.
    Ray

    Hi Ray-
    I'm having the exact same problem and have searched the web for hours looking for a solution (multiple spawned avgcmgr processes that consume cpu).
    Did you find any solution?
    Thanks so much!
    Steve

  • Expense Types with Input Tax (GST) - mapping to GL Account for reporting

    We are in the process of implementing Expenses for countries like Australia & New Zealand, which have GST.
    Expense Types were created and different Tax Codes were defaulted to the expense types, as per the requirement. Some Expense Types have no GST while some do have a Tax Code to 10% Input Tax
    The issue is, I cannot find a config step to map the Expense Types to Tax GL accounts so that the Finance office in Australia / New Zealand can submit their claims end of the year by pulling up a report from this GL. I can do the regular mapping of Expense Types to specific GLs. I can even settle & post the expenses to FI and reimburse the employees but there is no way I can record the receipts which have taxes on them into the tax GLs for reporting purposes.
    Any inputs on how this can be mapped or addressed is much appreciated. We went live with a bunch of countries but, the GST quotient is holding us off from going ahead with AU and NZ.
    Here's an example - Expense Type is Dinner. This is mapped to GL 123456. When an employee submits an Expense with the Dinner, it is settled and posted to FI against the GL 123456. The reimbursement is done. But, the Dinner expense receipt has 10% GST which the Finance team wants to submit and claim the tax breaks end of the year. We want all the expenses with 10% tax be mapped to GL 800900. But this is only for reporting reasons. No postings done against the GL 800900.
    So, we are looking to map all the Expense Types with Input Tax 10% to GL 800900 and all Expense Types with Input Tax 15% to GL 700600
    Here's some of the Tax Config that was done ...
    1). SPRO -> Financial Accounting -> Travel Management -> Travel Expenses -> Master Data -> Control Parameters for Travel Expenses -> Define Global Settings ... Input Tax is set to "Input Tax per Travel Expense Type"
    2). SPRO -> Financial Accounting -> Travel Management -> Travel Expenses -> Master Data -> Control Parameters for Travel Expenses -> Travel Expense Types -> Create Travel Expense Types for Individual Receipts ... in the Expense Type, "Tax Code" field is set the either 0% or 10% Tax Codes

    Issue is resolved ... I misunderstood the logic. Tax Code is linked to a GL account. And when I run PRRW, I see the relevant Tax amount in against the trip

  • Need Help with One to One Mapping in SQL

    Can aynone please design me tables in Oracle .
    I want to have a two tables with one to one mapping .
    Following is the scenario.
    I have an Employee object and a Parking Space Object. The have a one to one relation i.e., an employee will always be associated to only one parking space, that parking space should not be associated to any other employee.
    It would be a great help .

    sb92075 wrote:
    We don't do homework assignments.I used to do my own... seems like a novel concept now-a-days :)

  • Synchronous RFC -- SOAP Scenario: problem with SOAP Response/Fault Mapping

    Hi,
    I've a synchronous RFC --> PI --> SOAP Scenario. The problem is that the message structure of the sending RFC doesn't match the Webservice Structure.
    The (SAP standard) RFC has just a Request / Response message structure. Part of the Response Message structure is a exception structure.
    The Webservice has a Request / Response message structure and in case of an error I get a SOAP:Fault.
    Problem now is that I cannot configure that scenario without usage of BPM as I will have to map SOAP:Response or SOAP:Fault to the RFC Response structure.
    Has anybody another idea to do that synchronous scenario (with usage of message mapping) without BPM?
    BR
    Holger

    1)
    you maus define 3 mapping.
    1)request
    2)response
    3)Fault
    in Interface mapping define at response boths (2-3) mapping. its clear??
    2)
    otherwise sometjhing is not clear, why do you want fault?? why dont you  get only response message. we implement this kind of response:
    <response_MT>
    <ID> (error ID)
    <system> (target system) 
    <error> (Error Description)
    </response>
    by this way fault message is not needed. but if you must have it just follow the top of message else, propose second.
    Thanks
    Rodrigo
    Thanks
    Rodrigo
    Edited by: Rodrigo Pertierra on Feb 25, 2008 11:52 AM

Maybe you are looking for

  • Help needed to create Quik Time VR movies, step by step

    Hello, thank you for your attenction. I need to create Quick time vr movies, and I need to know the exact sequance of steeps to do it, and if the starting point I use is correct. 1) I shooted a sequence of photos with my digital camera (for example:

  • Media encoder  cs6 dont work at all

    i have download adobe cs6 master  collection in trial mode.but i cant run media encoder.i ve tried to open program with right clik or with administrator privilege but still dont run .any help please?i have win 7 ultimate x64.all other programs works

  • LSMW - BAPI - BUS1112 - needed 2 LSMW

    Hello all, I followed the blog post below in attempting to use legacy system migration workbench to load cost center hierarchy data. My input file has 19 records. The first record is a comment line defining the file. The second record contains the co

  • Removing a DVD Image from a drive?

    Hello everyone! Recently I wanted to wipe my MacBook Pro, and do a clean install of Snow Leopard. However doing so proved difficult, because my DVD drive recently gave out and stopped ejecting disks (Had to open her up and take out the drive complete

  • Flash player needed

    Mini iPads do not support Adobe Flash Player I therefore need an alternative please.