Let user assign header for Report Painter Report

Hi all,
I would like to let the user assign the header while generate the report.
(Because the report is somewhat dynamic)
Here the details of my requirement:
1) Let the user input the header text in the selection screen of the report
2) Display the inputted text as the header ( Which setup at GRR2 via Extras > Rport Texts -> Headers)
Or any possible dynamic method will be welcome.
Tried to define a variable for this, but unused variable will not show up for selection when setup header
Regards
Bill

Bill --
are you writing an ALV report ?
if yes, you try something like this--
START-OF-SELECTION.
  PERFORM SET_TITLE USING TITLE. 
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
*      I_INTERFACE_CHECK = 'X'
        i_callback_program      = gd_repid
*      i_callback_top_of_page  = 'TOP-OF-PAGE'
**      i_callback_user_command = 'USER_COMMAND_ALV'
**       I_CALLBACK_PF_STATUS_SET = 'ZSTATUS_MUSTER'
        it_fieldcat             = fieldcatalog[]
        i_save                  = 'X'
        IS_LAYOUT                = GD_LAYOUT
        is_variant              = g_variant
         I_GRID_TITLE           = TITLE " Gives the Title to the ALV report.
      TABLES
        t_outtab                = IT_MUSTER
      EXCEPTIONS
        program_error           = 1
        OTHERS                  = 2.
FORM SET_TITLE USING TITLE.
TITLE = <YOUR TITLE ON SELECTION SCREEN>
ENDFORM.                    " SET_TITLE
Regards,
Sumit

Similar Messages

  • Report painter report in portal - Excel output in SAP GUI for HTML

    Dear sirs,
    I need your expertize. I would like to let my users display (Excel in place)/ save the result of my report painter reports into MS Excel. I have found notes 499262 a 314568, but didn´t understand the message (or there is no message:)). Does that mean I cannot use Excel in place together with Report painter and SAP GUI for HTML?
    Second question: is there a place (user exit in generated code? I don´t even know what I am looking for) to get the data provided by the report painter engine and send the retrieved data to some custom function (to be able to call the Adobe form, to save it as a text file or any option how to manipulate the resulting data...?).
    thank you for your time and effort,
    regards Otto

    Hi Otto,
    You can send print the report to the spool and then use RSTXPDFT4 program to convert this spool to PDF file. Alternatively, you can export the spool to spreadsheet or ASCII file via SP01 transaction.
    Additinally, I'm not aware of unability to use Excel output with SAP GUI interface.
    Regards,
    Eli

  • T.Code for Report painter report

    Hi,
    Is there a way to assign a T.Code to the Report painter report, so that users do not have to go to GR53.
    thanks & Regards
    Rose

    thanks Eli, I tried this in Sandbox and it looks good.
    You seem to know a lot about Report Painter, I hope you would be able to certainly help me understand this :
    My predecessor here, created a report painter report and then asked the ABAP team to copy the report painter program (its like a query name) to a Z Prpgram and assign a transaction code. As I hear this was done to avoid the authorization issues.. (???) when this was moved to Testing Dev client, all this worked But when we moved this to QA, the error "program doesnot exist" made us to change the zprogram to remove the logic that the program had to check for the Client, in which the report was created. We removed that but then it then includes started giving the same error. so this will surely not work.
    So, my question is : when this simple way of giving a report painter report a t.code with the defaults, would there be any auth issues that you can think of ???
    thanks in advance.
    Regards
    Rose

  • Transaction Codes for Report Painter Reports

    Hi,
    Can any bodu assist on how can we create a link for the report painter report and the transaction code for the same.
    Also is there somthing to be taken care while getting the same transported to another client.
    Thanks & Regards,
    Ankur Goel

    Hi,
    Thanks for response.
    Actually I created the Transaction code and get the Report and Transaction code transported but when i executed the transaction code in the Receiver Client i gave run time ABAP error.
    let me give example:
    a) I created the Library, Report Group & Report in my Developement Client.
    b) Using SE93 i assigned the program name of the Report to transaction code.
    c) Got the Library, Report Group, Report & T.code transported to Quality Client.
    d) Executed the transaction code in QAS which gave me error.
    Reason identified:
    a) Let say Program name created for the report is AAXGHGYGBL010 in my client 010.
    b) Transaction code ZREPORT01 created using SE93 for program AAXGHGYGBL010.
    c) Now got the Library, Report Group, Report & T.code transported to Quality Client 050.
    d) In client 050 program AAXGHGYGBL010 doesnot exist as AAXGHGYGBL050 has been created for the transported Report.
    Thanks & Regards,
    Ankur Goel

  • Change the default setting for report painter reports.

    HI All
    Can we change the default setting in SAP/R3  in the report painter reports  for the selection screen options?
    If yes,Please let  me know how we can change the default settings.
    Thanks in Advance
    Best regards
    Venu

    HI
    We have a report developed in the report painter for profit center accounting and we have selection screen for this report.
    Few of the selection screen fields parameter are set by default and we need to change the default setting for the selection screen fields parameters.
    How and where do we  set or change the default parameters for the selection screen ?
    Thanks in advance
    Best Regards
    Venugopal

  • Implicit enhancement for report painter reports(For GRR3 and CJE3)

    Hi,
    We have a client requirement to add 5 fields (In selection screen) to report painter reports ( Reports of CJE3 and GRR3 ).We created Z reports as a copy of standard reports, added required 5 fields by implementing SAP notes and other settings.We have also done implicit enhancement for all these reports to make change in the behaviour of new fields.This is working fine in the development client but the problem is once we transport this to other client new reports get generated( With new name ) and implicit enhancement will be lost.
    For eg:in development client for CJE1/CJE2 report the program name will be "GPAVPSATWFP4NN0YRDBIQBHI8MQ"
    but when we transport it to other client new program "GP8O1UCNZTJYY5LTO8GN0UW2GQB" is generated in which implicit enhancements are not found.
    Can you please suggest how to handle implicit enhancement in such cases? Or what is the correct way to transport it.
    Thanks in advance
    Regards,
    Shekhar

    Hi,
    Thanks for the quick reply..
    I have already done implicit enhancement as you said ,my problem is to transport it to another client.
    I have implemented implicit enhancement for one report lets say it as "ABC", and i transport it to another client with all the enhancement. But in another client new program "XYZ" is getting generated for same report( dynamic programs ), so my implicit enhancement is present but its applicable to "ABC" program but not for "XYZ".
    Can you please suggest how can i handle this??
    thanks in advance,
    Greeshma.
    Edited by: Accgreeshma on Jan 23, 2012 3:04 PM

  • Selection screen control for a field in the report painter report

    Hi,
    Could you please advice me as to how we can add exclude selection functionality for a field on the selection screen of a report made by trhough report painter report.
    Your prompt reply will be really appreciated.
    Thanks,
    Ramesh.

    look at this code and try
    select-options : S_NODEID for ZNODETAB-ZNODEID.
    at selection-screen on value-request for s_nodeid-low
    perform f4_nodeid using 'S_NODEID-LOW'.
    at selection-screen on value-request for s_nodeid-low
    perform f4_nodeid using 'S_NODEID-HIGH'.
    end-of-selection.
    FORM f4_nodeid  USING    p_field.
      declare it_node.
    select znodeid from ZNODETAB into table it_node.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'ZNODEID'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = p_field
          value           = space
          value_org       = 'S'
          display         = 'F'
        TABLES
          value_tab       = it_node
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
    endform

  • Data for Report Painter report

    Hi Gurus,
    I have a report painter report S_ALR_87013019 . This uses the
    Library 602 (gr23), report - 60BU-001 (GRR3).
    Need to create a regular report based on this, Can you Please tell from which tables the values are getting retrieved by this report painter report, or in general on how to trace back the tables used by the report painter.
    Also if it uses Set ID as inputs for fetching data, is there a way to get the setid/setclass value.
    Thanks,
    Regards,
    Raman

    Hi
    The As on Date balance cant be cumulated...
    Eg; you bought inventory worth 10 million in Current year and as of now you have 4 million worth of inventory in stock
    Cumulated bal in this case is 10 mil and As on Date balance is 4 million... 4 million is what you will get in SAP reports
    The same Key figure which shows values in comp code currency can be used
    br, Ajay M

  • Create T.Code for Report painter- report (GRR1)

    Hi Experts,
    I have created report in report painter( T.code - GRR1) using 1vk library, now i want to have a transaction code for my new report.
    So, How can i create a T.code for customized report in GRR1.
    Thanks
    Raj

    Dear Raj,
    Hope this link will help you.
    http://home4sap.com/Blog/2009/08/how-to-create-a-transaction-code-for-report-painter-reports/
    Thanks and regards
    Praveen.J

  • How to set different header for different Standard report page

    How to set different header for different Standard report page

    Hi,
    A easy answer would be use the 'set report header text.vi' but maybe you are talking about something else ?

  • How to Display Heading for TREE Structure (report)

    hi,
         tell me how display the heading for the TREE Report.
    With Regards,
    Shakthi Raj N.

    Hi,
    If you are using object oriented approach for developing the Tree report, then you can use below shown example for creating header for the report.
      first create tree control
      CREATE OBJECT TREE1
        EXPORTING
            PARENT              = G_CONTAINER_OBJECT
            NODE_SELECTION_MODE = CL_GUI_COLUMN_TREE=>NODE_SEL_MODE_SINGLE
            ITEM_SELECTION      = ''
            NO_HTML_HEADER      = ''
            NO_TOOLBAR          = ''
        EXCEPTIONS
            CNTL_ERROR                   = 1
            CNTL_SYSTEM_ERROR            = 2
            CREATE_ERROR                 = 3
            LIFETIME_ERROR               = 4
            ILLEGAL_NODE_SELECTION_MODE  = 5
            FAILED                       = 6
            ILLEGAL_COLUMN_NAME          = 7.
      CLEAR GT_HEADER.
      GT_HEADER-TYP = 'H'.
      GT_HEADER-INFO = 'Output'.
      APPEND GT_HEADER.
      CLEAR GT_HEADER.
      GT_HEADER-TYP = 'S'.
      GT_HEADER-KEY = 'Display'.
      GT_HEADER-INFO = 'Report'.
      APPEND GT_HEADER.
    then create empty tree-control
      CALL METHOD TREE1->SET_TABLE_FOR_FIRST_DISPLAY
              EXPORTING
                   IS_HIERARCHY_HEADER  = G_HIERARCHY_HEADER
                   I_BACKGROUND_ID      = 'ALV_BACKGROUND'
                   IT_LIST_COMMENTARY   = GT_HEADER[]
              CHANGING
                   IT_OUTTAB            = GT_SPFLI[]    "empty table
                   IT_FIELDCATALOG      = GT_FIELDCAT_LVC[].
    In this way header can be given for Tree report.
    Hope this answers your query.
    Regards,
    Brajvir

  • API to share users and responsibility for a discoverer report

    Hi Everyone,
    Is there any API exists to share users and responsibility for a discoverer report from the database?
    Thanks
    Pramil

    Hi,
    You can use the Discoverer EUL command line for Java interface (EULAPI). This is a java utility then runs on the Apps server so you can use it with a shell script. For example,
    eulapi –connect <connect string> -grant_privilege –workbook_access rodw.myworkbook –apps_responsibility Financials
    See the documentation at http://download.oracle.com/docs/html/B13919_03/ref.htm#sthref120
    Alternatively, you could create your own API that added new records to the EUL5_ACCESS_PRIVS table. However, this is not a supported approach and you need to understand the structure of the EUL tables to do this.
    Rod West

  • Process/stpes to modify the report painter reports...

    Hi,
        I want to modify the report painter report. Could anybody tell me how can we do this. Where can we do this and it would be helpful if any body advise with the steps.
    The requirement is to add one line in the current report painter report and remove one line from it.
    Regards....

    Hi,
    Modifying a report painter report is very similar to creating the report itself. Below mentioned are the steps in general, please use them as per your requirement.
    From the relevant application, choose Tools->Report Painter->Report->Create.
    The Report Painter: Create Report screen appears.
    You can also create Report Painter reports from any Report Writer screen. To do so, choose Report Writer->Report Painter-> Create report.
    Enter the name of the library the report is to use, and a name and description for the report. The report name can be a maximum of eight characters long. If you want to create your report using an existing Report Painter report as a basis, enter the name of the report that you want to copy under Copy from. Both reports must use the same library.
    Choose Create.The next screen displays an empty report containing four rows and four columns (this is the basic structure for a report). You define your report on this screen.
    Enter or change the description for the report by double-clicking the report description field.
    A dialog box appears in which you can enter a short, medium, and long text for the report description.
    Define the rows of your report.Rows contain a combination of characteristic values or formulas. Note the lead column at the first position of the rows. The Report Painter uses the lead column to access the rows. You can replace the description Lead column with a different term.
    Define the columns of your report. Columns contain a combination of a basic key figure and optional restricting characteristic values. You can also use predefined key figures to present key figures and characteristics that make business sense. For example, a number of predefined key figures are delivered for the libraries in Overhead Cost Controlling that can be copied directly into the reports, where they can be modified as required.
    Define general data selection criteria. The general data selection criteria restrict data selection for the report.
    Choose Save and then Execute to create the report. Assign the report to a report group.
    You have to display the report before you execute it, so that you can later change the report layout directly from the report list. Once you have defined a report, you can display and print out a table of contents with Extras->Overview.
    The overview contains the characteristics and characteristic values used in the individual sections, column blocks, and general data selection criteria. It also provides general information such as the user who last changed the report, the report name, and the standard layout assigned to the report, as well as details on the report formats.
    If you double-click an individual characteristic, you can see where this characteristic is used in the report definition.
    Hope this helps you. Let me know if you need an specific information.
    Rgds
    Manish

  • Issues in Report Painter Reports

    Dear All,
    We are on ECC 6.0. We are using some Report Painter Reports and we are facing the following 2 issues:
    1. Authorization
    For some of the Profitability Reports, we are facing authorization issues. e.g. If I do not need a user to view the profitiability of a particular Business Area to which he does not belong to then I should be able to restrict the same via authorization. However, I do not know where to maintain such authorization objects in Report Painter Reports
    2. Financial Statement Version
    We have created a Cash Flow Statement by using the Report Painter. We have created a Form whereby we have assigned GL Accounts to some characteristics and Financial Statement Version Item to others. However, when we execute the report, we can see figures for only those items where we assigned the GL Accounts and not for those items where we assigned FSV Items.
    Thanks,
    Shalin Shah

    Hi,
    1: search SAPNET with search terms "report painter, authorization", guess you find some useful notes.
    2: Try T-code KE5B to convert Financial Statement Verison sets to sets that can be used in report painter.
    Best regards, Christian

  • Profit center group number on the report painter report.

    Hi,
    We have a client requirement where we have to develop Profit center by Functional Area report by using report painter report functionality, however we are able to bring profit center group description on to the report as per the requirement, but not able to get profit center group number displayed on the report.
    Can anyone please advice me if we can get the Profit center group number displayed on the report in Report painter report. Else let me know if we can get the requirement met by an ABAPER.

    Hi.
    First of all, through transaction GS01 create a set ID for profit centers.
    Give table GLPCT, let the set type be the default (basic set) and give field name RPRCTR. Then define the range of profit centers you want. If you want all the profit centers give * in the "from value field".
    Then create a variable through transaction GS11. Give table and field as above, choose variable type set and at the default set field choose the set you created.
    Finally, at report painter go to Edit/General Data Selection and select profit center.
    Check both flags (for entering sets and variables) and give at the form field the variable you've made.
    Now the progit center group will be available in the selection screen with default value the set you've made.
    Regards

Maybe you are looking for

  • Creating a multi-language website on Dreamweaver-cs4

    Hi, What would be the best aproach to create a multi-language website ( max 10 html pages , not a portal ) on CS4. I had Joomla in my mind but I want to learn Dreamweaver way. Should create different folders for each  additinonal language and copy th

  • Fonts not available when offline

    I am a creative cloud subscriber however when I'm not on the internet and trying to work I get an error that fonts are not available since I'm not connected to the creative cloud at that time. Is this bug and if so how do I resolve it?

  • Muse - need to force a graphic sticky to stay with moving navigation...

    I just created this Muse website: http://www.weyrichenterprises.com The logo in the upper left hand corner (WE - Change the Game) wont stay inside of the header navigation and leaves when the user scrolls down - it doesnt stay sticky with the rest of

  • CSS : Background image not appearing on header

    Hi Guys, I need help with the background color of my header, for some reason, it's appearing in dreamweaver but NOT in the browser (FF, Chrome) If you have firebug, you can check the source from the link below. http://oneworldlc.ph/contact.php <body>

  • Tracking your lost iPad

    I recently lost my new iPad air after 2 months, (Ouch). I tried the Find my iPhone APP but did not help.  The problem is that I have a lock on the screen for security purpose and it is only a WiFi system so the Find my iPhone app does not work unless