Report write Strange in Background

Hi all,
One of the reports created using report writer (GR55 - F030) has started behaving strangly. In one of the columns,the report when generated in the background, the desciptions of the cost center has stopped appearing and instead it is repeating the costcenter again. e.g if code for cost center is 00710000 then earlier its description used to appear next to it but now it apears as 00710000 00710000. However the report when run in the forground works well. Any solutions?
Thanks in advance
Sameer

Hi,
The Note should resolve the isse. Consider the 3 options given. Use GRR2 to making corrections as suggested. Option 3 is last resort, you need an ABAPER for it.
Choose GRR2-> Go to the Library-> Choose the report-> Double Click on Column-> Check the definition -> Choose Edit -> Choose General Data Selection-> Check value here. Look the value Cost Centre. Remove it from column and add it general data selection as it is. Save the report, generated and execute.
Report Painter Reports are usually maintained in PRD. test this first in Quality (which is a reasonable copy of PRD) and then attempt if PRD if it works.
I just fixed issue where account number texts were not appearing.
Rgds.

Similar Messages

  • Report is executing in background and need data(output) in excel format

    Report is executing in background and need data(output) to get downloaded in excel format in my PC from an internal table;;in any drive i.e. C: or D: .When executing in backround it prompt to user with which location excel file to be saved and the name of file.How to download in background in excel format?
    Edited by: PRASHANT BHATNAGAR on Aug 26, 2008 6:24 AM

    Hi
    Download a report to excel with format (border, color cell, etc)
    Try this program...it may help you to change the font ..etc.
    Code:
    REPORT ZSIRI NO STANDARD PAGE HEADING.
    this report demonstrates how to send some ABAP data to an
    EXCEL sheet using OLE automation.
    INCLUDE OLE2INCL.
    handles for OLE objects
    DATA: H_EXCEL TYPE OLE2_OBJECT,        " Excel object
          H_MAPL TYPE OLE2_OBJECT,         " list of workbooks
          H_MAP TYPE OLE2_OBJECT,          " workbook
          H_ZL TYPE OLE2_OBJECT,           " cell
          H_F TYPE OLE2_OBJECT.            " font
    TABLES: SPFLI.
    DATA  H TYPE I.
    table of flights
    DATA: IT_SPFLI LIKE SPFLI OCCURS 10 WITH HEADER LINE.
    *&   Event START-OF-SELECTION
    START-OF-SELECTION.
    read flights
      SELECT * FROM SPFLI INTO TABLE IT_SPFLI UP TO 10 ROWS.
    display header
      ULINE (61).
      WRITE: /     SY-VLINE NO-GAP,
              (3)  'Flg'(001) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (4)  'Nr'(002) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (20) 'Von'(003) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (20) 'Nach'(004) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (8)  'Zeit'(005) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP.
      ULINE /(61).
    display flights
      LOOP AT IT_SPFLI.
      WRITE: / SY-VLINE NO-GAP,
               IT_SPFLI-CARRID COLOR COL_KEY NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CONNID COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CITYFROM COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CITYTO COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-DEPTIME COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP.
      ENDLOOP.
      ULINE /(61).
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-007
           EXCEPTIONS
                OTHERS     = 1.
    start Excel
      CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
    PERFORM ERR_HDL.
      SET PROPERTY OF H_EXCEL  'Visible' = 1.
    CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:\kis_excel.xls'
    PERFORM ERR_HDL.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-008
           EXCEPTIONS
                OTHERS     = 1.
    get list of workbooks, initially empty
      CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
      PERFORM ERR_HDL.
    add a new workbook
      CALL METHOD OF H_MAPL 'Add' = H_MAP.
      PERFORM ERR_HDL.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-009
           EXCEPTIONS
                OTHERS     = 1.
    output column headings to active Excel sheet
      PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
      PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
      PERFORM FILL_CELL USING 1 3 1 'Von'(003).
      PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
      PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
      LOOP AT IT_SPFLI.
    copy flights to active EXCEL sheet
        H = SY-TABIX + 1.
        PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
        PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
        PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
        PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
        PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
      ENDLOOP.
    changes by Kishore  - start
    CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
      CALL METHOD OF H_EXCEL 'Worksheets' = H_MAPL." EXPORTING #1 = 2.
      PERFORM ERR_HDL.
    add a new workbook
      CALL METHOD OF H_MAPL 'Add' = H_MAP  EXPORTING #1 = 2.
      PERFORM ERR_HDL.
    tell user what is going on
      SET PROPERTY OF H_MAP 'NAME' = 'COPY'.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-009
           EXCEPTIONS
                OTHERS     = 1.
    output column headings to active Excel sheet
      PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
      PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
      PERFORM FILL_CELL USING 1 3 1 'Von'(003).
      PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
      PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
      LOOP AT IT_SPFLI.
    copy flights to active EXCEL sheet
        H = SY-TABIX + 1.
        PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
        PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
        PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
        PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
        PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
      ENDLOOP.
    changes by Kishore  - end
    disconnect from Excel
         CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING  #1 = 'C:\SKV.XLS'.
      FREE OBJECT H_EXCEL.
      PERFORM ERR_HDL.
          FORM FILL_CELL                                                *
          sets cell at coordinates i,j to value val boldtype bold       *
    FORM FILL_CELL USING I J BOLD VAL.
      CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
      PERFORM ERR_HDL.
      SET PROPERTY OF H_ZL 'Value' = VAL .
      PERFORM ERR_HDL.
      GET PROPERTY OF H_ZL 'Font' = H_F.
      PERFORM ERR_HDL.
      SET PROPERTY OF H_F 'Bold' = BOLD .
      PERFORM ERR_HDL.
    ENDFORM.
    *&      Form  ERR_HDL
          outputs OLE error if any                                       *
    -->  p1        text
    <--  p2        text
    FORM ERR_HDL.
    IF SY-SUBRC <> 0.
      WRITE: / 'Fehler bei OLE-Automation:'(010), SY-SUBRC.
      STOP.
    ENDIF.
    ENDFORM.                    " ERR_HDL
    Regards
    Murali Papana

  • Error generating report in Report writer (GR214, short dump)

    Hello
    We are making a report in GGR2. When generating the report group, we have dump with error:
    Short text of error message:
    Internal error.: SAPMGRW2, Include: MGRW2F20, FORM: GEN_DATAFI
    ELD.
    Long text of error message:
    Technical information about the message:
    Message class....... "GR"
    Number.............. 214
    Variable 1.......... "SAPMGRW2"
    Variable 2.......... "MGRW2F20"
    Variable 3.......... "GEN_DATAFIELD"
    Variable 4.......... " "
    I have generated as well via GR52 with the same result.
    The report i try to generate has about 500 lines, uses a number of existing sets and has simple formulas in it. When i restrict the number of rows to say 400 I donu2019t have the issue. Is there a restriction to rows in report writer?
    Thanks for your help
    Kai

    Hi,
    The error you are receiving could be caused by a large number of row blocks in your report definition, (you can check the report definition with report RGRRDC00). A report should not contain too many row and column blocks. It is not possible to give an upper bound for the number of row blocks (since the length of the coding depends on other parts of the report as well). However, even a complicated Report Writer or Report Painter report should not contain more than 50 row blocks, and reports with more than 100 row blocks should not be defined.
    In this case the report(s) have to be redefined. Please also refer to the note 387916 for further information regarding this issue.
    When there are more than 30 variables in a report, please have a look at the note 332091.
    Please reduce the number of row blocks in the report by using the function 'Edit' -> 'Rows' -> 'Explode' in the Report Painter
    definition. This function enables several rows to be created for one row block (in the Report Painter definition one row block is just one row). Report Painter (and Report Writer) are designed to display hierarchical reports where the rows in the few row blocks are built up using the 'Explode' function.
    regards
    Waman

  • How to create the Set ID for report writer

    Hi
    I am suppose to create the Set id . Please suggest me the t-code etc for creating set id.
    Thanks
    Shiv

    transaction for  creating the set ID GS01
    further, the menu path  in the application menu is
    information system->Ad Hoc Reports ->Report Painter ->Report Writer ->Set
    if helpful, plz assign point as way of thanks

  • Report Writer Excel integration

    I have a serious issue here that I am unable to resolve in report writer or painter.
    I want the report to export to excel with some formatting.
    The formatting that I want is that.
    My report has 1 row of profit center which is variablized for user selection, when a user wants to see a report for a certain range of profit centers, he will enter that in the selection criteria, the report comes out looking fine how I want it but when I turn the excel integration on , I want all the profit centers that were selected in the selection screen to appear in a seperate tab in excel..
    So one tab per profit center chosen , How do i do that?
    please help, urgent.
    thanks.

    Hi,
    Use section option,
    Edit--- sections-New section (with profit center range).
    Thanks
    Jagannadh

  • Modifications in Transaction  S_ALR_87013611( Report Writer )

    Hi Gurus,
    I have a Standard transaction S_ALR_87013611 which in turn calls the transaction KSB1.This former transaction is developed using report writer. The Issue is that when I give Cost Center Values twice in the selection screen with multiple values , I get two cost centre values with same number and the corresponding values are added.So I need to restrict the Cost Centre values in the selection screen to unique values.And for that I need to modify the report . So if anyone have ever worked with report writer or report painter, please tell how to modify the report and add our own coding as in the case of ABAP Query.
    Thanks in advance.

    Thanks for not replying...I have found the solution myself

  • Error message in report writer when add new selection filed?

    Dear All,
    I wanna add a new selection field cost element group and cost element to a report in report writer. I key in GR52 and click the general data selection. I select the set variable &1KSTAR to enter into the set ID. But it shows me the following message:
    Set cannot be used in Selection:
    Message no. GR807
    Diagnosis
    You are trying to use a set in report maintenance.
    The set cannot be entered in the report definition for any of the dimensions for which the set could be used.
    The following error message describes why the set cannot be used for all the dimensions for which the set can be used.
    System Response
    The set will not be entered in report maintenance.
    Procedure
    Choose an appropriate set.
    What does it mean? I have tried other set variables but sitll gave the same message.
    Thank you and good day.
    Emma.

    At the same time, it gave me a green light message saying:
    Characteristic Cost Element is already used in a row
    Message no. GR465
    Diagnosis
    The characteristic Cost Element is already being used in a report row block and therefore cannot be used in a different part of the report.
    Technical note:  The field name for characteristic Cost Element is KSTAR.
    Does it mean I have used the cost element in the report and blocked the cost element so that I can't use it in the selection screen? How can I solve this by not changing the report or should I change the report?
    Thank you and good day
    Emma

  • Report Writer Issue

    Hi Gurus,
    I have created report ZTEPCA12 with report writer .When i check the syntex i am getting the error.
    The key figure cell ZTEPCA12 has not yet been defined
        Message no. GR687
    Can any one please tell me where do i need to define this.
    Thank in advance

    Hi,
    Go into GR32, select the report you have created in change mode.  Go to the columns, and view the key figure set.  In there you would have defined a set of key figures, which are basically value fields.
    The reason for the error could be that you have entered a key figure set there but not defined the set with the key figure fields or you would not have entered a key figure set in the report itself.
    Go into GS02 and enter the set name and include the key figures in the column From value from the table defined in the set.
    If the set does not exist then create a key figure set with key figures.
    Cheers.

  • Ability to schedule a report to run in background but No access to transact

    Hi,
    I want to give users ability to schedule a report to run in background but No access to transaction Sm37.
    What can be the process/steps to work and morever if we do this is there any disadvantages that users
    can face later...
    <removed_by_moderator>
    Thanks,
    Barada
    Edited by: Julius Bussche on Jan 28, 2009 1:12 PM

    Sorry, I misread your question - thinking that the report should only be run in the background.
    I agree with the others (also about SMX and SMXX to display their own jobs, but not change them afterwards), but which report (tree) is this?
    You can still give the user an ability to maintain a variant via transaction VARCH though (no execute possibility) . It will check S_PROGRAM p_action VARIANT or look for a user specific protection flag.
    But then the user can submit it online as well from other transactions. That is why I thought you were looking for a way to run it as low priority in the background only.
    Cheers,
    Julius

  • Error when running a report writer

    Hi,
    I am getting an error ("Internal error: More than 999 GREP blocks were requested") when running a report writer.
    The error diagnosis is:
    Internal error: More than 999 GREP blocks were requested                                                                               
    Message no. GR 215                                                                               
    Diagnosis                                                                               
    An internal error occurred in the Report Writer.                                                                               
    When running the program, you selected the option to store your results
         permanently.  However, when the selected data was stored in blocks in  
         the GREP file, the maximum number of blocks was exceeded.                                                                               
    System Response                                                                               
    The selection program was terminated.                                                                               
    Procedure                                                                               
    Inform your system administrator.                                                                               
    You may have to increase the block size for the GREP blocks.    
    Anybody knows how to increase the size of GREP blocks?
    Thanks in advance.
    Regards,
    Arun Mohan

    Hello,
    The reason for the error GR215 is that too many data blocks are being
    processed.
    The explanation is one of the following:
    - You have variation activated in the report
    - A large group of objects is being processed and the report output
       fails due to the large data size
    - the selected data is reaching the technical restriction
    Check the SAP note 64537. This note advises you to set the BLOCK SIZE parameter
    in the coding to 500000. However, the maximum value possible is 999999. You may -
    if you already implemented the coding change of SAP note 64537 - raise the parameter
    once more to 999999.
    If the error then still remains the selected/processed data is definitely too much.
    Then check the report definition in comparison to SAP notes 317574 and 387414.
    Regards,
    David

  • What is the significance of report writer and report painter

    hi all,
    can anyone throw light on report write and report painter, when and why it used with examples.
    thanxs in advance
    regds
    hari

    Dear Hari,
    http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
    Report Painter allows you to create reports using data from SAP application components, which you can adapt to meet your individual requirements.
    Many of your reporting requirements can already be met by using the standard reports provided by various SAP application components. If these SAP standard reports do not meet your reporting needs, Report Painter enables you to define your specific reports quickly and easily.
    Report Painter fulfills a function similar to Report Writer, but is easier to use. Most of the functions found in Report Writer have been built into Report Painter; however, you do not need to be familiar with all Report Writer concepts (such as Sets) in order to use Report Painter.
    When executing a Report Painter report, it is displayed by the system in Report Writer format. You thus have access to the same functions as for Report Writer reports defined in the same way, and can combine Report Painter and Report Writer reports together in a report group.
    Report Painter uses a graphical report structure, which forms the basis for your report definition and displays the rows and columns as they appear in the final report output.
    To facilitate report definition, you can use many of the standard reporting objects provided by SAP (such as libraries, row/column models, and standard layouts) in your own specific reports. When you define a Report Painter report you can use groups (sets). You can also enter characteristic values directly.
    Advantages of Report Painter include:
    Flexible and simple report definition
    Report definition without using sets
    Direct layout control: The rows and columns are displayed in the report definition as they appear in the final report output, making test runs unnecessary.
    http://help.sap.com/saphelp_47x200/helpdata/en/56/32e339b62b3011e10000000a11402f/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
    Regards,
    Naveen.

  • Use of Selection Rule in Report Writer.

    Hello Everybody,
    I am trying to make use of selection rule in report writer.   We have a mixed chart of accounts using both IFRS and USGAAP account.  Distinction between USGAAP and IFRS is based on certain value in gl account master data.  Using report writer rule I wish to exclude IFRS account for a specfic report.
    For example
    REPORT = X = Rule to restrict selection to only USGAAP account
    REPORT = Y = Rule to restrict selection to only IFRS account.
    I have created a rule and tried to build user-exit around it.  However during the callup of the selection rule no values are transferred to user-exit and therefore the ABAP consultant is not able to write any specific code.
    Request your inputs on usage of selection rules in report writer.
    Regards
    Jayesh.

    Hi Jayesh,
    Please have a look at the below attachment.
    [http://help.sap.com/saphelp_470/helpdata/en/5b/d22e3843c611d182b30000e829fbfe/content.htm]
    Warm regards,
    Murukan Arunachalam

  • Getting a weird error in Report Writer Report(ABAP Reporting tool)

    Hi Guys,
    If anybody has worked on Report Writer Report.Can you help me in this regards?
    There is a peculiar problem for the (Column block) .In the Column block there are 3 key figures(Quantity,Local Currency and Group Currency).
    Of these in the output of the Report Writer Report the Quantity Column is not getting summed up properly.Though the other 2 columns(Local Currency and Group Currency)are reflecting the proper summed up data.
    According to the tables, all of them are reflecting the accurate data.But only for the Quantity column though its reflecting the actual data,but the summation for it is not reflecting the correct data.
    Can anybody tell me if we can attach screen-shots for Questions posted in Forums?
    Please help me in this regards.

    Hi James,
    Thank you for your quick response.
    I checked the report and the remainder functions is not being used.
    The only formulas being used in the report are the following.
    UpperCase ([1])
    + ", " + - This is set to @name
    {@name} + " (" + + ")"
    There are some formatting formulas set on the above values, but other than that, there is a sql query and the "select distinct rows" and "perform grouping on server" is selected.
    Thanks,
    Jayashree

  • Report Painter/Report Writer - Documentation

    Hi All,
    Can any one send me documentation on Report Painter. I have requirements to created some reports in my project.
    Please send the documentation to my email id [email protected]
    Bye,
    Ramesh

    Hello Balaji/Ramesh
       Can you please send me the report writer documentation @ [email protected]
    I have an requirement to combine 2 standard report S_ALR_87013018 for total plan /actual /commitment & S_ALR_87013017 for actual/plan /var. and create one z report.Please help me.

  • Table fields used for basic key figures in report writer/report painter

    Does anyone know how I can find which <u>table field</u> is actually being used for SAP defined <b>basic key figures</b> in report writer report? For example, <b>HSL</b> is a basic key figure for income statement, library 0F1, report 0F-GUVV. It only shows data is coming from table GLFUNCT. How does the report writer program knows which fields to select? What is the logic behind the basic key figures?
    Any advice is appreciated!!
    Minami

    I have now resolved this issue.
    I had to manually update TablesT804B and T804F. 
    I've added entries to T804A in the past without the need to update T804B or T804F manually so it appears that the way these tables work together has changed following an upgrade or application of support packs.
    Regards
    Mel

Maybe you are looking for