Skip to Content
author's profile photo Former Member
Former Member

Datahub : Sales Order missing sales area information when sending to PI -> ECC

Hi Sales Order is missing sales area information in Sales Order IDOC while sending from Datahub to PI

We are using one more layer PI between Datahub and ECC.

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <SALESORDER_CREATEFROMDAT202>
     <IDOC BEGIN="1">
         <EDI_DC40 SEGMENT="1">
             <TABNAM>EDI_DC40</TABNAM>
             <MANDT>000</MANDT>
             <DOCNUM>1475741989548</DOCNUM>
             <STATUS>03</STATUS>
             <DIRECT>1</DIRECT>
             <OUTMOD>2</OUTMOD>
             <IDOCTYP>SALESORDER_CREATEFROMDAT202</IDOCTYP>
             <MESTYP/>
             <SNDPOR>XXX</SNDPOR>
             <SNDPRT>LS</SNDPRT>
             <SNDPRN>XXX</SNDPRN>
             <RCVPOR>my-logical-system-name</RCVPOR>
             <RCVPRT>LS</RCVPRT>
             <RCVPRN>my-logical-system-name</RCVPRN>
             <CREDAT>20161006</CREDAT>
             <CRETIM>105945</CRETIM>
         </EDI_DC40>
         <E1SALESORDER_CREATEFROMDAT2 SEGMENT="1">
             <E1BPSDITM SEGMENT="1">
                 <ITM_NUMBER>1</ITM_NUMBER>
                 <PO_ITM_NO>000001</PO_ITM_NO>
                 <MATERIAL>000008000920720653</MATERIAL>
                 <SHORT_TEXT>CORN 60ml Mix Warm CL4 6MP V2 x5x231 EL</SHORT_TEXT>
                 <S_UNIT_ISO>CS</S_UNIT_ISO>
             </E1BPSDITM>
             <E1BPPARNR SEGMENT="1">
                 <PARTN_ROLE>AG</PARTN_ROLE>
                 <PARTN_NUMB>101010_1020_20_10</PARTN_NUMB>
             </E1BPPARNR>
             <E1BPPARNR SEGMENT="1">
                 <PARTN_ROLE>WE</PARTN_ROLE>
                 <PARTN_NUMB>101010_1020_20_10</PARTN_NUMB>
                 <ADDR_LINK>1</ADDR_LINK>
             </E1BPPARNR>
             <E1BPPARNR SEGMENT="1">
                 <PARTN_ROLE>AP</PARTN_ROLE>
             </E1BPPARNR>
             <E1BPSCHDL SEGMENT="1">
                 <ITM_NUMBER>1</ITM_NUMBER>
                 <REQ_QTY>20</REQ_QTY>
             </E1BPSCHDL>
             <E1BPCOND SEGMENT="1">
                 <ITM_NUMBER>1</ITM_NUMBER>
                 <COND_COUNT/>
                 <COND_TYPE>MWST</COND_TYPE>
                 <COND_VALUE>0.0</COND_VALUE>
             </E1BPCOND>
             <E1BPADR1 SEGMENT="1">
                 <ADDR_NO>1</ADDR_NO>
                 <CITY>Town</CITY>
                 <POSTL_COD1>737373</POSTL_COD1>
                 <STREET>StreetName</STREET>
                 <HOUSE_NO>Street Number</HOUSE_NO>
                 <E1BPADR11 SEGMENT="1">
                     <COUNTRYISO>ES</COUNTRYISO>
                     <LANGU_ISO>es</LANGU_ISO>
                 </E1BPADR11>
             </E1BPADR1>
         </E1SALESORDER_CREATEFROMDAT2>
     </IDOC>
 </SALESORDER_CREATEFROMDAT202>

this is happening for some of the orders other orders are having sales area details. Could some body please help on this.

it is missing complete below segment

 <SALESDOCUMENTIN>0000004829</SALESDOCUMENTIN>
             <E1BPSDHD1 SEGMENT="1">
                 <DOC_TYPE>ZA0</DOC_TYPE>
                 <SALES_ORG>5220</SALES_ORG>
                 <DISTR_CHAN>20</DISTR_CHAN>
                 <DIVISION>10</DIVISION>
                 <REQ_DATE_H>20160330</REQ_DATE_H>
                 <PURCH_DATE>20160311</PURCH_DATE>
                 <COMPL_DLV>X</COMPL_DLV>
                 <PURCH_NO_C>9823912342233</PURCH_NO_C>
                 <SHIP_COND/>
                 <CURR_ISO>EUR</CURR_ISO>
             </E1BPSDHD1>



Add a comment
10|10000 characters needed characters exceeded

  • Former Member Robin Vezina

    Hi Robin Thanks for your reply.

    We are using 5.7 version . Only half order is going to ECC without the segment

      <SALESDOCUMENTIN>0000004829</SALESDOCUMENTIN>
                  <E1BPSDHD1 SEGMENT="1">
                      <DOC_TYPE>ZA0</DOC_TYPE>
                      <SALES_ORG>5220</SALES_ORG>
                      <DISTR_CHAN>20</DISTR_CHAN>
                      <DIVISION>10</DIVISION>
                      <REQ_DATE_H>20160330</REQ_DATE_H>
                      <PURCH_DATE>20160311</PURCH_DATE>
                      <COMPL_DLV>X</COMPL_DLV>
                      <PURCH_NO_C>9823912342233</PURCH_NO_C>
                      <SHIP_COND/>
                      <CURR_ISO>EUR</CURR_ISO>
                  </E1BPSDHD1>
    
    

    Also status of sales order is success in datahub.

  • Which patch of 5.7 ?
    Any enhancements ?

  • Former Member Robin Vezina

    Hi Robin we are using 5.7.0.0

    yes we have done the enhancement , we have added few new attributes in sales order and sending to ECC. Also we have overriden DOC_TYPE field .

     <attribute override="true">
     <name>DOC_TYPE</name>
     <localizable>false</localizable>
     <collection>false</collection>
     <transformationExpression>transactionType</transformationExpression>
     <exportCode/>
     <mandatoryInHeader>true</mandatoryInHeader>
     </attribute>
    

Related questions

1 Answer

  • Posted on Oct 24, 2016 at 04:51 PM

    Please upgrade the Data Hub version to at least 5.7.0.5.
    The latest version is preferred.

    Issue : ECP-841

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.