Conversion of Sales Org from CRM to ECC standard.

Hi Experts,
Currently in CRM, the Sales Organizations are contained in  a 15 character field. In ECC however it is a 4 character field. Is there any way to convert the CRM sales org id to the ECC sales org field ???
Thanks & Regards,
Aditya

Hi Amit,
Thanks a lot for those function modules. I could not use them explicitly for my purpose, however a  little look into the function module gave me what I wanted.
The following code will convert the ECC Sales Org directly to the CRM Sales Org.  :
DATA lv_orgman TYPE REF TO cl_crm_org_management,
          VKORG type VKORG, " ECC Sales Org
          Sales_org type CRMT_SALES_ORG. " CRM sales Org
Get a reference to the org management.
  CALL METHOD cl_crm_org_management=>get_instance
              IMPORTING ev_instance = lv_orgman.
Convert the sales area.
  CALL METHOD lv_orgman->get_sales_org_of_vkorg
       EXPORTING  iv_vkorg = VKORG
       IMPORTING  ev_sales_org = Sales_org
       EXCEPTIONS crm_key_not_defined = 1.
If sy-subrc eq 0.
*Raise error message for invalid ECC sales org.
endif.

Similar Messages

  • Data Element Sales Org in CRM and ECC differ in length...

    Hi Experts,
    The standard data element for Sales Org in ECC and CRM differ in Length.
    Similarly the Purchasing Org.
    I need to export the Sales Org from CRM to ECC. But there is an error due to the length mismatch.
    Why is there this difference? How can my requirement be met ?
    Any ideas/pointers would be of great help.
    Points Assured.
    Thanks in Advance.
    Arun.

    use offset like vbeln+0(5).

  • Mass sales orders from CRM to ECC

    Hi,
    We have a requirement to mass upload sales orders from CRM system ECC system. I could not able to find any option to push sales orders in bulk from CRM to ECC.
    Could you please let me know if you know any kind of solution for this kind of scenario.
    Thanks in advance!
    Regards,
    Kumar B.

    Hi Maggie,
    Thanks a lot for your response. But I could not able find CRMD_MASS_UPDATE in CRM system as well as in ECC.
    Could you please let me know how to try this other please let me know the program or tcode.
    Regards,
    Kumar B

  • Replicating partner function (VE=sales employee) from CRM to ECC

    Hello, we managed to replicate the ECC customers and contact persons to SAP CRM.
    Now we also want to replicate to CRM the partner functions (VE = sales employee) of ECC that are linked to the customer in the sales view. When I replicate the object customer_rel they are not synchronised to CRM. I have maintainted the 'distribution of partner functions from SAP ECC into CRM and vice versa in SPRO.
    What are the different steps that I need to do? What am I missing?
    Should we be alble to see those relationships on BP in CRM once synchronised? If yes, in which relationship? Since the employee responsible is already filled manually for another function.
    Thanks for your help on replicating partner functions from CRM to ECC?
    Kr, Anouck

    Hi Anouck.
    If I've understood correctly, for that you must pass the employees from ECC to CRM first.
    You can do this by running report RHALEINI at ECC side, but you must configure some things first (like creating a CRM grouping to indicate the number range for employees, and to activate at CRM side this integration)
    Kind regards,
    Garcia

  • Custom fields replication in sales order from CRM to ECC

    Hi Experts,
    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.
    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.
    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.
    What is it that we have to do to ensure that custom fields are also replicated to ECC. Do we need to maintain field mapping between CRM and ECC, for custom fields, manually. How and where do we have to maintain the mapping. Also, please let me know the BADIs / exits that need to be implemented to achieve the above functionality
    Regards,
    Manohar

    Hi Manohar
    You can map these custom fields using the badi CRM_DATAEXCHG_BADI. Please see the documentation of the badi in SE18 in your system for further details.
    Regards
    Gavin

  • Error in Outbound Queue while Releasing order from CRM to ECC

    Hi,
    When I release my sales order from CRM to ECC, I got an error in Outbound Queue saying "Screen output without Connection to User".
    This is occuring in FM : BAPI_SALESDOCU_PROXY_UPLOAD
    Can you please tell me why this error is coming?
    Thanks,
    Sandeep

    Hello Sandeep,
    During the RFC call from CRM to ECC, this is a background processing, the screen call is not allowed.
    If a call screen is executed, there is the mentioned error.
    Please check in your ECC system, whether you have any user exits that have the coding 'call screen'.
    Best regards,
    Maggie

  • 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.

  • Sales Area Data isnt replicating from CRM to ECC

    Hi Gurus,
    We are replicating some BPs of certain groupings from CRM to ECC.
    We performed all steps relevant for this task mentioned in Best Practice u201CMaster Data Replication C03u201D. After performing the
    steps results are as follows:
    u2022     BP General Data is replicating without any trouble.
    u2022     When registering sales area data in CRM and trying to get this replication to ECC we see that the BP Sales Area data isnu2019t replicated.
    Monitoring SMW01.
    The BDOC BUPA_MAIN ended with the following error:
    Messages for business partner 0007000362: Fill in all required entry fields
    Action already taken:
    After reading this message I have reviewed the mandatory fields per Account Group in ECC and mapped them with the CRM ones. Even this changes I still can get sales area data in the ECC BPs replicated.
    Is there something I am missing here.
    Thanks for your help.

    Hi,
    Regarding debugging from CRM to R3. Please follow the below steps.
    There are 2 methods to debug the Business Partner (BP).
    First Method:
    1)     In CRM, Go to SM59 -> ABAP Connections => The ECC client -> See if the saved user (in logon details) that is used to connect to ECC from CRM is a Dialog user.
    2)     You can use transaction code SU01 to check User Type of User.
    3)     Deregister the Queue through SMQS.
    4)     Make changes to BP.
    5)     Go to SMQ1, Select the Queue name Double Click 2 times then select the Tool bar (Debug LUW).
    Second Method:
    1)     Put a break point in Function Module SMW3_MFLOW_UPDATETASKBDOC.
    2)     Create a BP and before save, type /h to activate debug, Mark update debugging option.
    3)     When stops in Function Module u201CSMW3_MFLOW_UPDATETASKBDOCu201D you must be sure to set header-dbgmode = 'X' this will make the BDoc stay stopped in SMW01.
    4)     Go to SMW01 and type /h and process the BDoc.
    5)     Put a breakpoint in Function Module u201CCRM_UPLOAD_AFTER_MAP_HANDLERu201D and be sure to change LV_SYNCHRON = 'X' this will allow you to connect in ECC.
    If the variable LV_SYNCHRON does not have any value, then it will work as background task, if the value is filled with the value u2018Xu2019, then it will allow debugging in R3.
    And another point to be noted here is, the user type of the R3 should be Dialog User. If the user is not dialog, then it will not connect with R3.

  • Error in replication sales order from CRM 5 to ECC 6

    Hi,
    I am new to the middleware
    When I am trying to replicate the sales order from CRM 5 to ECC 6, i found the following error in SMW01 “R/3 adapter is called
    Message no. CRM_ORDER_MISC024
    I am unable to track what may be the problem and even I have checked the SMQ1 & SMQ2 in both CRM and ECC but nil.
    Can anybody help me out?
    Thanks in advance

    Hi Binu,
    Try check also the SMQ1 & SMQ2 on R/3 when you start trigger the
    document transfer from CRM to ECC. If you cannot see any similar document
    appear here, seems like your Middleware filter has not properly set.
    Check Middleware filter for document transfer, if I am not mistake, the object
    is SALES_DOCUMENT.
    Just check, if there filter which block the document to be sent to R/3.
    Hope this helps.
    Gun.

  • How can I Force/relaunch BP replication from CRM to ECC

    Hi everybody,
    We had some replication problem with sold-to-party BPs when creating them in CRM (Tr Code BP). The CRM002 id was not implemented in most cases. A job was planned to relaunch the Bdocs automatically every hour. It seemed to be ok for a moment.
    However we still have some sold-to-party BPs that are not replicated at all in ECC (Master Data and sales data). The usual procedure we set to trigger the replication is checking a case in BP Tr. but when I uncheck the case and check it again, the replication doesnt happen.
    Is there a way to force manually the replication of a sold to party BP from CRM to ECC?
    Second question in replication subject : We also have partial replication in ECC. For example the Tax classification partially replicates. It's like if the replication process in crashing on the way and the result is no CRM002 id back in the BP master data in CRM. Do you have any idea of where it's coming from?
    Is there a Transaction like SMW01 (CRM) in ECC in order to trace replication problems of processes?
    Many Thanks.
    Laurent

    Hi,
       Firstly , please check if you have any filters in for adapter object customer_main in trx. R3AC1 (which prevants data replication)
    Next, check if your inbound (SMQR) or outbound queues (SMQS) of CRM are de-registered.
    You can use trnx.
    CRMM_BUPA_SEND
    to manually replication a BP to the ECC system.
    No.. there is no monitor in ECC like the Bdoc monitor (SMW01) in CRM.
    Hope this helps. Reward if helpful!
    Thanks,
    Sudipta.

  • Want to change ACCOUNT GROUP to BP from CRM to ECC

    Hi All,
    We would like to change the Account group of our (Inside/Outside sales persons) when they are replicating from CRM to ECC.  We did change the PIDE setting according to our requirement but surprisingly 10-12 BPs are not getting changed. We opened an OSS and they suggested to write a Z function module and
    registering it in the table CRMC_BUT_CALL_FU for the CRM OUTBOUND which HARDCODES the CLASSIFICATION DATA to the BP in accordance with the PIDE settings so as to get the ACCOUNT GROUP for these BPs.
    I checkede the tcode CRMC_BUT_CALL_FU for the CRM OUTBOUND where we need to place our own FM. I know to write a FM, but not quite sure how to start. Can anyone out there please help me with this.
    Any suggestions are highly appreciated.
    Thanks,
    Karuna.

    I was able to change the account status from EXPIRE(GRACE) to OPEN. The trick as you hint at is to create a temporary profile, assign that profile to the account in question, saving the password from dba_users first, changing the password, logging in with the new password, then alter the user assigning back the original password with the identified by values clause in the later user statement and lastly assigning the original profile, either DEFAULT or custom.
    Here is the temp profile I used which used values less than 1 for the critical limits involved here. Cannot have limit values less than 1 in 9i according to Oracle but you can in 10g.
    CREATE PROFILE "TEMP_PROFILE" LIMIT CPU_PER_SESSION DEFAULT
    CPU_PER_CALL DEFAULT
    CONNECT_TIME DEFAULT
    IDLE_TIME 15
    SESSIONS_PER_USER DEFAULT
    LOGICAL_READS_PER_SESSION DEFAULT
    LOGICAL_READS_PER_CALL DEFAULT
    PRIVATE_SGA DEFAULT
    COMPOSITE_LIMIT DEFAULT
    PASSWORD_LIFE_TIME .0001
    PASSWORD_GRACE_TIME 5
    PASSWORD_REUSE_MAX 1
    PASSWORD_REUSE_TIME .0001
    PASSWORD_LOCK_TIME .0103
    FAILED_LOGIN_ATTEMPTS 3
    PASSWORD_VERIFY_FUNCTION DEFAULT;
    Thanks for your help.

  • Replication of Business partner and the Sales document from CRM to R/3

    HI All ,
        I am completely new to this CRM technical , I need some technical document on how can I replicate BP and sales documents from CRM  to R/3 through CRM middleware .
    Please help me out in this regard .
    Regards
    Debasri Sarkar

    Hi Debasri
    It would be best if you try the Best Practices available on [CRM Best Practices|http://help.sap.com/content/bestpractices/crossindustry/bestp_crossindustry_crm.htm]
    Choose the CRM Version you are working on. On the next page that opens up, choose Technical Information-->Building blocks from LHS.
    And you can use the Best practice guide titled CRM Master and Transaction Data Replication there to know more about BP and transaction replication between CRM and ECC.
    Hope this would help You
    Regards
    Rekha Dadwal-Shet

  • Replication of Business partner from CRM to ECC.

    Hi experts,
    We are working on CRM 5.0 with backend ECC 6.0.
    We are facing a problem while replicating BPs from CRM to ECC. Eventhough we are maintaining language code in CRM, the same thing is not replicating to ECC.
    Can anybody help us how to solve this problem.
    Thanks in advance.
    Regards,
    Madhu.

    we have this issue on CRM006 consumers created as an org.
    SAP gave us function module
    'BUPA_OUTBOUND_BPS_FILL_CENTRAL' to fill the langauge in CRM 5.0 or BUPA_GENERAL_UPDATE .
    We have not implemented either yet.  in r/3 46C we have a small core mode in LVV02F3H to force EN as language.

  • Cross-System Copying of Transaction Types from CRM to ECC

    Hi Gurus,
    We have a requirement where we need to create followup transactions from CRM to ECC.
    eg:- We want to create a Sales Order in ECC as a followup transaction to a Service Ticket in the CRM.
    1) So please guide what needs to be done inside CRM.
    2) Is there some specific list of ECC transactions which could be created as followup to a CRM transaction or any ECC transaction can be created as followup.
    thanks for your help in advance.
    rgrds,
    Randhir

    Dear Randhir,
    You need to ensure that transaction type and item category of ECC and CRM are in Sync. Maintin followup of your transaction type.
    Thanks and regards
    Pankaj Kumar

  • Changing documents downloaded from CRM into ECC, in ECC

    Hi
    Our requirement is to change documents downloaded from CRM into ECC, in ECC. I was refering to note 541113, but it is not of much use as we are using CRM 5.0. Also parameter that it says should be set I have set but ...obviously it didin't work. Please tell me what setting needs to be done for CRM 5.0 & ECC 6.0 so that our requirement is satisfied. I have searched SAP notes, without much success.
    Thanx in advance.
    Cheers
    Hits

    Hi,
    This is very simple.
    SAP has provided us with a new Scenario. this is called Scenario A.
    This scenario can be made Transaction Type specific.
    You need to maintain table  SMOFPARSFA in CRM and CRMPAROLTP in R3.
    SMOFPARSFA:
    Key = R3A_SALES
    ParamName = INT_CHANGE_ORDER
    ParamName2 = <Transaction Type>
    ParamValue = A
    CRMPAROLTP:
    ParameterName: CRM_SCENARIO
    ParameterName 2: INT_CHANGE_ORDER
    ParameterName 3: <sales document type>, for example TR
    ParameterValue 1: A
    Just do these settings and check. This must work
    Sharif

Maybe you are looking for