Reading SAP CRM Order details from R/3

Hi
I have a requirement where in I need to read the data of a CRM Sales order from R/3 by referring to/ with the help of LIPS-VGBEL( reference document ).
For this I have created a RFC FM and I'm able to read the required data successfully however this is not advisable as it is creating some issues since we have huge amount of records in R/3 for which we need corresponding data from SAP CRM hence my idea is to read the corresponding bdoc's
( because the CRM data must have been pushed to R/3 via middleware using the BDOC's ? ).
Hence can anyone suggest me how to read the BDOC's/ middleware data in R/3 itself so that it is not required to use RFC.
Also, if anyone of you has any other idea then please share with me. Thank you.
Regards
Anil

HI Karthi
That means, whenever the bdoc triggers and the data comes into R/3 then we need to save them into a Z table by capturing the data in the BADI "CRM_DATAEXCHG_BADI "? am I correct ? so that we can refer to this Z table for the CRM data in R/3 while executing our interface report to PI ?
I think this might not be accepted by the client because this will unnecessarily stores the data all the time in the Z table whenever bdoc triggers and it is also not mandatory to send each and every record to PI, there might be only few records can be sent to PI and few are not.
However I'll check this with client now. Also are there any tables or so where the bdoc data( the data comes from CRM) gets stored in the R/3 system so that we can get the data from those tables instead of storing in Z table and reading from there ?
Thank you.
Regards
Anil

Similar Messages

  • CRM order details from database and buffer

    Hi,
    I am working on a scenario where i need to read the order details from buffer and database also to compare the changed values in one of the action class. I have tried with CRM_ORDER_READ and CRM_ORDER_READ_OW. CRM_ORDER_READ is giving the details from buffer and CRM_ORDER_READ_OW is not giving me any resluts. To compare the old and new values i need to read the details from buffer and database also. Please suggest me the function modules to use.
    Thanks,
    Rajinikanth G

    I'm using similap comparion for some opportunity fields. There I'm using function modules 'CRM_OPPORT_H_READ_DB' and 'CRM_OPPORT_H_READ_OW and it's working fine.
    So I guess _DB and OW function modules should be ok. I'm not sure, but I think I also had problems a while ago with using module CRMORDER_READ_OW. Maybe try to find some other OW function that could give you wanted values. CRMORDER_READ_OW is very large fm, so try using CRM_ORDERADM_H_READ_OW for header data and CRM_SCHEDLIN_I_READ_OW for items and so on. There are function modules for nearly all data groups.
    Regards.

  • Reading Order details from buffer

    Hi all,
          I am checking the validations for both header and item level at the time of Order creation in CRM. I am using BADI, CRM_ORDERADM_H_BADI for this. And inside this, I am using CRM_ORDER_READ to read the details from Order. But it is not giving the details when I press u2018Enteru2019. When I do some more changes and press 'Enter', CRM_ORDER_READ  is giving the details. But I want to get these datails in the first hit itself. Is there any FM to read the order details from buffer?
    Regards,
    Santosh

    Dear Santosh,
    Please do try using folllowing FM's to read order from buffer:
    CRM_ORDERADM_H_READ_OW
    CRM_ORDERADM_I_READ_OW
    CRM_ORDER_READ_OW
    Hope this will help.
    Regards,
    Arjun

  • Header Partners not flowing into items in SAP CRM order and the same in ERP

    Hi SAP Experts,
    Our SAP CRM is upgraded from 4.0 to 7.0 version and ECC5.0 to ECC6.0 as well  last year.
    Initially , when the order is created in SAP CRM , the partners (sold to , ship to , payer and bill to ) are flowing to all items(same as header) and the same is transferring into ECC6.0 at header and items. Now if the partners are changed at header in CRM then those are not propagating to items and in ECC 6.0 at the header the partners are synchronized but at  the items partners are not synchronizing(showing the same old values).
    Can anyone provide solution for this issue.
    Thanks in advance.
    Best Regards
    Succhi

    Hello Screedhar,
    From your description, seems that the cross system lock is not set up correctly in your system.
    Please check SAP note 888665 which talks about how to set the cross system lock.
    Best regards,
    Maggie

  • How to enhance the search functionality of the Locator Bar in SAP CRM Order

    Hello All,
    I have one following requirement in SAP CRM 4.0 :
    it is necessarry to search for Orders according to one of the Z-fields(under Z-tab) in SAP CRM.
    Therefore i need to  enhance the search functionality of the Locator Bar with this option.
    Can anyone help me how to achieve this .
    Cheers
    Sreedhar

    HI, Sreedhar
    Check this thread:
    Re: New search help on CRMD_ORDER locator
    Denis.

  • Table For Planned Order Details From PP Module

    In our organisation we are taking Plan Vs Acheivement from Production. So, intialy we taken Plan details from "PLAF" Table and Acheivement details from "S225" Table. But After running MRP at month end. Previous month plan get deleted and new order create.
    how to get history data for Planned order.
    Please help us.
    Regards
    Naga

    I don't think that there is any history in regard to planned orders.  PLAF will get rebuilt according to your MRP parameters and I don't believe that the data is stored.
    Regards,
    Rich Heilman

  • CRM Order details

    Hi Experts,
    which table is the bill to party, ship to party, sold to party and payer from the crm order is stored.
    Thanks in advance.

    Hi Jak.
    Use CRM_ORDER_READ for finding partners
    partners will be stored in
    ET_partners itab.
    but when use CRM_ORDER_READ it will lead to performance issue so u have to fill <b>it_requested_objects</b>  itab so that only partner is selected.
    for that u have do the following thinks
    lit_import_tab  TYPE crmt_object_name_tab.
    INSERT gc_object_name-partner     INTO TABLE lit_import_tab.
    and pass lit_import_tab to it_requested_objects
    u have to INCLUDE CRM_OBJECT_NAMES_CON for gc_object_name.
    u can select bill to party, ship to party, sold to party has per the partner function.
    partner function of the following are
    PARTNER_FCT      SHORT_DESC 
    00000001                Sold-To Party       
    00000002                Ship-To Party          
    00000003                Bill-To Party
    00000004                Payer
    Message was edited by: Manoj Gupta

  • Message directly from SAP for job details from SM37 to email adress.

    Hi,
         Can any one tell me if there is any way of triggering a mail from SAP R3 for any particular job details from T code SM37.
    Thanks & Regards,
    Rohan Somji.

    Dear Rohan,
    Check this thread to explore about the settings to be doen for sending E mail to the external system,
    Re: Settings to be done for sending mail to external system
    Regards
    Mangalraj.S

  • Finding CRM Order number from Interaction Record number

    In our scenario when a CRM Order is created, an interaction record also gets simultaneously created. If I want to find out the Order number based on the corresponding interaction record number, how will I achieve it through linking tables?

    Hi,
    Use FM CRM_ORDER_READ and check ET_DOC_FLOW.
    Hope this helps!
    Best regards,
    Caíque Escaler

  • How to retrieve  sales Order details from BAPI_SALESORDER_GETLIST

    Hi Experts,
    I am using Visual Studio 2003 and SAP.Net Connector for Microsoft .NET 1.0.3 .
    I need to get the details of sales order.Following is the code snip.
    protected ConnectorDemo2.BAPIRETURN bapireturn;  /*Manually Added */
    proxy.Connection =  SAP.Connector.SAPLoginProvider.GetSAPConnection(this);
    proxy.Bapi_Salesorder_Getlist("0000000006","","","","","","0001","0",
    out bapireturn,ref bapiordersTable1);
    I already check records in SAP R/3 system for data Cust No=00000006 and Sales Org=0001.
    Please let me know about out parameter and if anyone is having correct list of ref and out parameter.
    Help will appreciated and points will rewarded.
    Thanks
    Sunil Pawar
    Edited by: Sunil Pawar on Nov 26, 2008 1:54 PM

    To Solve the problem I created one custome RFC and call BAPI_SALESORDER_GETLIST in it and my problem get solved.
    This is just work around but still not found why no data when using OUT parameter.
    CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
      EXPORTING
        CUSTOMER_NUMBER             = Z_CUSTOMER_NUMBER
        SALES_ORGANIZATION          = Z_SALES_ORGANIZATION
    IMPORTING
      RETURN                      =
      TABLES
        SALES_ORDERS                = Z_SALES_ORDERS
    Thanks
    Sunil Pawar

  • Get CRM Case details from follow up task activity

    Hi all,
    I have created a follow up task from a CRM Case.
    Now, in the task, and thru code, I am trying to get the details of the "parent" CRM Case.
    I tried thru some relations that I saw in the task in debug mode, but no luck.
    Also, I tried with the Task GUID in the CRM_ORDER_READ, ubt I cannot get the Case details or GUID from there...
    Any idea on how can I solve this?
    Thanks and kind regards,
    Guillermo

    Hi, thanks for replying.
    Yes, I thought the same. That's why I used the CRM_ORDER_READ to get the docflow. But I'm not getting any data with that.
    Unfortunately I also don't get any data with CRM_DOC_FLOW_READ_OB FM. I also tried the *_DB one.
    Any idea ?
    Probably some missconfiguration?
    Can I get the ingormation thru DB tables?
    Thanks in advance.
    Kind regards,
    Guillermo

  • Planned order details from PR

    Hi All,
    Planned orders are converted to purchase requisitions. Is there any way to find from which planned order the PR got created.
    As we find that the planned order gets deleted once converted to PR.
    thanks

    Try in ME5A
    Thanks
    MK

  • SAP CRM  Middleware flow from R/3 to CRM

    hi
    I am new to CRM middleware   I have some doubt about the replication from the R/3 to CRM.
    I have some 4 basic questions Kindly help me out
    1.in initial  down lode how to know which object for which requirement? There is any list like these objects for this one?
    2.when the initial download have to use and when the delta down lode have to use?
    3.object creating is preferable option or not if yes in which condition we have to create the objects?
    4.what is the difference between   customizing objects and business objects?  and when we have to use which object ?
    wiht Regards,
    prakesh..!

    Hi Prakesh
    Happy to hear that my answers were useful. Hope this new will solve your problem.
    So let's reply to your new questions.
    1)  Yes it is the delta download. This means that you have already triggered the initial download. Now all changes or new creations are replicated into the CRM system. I do not suggest this approach. This is usually used when you have no other chance because this process is complex and very time consuming. I would suggest checking the BDoc before proceding with degugging the queue. Go to transaction code SMW01. Filter on time (when you made the change). You will find bdocwith a red or yellow traffic light. This means that data have been not processed in CRM system. You usually have an error message (just select the BDoc from the list and click the red button in the toolbar) attached to the BDoc that is explainatory of the error. Correct the error and reprocess the BDoc (there is a proper button).
    2) To debug the queue go to transaction code SMQS and SMQR and deregistrate inbound and outbound queue in the CRM system. After you do this, apply the changes to the customer. You will find an inbound queue in transaction code SMQ2. Select the queue and click the last button in the header toolbar. You will process the flow in debug. Remember to register the queue when this is no more necessary otherwise you will have a mess in the system.
    3) if you create new customer in CRM system, this are automatically replicated in the backend system basing on the scenario set. No additional tables are created. All the changes applied in the CRM system will be replicated in the backend with the same process except the Bdoc that are really CRM specific.
    Hope this help you.
    Regards,
    Fabrizio

  • Changes made to the order in SAP CRM 7.0 is not transferring into ECC6.0

    Hi SAP CRM Experts,
    Could you please provide me the solution for the below concern?
    When the changes are made in SAP CRM order ,the synchronization is not taking place i.e., those changes are not replicating into ECC6.0 and the other way round is working fine(from ECC6.0 to CRM)The order is not editable in CRM and giving the message as "Document is being distributed; changes are not possible" and BDOC status as " After qRFC step (intermediate state)" and in the in bound queue (SMQ1) and it is showing as "running" after a while it is clearing but the BDOC and the orders messages are still the same.
    Would appreciate for the quick solution.
    Best Regards
    Succhi

    Hi, Succhi
    Note 1621031 - Incorrect status I1054 "To be distributed"
    Note 1620893 - Screen output without connection to user - SMQ1
    also check program CRM_DATAEXCHANGE_TOOLBOX
    Denis

  • CAD from Contact center into SAP CRM

    Hi All,
    I am no SAP expert, but the following is what we are trying to achieve:
    -A call comes into a contact center application
    -Via an integration this call is send to a SAP ICI webinterface and ends up at the agent logged on to that SAP session.
    Now we have an awkward situation that the original number coming from the PBX is rather misformed +00031123456789. What we are expecting is +31123456789. The number coming from the PBX can be changed, but that is going to have consequences for all other people that are not connected to SAP, so doing this is not an option.
    What I have been reading about is that it is possible to get CAD (Call Attached Data) to be send into the SAP ICI environment.
    The contact center application is delivering the data in the following XML format:
    What I am interested in is to map all these fields into such a way that I can use them in the SAP ICI interface.
    I have been reading Link:[; and in there it is mentioned that there needs to be a mapping between these fields and an XSLT and ABAP. And a reference to a book.
    Is there anybody that can help me with this? Or give me some other advice that could help me out in this case. I would very much appreciate it.
    Thank you all very much for your input.
    Best regards,
    Corné

    Hello Corné,
    I'm guessing the reference was to my book, "Maximizing Your SAP CRM Interaction Center" from SAP Press, where on page 396 I offer a paragraph on how to identify a call via CAD rather than ANI.
    Here's the excerpt:
    How to Identify Account via Call Attached Data (CAD)
    Is the Interaction Center able to identify a customer via account number contained in call attached data (CAD) rather the via automatic number identification (ANI) service?
    Yes, it is possible to identify a customer by extracting the customeru2019s account ID from the call attached data (CAD). This can be configured in the IMG activity Define Account Identification Profiles (transaction CRMC_IC_BPPROF) in the fields under Contact-Attached Data Extraction. In the CAD Application ID field, enter the value that appears in the application ID tag that appears in the XML code of the Interactive Voice Response (IVR) system that collects the customeru2019s account number (e.g., u201CGenesys-CADu201D). In the XSLT file field, enter the name of the XSLT program that is responsible for extracting the account ID from the contact attached data. You are responsible for creating this XSLT file. However, SAP delivers a sample XSLT file that you can reference, named CRM_IC_BPIDENT_EXT_IAD_TO_ABAP. SAP also provides a sample program showing how to extract CAD data from, for example, Genesys named CRM_IC_BPIDENT_EXT_IAD_GENESYS. See SAP note 707104 for additional information.
    Best regards,
    John

Maybe you are looking for

  • How to print from a planning view in APO SNP ?

    Does anybody know how to print on paper from the planning view in the planning book. I have made a view with a key figure. In the view, I can see the productnumber, the key figure and the values. Some users want to print it on paper.

  • How to use Sonos as wireless speakers for a Mac...

    Here's a solution I just tried, and found that actually works!   I've listed it as an *idea* because I would assume that SONOS might be able to offer a similar solution, unless (of course) licensing issues prevent them from doing it without permissio

  • Best Practice for creating Excel report from SSIS.

    I have a requirement to create an Excel report on a daily basis which pulls data from SQL. I have attempted to resolve this by creating a stored procedure to save the results in SQL, a template in Excel to hold the graphs & pivot tables and an SSIS p

  • Portfolio Design

    Hello Adobe Forum, I have created an architectural portfolio using Indesign, and have also created a portfolio for print which came out great.  However, I am now in the process of creating a portfolio in an interactive PDF so that I can have the opti

  • Deploying on web

    Hi I am deploying my report on web. When I am deploying on web my report fonts, alignment are changing. Can any one help me out how to solve this problem. Vijay null