Company code data for custom replicated from CRM

Hi,
I am trying to default the company code data for a BP replicated from CRM as a customer but it is not working.
How should this be done in CRM 7.0, ECC 6.
I am have so far copied function module SAMPLE_INTERFACE_DE_BALE, added my own code and created the entry in table TBE34. But it doesn't work.  Is this correct or is there another method?
regards
Tim

This is what we did wen we had a similar requirement...
u2022     In the ECC create a FM u2018Z_USER_EXIT_BEFORE_SEND_TO_MWu2019.
u2022     Register this function module for the CRM0_200 exit user in the ERP system.
a.     Use Transaction SM30, table TPS34, to go to the maintenance of the modules. Here, enter the Z_USER_EXIT_BEFORE_SEND_TO_MWu2019 module for the CRM0_200 process.
b.     Use Transaction SM30, table TBE24, to check whether the application you have selected (Product column in TPS34) is active.
u2022     The FM will be triggered whenever a Sold gets successfully replicated from CRM to ECC system.
a.     Check for the Object Class u2018BUPAu2019.
b.     Check for the Object Name u2018CUSTOMER_MAINu2019.
c.     If yes copy the BP GUID from the BAPIMTCS Structure.
d.     Now call rfc FM ZLSD_BP_EXTRACT_FRM_GUID in CRM to get the BP number and Acc Group for the respective GUID.
e.     Check if the ACC GRP is Z001.
f.     If yes make a BDC call to transaction FD01 and update the Company Code data u2026. Recon. Account     110000
                             Terms Of Payment ZN30       
                           for the  respective BP
Note: we have recorded a BDC program to create the company code data.
regards,
Sameer Ahamad

Similar Messages

  • How to add company code data to BP in SAP CRM

    Hi All
    I have a problem replicating BP from CRM to R3,the error coming is "Fill in the required entry fields".
    While debugging the error i came to know that Company Code data is not given from CRM side which is mandatory in R3.
    Actually the Company code data is kept mandatory at ABAP level due to the Client requirement.
    Now how can i add the company code data to BP so that this errors is resolved.As far as my knowledge goes there is no provisions for company code data in CRM ,now even if we keep this company code data optional in R3 ,this error is coming.
    Please suggest the way out.
    Any help will be highly appreciated.
    Regards
    Ashish

    Hi there
    Thanks for the reply,yeah i understand that there is no company code concept in CRM system.
    so,we mean by Middleware exit is the user exit at R3 side,that i understand too.
    But here scenario is different in the case that customer is not getting replicated due to the company code being kept mandatory at ABAP level in R3.
    Actually client requires the company code data to be mandatory in R3 so that customer id does not get generated in R3 without giving the company code info.
    Now due to the mandatory check on company code at ABAP level ,what happening is that we are not able to replicate the BP info to R3 because if that check was not there we would have at least pass on the BP data except the company code  and company code info would have been given in R3 itself.
    So,i believe the way out is to remove that check and place a user exit in R3 so that at least CRM data is replicated and company code will come automatically.
    Hope this will help me,if you have any better suggestion then please provide the same.
    Regards
    Ashish

  • Company Code data in Customer Master

    Hi
    In which scenarios, the customer master will be created only with general data and sales area data.
    Why in such scenarios the company code data is not included.
    Please advice.
    Regards
    Ram

    Business might have clients/Cusotmers exist across the country or with various branches. But Procurement & payment of procured goods will be done only by Head Office, not by the branch offices.
    in such case, Head Office treated as Sold to, Bill to & payer, where as all branches treated as Ship to. So these branch offices need not have Company Code data maintained.
    All or Few branches may not have access to place the order.  Even if Sold to party is different to Payer, then there is no need to maintain Company Code data for those Sold To.
    This is very normal in any business.
    Hope its clear.
    Regards,
    Reazuddin MD

  • How to upload multiple company codes data for single vendor by LSMW Idoc

    Hi ,
    My requ is like this.
    uploading data by LSMW Idoc method
    In source file we have two company codes data for single vendor.
    It should create vendor for two company codes.
    But its not creating its showing error.
    How to handle this?
    Thanks in Advance.

    have you ever see this docu:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/1a/178ac72d3011d3bc3500105a6588b2/content.htm
    You can use the recording function to create a new object (or a new "import method") if neither a standard batch input program nor a standard direct input program nor the BAPI/IDoc method is available for a data object.
    Recordings are static, thats why you cannot do such flexible things like  multiple company codes at the same time.
    But with IDOC method it is certainly possible, I have done it several times already.
    Unfortunatly the creator of this thread did not say what error he got with the IDOC method. Maybe he will add this. Otherwise I dont think that anybody can help

  • Company Code data to be populated from BDOC

    Hi,
    I am working on the Replication of the BP's from CRM to R/3.
    The replication of BP from CRM to R/3 is happening properly.
    In the R/3 system,All the sales area data is populated.But the House Bank data in the Payment Transactions tab of the company code is not getting populated.
    I checked in the event DE_BALE.The segment e1knb1m is not populated which holds the House bank data.
    How can this be populated?
    Pls advise.
    Thanks.
    Muraghendra D

    Hi,
    Any clues on this pls.
    Thanks.
    Muraghendra D

  • Company Code Data Automation

    Hi there,
    I've tried to search for a User Exit / BADI / BTE to update Company code data for a Customer, whenever a new customer gets created in ECC 6.0. (We have a CRM / ECC setup and the Customer typically gets created in CRM and gets replicated to ECC)
    Unfortunately, am unable to find one.
    Has anyone been involved in / come across such a scenario and if so could you pl. share your experience?
    Any other help would be gratefully acknolwedged.
    Many thanks in anticipation,
    Kind Regards
    RVS

    Hi
    Which SRM version are you using ?
    <b>Please go through the following SAP OSS Notes below -></b>
    <u>1)</u>
    Note 767058 - Company code/plant/storage location are not transferred
    <u>Related Notes</u>
    Note 737005 - Shopping cart: Company code / plant / storage location
    Note 538605 - Shopping cart: Determine company code/plant/storage location
    <u>2)  </u> 
    Note  682410 - Plant/storage location not copied from default settings
    Note  563469 - Shopping cart: no plant/storage location texts or BBP_PD 247
    Note  538605 - Shopping cart: Determine company code/plant/storage location
    Do let me know.
    Regards
    - Atul

  • Service for creating customer master - company code data....

    Hi
    I would like to know if there is a service to create customer master company code data?
    I have identified 2 services one for general data (CustomerERPCreateRequestConfirmation_In) and sales area data (SalesArrangementERPCreateRequestConfirmation_In).
    Regards
    Srinivas Dusi

    Here is the answer: Yes it is possible. Download the file, using option - File Download. File should include all key attributes & also attributes that needs to be updated. (Key here is to have appropriate assignment ID. )
    Use the same file for File Upload (modify attributes like Sort Key as required).

  • Configuration is not replicated from CRM to ECC for configurable product

    Hi,
    We have some materials in the system for which the configuration is not replicated from CRM to ECC.
    We create a quotation in CRM and configure it. In CRM,  the configuration is complete and components are properly exploded but when we check the same quotation in ECC, configuration is incomplete with respect to some characteristics and product references.
    Please find below finding
    1. If the same material is created in another plant/company code, the configuration is replicated properly.
    2. We have also checked that the BOM is completely maintained for plants for which configuration is replicated. But we dont think so it could be an issue since if we create the quotation in ECC instead of creating in CRM, for the plant (for which the configuration is not replicated from CRM to ECC),  it is properly exploded and complete.
    3. variant prices are replicated properly even though components are not replicated.
    We need to know if we can explode the BOM in the configuration even though complete BOM for the particular plant is not maintained. If its not possible to explode, why it is possible for us to explode the BOM in the configuration in quotation.
    Please  advise.
    Thx.

    the configuration (variant configuration and not customization) that is done in CRM contract is not copied to ECC contract. Is it because that item category in CRM is activated for doing the BOM configuration and the same in ECC is not activated for doing the BOM configuration?
    My question is that if item category in ECC is not activated for BOM configuration then is it like that the BOM configuration in CRM will not be copied to ECC?

  • Saved Document Number needed after saving the customer  company code data

    I created a customer than I saved the company code data and forgot to note the number the saved document number. Next time I went to the same customer again and I wanted to find out the saved document number for the same customer but did not know where to look for. Can you tell me what I should do?
    Thanks

    Hi,
    For any customer there will be general data,Company code data and sales area data.
    Even though you maintain the general data or company code data  only one numebr will be generated.
    If you want to maintain some other data as comapny code data and sales area data we will goto XD02 and enter the company code,sales area nd customer number in the initial screen and we will maintain that data.
    I think you are thinking that different number will be created for different data which is wrong.
    So enter the same number and company code in XD03 and view your data.
    Regards,
    Krishna.

  • How to Assigning the company code to the billing units from ecc to crm

    Hi,
    Iam doing the roll out project , i require the help.
    can any one suggest me how to assign the company code to the billing units from ecc to crm.
    Thanks
    Mustafa

    Hi Mustafa
    You can load this data from R/3 to CRM by going to transaction R3AS in your CRM system, and using load objects EQUIPMENT, MATERIAL, and CUSTOMER_MAIN.
    Best Regards
    Gavin

  • Delta Replication for Customizing object from ECC- CRM

    I need help on delta replication activate for customizing objects from ECC to CRM.  I finished with initial load with product replication and everything worked weel. The problem is that product hierarchy continuely changing in ECC everyday, so the delta for the products error out due to incorrect product heirarchy in CRM becuase the delta is not working for DNL_CUST_PROD0, and DNL_CUST_PROD1. Please show me how to activate the delta for those DNL.  What business transaction do I need for those so the delta will work for them too?  Rewards points if helpful

    I think you need to do Request downlaod for the Product Hirearchy when ever there is new one created in ECC.You can do request downlaod by creating the object using R3AR2. Exeute the object though R3AR4 and monitor the status using R3AR3.

  • How the data gets replicated from CRM to ISU

    Hello All,
    How the data gets replicated from CRM to ISU?
    Would appreciate documents send to [email protected]
    Regards,
    Remi

    Here is the link!
    http://help.sap.com/saphelp_crm50/helpdata/en/c8/b0a68afbb3624cbabeb5ea12a8c639/frameset.htm
    Cheer,
    Daniel
    http://sapro.blogspot.com

  • Delivery should not create with out company code data

    Hi all,
              We have created a customer master without company code data with T code VD01 and subsequently created sales order and delivery with PGI and invoice also saved but no accounting document is getting generated. But we want to stop at delivery only; system should not allow creating delivery. Please do the needful
    Thanks in advance
    Regards,
    Nagesh

    hi nagesh,.
    from standard SAP it might not be possible.
    but check this work around:
    after creating the COMPANY CODE DATA by the marketing people only you please go ahead and create a delivery till that time the sales order will be in open status.
    if you want to stop it through the SAP system:
    then you need to contact TECHNICAL PERSON on the same:
    MV45AFZZ : USEREXIT_SAVE_DOCUMENT_PREPARE for checking while creating a delivery if not created then to throw an ERROR message - this is the only probability to check
    but he may not be having solution for your query.
    except the work around.
    please check and confirm
    balajia

  • No company code found for plant 0001 and sales organization 0001

    Hi BW Experts,
    I am using the datasource 0PLANT_ATTR.While loading the data, i am getting the warning message as "No company code found for plant 0001 and sales organization 0001". I have replicated all the Currencies by using the "Global Settings".Do i need to do any settings in BW Side.
    Please help on this Issue.
    Thanks,
    Ram

    Hi Ram,
    It is not pertaining to the Currency translations or any?
    The warning message is because:
    In the 0PLANT there is 0comp_code as attribute; while loading the data from 0PLANT_ATTR datasource there for that particular PLANT "0001" and Sales Org "0001" system couldnt find the 0comp_code.
    As it is not maintained in the R/3 system.
    This is why the warning messages are coming out..
    Hope you understood...
    Regards,
    Ravi Kanth

  • Vendor Master Data - General and Company Code Data

    Hi,
    We are collecting vendor master data requirements. The requirements that I have are for Vendor General Data, Company Code Data (Accounting Info, Payment Transactions, Correspondence etc.) and Purchasing Org Data. Out of these 3 groups I can only see Vendor General Data that is mapped to CREMDM04 in SAP supplied syndication maps. I am wondering if someone could tell me how much effort is involved to first create the structure in MDM for Company Code data and Purchasing Data and then map these additional fields to CREMDM04 fields?
    Why is it that Company Code data and Purchasing Data is not mapped in pre-delivered syndication maps?
    Thanks in advance,
    M

    Thanks Shruti for your reply.
    I agree with you. However, our client is really pushing for Company Code Data and Purchasing Org data along with Vendor General Data. Now, this is something that is new to me to do. I have never done this kind of customization before.
    I would really appreciate if someone from SAP could give me their recommendation and also help me answer the following questions
    1. Is this doable to map and syndicate Company Code data and Purchasing Org data along with Vendor General Data
    2. Is it possible to then extract the tables that hold Company Code data and Purchasing Org data from ECC and bring it back in MDM to update MDM tables (that we are going to create for this data)?
    3. What's the effort involved in this customization (Considering that we will be extending our repository structure, extend the syndication map, extract new tables from ECC for MDM, create import maps for these tables to import Company Code and Purchasing Org data into MDM)
    Regards,
    M

Maybe you are looking for