IDOC: CRMXIF_ORDER_SAVE_M01

Hi,
I am trying to migrate for business activities from legacy to CRM using LSMW(Idoc) and I am not sure how to go about for the following tab in business activities.
1) Relationship : Can I use CRMXIF_ORDER_SAVE_M01 to load this?
    If this is possible which segment should I use and how?
2) Action : Can I use CRMXIF_ORDER_SAVE_M01 to load Action tab and which
   segment?
3) Attachment : I use segment E101CRMXIF_ATTACHMENT_LINK to load the
   attachment but nothing was attached. Anyone knows which fields are required
   to be populated to make it work? (Trying to attached file from local drive)
4) Dates : I use segment E101CRMXIF_APPOINTMENT_XT to update the from
    and to fields in this tab and nothing seems to go in. Any idea why?
    Already populated the flag segment E101CRMXIF_APPOINTMENT_F.
Thanks & Regards,
BB

Hi Vijay,
Here what I would do to analyse this further. Please try to create the saem order directly in CRM with the
same masterdata and test the result.  There might be a partner procredure or accesses which cna interfere.
If this is not helpful please let me know the error message ID and number   you are getting in CRM as well.
Best regards
Christophe

Similar Messages

  • CRMXIF_ORDER_SAVE_M01-IDoc Sample data for sales order in CRM.

    Hi Friends ,
    I am usig the IDoc CRMXIF_ORDER_SAVE_M01,I could able to save the Order in CRM,but the values of partners, Sales area,PO Category,Customer Po details and the material detail are not available in the created Sales order,though I am pasing them.
    Are there any mandatory fields/qualifiers I am missing
    E101CRMXIF_ACTIVITY - for the PO Category
    E101CRMXIF_PARTNER - for the Partners
    E101CRMXIF_ORGMAN - for the Sales Area
    E101CRMXIF_SALES - for the Customer Po details
    E101CRMXIF_BUSTRANS_ITEM - for the Material details
    Can any one share a sample IDoc segment fields with the data.
    I greately appreciate your early help.
    Thanks
    VJ

    Hi Vijay,
    Here what I would do to analyse this further. Please try to create the saem order directly in CRM with the
    same masterdata and test the result.  There might be a partner procredure or accesses which cna interfere.
    If this is not helpful please let me know the error message ID and number   you are getting in CRM as well.
    Best regards
    Christophe

  • User,Customer exits or BADI for IDOC Type - CRMXIF_ORDER_SAVE_M01 in CRM

    Hi Friends,
    We are creating teh EDI Sales order in CRM using below details:
    Basic Type - CRMXIF_ORDER_SAVE_M01
    Message Type - CRMXIF_ORDER_SAVE_M
    Functional Module  - IDOC_INPUT_CRMXIF_ORDER_SAVE_M
    Direction -Inbound
    We need to customize the values for the IDOC,
    Can any one help  us in providing the details on any Customer Exits , User Exits and /or  BADIs for the abov ementioned FM.
    We greatly appreciate your early responce.
    Thanks
    Vijay

    Thanks Naresh, it helped...
    Can you please help on the below:
    1. For outbound Sales order IDoc- CRMXIF_ORDER_SAVE_M01,need BADIs for modification of the IDoc before it gets generated.
    2. Need program to generate output as outbound IDoc- CRMXIF_ORDER_SAVE_M01  for sales order conformation/acknowledgement.
    3. Need a BADI after the EDI Sales order is saved.
    Thanks in advance
    Vijay

  • How to transfer sales order idoc from R/3 to CRM

    Hi,
          I want to generate the sales order idoc in R/3 (ORDERS) and replicates to CRM through XIF adapter.
    The sales documents are not realy existing in R/3. We can only get the information from related biling documents and try to gerenate ORDERS idoc.
    The problem is how to map R/3 idoc to CRM idoc(CRMXIF_ORDER_SAVE_M01). The administration console seems can only send the idocs but not receiving them.
    Thanks,
    Ina

    Hello Yina,
    Can you please answer the questions? I am a little bit confused.
    If you don't have the order in R/3, are you not going to create one when creating the ORDERS IDoc? If yes, then this order will go to CRM automatically if you have the middleware set properly.
    If you are NOT creating any order in R/3 during the IDoc step, Why would you want the order in CRM when you don't have it in R/3?
    Are you not going to keep the middleware between R/3 and CRM open? If you keep it open, the order from CRM will crossover to R/3 - in which case you could have created the order in R/3 in the first step itself !!!
    If you are not keeping the middleware open between R/3 and CRM - I don't know why would you want to keep the orders in CRM, but not in R/3. Is it because of lack of good CRM consultants in the project?
    Easwar Ram
    http://www.parxlns.com

  • Receiver Idoc adapter - issue

    Hi,
    I need to send an IDoc (CRMXIF_ORDER_SAVE_M01) to SAP CRM. The trouble occur when having/wanting to use/send only the segments that apply to release 620.
    In order to do that I have in my receiver IDoc adapter specified the value '620' in the Segment Version part.
    As soon as having done this my IDocs fail in the adapter giving me the following error:
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
      <SAP:P1>Segment 'E101CRMXIF_ACTIVITY_X', segmentnumber '000001' not correct in structure CRMXIF_ORDER_SAVE_M01</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error: Segment 'E101CRMXIF_ACTIVITY_X', segmentnumber '000001' not correct in structure CRMXIF_ORDER_SAVE_M01</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The segment specified in the above corresponds to the very fist sub-segment to the main segment (BUSTRANS). So if removing that segment the error jumps to the next segment (which would then be the first sub-segment).
    Should be noted that I have no trouble sending IDocs if I've either not specified a Segment version (meaning latest version is automatically used) or if I explicitly request the latest by entering the latest segment release (700 in my case).
    <Trace level="1" type="T">Convert one IDoc</Trace>
      <Trace level="2" type="T">Convert Control Record</Trace>
      <Trace level="2" type="T">Convert Data Records</Trace>
      <Trace level="3" type="T">Segment= E101CRMXIF_BUSTRANS</Trace>
      <Trace level="2" type="T">Ignore unknown Segment E101CRMXIF_BUSTRANS</Trace>
      <Trace level="2" type="T">Ignore segment field: APPL_SNAME</Trace>
      <Trace level="2" type="T">Ignore segment field: OBJECT_TASK</Trace>
      <Trace level="2" type="T">Ignore segment field: OBJECT_GUID</Trace>
      <Trace level="2" type="T">Ignore segment field: OBJECT_ID</Trace>
      <Trace level="2" type="T">Ignore segment field: PROCESS_TYPE</Trace>
      <Trace level="2" type="T">Ignore segment field: OBJECT_TYPE</Trace>
      <Trace level="2" type="T">Ignore segment field: POSTING_DATE</Trace>
      <Trace level="2" type="T">Ignore segment field: DESCR_LANGUAGE</Trace>
      <Trace level="2" type="T">Ignore segment field: DESCR_LANGUAGE_ISO</Trace>
      <Trace level="2" type="T">Ignore segment field: LOGICAL_SYSTEM</Trace>
      <Trace level="2" type="T">Ignore segment field: CRM_RELEASE</Trace>
      <Trace level="2" type="T">Ignore segment field: CLIENT</Trace>
      <Trace level="2" type="T">Ignore segment field: CREATED_AT</Trace>
      <Trace level="2" type="T">Ignore segment field: CREATED_BY</Trace>
      <Trace level="2" type="T">Ignore segment field: CHANGED_AT</Trace>
      <Trace level="2" type="T">Ignore segment field: CHANGED_BY</Trace>
      <Trace level="2" type="T">Ignore segment field: LOCAL_TIMEZONE</Trace>
      <Trace level="2" type="T">Ignore segment field: OBJECT_ID_OK</Trace>
      <Trace level="2" type="T">Ignore segment field: HIGHEST_ITEM_NO</Trace>
      <Trace level="2" type="T">Ignore segment field: CRM_CHANGED_AT</Trace>
      <Trace level="2" type="T">Ignore segment field: CALC_SCHEMA</Trace>
      <Trace level="2" type="T">Ignore segment field: SCENARIO</Trace>
      <Trace level="2" type="T">Ignore segment field: VALID_FROM_EXT</Trace>
      <Trace level="2" type="T">Ignore segment field: VERIFY_DATE</Trace>
      <Trace level="3" type="T">Segment= E101CRMXIF_ACTIVITY_X</Trace>
      <Trace level="3" type="T">Segment= E101CRMXIF_ACTIVITY</Trace>
      <Trace level="3" type="T">Segment= E101CRMXIF_ADDRESS</Trace>
      <Trace level="3" type="T">Segment= E103CRMXIF_ADDRESS</Trace>
      <Trace level="3" type="T">Segment= E107CRMXIF_ADDRESS</Trace>
      <Trace level="2" type="T">Ignore unknown Segment E107CRMXIF_ADDRESS</Trace>
      <Trace level="3" type="T">Segment= E101CRMXIF_ADDRESS_F</Trace>
      <Trace level="3" type="T">Segment= E101CRMXIF_ACT_REASON</Trace>
      <Trace level="3" type="T">Segment= E101CRMXIF_ACT_REASON_F</Trace>
    Hope someone can help me so that I can succesfully limit the segment version used when sending Idocs.
    Best regards,
    Daniel

    Hi,
    Thanks for your quick reply.
    The funny thing is that even if a try to post the exact same idoc (except for the EDI part) that I have received from CRM it still fails in XI with the before mentioned error.
    But to answer your questions:
    1. I'm not using java mapping but traditional message mapping (meta-data are up-to-date and structure is newly loaded).
    2. No blank segments are being created
    3. All segments have value 1 or blank (using blank works fine for me, that is when not trying to limit Segment version. But using 1 makes no difference)
    Best Regards,
    Daniel

  • Problem with Context in IDoc

    Hi Experts,
    I have the following source fields:
    1 <Recordset>
          <Record>
             <LineIdentifier>ITEM</LineIdentifier>
             <Data>D1<Data>
          </Record>
          <Record>
             <LineIdentifier>ITEM</LineIdentifier>
             <Data>D2</Data>
          </Record>
    2 <Recordset>
          <Record>
             <LineIdentifier>ITEM</LineIdentifier>
             <Data>D3<Data>
          </Record>
    Target : 2 Idocs to be created!
    For each recordset, an IDoc needs to be created. For Idoc 1, there should be 2 segment of E1EDP01 to be created(coz 2 ITEM) and Idoc 2, there should be 1 segment of E1EDP01).
    I have done it as follows:
    Check if LineIdentifier (context is recordset)  = ITEM then map Record to UDF createItemrecord as follows
    for(int i =0; i < record.length; i++)
         result.addValue(record<i>);
    Then map it to RemoveContext and SplitByValue. The result is Idoc 1 has 1 segment of E1EDP01 (Value D1) and IDoc 2 has 1 segment of E1EDP01 (value D2).
    The expected result is => Idoc1 -> E1EDP01(D1) and E1EDP01(D2) and Idoc 2 -> E1EDP01(D1) and E1EDP01(D3)
    Please explain how this can be achieve.
    thanks a lot.
    Rewards guaranteed!!!
    Regards,
    Tush
    Edited by: Tush Mangad on Aug 14, 2008 8:53 AM

    I have found that XSL mapping does this quite well
    An example to create Sales Order IDocs
    Note that square brackets in the generate statement have been interpreted by this editor as a strikethrough
    Input file
    <?xml version="1.0" encoding="UTF-8"?>
    <input>
         <row>
              <ordernum>ORD1</ordernum>
              <orderitem>ITEM1</orderitem>
              <data>ABC</data>
         </row>
         <row>
              <ordernum>ORD1</ordernum>
              <orderitem>ITEM2</orderitem>
              <data>DEF</data>
         </row>
         <row>
              <ordernum>ORD2</ordernum>
              <orderitem>ITEM1</orderitem>
              <data>GHI</data>
         </row>
    </input>
    XSL
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
         <xsl:output method="xml" indent="yes"/>
         <!-- -->
         <xsl:template match="/">
              <CRMXIF_ORDER_SAVE_M01>
                   <xsl:apply-templates select="//input"/>
                   <!--  -->
              </CRMXIF_ORDER_SAVE_M01>
         </xsl:template>
         <!-- -->
         <xsl:template match="input">
              <xsl:variable name="sales_order" select="//row"/>
              <xsl:for-each select="$sales_order">
                   <xsl:if test="generate-id(.)=generate-id($sales_order[ordernum=current()/ordernum])">
                        <!-- New Order Number -->
                        <xsl:if test="position()!=1">
                             <xsl:text disable-output-escaping="yes">&lt;</xsl:text>/E101CRMXIF_BUSTRANS<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
                             <xsl:text disable-output-escaping="yes">&lt;</xsl:text>/IDOC<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
                        </xsl:if>
                        <xsl:text disable-output-escaping="yes">&lt;</xsl:text>IDOC BEGIN=<xsl:text disable-output-escaping="yes">&quot;</xsl:text>1<xsl:text disable-output-escaping="yes">&quot;&gt;</xsl:text>
                        <EDI_DC40 SEGMENT="1">
                             <TABNAM>EDI_DC40</TABNAM>
                             <MANDT>010</MANDT>
                             <DOCREL>620</DOCREL>
                             <STATUS>30</STATUS>
                             <DIRECT>1</DIRECT>
                             <OUTMOD>2</OUTMOD>
                             <IDOCTYP>CRMXIF_ORDER_SAVE_M01</IDOCTYP>
                             <MESTYP>CRMXIF_ORDER_SAVE_M</MESTYP>
                             <SNDPRT>LS</SNDPRT>
                             <RCVPRT>LS</RCVPRT>
                        </EDI_DC40>
                        <xsl:text disable-output-escaping="yes">&lt;</xsl:text>E101CRMXIF_BUSTRANS SEGMENT=<xsl:text disable-output-escaping="yes">&quot;</xsl:text>1<xsl:text disable-output-escaping="yes">&quot;&gt;</xsl:text>
                        <!-- Build Sales Order BUSTRANS data -->
                        <xsl:call-template name="bustrans_Template">
                             <xsl:with-param name="bustrans" select="current()"/>
                        </xsl:call-template>
                        <!-- Build Sales Order BUSTRANS_ITEM data -->
                        <xsl:call-template name="bustransItem_Template">
                             <xsl:with-param name="bustransItem" select="current()"/>
                        </xsl:call-template>
                   </xsl:if>
                   <!-- -->
                   <!-- Same Order Number - multiple items encountered -->
                   <!-- Build Sales Order BUSTRANS_ITEM data -->
                   <xsl:if test="generate-id(.)!=generate-id($sales_order[ordernum=current()/ordernum])">
                        <xsl:call-template name="bustransItem_Template">
                             <xsl:with-param name="bustransItem" select="current()"/>
                        </xsl:call-template>
                   </xsl:if>
                   <!-- -->
                   <xsl:if test="position()=last()">
                        <xsl:text disable-output-escaping="yes">&lt;</xsl:text>/E101CRMXIF_BUSTRANS<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
                        <xsl:text disable-output-escaping="yes">&lt;</xsl:text>/IDOC<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
                   </xsl:if>
              </xsl:for-each>
         </xsl:template>
         <!-- -->
         <xsl:template name="bustrans_Template">
              <xsl:param name="bustrans"/>
              <APPL_SNAME>CRMXIF_BUSTRANS</APPL_SNAME>
              <!-- Business Transaction: Sales -->
              <E101CRMXIF_SALES_X SEGMENT="1">
                   <APPL_SNAME>CRMXIF_SALES_X</APPL_SNAME>
                   <DATAX>X</DATAX>
                   <E101CRMXIF_SALES SEGMENT="1">
                        <APPL_SNAME>CRMXIF_SALES</APPL_SNAME>
                        <!-- Sold-To Party's External Reference -->
                        <PO_NUMBER_SOLD>
                             <xsl:value-of select="ordernum"/>
                        </PO_NUMBER_SOLD>
                   </E101CRMXIF_SALES>
              </E101CRMXIF_SALES_X>
         </xsl:template>
         <!-- -->
         <xsl:template name="bustransItem_Template">
              <xsl:param name="bustransItem"/>
              <!-- Business Transaction: Item -->
              <E101CRMXIF_BUSTRANS_ITEM SEGMENT="1">
                   <APPL_SNAME>CRMXIF_BUSTRANS_ITEM</APPL_SNAME>
                   <OBJECT_TASK>I</OBJECT_TASK>
                   <!-- Item Number in Document -->
                   <ITEM_NUMBER>
                        <xsl:value-of select="orderitem"/>
                   </ITEM_NUMBER>
                   <!-- Product ID -->
                   <PRODUCT_ID>
                        <xsl:value-of select="data"/>
                   </PRODUCT_ID>
              </E101CRMXIF_BUSTRANS_ITEM>
         </xsl:template>
    </xsl:stylesheet>
    Result
    <?xml version="1.0" encoding="UTF-8"?>
    <CRMXIF_ORDER_SAVE_M01 xmlns:fo="http://www.w3.org/1999/XSL/Format">
         <IDOC BEGIN="1">
              <EDI_DC40 SEGMENT="1">
                   <TABNAM>EDI_DC40</TABNAM>
                   <MANDT>010</MANDT>
                   <DOCREL>620</DOCREL>
                   <STATUS>30</STATUS>
                   <DIRECT>1</DIRECT>
                   <OUTMOD>2</OUTMOD>
                   <IDOCTYP>CRMXIF_ORDER_SAVE_M01</IDOCTYP>
                   <MESTYP>CRMXIF_ORDER_SAVE_M</MESTYP>
                   <SNDPRT>LS</SNDPRT>
                   <RCVPRT>LS</RCVPRT>
              </EDI_DC40>
              <E101CRMXIF_BUSTRANS SEGMENT="1">
                   <APPL_SNAME>CRMXIF_BUSTRANS</APPL_SNAME>
                   <E101CRMXIF_SALES_X SEGMENT="1">
                        <APPL_SNAME>CRMXIF_SALES_X</APPL_SNAME>
                        <DATAX>X</DATAX>
                        <E101CRMXIF_SALES SEGMENT="1">
                             <APPL_SNAME>CRMXIF_SALES</APPL_SNAME>
                             <PO_NUMBER_SOLD>ORD1</PO_NUMBER_SOLD>
                        </E101CRMXIF_SALES>
                   </E101CRMXIF_SALES_X>
                   <E101CRMXIF_BUSTRANS_ITEM SEGMENT="1">
                        <APPL_SNAME>CRMXIF_BUSTRANS_ITEM</APPL_SNAME>
                        <OBJECT_TASK>I</OBJECT_TASK>
                        <ITEM_NUMBER>ITEM1</ITEM_NUMBER>
                        <PRODUCT_ID>ABC</PRODUCT_ID>
                   </E101CRMXIF_BUSTRANS_ITEM>
                   <E101CRMXIF_BUSTRANS_ITEM SEGMENT="1">
                        <APPL_SNAME>CRMXIF_BUSTRANS_ITEM</APPL_SNAME>
                        <OBJECT_TASK>I</OBJECT_TASK>
                        <ITEM_NUMBER>ITEM2</ITEM_NUMBER>
                        <PRODUCT_ID>DEF</PRODUCT_ID>
                   </E101CRMXIF_BUSTRANS_ITEM>
              </E101CRMXIF_BUSTRANS>
         </IDOC>
         <IDOC BEGIN="1">
              <EDI_DC40 SEGMENT="1">
                   <TABNAM>EDI_DC40</TABNAM>
                   <MANDT>010</MANDT>
                   <DOCREL>620</DOCREL>
                   <STATUS>30</STATUS>
                   <DIRECT>1</DIRECT>
                   <OUTMOD>2</OUTMOD>
                   <IDOCTYP>CRMXIF_ORDER_SAVE_M01</IDOCTYP>
                   <MESTYP>CRMXIF_ORDER_SAVE_M</MESTYP>
                   <SNDPRT>LS</SNDPRT>
                   <RCVPRT>LS</RCVPRT>
              </EDI_DC40>
              <E101CRMXIF_BUSTRANS SEGMENT="1">
                   <APPL_SNAME>CRMXIF_BUSTRANS</APPL_SNAME>
                   <E101CRMXIF_SALES_X SEGMENT="1">
                        <APPL_SNAME>CRMXIF_SALES_X</APPL_SNAME>
                        <DATAX>X</DATAX>
                        <E101CRMXIF_SALES SEGMENT="1">
                             <APPL_SNAME>CRMXIF_SALES</APPL_SNAME>
                             <PO_NUMBER_SOLD>ORD2</PO_NUMBER_SOLD>
                        </E101CRMXIF_SALES>
                   </E101CRMXIF_SALES_X>
                   <E101CRMXIF_BUSTRANS_ITEM SEGMENT="1">
                        <APPL_SNAME>CRMXIF_BUSTRANS_ITEM</APPL_SNAME>
                        <OBJECT_TASK>I</OBJECT_TASK>
                        <ITEM_NUMBER>ITEM1</ITEM_NUMBER>
                        <PRODUCT_ID>GHI</PRODUCT_ID>
                   </E101CRMXIF_BUSTRANS_ITEM>
              </E101CRMXIF_BUSTRANS>
         </IDOC>
    </CRMXIF_ORDER_SAVE_M01>

  • Update service order fileds using exits or BADI

    Hi,
    while creating service order some fileds need to be populated like INGPR, ILART,KOSTL etc. When I create service order these fileds should be populated automatically but this is not happening . Kindly suggest anu BADI or user exit
    Regards,
    Ram

    Thanks Naresh, it helped...
    Can you please help on the below:
    1. For outbound Sales order IDoc- CRMXIF_ORDER_SAVE_M01,need BADIs for modification of the IDoc before it gets generated.
    2. Need program to generate output as outbound IDoc- CRMXIF_ORDER_SAVE_M01  for sales order conformation/acknowledgement.
    3. Need a BADI after the EDI Sales order is saved.
    Thanks in advance
    Vijay

  • Bapi enhancement using user/customer exits

    It is necessary to have access to all calls and purchase orders to be able to maintain the control of the ERS procedure centrally in the TBB system for the functionality u201CBestellselektionu201D [purchase order selection],. Without delay, all necessary purchase order and call data is provided for the table 'ERS'  u201Crealtimeu201D via the interface from SRM. It must be ensured that this table is always filled for SRM scopes synchronous with the SAP standard tables (EKKO, purchase order header data, EKPO purchase order item data, EKAN vendor address, EKPA partner roles etc.). For this purpose, efforts are made to load this table during each creation or change of a purchase order. On the ERP side, the u201EBAPI_PO_CREATE1u201C, which is called by SRM via RFC in the ERP, serves the purpose of creating purchase orders. The BAPI_PO_CHANGE is used for changes in the purchase orders. These BAPIs can be enhanced by the Customer exits EXIT_SAPL2012_003 respective EXIT_SAPL2012_004. With the help of the exits, a function module is called, which then provides the customer-specific fields of the table 'ERS'
    i want to enhance bapi using customer /user exit
    so how shall i proceed with this requirement ??
    how sahll i code the include for this req???
    i m using the functions ::
    1] EXIT_SAPL2012_003
    2] EXIT_SAPL2012_004
    so how can i enhance the bapi using user exits..
    I want to transfer the data from SRM system to TBB system with the customizzed table filled with this data at ERP ie TBB side .. so plz reply how shall i proceed ???

    Thanks Naresh, it helped...
    Can you please help on the below:
    1. For outbound Sales order IDoc- CRMXIF_ORDER_SAVE_M01,need BADIs for modification of the IDoc before it gets generated.
    2. Need program to generate output as outbound IDoc- CRMXIF_ORDER_SAVE_M01  for sales order conformation/acknowledgement.
    3. Need a BADI after the EDI Sales order is saved.
    Thanks in advance
    Vijay

  • PI  AAE = IDOC control data to ECC

    Hi All,
    I am using the JAVA IDOC receiver adapter to send idoc's to CRM as a test to just send idocs
    Need help on the control records.
    Things done
    1. Passing data manually.
    2. Idoc begin =1 and all segments = 1
    3. Created Logical system in WE20 in CRM and created partner profile with inbound parameters.
    4. Checked business system in ID and it reflects the logical system ; albiet same as the one created in ECC.
    5. Created a dummy partner profile in ECC to act as XI sender
    Now, can tyou please guide me how to fill the fields in EDIDC_40?
    <EDI_DC40 SEGMENT="1">
             <TABNAM>EDI_DC40</TABNAM>
             <MANDT>100</MANDT>
             <DOCNUM>Should i give?</DOCNUM>
             <DOCREL>1</DOCREL>
             <STATUS>1</STATUS>
             <DIRECT>2</DIRECT>
             <OUTMOD>1</OUTMOD>
             <EXPRSS>1</EXPRSS>
             <TEST>1</TEST>
             <IDOCTYP>CRMXIF_ORDER_SAVE_M01</IDOCTYP>
             <CIMTYP>1</CIMTYP>
             <MESTYP>CRMXIF_ORDER_SAVE_M</MESTYP>
             <MESCOD>1</MESCOD>
             <MESFCT>1</MESFCT>
             <STD>1</STD>
             <STDVRS>1</STDVRS>
             <STDMES>1</STDMES>
             <SNDPOR>SAPXX1 ( DOne as part of document available- XX1 SID of pi)</SNDPOR>
             <SNDPRT>LS</SNDPRT>
             <SNDPFC>1</SNDPFC>
             <SNDPRN>XX1CLNT001 ( dUMMY CREATED IN CRM</SNDPRN>
             <SNDSAD>1</SNDSAD>
             <SNDLAD>1</SNDLAD>
             <RCVPOR>SAPXX1_SBX ( Port created in CRM)</RCVPOR>
             <RCVPRT>LS</RCVPRT>
             <RCVPFC>1</RCVPFC>
             <RCVPRN>CX1CLNT100 ( Partner profile created and inbound parameter assigned; also reflecting in the business system)</RCVPRN>
             <RCVSAD>1</RCVSAD>
             <RCVLAD>1</RCVLAD>
             <CREDAT>20140303<CREDAT/>
             <CRETIM>191016<CRETIM/>
             <REFINT/>1<REFINT/>
             <REFGRP>1<REFGRP/>
             <REFMES><REFMES/>
             <ARCKEY>1<ARCKEY/>
             <SERIAL>1<SERIAL/>
          </EDI_DC40>
    I ahve something urgent to be delivered and need your help very badly

    Hi All,
    Exception caught by adapter framework: Sender Partner Number is not available
    This is the error i get when i try to process my idoc for the receiver AAE IDOC adapter
    Which value do i put in here and here is the config i have made.
    1. WE20 in ECC with inbound parameters.
    2. Logical system field in SLD filled for the business system i am using.
    3. ICO config with Sender and receiver business components checked with the respective business systems.
    4. I have also noticed that the sender business system in ID , where you check for adapter specific attributes is blank even though i have provided a logical system in SLD for the BS.Tried Clear SLD cache but still not reflecting. COULD THIS BE THE PROBLEM?
    Kindly help as even if it fails i have to send over an idoc as part of my POC and i am dead late .

  • Opportunities Load  via IDOC in CRM

    Hi Guys
    I am trying to load opportunity via IDOCS. I am using the message type CRMXIF_ORDER_SAVE_M01.
    The only problem I am facing is to get a reference lead ID in the Opprtunity.
    In easy access the reference lead number is inputted on the details page tab of the opportunity. I am want to load 10,000 opportunities via idoc with each having a reference lead ID.
    I am not finding a relevant segment where in the above mentioned IDOC type where I can input the lead number. The Lead ID field name in Easy access is OBJECT_ID3.
    Please let me know how I can input the reference Lead ID in an opportunity using IDOCS?

    You could get a answer for your query faster in CRM forum.
    Regards,
    Rajesh Banka

  • Opportunities Load via IDOCS in CRM

    Hi Guys
    I am trying to load opportunity via IDOCS. I am using the message type CRMXIF_ORDER_SAVE_M01.
    The only problem I am facing is to get a reference lead ID in the Opprtunity.
    In easy access the reference lead number is inputted on the details page tab of the opportunity. I am want to load 10,000 opportunities via idoc with each having a reference lead ID.
    I am not finding a relevant segment where in the above mentioned IDOC type where I can input the lead number. The Lead ID field name in Easy access is OBJECT_ID3.
    Please let me know how I can input the reference Lead ID in an opportunity using IDOCS?

    You could get a answer for your query faster in CRM forum.
    Regards,
    Rajesh Banka

  • EDI Sales order creation in CRM through inbound IDocs from non SAP system

    Hi Friends,
    We are having a scenario where we need to create a Sales Order in CRM for a B2B EDI transmission through IDoc. Customer is sending the EDI Transmission of his Sales order , which is passing through PI and then reaching to CRM to create a Sales order.This is the design we need to follow to make it happen,we are initially trying to create an order using WE19 for testing and the details are:
    Basic Type - CRMXIF_ORDER_SAVE_M01
    Message Type - CRMXIF_ORDER_SAVE_M
    Functional Module - APPL_IDOC_INPUTI which is automatically giving a status text as " Function module CRMXIF_ORDER_SAVE has been called successfully", but no sales order is saved in CRM.
    We are getting idocs posted successfully with status 53 with the statuses sequence 74, 50 ,64, 62 and 53.Our issue is inspire of the Idoc having status 53 and the FM called successfully we are not seeing the sales order created in CRM.
    We are stuck here no sales order is created in CRM.
    Are we missing any config. - set up  - Prerequisit  -  Any OSS note need to be applied  --  ANy middle ware setting ?
    Any help will be greatly appreciated.
    Thanks
    Vijay

    Hi Christophe,
    Awesome!!!!!! it worked, You are the best.
    I could able to create a sales order in CRM,but below are the valid data I passed in the respective segment fields.Except for first 3 values rest all did not get reflected in teh Sales order.I feel i am missing some qualifiers.
    Can you kindly share the  IDoc data to be passed in...along with respective segments and fields:
    Segment                                                 Field
    E101CRMXIF_BUSTRANS     OBJECT_TASK         
    E101CRMXIF_BUSTRANS     PROCESS_TYPE
    E101CRMXIF_BUSTRANS     POSTING_DATE
    E101CRMXIF_PARTNER                          PARTNER_NO
    E101CRMXIF_PARTNER                RELATION_PARTNER_NO
    E101CRMXIF_ORGMAN         SALES_ORG
    E101CRMXIF_ORGMAN          DIS_CHANNEL
    E101CRMXIF_ORGMAN         DIVISION
    E101CRMXIF_SALES             PO_NUMBER_SOLD
    E101CRMXIF_SALES            YOUR_REF_SOLD
    E101CRMXIF_SALES            PO_NUMBER_SHIP
    E101CRMXIF_BUSTRANS_ITEM     ITEM_NUMBER
    E101CRMXIF_BUSTRANS_ITEM     ITEM_TYPE
    E101CRMXIF_BUSTRANS_ITEM     ORDERED_PRODUCT
    E101CRMXIF_PRODUCT_I     PROCESS_QTY_UNIT
    E101CRMXIF_PRODUCT_I     PROCESS_QTY_UNIT_ISO
    E101CRMXIF_PRODUCT_I     BASE_QTY_UNIT
    E101CRMXIF_PRODUCT_I     BASE_QTY_UNIT_ISO
    E101CRMXIF_SCHEDLIN_I     ORDER_QTY
    Thanks a ton in advance .
    Vijay

  • Which IDOC segments need to be filled for message type CRMXIF_ORDER_SAVE_M

    Hi ,
    I am working on data migration to CRM7.0 system.I am using LSMW for creating ISU Contracts using CRMXIF_ORDER_SAVE_M message type and CRMXIF_ORDER_SAVE_M01 IDOC kindly help me in what all segments needs to be filled for creating ISU contract in CRM system.
    Kindly share if there are any documents related to data migration into CRM system for IS - Utilities.I need to migrate  u201CBusiness Partnersu201D, u201DISU Contract Accountsu201D, u201DConnection Objectsu201D, u201DPODu201D & u201CContractsu201D  to CRM 7.0 .
    Also I need to migrate Customer Interaction Records, Business Activities, Service requests and other information such as u201CProspectsu201D, u201CMarketing Attributesu201D to CRM 7.0.
    Kindly help me in this as I am not able to find any thing from web.
    Regards,
    Suresh.

    Hello,
    I'm not sure you're taking the best approch.
    Usually when you need to migrate ISU contracts into an ISU-CRM integrated system, you first migrate everything you need in ISU through the VERY powerful migration workbench available (transaction code EMIGALL), and then you replicate your data to CRM via INITIAL download.
    That's definitely the strategy that will give you the best performance, and less work.
    Kind regards,
    Nicolas Busson.

  • BADI or Enhancement or User Exit for CRMXIF_ORDER_SAVE _M01 IDOC for SO

    HI ,
    Scenario : Outbound
    When Ever a Sales order Creates in CRM it will go to ECC and External Party using PI.
    We are using IDOC as CRMXIF_ORDER_SAVE_M01 for the Data exchange. There is some logic to be written for the External IDOC.
    We found CRM_ORDER_MAP BADI for the writting the logic for the Segements and fields. But this logic is reflecting in ECC and External IDOC.
    Can we can any BADI or User Exit to write the logic to reflect only External IDOC not for ECC.
    Thanks
    Sim

    Help need !!!

  • Idoc CRMXIF_CMSCON_SAVE_M01

    Hi everyone,
    Has someone used the idoc CRMXIF_CMSCON_SAVE_M01 to create a business transaction in CRM ?
    Or any other idoc to created a business transaction in CRM ?
    Or how do you create transaction in CRM with data coming for an non R/3 system ?
    Any experience would help me. Thanks
    AUSSIE

    Hi,
    I have looked into the issue. I have tried to answer all your queries one by one:
    1st Query - Has someone used the idoc CRMXIF_CMSCON_SAVE_M01 to create a business transaction in CRM ?
    I have not used this particular Idoc for creating Business transaction in the CRM System. But i have experience in using other Idocs which i have mentioned below for the creation of business transaction in CRM. If you have any particular query regarding this, or you encounter any error, let me know so that i can help you out.
    2nd Query - any other idoc to created a business transaction in CRM ?
    There are some other Idocs available to create the Business transactions in CRM as follows:
    CRMXIF_ORDER_SAVE_M01
    CRMXIF_ORDER_SAVE_M02
    CRMXIF_ORDER_SAVE_U01
    3rd Query - how do you create transaction in CRM with data coming for an non R/3 system ?
    There are quite few means by which you can do that when you want to create transaction in CRM
    for a non R/3 system.
    If you do not want synchronisation with the other non R/3 system, then you can use LSMW transaction to extract data. Use the Idoc input method to get data from the flat files extracted from non R/3 systems.
    I hope this helps.
    Regards,
    Venkat

Maybe you are looking for

  • S12 battery life started low

    Hi, I just bought an Ideapad S12 because of the publicity it had for long battery life: and it said around 9 hours... I fully charged and uncharged my battery for several cycles, but it still has only 98% efficiency at 3 hours maximum! After a few mo

  • Severe Instability

    I have a 975x PUE MoBo 2x pc6400 ram 1x Radeon x1900xt 1x e6400 cpu 2x36 sata raptor 1x160 sata normal hdd The AX-500F is a power supply optimized for high end PC's and complies with Intel's ATX12V version 2.0. The continuous output power fulfils gam

  • Unable to update Arrival set in R12 OM

    HI , I am not able to update the arrival set field in sales order line level after copy the order in R12. Error: A line can belong to either an arrival set or ship set,but it cannot belong to both. Any idea please Regards, Khadar

  • Firefox crashes, even in safe mode, under certain circumstances.

    I'm using up-to-date Ubuntu Linux, other details below. Firefox crashes, in or out of safe mode, when I do any of the following: * right click (crashes on-click); * view flash media (crashes once plugin container opens); * try to use any of the file/

  • Vuze not working after installing Yosemite

    I did an upgrade from Mountain Lion to yosemite today after months of putting it off.  Everything went great, mail is working etc and all looking good.  Except Vuze - it will not open at all.  i kept getting a message to install the latest Java, whic