Fields from ECC

Hi,
What would be the logic in the view if I have to fetch fields from ECC and display in the assignment block of the CRM.
regards,
Murali

Hi Murali,
You have to define an RFC Function Module in your ECC which will retrieve the data from ECC.
Then call this RFC from your CRM view.
You can take a look at this blog :
http://wiki.sdn.sap.com/wiki/display/CRM/Howtodisplayaz-tableinanassignmentblock
although not directly related to your topic, you can use it to get an idea of the call to ERP FM.
Hope this helps.
Regards,
Nisha

Similar Messages

  • How to pass PO customer fields from ECC to SUS ?

    Hi Gurus,
    We defined a customer PO field at ECC side and want to pass it to SUS and diaplay it in SUS PO, my question is, how to pass PO customer fields from ECC to SUS?
    Please advise.
    Thanks and best regards
    jack

    Hi jackytam  ,
    /people/yeusheng.teo/blog/2008/01/05/ordering-unit-vs-order-pricing-unit-in-srm-sus
    you make get some pointers
    regards,
    Neelima

  • Mapping of field from ECC to CRM - DChain-spec. status field

    Hello,
    In my current assignment we will be downloading all the master data from ECC to CRM. For a particular requirement, we need a field in COMMPR01 in CRM from material master MM03 in ECC.
    Field Location: MM03> sales:sales org1>DChain-spec. status
    Please find below technical infomation for that field ( ECC)
    Field Data:
    Table Name: MVKE
    Table category: Transparent table
    Field Name: VMSTA
    Data Element: VMSTA
    Field Description for Batch Input
    Screen Field: MVKE-VMSTA
    Program Name: SAPLMGMM
    Screen Number: 4000
    Please help me in locating the same field in CRM (COMMPR01)
    Regards,
    Vipul

    Hi Vipul
    Please implement note 1494159. This should doanload this field as well then.
    Best regards
    Christophe

  • Transfer of fields from ECC to APO

    Hi All,
    I have a requirement where in I need to implement logic for Repl. Lead time as follows -
         1. check if the purchase info record exists
              if exists, then check if the current date is between lifba and lifbi of EINA table
                   if exists then pass EINE-APLFZ to AT101 field of cif_matloc
         2. if purchase info record does not exist, then pass the lead time from Material Master data.
    I have done the coding in Exti_SAPLCMAT_001 (ZXCIFU01).
    the issue is, its not checking for the existence of info record, directly the lead time is being taken from material master data.
    Pls help...this is an urgent issue.
    Thanks & Regards,
    SriLalitha. 

    Hi SriLalitha,
    I have loaded a document explaining how you can set defaults values in APO MAT1 when the material is CIFfed. See this document, here you have the ABAP code:
    http://scn.sap.com/docs/DOC-56755
    This need to be done in APO, thru BAdI: BADI SMOD_APOCF005. In the ABAP code in APO you will need to use function: 'RFC_READ_TABLE' in order to get the details from table EINE. In my example, I am doing something similar checking values from tables MARA and MARC.
    Thanks and Regards,
    Mariano

  • Replicating Custom Fields for Products in CRM  from ECC

    Hi All,
    I am having difficulty in replicating SAP standard field values from ECC to custom fields for products in CRM. This is what i did:
    1. I created a new settype(ZMASTER_INFO) with a single attribute(ZIND_STD) and added
        this new settype to MAT_HAWA. (As all our materials fall under this material type).
    2. I am looking to map SAP standard field from ECC to this custom field of mine.
        I wrote the code in CRM BADI 
        'ZPRODUCT_CUSTOMER2->MAP_R3_TO_CRM_MATERIAL' with the following code:
    DATA: ls_ZMASTER_INFO TYPE ZMASTER_INFO_maintain.
    DATA: ls_category_bdoc       TYPE COMT_PROD_CAT_REL_MAINTAIN,
          ls_category            TYPE COMT_PROD_CAT_REL,
          lt_categories          TYPE COMT_PROD_CAT_REL_TAB,
          ls_settype             TYPE COMT_settype_ext,
          ls_cat_settype_rel     TYPE COMT_CAT_FRAG_REL,
          lt_cat_settype_rel     TYPE COMT_CAT_FRAG_REL_TAB,
          lt_cat_settype_rel_all TYPE COMT_CAT_FRAG_REL_TAB.
    LOOP AT lt_cat_settype_rel_all INTO ls_cat_settype_rel.
          CALL FUNCTION 'COM_SETTYPE_READ_SINGLE'
            EXPORTING
              IV_SETTYPE_GUID         = ls_cat_settype_rel-frgtype_guid
            IMPORTING
              ES_SETTYPE              = ls_settype
           EXCEPTIONS
             NOT_FOUND               = 1
             NO_IMPORT_VALUES        = 2
             NO_TEXT_FOUND           = 3 .
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
      CASE ls_settype-frgtype_id.
          WHEN 'ZMASTER_INFO'.
          ls_ZMASTER_INFO-relation-owner = 'X'.
          ls_ZMASTER_INFO-relation-logsys = cs_product_bdoc-header-com_product-logsys.
          ls_ZMASTER_INFO-data-ZZ0010 = is_mara-STD_DESCR.
          ls_ZMASTER_INFO-DATA_X-ZZ0010 = 'X'.
          APPEND ls_ZMASTER_INFO TO cs_product_bdoc-data-ZMASTER_INFO.
          APPEND ls_settype-FRGTYPE_GUID TO cs_product_bdoc-data-MNT_SETTYPE.
       ENDCASE.
    ENDLOOP.
    Since in ECC i am not having any custom fields i did not write any code in ECC for TPS34 and TBE24. I just wrote this BADI in CRM and using the field S_MARA-STD_DESCR.
    I am not sure if i need to write the code in ECC. COUld anyone please confirm if i need the code in ECC?
    Also in the CRM BADI, lt_cat_settype_rel_all is EMPTY. Not sure how this gets its value.
    Could anyone please suggest if i am missing anything here? Any help is appreciated.
    Thanks,
    Karuna.

    Hi Karuna,
    One more solution is to change the BDoc data content before it hit the Database.
    this can be done in badi: Data_Exchange_badi (if u dont find this try with following search string: xchange)
    In the above mention badi you will find a method which is used to populated the contend jst after bdoc in CRM is being populated by R/3 data.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Transfer product division from ECC to APO

    Hi Experts,
    To transfer product division field from ECC to APO, I have made changes in FM EXIT_SAPLCMAT_001 to add entry in table OT_CIF_MATKEYCUS. And it is populating record correctly.I have added a field for product division in table /SAPAPO/MATKEY.but product division field value is not transfered to APO side. Is there any change I need to do at APO side ??

    Hi,
    have you checked documentation for FM EXIT_SAPLCMAT_001? It's written there that you need to implement user exit APOCF005 in SAP APO.
    Cheers

  • Need to Populate Material Type from ECC to APO Product Master

    Hi All,
    I need to update the material type field from ECC to APO.
    I am using the userexit CIFMAT01 and component EXIT_SAPLCMAT_001.
    I need to extract field MTART from MARA table and need to Populate it in APO Product master.
    In APO i am using the ATT01 field of table /SAPAPO/MATKEY.
    But this does not work the data of material type is not getting populated in APO.
    We have tried to use a break point in the user exit and while executing the transaction CFM2 it does not stop at the break point.
    Can anyonwe guide me as to how to go about in implemeting this user exit.
    Regards
    Nitin

    Hi Nitin,
           Make sure that u r pass the material type as a below :
    CT_CIF_MATKEY-ATT01 = Pass the Material Type.
    CIF_MATKYX -ATT01      = 'X'.
    Check the below thread to debug the CIF queue:
    debugging CIF user exit
    Regards,
    Siva.

  • Sales document created from CRM 4.0 needs to be updated from ECC 6.0

    Hello experts,
    When I create one sales document from CRM 4.0 this document is moved to ECC 6.0. But updating sales document from ECC 6.0 I receive message
                 "Process the original document in the CRM system"
    and updates are not moved to CRM.
    How could I avoid this ?
    Usually I need update some fields from ECC 6.0 and move the information to CRM.
    Regards
    Juan

    Hi Juan,
    Please check the Note 541113 - Data exchange scenarios for orders (CRM-R/3) in which as per your requirement its the scenario Z i.e you want some data to flow from ECC to CRM for which below are the settings that needs to be done to make it effective.
    Activation of the scenario in table CRMPAROLTP of the R/3 plug-in:
    PARNAME:   CRM_SCENARIO
    PARNAME2:  UPLOAD_ORDER
    PARVAL1:   Z
    Go to SM30 and give the table name and put in the above values.
    And if you want to make amutual change situation then proceed as follows:
    Settings in the CRM Server: Table SMOFPARSFA
               Key: R3A_SALES
               Parameter Name 1: INT_CHANGE_ORDER
               Parameter Name 2: <sales document type> , for example TA
               Parameter Value 1: Z
    Settings in the R/3 system: table CRMPAROLTP
               Parameter Name: CRM_SCENARIO
               Parameter Name 2: INT_CHANGE_ORDER
               Parameter Name 3: <sales document type> , for example TA
               Parameter Value: Z
    Hope it helps.
    Regards
    Sidd

  • Urgent : transfer of custom fields of a sales order from ECC to CRM

    Hi,
    We have a sales order which will be created in CRM and replicated to ECC.
    We have added some custom fields in table VBAK, which we are displaying in the sales order additional data tab B. When the user saves the sales order,we need to transfer the fields back to CRM.
    We are aware of the the BADI CRM_DATAEXCHG_BADI.
    Also i think we need to conisder the structure BAPIMTCS but not sure how exactly we can use it.
    On the CRM side these Z fields exist in the structure BAD_BUS_TRANSN_MESSAGE-CUSTOMER_H of the method CRM_DATAEXCH_R3D_MBDOC_FILL.
    Can someone guidde us on how exactly do we transfer the value from ECC VBAK-Z* to CRM  value BAD_BUS_TRANSN_MESSAGE-CUSTOMER_H.

    Hi Sameer,
    Thanks for the document.
    I tried doing the same steps recommended(in the document it was for a customer). However i dont think my values from the ECC side are being passed to the CRM side.
    I created a new Z structure and passed it via BAPIMTCS, but on the CRM side when i tired retrieving my Z structure,i dont think the system found it.
    There are 2 BAPITCMS structures, t_table_info and the other t_bapistruc.
    Do you know which one we need to fill up?
    Thanks,
    Neil.

  • Replication of custom z fields from CRM to ECC

    Hello,
    I have created custom fields in CRM - Order using EEWB.  Similarly I have created custom fields in ECC - VBAK.  I want to replicate these custom fields from CRM to ECC.  Somebody had suggested to use CRM_DATAEXCHG_BADI and method -  CRM_DATAEXCHG_AFTER_BAPI_FILL.  Can anybody give me a sample code of how to populate table - CT_BAPIPAREX within this method? 
    Process followed was -
    1. ECC - Extend VBAK with zfld1
    2. ECC - Extend BAPE_VBAK, BAPE_VBAKX with zfld1
    3. CRM - Add zdoc1 using EEWB
    4. CRM -  Extend BAPE_VBAK, BAPE_VBAKX with zfld1 (same as ECC?)
    5. CRM -  CRM_DATAEXCHG_BADI and method -  CRM_DATAEXCHG_AFTER_BAPI_FILL. - This is where I need to map zdoc1 of CRM to zfld1 of ECC.  And then populate CT_BAPIIPAREX.  This is where I am stuck. 
    Thanks!

    HI,
    If you have added field in EEWB chosen R/3 Adapter, then it will also enhance the Exchange structures and thus i guess CRM_DATAXCHange_badi shud contain in one of its changing parameters
    The following blogs gives a good idea in the similar lines.
    /people/vikash.krishna/blog/2009/07/21/exchange-ecc-customer-master-standard-field-with-the-crm-z-fields-ecc--crm
    /people/vikash.krishna/blog/2009/07/14/crm-70-how-to--4-adding-custom-fields-with-the-new-application-enhancement-tool-aet
    Revert if you need further help.
    -Satish

  • What are the steps to send sales order custom field from CRM to ECC

    Hi Xperts,
      We have created a custom field in sales order [ VBAK] and successfully replicate its value from ECC to CRM. But while doing the enhancement to replicate the field value from CRM to ECC [ When the SO is created in CRM ] we are not able to do so.
    We used a FM in CRM0_300, but while replicating the SO from CRM to R/3 it is not getting called.
    Please help us by providing the steps to do the full enhancement to replicate the custom field of SO from CRM to ECC.
    Thanks in Advance.

    Hi Anjaneyulu,
    We are faced with a similar situation as you.
    Here is our scenario with the steps that we performed so far:
    1.  We have added a few custom fields in CRM 7.0 (Ehp1) using AET.
         The BDoc BUS_TRANS_MSG has been automatically extended with these custom fields.
    2.  On ECC side also, same custom fields have been added to VBAK and VBAP, using APPEND STRUCTURE. Fields were added to ADDITIONAL DATA TAB B in VA01 / VA02 transactions.
    3. Extended BAPI structures BAPISDITM and BAPISDITMX in both CRM and R/3 Side.
    4. As mentioned in the note 1053817, we have implemented BADI CRM_DATAEXCHG_BADI -> Method CRM_DATAEXCH_AFTER_BAPI_FILL in CRM (mapped fields from BDOC to BAPI structures)
    5. In the above note, for R/3 BAPI to R/3 API they have given to implement user exit USEREXIT_MOVE_FIELD_TO_VBAP which we found in MV45AFZZ. But in this we are unable to find BAPI Structure to map.
    Our issue is, when a sales order is created in CRM, it is getting replicated on ECC. But, only standard fields are getting replicated. The custom fields that we have added are remaining empty on ECC side.
    In CRM --> txn SMW01, we can see that the BDOC is populated with custom fields also.
    Could you let us know if your issue is solved completely. Are you able to see the value of custom field, in ECC? Did you use AET to add fields in CRM.
    Could you please give us the steps that you have done.

  • Extracting Values of a Field from a Database Table in SAP ECC System

    Hi,
    I downloaded Extracting Values of a Field from a Database Table in SAP ECC System Using MII 12.0
    senario from sdn. I'm trying to do that senario in MII 12.05. But I have problem with section 6 in page 7 (you can supply senario from sdn)
    "6- Under the loop of Repeater, use action u2018Rowu2019 to append just the string part of the WA which will display only values for field u2018Batchu2019"
    I did not find WA elemen in Output element of Repeater_0
    How can I create WA element?
    Thanks.

    Cemil,
    Set up a SAP JCo Interface action block.  Use the RFC name RFC_READ_TABLE.
    In the link editor map the table to "MARA", set RowCount to something small (20 is good sample size) and create an xml transaction property named FIELDS and copy the following into it:
    <?xml version="1.0" encoding="UTF-8"?><FIELDS>
          <item>
            <FIELDNAME>MATNR</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>MTART</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>BSTME</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>XCHPF</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>DATAB</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
        </FIELDS>
    Then link the Transaction.FIELDS to SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/TABLES/FIELDS}.  You may run into problems with two other fields and optionally they can be removed (set link type to remove xml).  I usually remove them initially for testing.  The two fields are:
    SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/INPUT/NO_DATA}
    SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/INPUT/DELIMITER} (or you can set this to something like a semicolon,";" or tilda,"~".  I find it easier to caclulate position by length, but that is my own idiosyncrasy.)
    Once you get this one working, we can explore how to do filtering on the dataset.  Your output should be something like this:
    <?xml version="1.0" encoding="utf-8"?>
    <RFC_READ_TABLE>
      <INPUT>
        <DELIMITER />
        <NO_DATA />
        <QUERY_TABLE>MARA</QUERY_TABLE>
        <ROWCOUNT>20</ROWCOUNT>
        <ROWSKIPS>0</ROWSKIPS>
      </INPUT>
      <TABLES>
        <DATA>
          <item>
            <WA>000000000000000023ROH 00000000</WA>
          </item>
          <item>
            <WA>000000000000000038HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000043HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000058HIBE 00000000</WA>
          </item>
          <item>
            <WA>000000000000000059HIBE 00000000</WA>
          </item>
          <item>
            <WA>000000000000000068FHMI 00000000</WA>
          </item>
          <item>
            <WA>000000000000000078DIEN 00000000</WA>
          </item>
          <item>
            <WA>000000000000000088FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000089FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000098HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000170NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000178NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000188NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000288HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000358HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000359HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000521HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000578FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000597HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000598VERP 00000000</WA>
          </item>
        </DATA>
        <FIELDS>
          <item>
            <FIELDNAME>MATNR</FIELDNAME>
            <OFFSET>000000</OFFSET>
            <LENGTH>000018</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Material Number</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>MTART</FIELDNAME>
            <OFFSET>000018</OFFSET>
            <LENGTH>000004</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Material Type</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>BSTME</FIELDNAME>
            <OFFSET>000022</OFFSET>
            <LENGTH>000003</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Purchase Order Unit of Measure</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>XCHPF</FIELDNAME>
            <OFFSET>000025</OFFSET>
            <LENGTH>000001</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Batch management requirement indicator</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>DATAB</FIELDNAME>
            <OFFSET>000026</OFFSET>
            <LENGTH>000008</LENGTH>
            <TYPE>D</TYPE>
            <FIELDTEXT>Valid-From Date</FIELDTEXT>
          </item>
        </FIELDS>
        <OPTIONS />
      </TABLES>
    </RFC_READ_TABLE>
    Add a repeater sourced on:
    SAP_JCo_Interface_0.Response{/RFC_READ_TABLE/TABLES/DATA/item}
    Link your repeater output to a tracer with this:
    Repeater_0.Output{/item/WA}
    What you will see in each tracer message is a single line of data with all the fields contents concatenated together.  You can look up what each field in the string represents by the length of the field as returned in the Response segment of the RFC_READ_TABLE rfc.  Then you can parse out the data you are interested in.
    Give this a try and let me know how you succeeded.
    By the way, I could not find the scenario you referred to.  Can you post a link?
    Regards,
    Mike
    Edited by: Michael Appleby on Jan 12, 2009 5:16 PM

  • Transfer field Value from ECC to APO

    Hi,
    I want to transfer a field from material master to APO. For this i am, using a CIF user exit... The field is not available in the ECC side (EXIT_SAPLCMAT_001), but i found a user exit on APO which has this field (EXIT_SAPMMDUSER_005) which i m not sure if it is called.. please help...

    Hi,
    Could you please send the details..What field you are checking..Field name ?
    You can explore the below 2 table in ECC EXIT EXIT_SAPLCMAT_001. It has the option for expansion.
    OT_CIF_MATKEYCUS
    OT_CIF_MATLOCCUS
    Thanks
    RKS

  • Copying custom fields from SRM PO to ECC PO standard fields

    Hi All,
    There are three custom fields which are added in SRM SC and PO at item level. My requirement is to map these three custom fields to three standard fields in ECC PO. Can any one please explain me, how the replication of SRM PO to ECC PO happens? I could find a function module "B470_PO_CREATE". Can any one tell me through which transaction or program this FM will be triggered.
    Any useful answer will be rewarded
    Thanks,
    Deepthi

    Hi Kumar,
    Sorry for the late reply. I have the solution for this question.
    For copying the custom fields code is to be written in the BADI "BBP_ECS_PO_OUT_BADI", method "BBP_B46B_PO_OUTBOUND". This BADI has both ECC PO fields and all the SRM fields(including the custom fields added in PO and SC) in separate structures.IS_HEADER, IT_ITEM etc has all the SRM PO values. CS_BAPI_POHEADER, CT_BAPI_POITEM etc has ECC PO values.
    There are two function modules, BBP_PD_PO_TRANSFER_EXEC and BBP_PD_PO_TRANSFER_EXEC_V2. Execute these function modules with the GUID for PO after PO change or create in SRM system. Once the FM is executed the BADI will be triggered and the additional functionality carried out and PO replication from SRM to ECC happens.
    Hope this helps you. Please let me know if you need any more information.
    Thanks,
    Deepthi

  • Fetch field values in GTS system from ECC and missing field values

    Hi,
    I am developing Adobe Form "Certificate of Origin" in GTS (Global Trade Services) system. I require to get Customer PO and Country of Origin from ECC system for each line of Invoice (VBKD-BSTKD and EIPO-HERKL respectively). Pls let me know, how can I get these values from ECC to my Adobe Form?
    Also for the "Commercial Invoice" form, value of below fields are not coming in GTS. Pls tell me, if there is any another way I can get data for these fields ?
    1. Tax Number
    2. Tracking Number
    3. Estimated Export Date
    4. Payment terms
    5. Carrier
    6. Package count
    7. Net wt and Gross wt.
    Thanks !!!

    Hi Sri,
    you must align SD0C level.
    Go to SPRO --> SAP Global Trade Services --> SAP Customs Management --> Document Structure --> Assignment of Item Categories from Feeder Systems --> Assign Item Category at Feeder System Group Level
    For Example: SD0C      TAN     CLPOS Standart Item
    When you are done, just re-execute LUW in SM58.
    Regards,
    Gabriel.

Maybe you are looking for