Acess to ERP tables from CRM

Hi.
I am quite new to everything about erp integration in sap crm.
My first thought was to simply find a pattern to retrieve data from an erp system and show it in a crm report, just for practising a bit.
I already finished an initial upload but anyway, how can I get my original erp data displayed in crm using nothing except functional patterns and se80?

On erp side create remote function call (in se37) and the on crm side call this function with DESTINATION parameter...
                CALL FUNCTION 'Z_FUNCTION_ON_ERP'
                  DESTINATION i_destestination
                  EXPORTING
                    sometning = something
                  IMPORTING
                    subrc = err_subrc.

Similar Messages

  • Getting an error while creating a ERP Quotation from CRM Sales Web-UI.

    Hi Experts,
    I am getting an error while creating a ERP quotation from CRM Sales Web-UI. Here  I am enclosing the screen shot. Please give me the solution for this.Thank you in advance.
    Regards
    Kishor Kumar.

    Hi Kishore,
    Please refer to the link below -
    Entry of ERP Sales Documents in SAP CRM - Sales Quotation and Order Management - SAP Library
    Also, refer to the SAP note -
    1446253  - FAQ note: ERP documents in the CRM Web UI (lead-to-cash scenario)
    This note will give you the related topic and the configuration required through SAP help links.
    Hope this will be useful.
    Thanks and Regards
    DJ

  • Replication of Z table from CRM to R/3 - No mBDoc Created

    I need to transfer the contents of a bespoke customer table from CRM into R/3, off the back of delta changes being made to the CRM table.  To help us to achieve this we have performed the following steps so far:
    1. Created the customer table in both systems.
    2. Created a new messaging BDoc in CRM and linked it to the R/3 Site Type.
    3. Created a new mapping module in CRM that takes the data from the BDoc and maps it to the BAPI structure.
    4. Created a new Adapter Object that links to my BDoc, contains the new customer table as the source table in CRM and contains the mapping Module mentioned above. 
    5. Created a new Replication Object based on my new BDoc.
    6. Created a new Publication and assigned it to the Replication Object.
    7. Created a new Subscription and assigned to the Publication and Replication Object. Also assigned it to my R/3 site.
    On the R/3 side we have created a mapping module to map the data from the BAPI structure into the equivalent R/3 table. We also have an entry in table CRMSUBTAB.
    However when I insert an entry in the customer table in CRM no BDoc is being created. In fact I cannot see anything at all in the system that indicates that it has even tried to capture the change and invoke the Middleware process.
    What am I doing wrong?
    Do I need anything else (some sort of delta program?) that picks up the parameters from the table update and feed them into my process?  The literature that I have found (and it is not much) does not mention anything like this though.
    Any help would be greatly appreciated as this is now a very urgent requirement.
    Regards
    Ian
    Edited by: IAN HAWLEY on Aug 21, 2008 9:42 AM

    Ian,
    I do expected the follow up questions. Check my explanation below and hope it will answer your queries:
    1. I assume all of the activities performed to date are still valid to supplement your solution, e.g. the BDoc, Replication Object, Publication and Subscription details?
    2. The R/3 to CRM Mapping Module. Is this required to allow messages to be sent back from R/3 to update the BDoc, e.g. a sort of validation to prove that the posting has completed ok?
    FM ZMAP_BAPIMTCS_TO_MBDOC in CRM, to map the BAPIMTCS format data and build the BDoc. This BAPIMTCS format is a temporary one and is not the final data format, that is taken to ECC. This function module also takes care of receiving the response message from ECC, once the BDoc data reaches and updates in ECC. If there is any error occured during the updation, it is captured in the error table of the BDoc and the status of BDoc is set to 'Error'. If no error occurs, the status of BDoc is set to 'Confirmed'.
    3. The Extractor Module in CRM. Does this get the data out of the table and will it work for deltas?
    Yes , It should work for Delta too.The delta load makes use of the same program and flow for Initial load (SMOF_DOWNLOAD)
    4. CRMSUBTAB in CRM. I knew that we populated this in R/3, I did not realise we would need it in CRM as I assumed it was R/3 specific.
    5. You list the sequences of FM calls at the end. I was confused in the order. As we are initiating data to be sent from CRM to R/3 should some of these be in the reverse order, e.g. ZMAP_MBDOC_TO BAPIMTCS would be called before ZMAPBAPIMTCS_TO_MBOC as would pass data into the BDoc to send it to R/3 before we then received an update message back?
    Step 1: Z_EXTRACT_MODULE  will be called.( It calles ZPICK_DATA_FROM_CRM). This function module calls the standard function module CRS_SEND_TO_SERVER the one triggers the other function modules
    Setp 2: Creat function module ZDATA_TO_BAPIMTCS(missed to mention earlier) in CRM, to map the data in the final internal table to BAPIMTCS format. This format is temporary and will be used to build the BDoc data.
    Step 3: Created function module ZMAP_BAPIMTCS_TO_MBDOC in CRM, to map the BAPIMTCS format data and build the BDoc. This BAPIMTCS format is a temporary one and is not the final data format, that is taken to ECC. This function module also takes care of receiving the response message from ECC, once the BDoc data reaches and updates in ECC. If there is any error occured during the updation, it is captured in the error table of the BDoc and the status of BDoc is set to 'Error'. If no error occurs, the status of BDoc is set to 'Confirmed'
    Step 4: Created function module ZMAP_MBDOC_TO_BAPIMTCS in CRM, to build the final BAPIMTCS structure from the BDOC. This BAPIMTCS is the final data structure that goes to ECC. The table name, objectkey, relkey that is relevant for the BAPIMTCS, is filled in this function module..
    Step 5: Created function module Z_LOAD_PROXY_FINAL in ECC, to receive the data from CRM. The BAPIMTCS data is received and mapped to local internal tables and then updates to custom tables through the function module Z_UPDATE_ECC. The errors if any are captured in this function module and returned back to CRM using the standard function module CRS_SEND_TO_SERVER.
    To reduce the load on the interface, at the final stage, it was decided to fetch the data completely in ECC. So the incoming  data from CRM is ignored and is fetched completely from ECC tables.
    6. Is there a test FM available for the extract, e.g. is CRM_SAMPLE_EXTRACT_MODULE the one to copy?
        No, You have to develop this Extractor FM say ZPICK_DATA_FROM_CRM and should be called in Z_EXTRACT_MODULE.
    Apologize for any spelling errors, as I too running to meeting.
    Update me the status.
    Bobby
    Edited by: Bobby on Aug 22, 2008 2:13 PM

  • Can a report in ERP called from CRM system using RFCs??

    Hi All,
    Please let me know if this is possible, if so , how?
    Can a report in ERP called from CRM system using RFCs??
    Thanks
    Siva

    Yes, you should make an RFC function in ERP and inside the
    function you can call the report with a SUBMIT. Then in CRM you can call the RFC function...
    Best regards,
    Iván
    P.D.: Give points if answer helps!!

  • Error while creating ERP Quotation from CRM Opportunity in CRM WebUI

    Dear all,
    We have implemented Best Practise Scenarios but have a problem in the following: C63-Opportunity Management-Creating ERP quotation from opportunity
    I have maintained all necessary customising mentioned in Best practises documnet and could select a quotation(AG) as follow on transaction from Opportunity, but get an error message " Material 23 is not defined for sales org.1000, distr.chan.10, language ENu201D in the ERP quotation screen even though material 23 is created in ERP for Sales Org 1000 & DC 10. I have downloaded the material from ECC and it is available in CRM also.
    The weird thing , when the error message pops up in the ERP quotation screen if I delete the material and enter the same material, I get no error.
    If I have 3 materials in opportunity then the error message is there for all the 3 materials when I create an ERP Quotation & after deleting all the 3 & reentering I get no error and am able to save ERP order.
    We have CRM 2007 connected to ECC 6.0
    Please help resolve the above error.
    Thanks
    Teyna

    hi,
    have you created org from middleware thorugh r/3. Is your hierarchy and category same as that mentioned in best practice documents?
    Regards
    Pankaj kumar

  • Creation of an ERP Sales Order or ERP Quotation from CRM Opportunity

    Hello Experts,
    The scenario is as follows:
    I have done the cross-system copy control of transaction types and item categories to enable ERP Quotation and ERP Sales Order creation from CRM Opportunity.  However, after saving the CRM Opportunity, when I click on the follow-up transaction and select ERP Quotation or ERP Sales Order from the list, the screen doesnt change and instead I got the following error:
    "Diagnosis
    An exception occurred during request processing. This was handled centrally. It changed the program flow and the result of the request probably contains errors.
    Procedure
    Contact your system administrator.
    Procedure for System Administration
    Activate checkpoint group BSP_WD_EXCEPTION_DISPLAY. To do this, use transaction SAAB. If the error recurs, further details are displayed.
    Exception Details
    CX_BSP_WD_INCORRECT_IMPLEMENT - Define component usage 'CUERPFollowUp'
    Method: CL_BSP_WD_REPOSITORY=>GET_CMP_USAGE_DEF
    Source Text Row: 20"
    Experts, kindly help me understand what the error is about and pointers to resolve it.
    Points would be awarded.
    Thanks,
    VSK.
    Edited by: venkatskumar on Feb 21, 2011 8:37 PM

    Hello Robert,
    Thanks for the quick reply.
    I have followed your instructions and I wanted to confirm one more thing with you.
    When I enter the component usage it gave a pop-up which said:
    "Enter either a reference or an interface view"
    Any information on what should be entered in the reference or the interface view? What should be the used component name and interface view name in this scenario?
    Kindly confirm.
    Points awarded
    VSK.
    Edited by: venkatskumar on Feb 22, 2011 12:37 PM

  • Replicate Custom Table from CRM to ECC

    I have a custom table in CRM and I have to transfer the values of the custom table to ECC.I have BADI  which inserts the values into the custom table in CRM. What should i do to replicate the values in a Custom table in ECC.The tables are of same structure.

    Hi
    Please reffer the C71 : CRM Connectivity document in Best Practices. It will gives you the perfect information for you.
    Please follow the following link to find the same.
    http://help.sap.com/bp_crmv250/CRM_DE/index.htm
    Technical Information>Building Block Library> C71 : CRM Connectivity>Configuration guide.
    Generally: You have to enhance the BAPIMTCS structure which is exchanged between CRM and R/3, and the functionality mapping the BDoc to this structure in CRM and in R/3 the functionality of saving the BAPIMTCS structure to the DB.
    You should use the Transaction Business Events, see also tables TBE24, TPS34 and you can search for the SMOUTIL2 or SMOUTIL3 functionality esp in the CRM system.
    Have a look at note 417906 with some information on used functions.
    Reward with points if helpful
    Cheers
    Manohar

  • Data Reflection in ECC table from CRM table

    Dear All,
    I have two Z tables. One in CRM and the other is in ECC with the same structure.
    I want the data to be transferred in ECC table whenever there is a new entry created in CRM table.
    For Eg : If I create an entry say XYZ in CRM table either through SM30 or through a upload program then same entry XYZ should be entered in ECC table the moment I save the entry in CRM table.
    Please let me know the possible ways to achiev this. Its a bit urgent for me.
    Thanks in Advance...
    Sachin

    Hi Sumit,
    Thanks for your valuable inputs.
    Actually we are accessing an Application Type CONTDURA in our IPC User Exit, we have overrided the
    overwriteScaleBase method of ScaleBaseFormulaAdapter class.
    in the mentioned method we are getting the value of CONTDURA application type like this.
    also as you mentioned we have already populated this attribute in BADI CRM_COND_COM_BADI.
    public BigDecimal overwriteScaleBase(IPricingItemUserExit prItem, IPricingConditionUserExit prCond, IGroupConditionUserExit groupCondition)
            String contractDuration = prItem.getAttributeValue("CONTDURA");
            if(contractDuration != null && !contractDuration.equals(""))
                return new BigDecimal(contractDuration.trim());
            else
                return null;
    While debugging we found out that instead of CONTACT DURATION, blank String is returned.
    Any idea whats going wrong here or what will be missing from coding as well as configuration side.
    Thanks,
    Siddharth
    Edited by: Siddharth Jain on Mar 20, 2009 12:12 PM

  • How to attach ERP smartform to a ERP Quotation generated from CRM 7.0

    Hi,
    I have this requirement of calling the ERP smartforms in CRM 7.0 where ever applicable.
    I don't want to use Transaction Launcher and also creating the same smartform in CRM would be double work.
    1. Can we attach a smartform of ERP to LEAD/OPPORTUNITY when we click on the MORE button on toolbar and choose PREVIEW OUTPUT/ TRIGGER OUTPUT. I think in ACTION we can just assign a smartform which is created in CRM system.
    Actually this is my client requirement and since my first CRM implementation do't know whether this is a valid point and how to go on.
    2. Also on ERP Quotation view page (toolbar) there is no button called MORE to PREVIEW OUTPUT. Can we assign a smartform to ERP Quotation?
    If any body can direct me on this issue would be of great help and full points will be given.
    Thanks,
    Jaya

    Hi,
    as far as I know there is no standard way of doing this in CRM 7.0.
    I imaging it would be possible to call an ERP smartform from CRM by :
    - writing an RFC capable function module in ERP that wraps the call of the smartform and returns the generated PDF data.
    - writing a function or method in CRM that calls the ERP function module and displays the returned data.
    In the lead and opportunity the print preview is done by having a print relevant action in the action profile assigned to the transaction type and I guess for these it should be possible to call a function module by creating an own smart forms method.
    But I think this is not possible for an ERP quotation, so you would have to create an own button. In the event handler for this button, one could call the ERP function module and display the result.
    Paul

  • Replication Z-Tables from ECC to CRM

    We have a client with some Z-Tables in ECC and we need to replicate this tables in CRM,  anybody have any information about this.
    Thanks in advanced
    Sebas

    Hi Sebas,
    The following link shows the replication from CRM to ECC. The same can be followed for replication from ECC to CRM.
    Replication of Z table from CRM to R/3 - No mBDoc Created
    You can also try this
    1. Create the Ztables both in ECC and CRM
    2. create customizing adapter objects in R3AC3.
    3. copy the stanadard FM 'CRM_BUPA_MAP_ADREREG_CI' to custom FM and write source code. load object in R3AS.
    4. create a variant and shedule the based on requirement
    Thanks and regards,
    Madhukar Reddy

  • How to connect two different tables from different server?

    Dear all expert,
    I need to develop a report where i need to connect 2 different tables from 2 different servers. For examples:
    BUT000 tables from CRM and KNKK from R3.
    Is it possible to do so? Because i try to link these 2 tables together and when i preview the report, it run very slow and sometime it hang. I did not get any result.
    Thank You.

    Moved to SAP Integration kit forum
    Appears you are using SAP data sources.
    And yes you can but the linked field types must match and be able to be converted into the WHERE portion of the SQL. Click on Database, Show SQL... and see if there is one. If not CR can't figure out how to so it brings all data client side and filters on the second pass.
    Thank you
    Don

  • Creation of ECC Quote automatically from CRM 7.0 Opportunity

    Dear Experts,
    I have a unique requuirement of my customer, they want to trigger ECC quote from Crm Opportunity automatically once the status is changed to Create Quote. I have already maintained the neccesssary settings to create ECc quote from Opportunity as a follow up document, but the customer wants it be done automatically. Please guide whether and how it is possible?
    Thanks,
    Ajai

    Hi Ajai,
    We can create this using Sales Profile & manually the Sales Guy can create ERP Quotation from CRM opportunity.
    Actually I am going to create tge whole process to crate ERP Quotation from CRM Opportunity & not able to see the follow-up ERP Quotation Transactions under CRM Opportunity.
    Can u pls help me if u have already created this ?
    I got very good link for reference from SAP as below : but still for me its not showing the follow up docs..
    http://help.sap.com/saphelp_crm60/helpdata/en/47/45839696581a41e10000000a1553f7/content.htm
    Thanks
    Umesh.

  • Buisness Iedntification numbers From CRM to ECC

    Hi I want to upload the BUT0ID table from CRM to ECC using middleware..is there any standard adapter object to upload the table.
    And if not is there any standad mapping function module to create a custom object?
    Please reply
    thanks

    can someone reply?

  • BP replication from CRM 7.0 to ERP 6.0

    Hello.
    I was made customizing replication BUPA_MAIN object from CRM 7.0 to ERP as of Best Practics.
    When i creating a BP in CRM it's replicating in ERP as Customer only, not as BP.
    What I need to customize that BP is created during replicating from CRM?
    Thanks

    Hi All,
    I am also replicating customer master data from CRM-ECC. I am creating BP as Sold-to-party (STP) role and mapping that to a Z-Acc Group (copy of std. STP in ECC).
    One thing I want to clarify from you all is that in our case,
    In ECC, Recon Acc Field in Co. Code data is mandatory, but in CRM there is no concept of Co. Code.
    How do we handle such a scenario, because in this case there will be error of mandatory fields not matching on both sides.
    Please share your experiences or solutions for such a scenario.
    In addition to this, for tackling this issue,
    We created an enhancement on ECC side, to take care of this but while replicating BP's from CRM to ECC, there was en error "No batch input for screen SAPMF02D 100".
    When we raised this issue to SAP, their reply was as follows:
    1. There are various problems, but the main is probably that we reach the CALL TRANSACTION statement
    with FT[] empty. I have skipped the "ENHANCEMENT 24 ZCRM3" which has been added at the
    end of function module DEBITOR_BDCDATA and then FT[] was populated.
    Then i faced several missing data regarding the mandatory fields;
    first one was missing country in the address.
    ==============
    2. The root cause is in the "ENHANCEMENT 24 ZCRM3" which is at the end of FM DEBITOR_BDCDATA.
    This enhancement is a custom development from your side.
    It first clears IBDCDATA[] and fails to rebuild it because the conditionIF FT-FVAL = '0001'. is NOT fulfilled. (here FT-FVAL = 'Z001') Consequently, the internal table FT[] is later cleared which makes that the call transaction XD01 is executed with no data at all.
    ===============
    If we skip the enhancement, there will always be an error for mandatory fields.
    Please share your experiences on such an issue.
    Thanks and Regards
    Varun Taneja

  • Downloading ERP conditions table to CRM

    Hello dear sirs!
    We created a condition table in R/3 ERP and we want to create the corresponding table in CRM, in CRM all of the fields of the condition table is supported in the standard.
    Ex: ECC 6.0: V/03 - Create table 601, fileds VKORG VTWEG VKBUR VKGRP MATNR
    How i can replicate it to SAP CRM 7.0 ?
    Downloaded condition objects from ECC - 'DNL_CUST_CNDALL, DNL_CUST_CND, DNL_CUST_PRC'. - but no result
    Thanks!
    Edited by: Kostya Khveshchenik on Oct 17, 2011 3:15 PM
    Moderation: I'm locking this thread. Please, open a new thread since the new question is absolutely not related to the original one.
    Edited by: Joaquin Fornas on Oct 24, 2011 3:37 PM

    Hi Kostya,
    Kindly check the following note
    Note 514952 - Download of customer-specific tables
    Please check the following link for detail explanation for your referance
    http://www.sapdiary.com/index.php?option=com_content&view=article&id=6683:have-you-ever-needed-to-change-condition-tables-generated-in-crm&catid=81:data-services&Itemid=166
    Thanks for further help!
    Regards
    Srikanth.Naga

Maybe you are looking for

  • Spry menu not working in IE for some reason

    Hello, I have an issue at hand that is quite troubling I am designing a website in Dreamweaver CS3 for the childcare place I work for, and it was coming along great until I realized that I never stopped to see if the spry worked in Internet Explorer

  • Diagnosing video problem

    Hi all, I've got a PowerMac G5 2.0 GHz from May, 2004. It has the original ATI Radeon 9800 Pro graphics card. I recently had to replace the logic board (with a working used one). That worked fine for months, but now I'm getting video problems. I'll g

  • In iPhoto 11. 9.4.3 cropping won't work

    Prior to Christmas I successfully compiled an iPhoto Book and everything was hunkydory. Yesterday, I attempted to crop a photo in the same manner as before using my one and only Trackpad, and it reduced the size of the photo onto a white background a

  • Open 0Query_Template in WAD get red error

    Some documentation says we can't open 0Query_Template (with Notepad or some web development too), but we don't know how to locate this 0Query_Template file in Notepad or other web development tool.  Then the only choice left would be to open this 0Qu

  • Booting from iso from usb drive

    I want to boot arch from iso from my thumb drive. Based on the wiki article on Grub, I've put this entry to my grub.cfg: menuentry "Arch Linux x86_64" --class iso { set isofile="/iso/archlinux-2014.05.01-dual.iso" loopback loop $isofile linux (loop)/