DESADV.DELVRY03 idoc to XML Mapping issue.

Hello Experts,
I am facing a problem in Mapping of an idoc DESADV.DELVRY03 with the given XML file.
Please suggest me how to map E1ADRM1/E1ADRE1/EXTEND_D with qualifiers such as RG,AG,WE.
Please help me out.
If step by step document will be provided then it would be a great help.
I will appreciate every helpful suggestion.
Thanks,
Dipen.

Hi Dipen,
Please follow the basic mapping functions and  find my bellow Mapping Logic may its help you.
Regards,
Rajendar K

Similar Messages

  • AII Flex Del Scenario DESADV.DELVRY03 IDOC

    Hi 
    I am working on IDOC-TO-IDOC scenario in flexible delivery scenario.
    When an ASN is sent from supplier system to customer system via XI the idoc DESADV.DELVRY03 is used to create inbound delivery against the purchase order
    While executing IDOC in target system, the system gave error  with error status 51.
    <b>the error is POSEX field is empty.</b>
    I tried to test execute this IDOC in transaction we19 by filling value of POSEX.
    What should be the value of this field so that IDOC is executed properly?
    Looking forward to pointers to above query.
    Thanks in advance.
    Amit Deshpande

    Hello Amit,
    There are 2 POSEX fields in the DELVRY03 Idoc,
    E1EDL24-POSEX is External item number
    E1EDL41-POSEX is Item Number of the Underlying Purchase Order
    Go to WE60 and put in DELVRY03 and look this up.
    In the IDOC it should show which segment is in error.
    Regards

  • RE:idoc inbound scenario "mapping issue"

    Hi experts,
    we r facing the problem in idoc inbound scenario, while to generate multiple idoc's.
    we need to generate the idoc's based on two fields, Location_code and Date. If any of the field is changing we need to generate the new idoc.
    below is the sender  payload :
    <row>
          <Date>20100111</Date>
          <Sign>+</Sign>
          <Tender_Code>ZSHT</Tender_Code>
          <Tender_Amount>1890.30</Tender_Amount> 
          <Location_Code>0000001000</Location_Code>
       </row>
       <row>
          <Date>20100112</Date>
          <Sign>+</Sign>
          <Tender_Code>ZSHT</Tender_Code>
          <Tender_Amount>1890.30</Tender_Amount>
          <Location_Code>0000001000</Location_Code>
       </row>
       <row>
          <Date>20100112</Date>
          <Sign>+</Sign>
          <Tender_Code>ZSHT</Tender_Code>
          <Tender_Amount>1890.30</Tender_Amount>
          <Location_Code>0000001001</Location_Code>
       </row>
       <row>
          <Date>20100112</Date>
          <Sign>+</Sign>
          <Tender_Code>ZSHT</Tender_Code>
          <Tender_Amount>4532.32</Tender_Amount>
          <Location_Code>0000001001</Location_Code>
       </row>
    for the above payload ,we need 3 idocs as below
    idoc1:
    Location_code>1000    Date->20100111
    idoc2:
    Location_code>1000    Date->20100112
    idoc3:
    Location_code>1001    Date->20100112
    under the third idoc fourth row should get repeated.
    at present we have the following mapping which is generating multiple idocs bsased on only location code, it's like
    Location_code-->removecontext-->sort-->splitbyvalue(valuechange)-->collapsecontext--->idoc
    rgds
    selvam

    Hi,
    Thanks Suraj , logic has worked but there is a simple issue , LOCATION_Code is mapped with SNDRPRN and RCVPRN of the EDI_DC40 segment when i m execuiting the payload it throws error for the second idoc generated , when the LOCATION_CODE changes this should also get updated to that field. Mapping for SDNPRN has been done like this.
    LOCATION_CODE --->removecontext-->|
                                         formatbyexample--->SNDRPRN
    idoc mapping logic---------------->|
    pl suggest...
    rgds
    selvam

  • IDOC to XML Mapping

    Hi,
    We have a requirement to sum up the total amount by credit card
    i.e.. there will be multiple credit cards, and for each credit card there will be multiple entries,
    so i need to sum up AMOUNT for each CREDITCARD and map it to TOTALAMOUNT in Destination.
    Please tell me the best way to do this?
    Thanks,
    Sarva.

    Hi Sarva,
    You can use Cumulative Sum functoid with second parameter as "1".
    I have created one sample xsd from the sample u provided. Used below instance for testing:
    <ns0:ZPAYMENT_EXTRACT xmlns:ns0="http://sample_dynamicXSLT.input_idocSchema">
      <IDOC>
        <BEGIN>BEGIN_0</BEGIN>
        <EDI_DC40>
          <field1>field1_0</field1>
          <field2>field2_0</field2>
        </EDI_DC40>
        <Z1PAYHDR>
          <SEGMENT>Girish</SEGMENT>
          <ACCOUNT>111</ACCOUNT>
          <XMIT_DATE>XMIT_DATE_0</XMIT_DATE>
          <Z1PAYDTL>
            <PAYMENT_DATE>PAYMENT_DATE_0</PAYMENT_DATE>
            <AMOUNT>100</AMOUNT>
            <CREDIT_CARD>ABC</CREDIT_CARD>
          </Z1PAYDTL>
     <Z1PAYDTL>
            <PAYMENT_DATE>PAYMENT_DATE_0</PAYMENT_DATE>
            <AMOUNT>200</AMOUNT>
            <CREDIT_CARD>PQR</CREDIT_CARD>
          </Z1PAYDTL>
     <Z1PAYDTL>
            <PAYMENT_DATE>PAYMENT_DATE_0</PAYMENT_DATE>
            <AMOUNT>300</AMOUNT>
            <CREDIT_CARD>XYZ</CREDIT_CARD>
          </Z1PAYDTL>
        </Z1PAYHDR>
    <Z1PAYHDR>
          <SEGMENT>Naveen</SEGMENT>
          <ACCOUNT>222</ACCOUNT>
          <XMIT_DATE>XMIT_DATE_0</XMIT_DATE>
          <Z1PAYDTL>
            <PAYMENT_DATE>PAYMENT_DATE_0</PAYMENT_DATE>
            <AMOUNT>40</AMOUNT>
            <CREDIT_CARD>ABC</CREDIT_CARD>
          </Z1PAYDTL>
     <Z1PAYDTL>
            <PAYMENT_DATE>PAYMENT_DATE_0</PAYMENT_DATE>
            <AMOUNT>80</AMOUNT>
            <CREDIT_CARD>PQR</CREDIT_CARD>
          </Z1PAYDTL>
        </Z1PAYHDR>
      </IDOC>
    </ns0:ZPAYMENT_EXTRACT>
    Got the output as:
    <ns0:ZPAYMENT_OUT xmlns:ns0="http://sample_dynamicXSLT.output_idocSchema">
    <CUSTOMER>
    <SEGMENT>Girish</SEGMENT>
    <ACCOUNT>111</ACCOUNT>
    <TOTALAMOUNT>600</TOTALAMOUNT>
    </CUSTOMER>
    <CUSTOMER>
    <SEGMENT>Naveen</SEGMENT>
    <ACCOUNT>222</ACCOUNT>
    <TOTALAMOUNT>120</TOTALAMOUNT>
    </CUSTOMER>
    </ns0:ZPAYMENT_OUT>
    Thanks, Girish R. Patil.

  • CIDX ShipNotice to IDOC DESADV.DELVRY03 mapping

    Hi,
    SAP BP CIDX 1.0 delivers standard mapping between ShipNotice (CIDX msg) and SAP IDOC Interface DESADV.DELVR03  (inbound to SAP, used for shipment notification against which GI occurs then in SAP).
    In my OTC scenario it means Delivery Confirmation happens currently via Phone call. After this call manually in SAP they update Delivery Outbound document and do GI posting.
    Can I use DESADV for updating Delivery Document?
    I believe SHPCON message is used for updating Delivery documents.
    As far as I know DESADV and SHPCON use the same structures of DELVRY03 IDoc only the msg type from IDOC adapter is set differently. I would not like to use SHPCON since I’ve standard mapping for DESADV.
    Of course I could manuall define mapping template for SHPCON.DELVRY03 based on standard mapping to DESADV.DELVRY03. But before going for this just wanna know if I could use straigh away standard mapping to DESADV.DELVRY03.
    Any advice welcome?
    cheers,
    Mariusz
    (Max)

    A message type is an implementation using an IDoc type. for instance ORDRSP, and ORDCHG message types all are based on the ORDERS05 IDoc type. In other words, the layout of the possible segments and fields are the same in all of these. so in ur implementation u wud not have any issues in using DESADV.DELVR03

  • Mapping issue for Idoc to xml

    hello all,
           my scenario is idoc to xml file
    E1EDKT1-------segment (1:n)
       -TDID----
    ele
       -E1EDKT2----segment (1:n)
          -TDLINE-----ele
    When TDID value is X then all values in TDLINE of undeline sement E1EDKT2 needs to be cocatenated and passed to target elemnt A
    if  TDID value is Y then all values in TDLINE of undeline sement E1EDKT2 needs to be cocatenated and passed to target elemnt B
    i have written java function(for all values in context) to conctenate TDLINE elements.
    also the context of TDLINE is changed to  E1EDKT1.
    i am getting all the concatenaed values of TDLINE for TDID=X in target element A but i am not geting any value in target element B for TDID=Y
    can any one suggest what could be the problem.
    Regards,
    Sandip

    Hi Sandip,
    Map like this for target element A:
    use simple if stament.  and for If give TDID  equals(text function) to constant X
    and for then TDLINE-->concattdline(udf) --> output A
    Map like this for target element B:
    use simple if stament.  and for If give TDID  equals(text function) to constant Y
    and for then TDLINE-->concattdline(udf) --> output B
    concattdline udf:
    Create a Context udf with one argument a and name it as concattdline.
    Imports:  java.*;
    Add this code:
    //write your code here
    String value = "";
    for(int j=0; j<a.length - 1; j++){
         value += a[j] + "";
    value +=  a[a.length - 1];
    result.addValue(value);
    I just tested this and it should work for you.
    Regards,
    ---Satish

  • Mapping problem on different levels. (IDOC) to XML

    I am having a mapping issue with a multi segment IDOC. It seems that it should be pretty straight forward but I am struggling. I have looked at some pretty good documentation but it still doesn't seem to help. The IDOC segments deal with text lines in SAP. The text identifier is at a higher level and the text lines are a level below the text identifier. I am writing these records to XML . Both of these are at the same level. I need to combine the text identifier from the higher level to to each text line in the XML.
    Here is my source file. It contains two different types of text identifiers (TDID)
    <E1TXTH8 SEGMENT="1">
    <TDID>0012</TDID>
    <TDSPRAS>E</TDSPRAS>
    <E1TXTP8 SEGMENT="1">
    <TDLINE>This is line 1 of TDID 0012</TDLINE>
    </E1TXTP8>
    <E1TXTP8 SEGMENT="1">
    <TDLINE>This is line 2 of TDID 0012</TDLINE>
    </E1TXTP8>
    <E1TXTP8 SEGMENT="1">
    <TDLINE>This is line 3 of TDID 0012</TDLINE>
    </E1TXTP8>
    </E1TXTH8>
    <E1TXTH8 SEGMENT="1">
    <TDID>Z110</TDID>
    <TDSPRAS>E</TDSPRAS>
    <E1TXTP8 SEGMENT="1">
    <TDLINE>This is line 1 of TDID Z110</TDLINE>
    </E1TXTP8>
    <E1TXTP8 SEGMENT="1">
    <TDLINE>This is line 2 of TDID Z110.</TDLINE>
    </E1TXTP8>
    </E1TXTH8>
    I wand this to map so that I see the following results:
    <TDID>0012</TDID>
    <TDLINE>This is line 1 of TDID 0012</TDLINE>
    </access>
    <access>
    <TDID>0012</TDID>
    <TDLINE>This is line 2 of TDID 0012</TDLINE>
    </access>
    <access>
    <TDID>0012</TDID>
    <TDLINE>This is line 3 of TDID 0012</TDLINE>
    </access>
    <access>
    <TDID>Z110</TDID>
    <TDLINE>This is line 1 of TDID Z110</TDLINE>
    </access>
    <access>
    <TDID>Z110</TDID>
    <TDLINE>This is line 2 of TDID Z110</TDLINE>
    </access>
    </MDB_tblshippingtext>
    </InsertStatement_ShippingText>
    So far I have been unsuccessful. I am mapping the access element to the lower level segment E1TXTP8. This gives me all of the text lines but the TDID is not filled in properly.
    If I map the access element to the highler level E1TXTH8 then I do not get all of my text lines from the lower level. I have looked at the document "Replication of Nodes using the graphical tool mapper" but I still don't seem to understand my problem.
    Any help is appreciated.
    Thanks,

    Hi Neela,
    I have uploaded Mapping pictures(Access node Mapping,TDID field Mapping,TDLINE Field Mapping).
    http://www.flickr.com/photos/14144840@N02
    In Access node Mapping You can use removeContexts node function as shown in Pic or without using removeContexts function Change Context to parent of E1TXTH8 node (How to Change Context: Right click on TDLINE in Data flow editor Context->select parent of E1TXTH8 node)
    In TDID field Mapping  useOneAsMany node function and change contexts of 2nd and 3rd inputs of this function to E1TXTH8 as shown in Pic.
    Please let me know if you have any issues.
    Thanks,
    Jag

  • Mapping issue in idoc to JDBC scenario

    mapping issue in idoc to JDBC scenario
    source structure
    E1KNB1M
      BUKRS = 1000
    E1KNB1M
      BUKRS=  9000
    E1KNB1M
      BUKRS=  2000
    THE NODE E1KNB1M is repeated many times and the field BUKRS is also repeated with E1KNB1M as above
    TARGET field : ISFRANCHISE
    if any where value of BUKRS =9000 we have to pass Y to the target filed, else N
    if BUKRS = 9000   THEN ISFRANCHISE= Y
                   ELSE
                ISFRANCHISE=N
    I've done the mapping as below
    BUKRS = 9000--> IF THEN Y ELSE N--
    > ISFRANCHISE
    BUT everry time the target value is N only
    pl suggest
    rgds
    mojib

    mapped like this
    BUKRS--->SORT---->
                                                 EQUALS --------IF---THEN    Y
    9000------------------------>                                               ----------------->ISFRANCHISE
                                                                  ELSE   N
    context of BUKRS set to parent node
    its worked
    thanks to all for valuable suggestions
    rgds
    mojib

  • IDOC to EDI Seeburger Mapping Issue

    Hi,
    I am new to seeburger, Currently I am working on PAYEXT IDOC to EDI scenario using seeburger adapter.
    As per my little knowledge i can understand that i need two step mapping:
    1) IDOC XML to EDI XML
    2) EDI XML to EDI
    Now the problem is how can i do 1st mapping if i have to do 1:1 mapping in PI mapper than it will be a tedious task as I dont know which idoc field is mapped to which EDI XML field.
    Also i dont know how i can map the 2nd mapping.
    when we installed seeburger adapter than i got three files from basis guys related to PAYEXT
    msg_PAYEXT_UN_D96A.xml
    msg_XML_PAYEXT_UN_D96A.xml
    XML_PAYEXT_UN_D96A.xsd
    Note: I imported .xsd file in IR, but i dont know what to do with these xml files.
    Please experts reply soon as it is delaying my project
    Regards,
    Shradha

    Shradha,
    You can check the seeburger software component versions where all the mappings would be provided by Seeburger as part of the package.
    You can have a look whether PAYEXT is there and would be useful
    To start with
    1. You need a functional or EDI Business analyst to guide you on the various mapping specifications needed.
    2. You should also liase with your business partners to prepare an business rules and other conditions.
    3.Also decide whether you are going to deliver it via AS2 communication or via VAN
    4. Accordingly you need to configure the seeburger adapters.
    5.The mappings provided to you are from XML to EDI and EDI to XML which is a second  stage automatically done by seeburger once you specify the module steps in the comms channel.
    I am afraid that without knowing business rules or mapping specifications, you can't work on EDI.
    Regards
    Krish

  • File - XI - Idoc : mapping issue

    Hello gurus,
    I have a mapping issue:
    I have a mapping between FICABillingNotification to FKK_EBS_DOC_TREE
    Some fields are mapped one to one, others a mapped to constants.
    But for some reason i don't know, not all fields get the right value.
    For example:
    Working:
    Constant 1 --> BEGIN
    Constant LS --> RCVPRT (Receiver Partner Type)
    Not working:
    Constant FILE-->RCVPOR (Receiver Port)
    I had an other value the first time i tried it, but now i changed it to FILE but this value is not used by the mapping.
    Any help would be welcome
    Thanks
    Thomas
    Edited by: Thomas Pary on May 28, 2008 3:36 PM

    This was allready done (sorry i didn't answered that question).
    But Ok now i see, that for this RCVPOR the value of the constant "FILE" is mapped, and i can see it in the payload in SXMB_MONI after the mapping. But it isn't populated to the IDoc field :-s
    Another problem is, that like the one said above, some of my values are not mapped :
    <FICAExternalBilling>
    --<DocumentHeader> mapped to EF1KK_EBS_DOC_HEADER
    <BillFromId>25001254</BillFromId> mapped to REF_DOC_NUMBER
    <PostingDate>20080520</PostingDate> mapped to POST_DATE
    <DocumentDate>20080520</DocumentDate> mapped to DOC_DATE
    <OriginTypeId>IV</OriginTypeId> mapped to EXT_DOC_TYPE
    <ObjectType/>
    <ObjectKey/>
    <PendingCommitmentGroupID/>
    <InvoiceReferenceID/>
    <DisputeDocumentReferenceID/>
    --</DocumentHeader>
    The value of OriginTypeId is not mapped, but the value of DocumentDate and PostingDate are mapped.

  • HOW TO MAP IDOC TO XML

    Hi,
      I need to map IDOC to xml but the problem is I have 400 fields in IDOC which  are to be mapped to 20 elements in XML.
          As it a tedious process to go to 400 fields for each xml element.Is their any better way to find correct field in IDOC with very minial time rather going 400 fields for each xml element.
    thanks
    sreeram

    hi,
    >>1)Even SAP it self does not encourage to use ABAP >>MAPPING and
    i dont know where you have read this, but ABAP mapping is one of the most popular/ most efficient and highly recomended by SAP. I have used it in tons of places.
    >>2)More over Iam not ABAP resource.
    you could also do a java mapping.
    there is no other easy way if you are not doing abap/java mapping. you are then left with the only option of using the graphical editor.
    cheers,
    Naveen
    Message was edited by: Naveen Pandrangi

  • Retreive IDOC number and map it to a field in Target XML

    Hi Experts,
    IDOC to file scenario
    I have a requirement where I have to retreive the number of the IDOC generated and map it to a field ID in the target XML.
    Do i have to use a UDF for this? can ne one pls explain?
    Regards,
    Teja

    Hi Ravi,
    You dont need use a UDF for this.
    this is a very simple requiremen.
    You can get the IDOC number from source IDOc
    under EDI_DC40 node field name DOCNUM.
    This DOCNUM fielsd will contain the IDOC number
    Map this DOCNUM field from source IDOC to target XML structure.

  • Mapping issue - if value matches on of several conditions

    Hi champs,
    I have a mapping in PI 7.1 of an invoice-xml  to a INVOIC02-idoc.
    I am mapping the invoice sums to E1EDS01-segments and just want to map five of several qualifiers. So I have set up a mapping for the qualifier field SUMID that just maps those five qualifiers, and map the SUMME-field from inbound message as it is.
    Now it shows that our vendors send more than those five qualifiers I have in my mapping. Since I don´t have any control of the SUMME-field all seven values get mapped into the Idoc (generating seven E1EDS01-segments), but only the five segments with my mapped SUMID get the SUMID-field. So I get in total seven E1EDS01 segments in which I get only the SUMME in two of them.
    So my question is: Are there any pretty ways to handle this kind of mapping issues besides using a lot of equalS, if and or?
    I would like to be able to say (in as simple a function as possible)  that if qualifier in field A is X, Y or Z then map the value in field B to SUMME. How do I do that? BTW I am not a java-programmer so advanced java-codes are not a good way for me to handle it.
    regards,
    Glenn

    Write an UDF with this code:
    public void <UDFNAME>(String <FieldName>,Container container){
    If (<FieldName> == "X" || <FieldName> == "Y" || <FieldName> == "Z"){
    return <FieldName>;
    Edited by: spantaleoni on Mar 16, 2011 4:04 PM

  • XSLT mapping issue in parent child relation

    Hi Guys,
    i have one XSLT mapping issue. Mapping scenario is from IDoc to file.
    IDoc structure is as below
    <ZLOIPRO1>
      <E1AFKOL>
         <A></A>
         <B></B>
         <E1RESBL>
             <MATNR>1</MATNR>
             <CHARG>1</CHARG>
             <ZSBL>
                 <MTART>ABC</MTART>
             </ZSB>
         </E1RESBL>
         <E1RESBL>
             <MATNR>2</MATNR>
             <CHARG>2</CHARG>
             <ZSBL>
                 <MTART>ZHA1</MTART>
             </ZSB>
         </E1RESBL>
         <E1RESBL>
             <MATNR>3</MATNR>
             <CHARG>3</CHARG>
             <ZSBL>
                 <MTART>ZHA1</MTART>
             </ZSB>
         </E1RESBL>
      </E1AFKOL>
    </ZLOIPRO1>
    As you can see 'E1RESBL' is repeatative. Now my issue is i need to select 'MATNR' and 'CHARG' from 'E1RESBL' segment when first occurance of 'ZSBL/MTART' with value 'ZHA1' appears. i.e. my output would be MATNR = 2 and CHARG = 2.
    I hope i am clear. Please let me know if any solution for this.

    Hi,
    Try this
    <xsl:if test="./ZSBL/MTART == 'ZHA1'">
    <xsl:for-each select="./E1RESBL">
      <MATNR>
       <xsl:value-of select="./MATNR"/>
      </MATNR>
      <BATCH>
       <xsl:value-of select="./CHARG"/>
      </BATCH>
    </xsl:for-each>
    </xsl:if>
    You might need to do some changes in the above.
    Thanks,
    Prakash

  • Regarding receiver determination problem in IDOC-XI-XML file scenario

    Dear All ,
    In IDOC-XI-xml file scenario , I have configured SLD , IR . But in ID , after file adapter , reciever agreement configuration when I am doing receiver determination configuration I am not able to insert mapping program in configuration overview of receiver determination as I am not getting "New Specific" option in mapping .
    Can anybody suggest what could be the reason behind this .
    Thanks in Advance
    Prabhat

    Hi PRabhat,
    In RCVR determination, you need to select the party & service (as appropriate) save the obeject
    then refresh the configuration overview of recr det.
    then you can see the partner/service
    then you can open it & add the necessary objects.
    Regards
    Vishnu

Maybe you are looking for

  • How to resize photo to fit screen without loosing proportions?

    I am in the process of creating a PowerPoint presentation and it will basically consist of photos, some text and a music background.  I want the photos to fill my computer screen, so when I am in Elements 5, I am going to Image menu and then to resiz

  • One username and password not being added to keychain

    I have entered a username and password for a webpage and answered yes when asked it I wanted this saved it to my keychain. However I can not find the u/n and pass word in my keychain (Safari>Preferences>Passwords) and this u/n and pw is not shared wi

  • Starting NON-stand alone oc4j in debug mode

    I have set up OC4J (in Application Server 9.0.2.0.0, NOT is stand-alone mode) and I want to start it in debug mode in order to watch some jdbc leaking connections. Which is the way? Is it done through the Enterprise Manager WebSite? All the documenta

  • I cant download anything frm my bb curve 8520

    Haai ppl,pls help me here everytime when I try to download on my bb 8520 it always fails nd its something new,I don't knw what to do now.

  • Ariba 9r - SAP MM Integration

    Hi experts, The standard Ariba adapter for 9r creates a relationship between Cost Centers and Company Codes in the master data files pushed from SAP to Ariba (i.e. the Cost Center master data file has columns for Cost Center and Company Code, so a re