Refresh CRM data in R/3 report

Hi All,
I've a report in R/3 where i get the Order Status of CRM through a RFC, but when i'm changing the status in CRM through crmd_order, when the report is open in R/3. When i press the refresh button, the status is not changed, it shows the previous status.
Below is the code, can any1 help me how to go about
  CALL FUNCTION 'CRM0_READ_RFC_DEST'
    EXPORTING
     i_consumer             = 'CRM'
      i_download_type       = '*'
      i_objname             = '*'
  I_BAPICRMDH2          =
  I_REM_LOGSYS          =
    TABLES
      t_crmrfcpar           = t_crmrfcpar
EXCEPTIONS
  NO_ENTRY_FOUND        = 1
  OTHERS                = 2
  IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
  IF NOT t_crmrfcpar[] IS  INITIAL.
    READ TABLE t_crmrfcpar INDEX 1.
    l_rfcdst = t_crmrfcpar-rfcdest.
  ENDIF.
Call RFC
*loop at z_guid into lguid.
*endloop.
*refresh ZORDER_STATUS.
CALL FUNCTION 'ZCRM_HEADER_STATUS'
  DESTINATION l_rfcdst
IMPORTING
      ORDER_IDRET       =   l_guid
  tables
      ORD_STATUS        = ZORDER_STATUS
Regards
Sanju

any body?

Similar Messages

  • Not having to refresh the data in the main report but only in the subreport

    Hi SAP,
    I have a report that uses a stored procedure in the main report and uses regular database tables in the subreport.  The data returned from the stored procedure reports information from the month-end database (a cutoff point from the previous month's numbers) while the subreport reports information from the live database.  This report gets run everyday to show the changes in numbers from the live database.  Obviously the numbers from the month-end database remainds static until the next month's cutoff database is created. 
    My problem is that everyday when I run the report, the data needs to refresh from both the stored procedure in the main report and the live database tables in the subreport.  How can I leave the data returned from the stored procedure static or as is without refreshing the stored procedure returned data and just have the subreport data refresh itself?  The stored procedure really puts a strain on the database and I would like to cut-out the time to process the report as well.  Does anyone have any ideas?
    Zack

    Hi Zack,
    Try the following under Report options.
    1. Clear the check box of "Verify Stored Procedures on First Refresh" in the Main report.
    2. Select the check box of "Verify on First Refresh" in  the sub report.
    Hope this helps.

  • Unable to refresh the data on a cached report.

    Hi,
    I am using the CR4E component on a Tomcat server.
    I am having real difficulty to getting a cached report to refresh. Basically when the report is first displayed it is okay, then some further data is added to the database, and when the report is redisplayed (with the same parameters) it is still displaying the cached information. This is specific for the subreports. I basically always want my reports to refresh when they are displayed.
    I know this must be simple but I just can't get to work, or find any example code.
    I have tried a couple of options:
    Option 1:
    clientDoc.open(rptName, OpenReportOptions._openAsReadOnly+OpenReportOptions._refreshRepositoryObjects);
    This said it could not be implemented before loging in....and the documentation says this only work for the RAS.
    Option 2:
         CrystalReportViewer reportViewer = null;
         try {
              HttpSession session = request.getSession();
              reportViewer = PrepareSignetManifestReport(aryCrates, dateFrom, dateTo, dateSent, session, serContext, false);
              //if (session.getAttribute("refreshed") == null) {
                   reportViewer.refresh();
                   //session.setAttribute("refreshed", "true");
              reportViewer.processHttpRequest(request,response,serContext,out);
         finally
              if (reportViewer != null) {
                   reportViewer.dispose();
    When I add the 'reportViewer.refresh()' i then get the following error:
    "Some parameters are missing values "
    Any pointer in the right direction would be gratefully received.
    Thanks
    Matt.

    Hi,
    On looking into this issue it is just the sub-report that does not refresh when loaded from the session. The main report is okay. We are using JDBC with Oracle 10g.
    Even if I change the parameters the main report refreshes okay, but the subreport doesn't.
    Is there a work-around for this problem?
    My code is pretty much based on the standard code generated by the system in the CRJavaHelper class so I am confident that my code is okay.
    I really appreciate some help here as I have a client not trusting their continuity because it doesn't display in the report and I don't want to have to close the report each time because of the performance. I have tried reseting the parameter fields
    Thanks
    Matt.

  • CRM 7.0 - Enhancement of Data Sources for interactive Reporting

    Hallo All,
    I would like to know whether anybody has positive experience with the enhancement of CRM Data Sources for interactive Reporting. I read that the enhancement of Customer fields should be possible (Those Data Sources below the Hierarchy node /CRMBW/ROOT).
    I have seen that the extract structure can be enhanced via RSA6 (as for other data sources).
    Questions:
    1. Which USEREXIT / BADI has to be used to fill the added fields?
    2. Does it work?
    Best regards

    Hi!
    Those DS are not meant to be enhanced manually but only by one of the following two ways:
    1. Adding custom fields with the Application Enhancement Tool (AET) in the CRM UI.
    2. Adding SAP fields with the Interactive Reporting Enhancement Workbench (IREW).
    The AET is available since CRM 7.0. Please find more details in the SAP Help Portal:
    <http://help.sap.com>
        SAP Business Suite
            SAP Customer Relationship Mgmt.
                 SAP EHP1 for CRM 7.0
                     Application Help
                         WebClient UI Framework
                             Application Enhancement Tool
    The IREW is available since CRM 7.0 EhP1. More details can be found inside TX CRMD_IREW or in the SAP Help Portal:
    <http://help.sap.com>
        SAP Business Suite
            SAP Customer Relationship Mgmt.
                 SAP EHP1 for CRM 7.0
                     Application Help
                         SAP Customer Relationship Management
                             Analytics
    Best regards

  • Refresh Excel data/charts reports in sharepoint

    Hi all,
    I created an Excel report with some Pivot Charts, starting from a
    Sharepoint list data.
    The Excel is saved in a document library of the site.
    The aim is to keep Excel data/charts updated with the values of the corresponding
    list.
    When I open the Excel with Excel Online and click on "Data" - "Refresh all", I see no updates.
    Anyway, if I export the Excel on my pc and click on refresh data, I can see the updates.
    Any solutions? Thanks in advance

    You can't refresh the SharePoint List data in Excel this way. I thought you are using SharePoint server then you need to configure power pivot for your form after that you can get the Odata feed from the SharePoint list using the Odata source you can refresh
    the data in excel online.
    PowerPivot Configuration:
    http://rajeshagadi.blogspot.in/2013/07/installing-powerpivot-for-sharepoint.html
    Connect Odata feed to Excel
    http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2014/02/24/powerpivot-scheduled-data-refresh-from-a-sharepoint-list-using-odata-data-feed-connection-powerpivot-2012-sp1-for-sharepoint-2013.aspx
    http://www.sptechcon.com/news/sharepoint-dashboard-excel
    Ravin Singh D

  • Interactive reporting : error while refreshing MSSQL data in Workspace

    Hi all,
    I recently work with Hyperion and I am facing an issue that makes me crazy.
    My configuration is simple :
    - 1 win2003 server with Hyperion Interactive Reporting services and workspace installed (both works properly)
    - 1 winXP machine with MS Sql Server 2005
    - My dev PC an winXP with IR studio.
    I created an IR report with a MSSQL query that retrieves data into a Table.
    The report is displayed properly and the data is OK.
    When I refresh the data in IR studio, everything is OK.
    I import the OCE file into the the workspace, following by the BQY file.
    The report is displayed properly in workspace with the correct data.
    I change the data in the MSSQL server and I try to refresh the report in the workspace.
    So, I open the report in the workspace and I click on the refresh button.
    But when I do that, I get an error message.
    I read somewhere that we have to configure the DAS.
    I assume that the configuration is made via the Administer/Database connection management (sorry if names are not correct, but I have a french version).
    But when I try to add a new connection, I have only 4 choices for the type of database : Essabse, Financial Management, Planning and SAP BW.... No MSSQL Server.
    I hope that anyone among you can help me, but anyway, thanks for reading my post.

    You need to enter DATABASE details in DAS (Data Access Services) by running Service Configurator.
    Then run Remote and Local Service configurator to enter database details.
    ##I assume that the configuration is made via the Administer/Database connection management (sorry if names are not correct, but I have a french version).
    This is something related to Financial Reporting.
    Hope this helps.
    Regards,
    Manmohan Sharma

  • Reporting on Siebel CRM data in BW

    Hi Gurus,
    We have a new requirement coming up where we need to develop BW reporting for Siebel CRM Data. I do not know the exact requirements yet, but I need to address the way of apporaching this. Basically the clients wants to implement all CRM reporting in BW.
    Please share any docs or links that talk about this issue. IS DBConnect the way to go?
    pls suggest
    Raj

    Hi Raj,
    as I already did BW reporting on Siebel data I can just explain what we did.
    We connected the Siebel system to BW via DBConnect. Then we created views on the required tables to use them as extractors. The data was posted via full upload to ODS-Objects first with update mode overwrite. From there we were able to do a delta to the cubes.
    Hope this helps!
    regards
    Siggi

  • Refresh of Data in Xcelsius from Web Intelligence Results

    Hello,
    I am new to the forum but not to Business Objects/Xcelsius.  I attended the SAP Sapphire Event last May and spent time in the Business Objects lab.  Two Product Managers demonstrated how I would be able to refresh the data in an Xcelsius dashboard using Live Office by retreiving results from a Webi document without refreshing the Webi query. 
    For example, my Webi document contains 100,000 result rows.  I want to be able to select a dropdown in my dashboard and have Live Office retreive only a subset of the 100,000 rows.  This being done without having the Webi query being refreshed from the database.  The Webi query would be refreshed nightly.
    The Product Managers advised that this functionality would be available in Service Pack 3 or before.  As of now I cannot find out how to make this work.  Any help or information would be appreciated.  Thanks.

    Hello Charles,
    WebIntelligence Input Controls are a way to enhance and customize user experience with report filters, they are therefore based on report filters and the feature is more focused on user interface & experience rather than exposition outside web intelligence.
    Anyway, AFAIK, report filters are not available from Live Office report parts, you can only filter content with prompts, which requires the document to be refresh from the database, which has a direct impact on performance and scalability for consumers.
    However, if you are with WebIntelligence XI 3.1 SP2 you have the alternative to publish from WebI Rich Client, report elements (any table or chart) as web services (called BI Services).
    This tool is based on Qaaws technology, and share some of its features (main being that is uses the same Xcelsius Data Manager connection), it exposes a large part of WebI interactions to external consumers (esp. Xcelsius) : report filters, drill, prompts.
    Besides this tool provides a set of call input parameters to tune web service consumption for best performance and scalability, enabling to leverage WebI document management features like scehduling, publishing and refresh, so consumers can balance performance with real-time data.
    More information is available from WebIntelligence Rich Client user documentation from section sharing webi content with other web applications.
    I recommend you install the latest fix pack (SP2.5 and above), as some initial fixes were required to ensure full compatibility with Xcelsius.
    Hope that helps,
    David.

  • Problem in refreshing the data in Xcelsius

    Hi,
    I have added a refresh button in my dashboard  to refresh the data from the BOE , but ones i click that button it ask for user authentication and ones i enter that and click ok nothing happens , the data is not getting refreshed.
    In second case i made my data connection as refresh on load  so as soon i launch my dashboard it ask for user authentication and after entering that details nothing happens and i am not able to see the data and even if i enter wrong details in the pop up window it does not gives any error message for wrong credentials.
    Earlier i was getting the error like #2032 , #2017 so i maintained the crossdomail.xml file in web server it was resolved.
    But i am not able to refresh the data nor i am getting any error message kindly suggest !!
    Regards,
    Mishra,Vibhav

    Dear Ingo,
    Thanks for replying.
    Step 1 : I have used a excel sheet using the live office connection and using the existing CR report from the BOE.
    Step 2 : Then i have published that excel sheet in BOE
    Step 3 : I have imported that spreadsheet in the Xcelsius and created a dashboard on top of that.
    Step 4 : I have added a refresh button on the dashboard which is used to refresh the live office connection and the session URL   that i have maintained is  http://XXXC043A:8080/dswsbobje/services/session . i am not using the refresh on load option.
    Step 4 : When i preview the dashboard with the preview button  available in the Xcelsius i can see the dashboard with the existing data but ones i click the Connection refresh button a user authentication window pop up which ask for the system name user id and pwd and Authentication type . I used the Enterprise authentication for that but ones i submit the credential nothing happens even if i enter the wrong information no error  message is prompted.
    Thanks in advance .
    Regards,
    Mishra,Vibhav

  • How to Dynamically Select the Data File for a Report at Print Time

    How do you configure a Crystal report to ask for the file to be reported on as the report is being printed, and allow the user to browse to the file?
    The environment is Crystal Reports XI, SP3, with ODBC connection to Sage Timberline Office data version 9.7.  The client names their Payroll unposted time file each pay period, and also needs to report on their posted data file, depending on the time period for the report.  The client will need to select both the date range and the file name.
    I have created a SQL statement in Add Command in Database Expert, which prompts for a file name, but it does not let you browse to select a file on the computer.
    Therefore, in the prompts when they print the report, the parameter offers the user a default file name similar to the name they currently use, so they only have to change the payroll period end date in the supplied file name to run the report successfully.
    The client is concerned that sometimes a user will name their data file differently, and not know how to input the file name into the Crystal report prompt at print time.
    My research on dynamic prompts showed you can link to fields inside the data record, but I did not see a way to dynamically link to select the actual files used in the report.
    Another question is that the naming convention used by the SQL query is different than the basic Windows file name, but I think I can handle that issue.
    The actual file name is typically similar to:
    04-10-11 BP NEW.PRT
    However, in the SQL query, the record ID looks like:
    PRT_00-00-00 BP NEW__TIME
    The SQL Statement using a parameter is:
    SELECT
    "PRT_CURRENT__TIME"."Employee",
    "EMPLOYEE1"."Employee_Name",
    "PRT_CURRENT__TIME"."Date",
    "PRT_CURRENT__TIME"."Units",
    "PRT_CURRENT__TIME"."Job",
    "JOB1"."BP_Emps_Used"
    FROM
    "PRT_CURRENT__TIME" AS "PRT_CURRENT__TIME"
    INNER JOIN "JCM_MASTER__JOB" AS "JOB1"
    ON "PRT_CURRENT__TIME"."Job"="JOB1"."Job"
    INNER JOIN "PRM_MASTER__EMPLOYEE" AS "EMPLOYEE1"
    ON "PRT_CURRENT__TIME"."Employee"="EMPLOYEE1"."Employee"
    WHERE "JOB1"."BP_Emps_Used" = 1
    AND
    ("PRT_CURRENT__TIME"."Date" BETWEEN
    {?As of Date} - 41 AND {?As of Date})
    UNION ALL
    ( SELECT
    "PRT_NEW__TIME"."Employee",
    "EMPLOYEE2"."Employee_Name",
    "PRT_NEW__TIME"."Date",
    "PRT_NEW__TIME"."Units",
    "PRT_NEW__TIME"."Job",
    "JOB2"."BP_Emps_Used"
    FROM
    "{?NEWPRT}" AS "PRT_NEW__TIME"
    INNER JOIN "JCM_MASTER__JOB" AS "JOB2"
    ON "PRT_NEW__TIME"."Job"="JOB2"."Job"
    INNER JOIN "PRM_MASTER__EMPLOYEE" AS "EMPLOYEE2"
    ON "PRT_NEW__TIME"."Employee"="EMPLOYEE2"."Employee"
    WHERE "JOB2"."BP_Emps_Used" = 1
    AND
    ("PRT_NEW__TIME"."Date" BETWEEN
    {?As of Date} - 41 AND {?As of Date})

    Hello,
    Sorry you'll have to contact Sage on how to do this. We can help you once you get connected but we can't help you get around their connection methods.
    There is no Preview Set Database Connection method you can use in CR Designer. The Designer assumes you select it first or use the Set Location option before previewing or refreshing the data.
    If you are doing this in the Sage program itself we can't help you, you'll have to contact Sage for assistance.
    Sage is an OEM Partner they are responsible for supporting their product and CR. If they have issues help you then they will contact us directly for assistance.
    Thank you
    Don

  • How to refresh a local file in the Reporting Studio?

    Hello,
    I need to refresh a few local files in the Reporting Studio via script, but obviously command
    ActiveDocument.Sections["Sectionname"].Process()
    does not work, since it's not a query. What else could I use?
    Many thanks for any answer.

    I am confused...How is the solution not exactly what I look for ?
    You asked how to refresh imported data files via script.
    You correctly identified that the Imported file is not a Query.
    However if you look at the Object model closely you will notice properties that if you can think outside the box will allow you to treat the imported file like a query section.
    ActiveDocument.Sections["data.csv"].ProcessSequenceNum
    ActiveDocument.Sections["data.csv"].IncludeInProcessAllBy strategically setting unwanted sections not to process via
    ActiveDocument.Sections["Sectionname"].IncludeInProcessAll = falseand setting targeted section(s)...imported file(s) to process via
    ActiveDocument.Sections["Sectionname"].IncludeInProcessAll = trueThen
    ActiveDocument.ProcessAll()Your section(s) will refresh.
    If this is not a satisfactory solution then move the data files to a database or create a DSN entry and OCE to those files instead of importing them.

  • Problem in refreshing the data in OBIEE answers?

    Hi,
    My report doesn't show the latest data in the database. I tried restarting my BI server and Presentation server also. But it is still showing the old data only. But in Admin tool im able to view the latest data. What could be the reason for this? Wont the refresh button given at the bottom of the report refresh the data?
    Thanks,
    Karthick

    Hi,
    If you want to use the cache and you have a regular load of data into your source for OBIEE, then you just need to ensure that the cache is cleared after your load. There is an ODBC command which will clear it:
    Call SAPurgeAllCache();
    You can put this in a sql file and then call it from a .cmd file:
    nqcmd -d "AnalyticsWeb" -u Administrator -p <password> -s D:\OracleBI\server\Scripts\Common\purge_cache.sql -o D:\OracleBI\server\Scripts\Common\purge_cache.out
    When you run this .cmd file it will clear the cache, this could then be caled from another tool, i.e. an Informatica workflow. All above is based on using a windows machine to connect and run the command.
    If your data is changing all the time and you just don't want caching on then just turn it off in nqsconfig.ini, change:
    ENABLE     =     YES;
    To
    ENABLE     =     No;
    in the cache section.
    Regards,
    Matt

  • Refreshing SIM data on GN2

    Just got the Galaxy Note 2 with new Verizon service...we live in a home where we don't get good service and we were aware of that before switching to Verizon. Despite not having a good signal in our house, we have great signal everywhere else around us. (Complete opposite with AT&T and the reason we switched) However, when we don't have good signal (almost always while at home) I keep getting the "Refreshing SIM data" message. When that happens, it disconnects my WiFi and completely restarts whatever I'm working on. (Web browsing, FB, games, etc) It's fine that I don't have much signal at home. But it is NOT okay that I can't use my WiFi without much interruption because of it.
    I have read on other discussions that a work around is to turn ON Airplane mode and then manually go back in to turn WiFi back on - but that isn't an acceptable "fix" for me because I would like to receive my text messages when my signal happens to pick back up. Since our cell phones are our primary source of communication and we DO intermittently receive some signal, I need that function to work properly. It's absolutely ridiculous that because my phone is searching for a signal/regains signal that it feels it needs to shut down everything and start over. How archaic is this?!?
    I need my phone to go on with business as usual (in regards to WiFi) with or without signal. PLEASE tell me there is a fix!!!
    P.S. I have removed and reinstalled the SIM card - that did not fix it. I have rebooted the phone - no fix. I didn't do a hard reset because I'm not at all convinced that would fix the problem. Some people report that getting a new SIM card has fixed the issue but since my phone AND service with Verizon is brand new, I don't think a new SIM card will make any difference either. Any thoughts?!?!  

        NewToVerizon,
    Thank you for reaching out to us. I am glad to hear that you are a new member of Team VZW. However, I would like your homecoming to be a little more joyous with good service. We would first like to see if there are options for better service within your home. For this we would normally suggest http://bit.ly/AKkC.
    If data is the only real issue, and you do have wi-fi available then I would suggest turning off your mobile data as well. This will only stop the VZW data output potential and should stop the refresh. This will also allow you to get text and calls as you usually would. Please let us know if you notice a change from this.
    Thank you,
    TonyG
    Follow us on Twitter @VZWSupport

  • Error When Refresh Formatted Data inside Excel Analyzer

    I have build a Excel template and load up this to the BI Publisher Server. When I call this template after the log in works fine. When I refresh the data normal it works also fine, but when I try to refresh formatted Data I get the error "Error: This report does not support HTML as an output format." I will not use html output inside Excel, I will use the original Excel template with refreshed data.

    Hi Tim,
    The Refresh Formatted Data works on MS Excel 2003.
    May need to check if its really supported on MS Office 2002.
    Btw another question, is it possible to create an excel template without using Excel Analyzer?
    Also when I used the generated excel file of Excel Analyzer as template, when the report is generated the data sheet sometimes is not filled with correct data or sometimes there is no data at all, even if the parameters used is the same as the one used in generating the original excel file using Excel Analyzer. This happens most of the time for reports with Concatenated Queries or SQL Queries using "CURSOR" to group a set of data. Note that on initial generation of excel file using Excel Analyzer, correct set of data is displayed. It is only when it is used as template and viewed/exported in Excel format that data is not properly loaded.
    Please advise.
    Thanks!
    Uniz

  • Update data source in Crystal report

    hi there
    i have some CR in PROD, now they are needed to do a test in DEV first, when i refresh the report, it will prompt to ask me login, so i choose to login to DEV system, but i found some reports are not updated to the DEV, some do, i also found those reports failed to update to the DEV because they have sub reports
    is there way to update data source for those reports with sub-reports when i login to DEV?
    thanks

    Click on Database, Set Location and choose your Database and server. Highlight the connections and click on the OK or Update button. Do this for each table also and for each subreport.
    Thank you
    Don

Maybe you are looking for

  • Elements will not open after viruses were removed

    First time I tried to open with a photo attachemnt to an eamil I had a message flash accross the screen saying I could not use the program and it needed to be reinstalled. My question is do i "uninstall" it before I "reinstall" it and if I do do I lo

  • Workspace Form Not being Rendered with Updated Data from previous level

    Hi I have a process in wherein a reader extended PDF form is filled and kept in the watch folder. Then the PDF is picked up and a two level approval process starts in Workspace. The initial step in my process takes the PDF document and extracts the X

  • Photos clarity in xperia z1

    I am facing problem with camera, its not taking clear pics. Specificly when zooming photos they become blurred and not crystal clear

  • I can't sync itunes on iphone; only apps, bookmarks, etc. will update

    I have an iphone 4 and a fairly new laptop that my itunes was on until it recently got a virus. Since I spoke to Dell and reinstalled everything to factory settings on my computer, it doesn't sync my music, but it does sync my contacts, apps, etc. No

  • Discuss - pt vs px vs em

    On another board, someone is suggesting using pt instead of ems for font sizes. I always believed that using pt was primarily for print work, not for the web.... Anyone shed any light on this - or even a link to articles that may be of interet (I did