Executing Report Painter Report in Loop With Different Selection Parameters

Hello all,
I have to execute a report painter report about 300 times, allways with a different set of selection parameters and allwasy send the result to a different person via mail.
Has someone an idea how to to this work in an automatic loop.
Thanks.

HI,
My suggestion is to discuss this with your technical team (ABAP). A Good idea would be to create a wrapper program (small program based on your report painted report code) that contains email functionality. You can then save your 300 variants and then schedule a background job for the same using transaction code SM36.
Regards

Similar Messages

  • Issue with Report painter report

    Hi Gurus
    I need your help with an issue with one of our report painter reports. I have created a new report with Fiscal Year, Ledger, Company code, and Account number range in General data selection. The report row has field Segment and each period corresponds to one period of the fscal year. In here, I have selected Period and Record type 0 as characteristics. The basic key figure is KSL for second currency.
    I am able to save the report but when I execute it, I get the error that
    *Characteristic GJAHR cannot be combined with key figures*
    Can someone please help me as why I am getting this error?
    I appreciate your help.
    Thanks,
    Shalu

    Hi
    I think you have to rechek the genral data selection setting , related to fiscal year.
    had u defaulted the fiscal year or used variant for fiscal year
    Thanks
    alok

  • Function Modules to Execute Report Painter Report

    Hi Experts,
    May I know if there is any way to execute the GR55 Report Painter reports, and get the report result back as a table?
    I need this to write a program to export the result to a external system.
    Many thanks!!!
    Regards,
    Chris

    I am actually expecting a ABAP way to do so, but not to do that in foreground manually.
    I found the solution anyway by using the below sample code:
    *&      Form  frm_retrieve_data
          text:Get report painter Result
    FORM frm_retrieve_data .
      DATA:lt_params  TYPE STANDARD TABLE OF alv_s_param_wp,
           lwa_params TYPE alv_s_param_wp,
           lwa_msg    LIKE LINE OF gt_msg,
           lv_dcpfm   TYPE xudcpfm.
      CLEAR:gt_data,gt_msg.
    Set report painter Paramters
      lwa_params-pname = '$PARAMETER[$ZRYEAR0'.
      lwa_params-pvalue = sy-datum+0(4).
      APPEND lwa_params TO lt_params .
      lwa_params-pname = '$PARAMETER[$ZBUKRS0'.
      lwa_params-pvalue = 'JNPC'.
      APPEND lwa_params TO lt_params .
      lwa_params-pname = '$PARAMETER[$ZBUKRS1'.
      lwa_params-pvalue = 'JNPC'.
      APPEND lwa_params TO lt_params .
      lwa_params-pname = '$PARAMETER[$ZF-RP00'.
      lwa_params-pvalue = sy-datum+4(2).
      APPEND lwa_params TO lt_params .
      CALL FUNCTION 'CRIF_RW_WEB_CALL_REPORT'
        EXPORTING
          i_report_group = 'JNZ1'
        TABLES
          it_params      = lt_params
          et_data        = gt_data
          et_messages    = gt_msg.
      LOOP AT gt_msg INTO lwa_msg
        WHERE type = 'E' OR type = 'A'.
        gv_flg = cns_yes.
        EXIT.
      ENDLOOP.
      IF gv_flg IS INITIAL AND
         gt_data IS INITIAL.
        gv_flg = cns_nodata.
      ENDIF.
    ENDFORM.                    " frm_retrieve_data

  • Need to call a Report Painter Report with filtered selection criteria

    Hello All,
    I have created a Report through which I am calling a Report Painter Program 'Z443'  as I have to first filter out the selections and then pass it to the Report Painter Report.
    I tried the following two ways and found these problems :
    1. Submit (program) with selection-table ..... and Return.
      The output had many entries i.e the parameters were not passed correctly to the Report Painter Report.
    2. Tried using the FM ' CRIF_RW_WEB_CALL_REPORT '.
      The transaction for the Report Painter is opening but selections from the first Report is not being transferred.
    Please help if you have worked on any similar requirements .
    Thanks!

    hi
    thanx for ur reply.
    i think the select-options is the best way to get more then one currency values.
    but i need to know what code i have to write for display of this day.
    in the standard report MCTA there he is using only one currency. similarly i need to add 2 more columns for each currency in that same report o/p.
    how to do that can any body help me
    regards,
    maqsood

  • Selection screen fields order in report painter report..

    hi experts,
    i have a  problem with selection screen fields order in report painter report.
    Actually in report painter report selection screen order is different compare to report writer report selection screen.
    how should i get the same selection screen fields order For  Report painter  report compare to Report Writer report ?
    For example, Report Writer selection screen order is:
      ledger:
      company code:
      period:
      current fiscal year:
      previous fiscal yer:
      previous quarter end period:
    where as Report Painter selection screen order is:
      ledger:
      previous fis year:
      current fis year:
      company code:
      period:
      previous quarter end period:
    please help me regarding with this.
    Thanks and Regards,
      NAGARJUNA.

    hi nagarjun,
    Go to Sq01, select the query and goto to change mode.go to the next screens till u reach Selection fields. Here u enter the NO field in the sequence which u want ot appear in the selection screen and it is done. Save and execute.
    Ex:
    Selection fields No
    Exclude Cancelled Lots 5
    Material number 1
    Plant 2
    Material type 3
    Inspection Lot Origin 4
    Regards,
    Lokesh

  • 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

  • Report Painter Report Performance Issue

    hi,
    My client facing the problem with Report painter reports , almost all the reports taking much amount of time to execute . we are Using 5.0 version tables FAGLFLEXT and CSSS . i have some doubts report index is the cause for this or any other reasons can any one help me in this regard,
    thanks in advance
    sasidhar.A

    Hi,
    just create a proper index and performance will increase. There are some SAP OSS notes who deal with this (for example field "client" should be added if'm not mistaken).
    We did the same on profit center tables with huge performance increases
    grtz
    dries

  • Problem in Exporting a Report Group having a Report Painter Report.

    I am having a problem in exporting a Report group having a Report Painter report.When I am trying to export the Report Group using transaction GR57 with all dependent objects,it is displaying:
           group 0102CPDNUEA-CCROSI not transported.
           Transport groups separately if necessary.
    There are 6 such groups which are not transported.Can anybody help me in this regards.Can anybody help me in exporting these Groups.Specifically in Report painter reports what do these Groups signify and how can we see them.Please help me....

    hi,
    I am able to export my report groups with dependent objects successfully.
    I dont know why you are getting error message. Just keep break point at ***** and execute it for single group and find out why it is giving error.
      IF SY-BATCH = 'X' OR NO_LIST = 'X'.  "direct or batch
        SET PF-STATUS 'LIST'.
    *****PERFORM TRANSPORT_OBJS USING 'X'.  "transport all jobs
        IF FILE_EXP <> 'X'.
          READ TABLE WT_E071 INDEX 1.
          IF SY-SUBRC = 0.
            LEAVE.
          ENDIF.
        ENDIF.
      ELSE.                                "online
        SET PF-STATUS 'MENU'.
       PERFORM WRITE_TRANSP_OBJS.
      ENDIF.
    regards,
    ram

  • Report Painter Report - Leading White Spaces in Cost Element

    When calling up a report painter report, e.g. S_ALR_87013613, with cost element characteristic in Office integration/Microsoft Excel as output parameters, the cost element (row item) is indented with white spaces.  The number of white spaces seems to be in relation with summation levels (sub-totals) visible in the left panel.  For some cost centres that only have limited transactions, such as no posting to salary account group, there are less levels of summation, meaning less leading white space in cost elements.  Is there any way to eliminate or have a fixed number of leading white spaces in cost elements? 
    We export the report to Excel worksheet for further processing.  VLOOKUP function is used to read the cost element into another workbook.  The inconsistent number of leading white spaces creates a problem for the formulas to work properly. 
    Any suggestion is appreciated.
    Regards,

    Hello,
    There are different ways of downloading the report to excel. One option is
    System ==> List ==> save (to local file)
    Please try with other options.
    If still not working, then the work around would be
    You can put ctrl+H (replace all spaces)
    Then text to columns
    Hope this works.
    Regards,
    Ravi

  • 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

  • Line Items missing in report painter report..

    Hi guri's,
    Iam uisng customized  P&L report painter report using with library 1VK....in this report some line items are not shwoing..... how to solve it...
    regars
    JK

    After you've create a P&L report using the report painter, you would also have to create line item reports for example 'Receiver- Profit Center Line Items'  and then assign these line items reports under 'Report/Report Interface' in the P&L report.
    How to do this:
    1. After creating the line item report(s),  use transaction code GR52 which is for change report group. Enter the P&L report group and click enter.
    2. Under 'Report/Report Interface', click on 'configure' under assigned report to library.
    3. In the pop-up screen, click on the green plus sign "Insert Row"
    4. Another screen will pop-up. Enter the report group for the line items report and enter.
    5. Save
    6. Regenerate your report group. After regeneration, execute.
    7. Drill-down in the displayed P&L report to the line items.
    Don't hestitate to ask for further clarifications.
    Elias

  • Display Profit Center & GL Account in 2 Seperate Columns in Report Painter Report

    Hello All,
    I am building a Report Painter Report for Inventory Balances. As psrt of my requirement I have to display GL Account & Profit Center ina different Column & their Balances for each month on this Current Fiscal Period. As/of now I am only able to have both GL Account & Profit Center in the Same Lead Column? And it is perfect if I look on the Report but when I download all the GL Account & Profit Center are not seperated with Color, so it becomes confusing. I need to have  execlty the Report as Same Format S_PL0_86000030.
    How can this be achievable? Thanks for your valuable input?

    the account is probably in account group or set. Look for that one in report painter and then go to the set or account group and remove/add the account.

  • Value Type and Report Type in Report Painter Report

    Is there a way I can get both characteristics WRTPP and RRCTY in one table? Or, can I work with two different tables in creating Report Painter report? I need to get the planned values of cost elements with record type 1 and value type 10 to show under one column in my report.
    Your help is very much appreciated.
    Edited by: Mauricio Villa on Oct 23, 2010 10:32 PM

    use the selection criteria to restrict the field types in the query designer- use other variables to check the value
    if it doesnt reconcile- you can alternatively use a multi provider for the same thing- that way you will get the same amount in 1 column and you could restrict using the infoprovider column

  • Period in report painter report

    Hi Experts,
    I use a report painter report where certain variables are used.
    In report, I have two columns. First column shows details of current period and second column shows immediate prior period.
    Say 1st column shows details of period 2, 2011 then 2nd column shows period 1, 2011.
    Here, the problem I am facing is, if I execute for period 1, 2011 u2013 I expect period 1 of 2011 in column 1 and period 12, 2010 in column 2 u2013 but in 2nd column, instead of period 12, it shows heading as period u20180u2019 and no details are displayed. This is happening only if I execute for period 1. From period 2 onwards its fine.
    The variables I used in column 1 and 2 are
    Column 1
         Fiscal year : Variable u2018ZYEARu2019
         Period : ZPERTO
    Column 2
         Fiscal year : Variable u2018ZYEARu2019
         Period : ZPERT-1
    Details of formula variables
    ZYEAR: From field (GLPCT- RYEAR) with formula (IF '#S006' = 1 THEN '#S001' - 1 ELSE '#S001')
    ZPERTO: From field (GLPCT- RPMAX) with formula (IF '#S006' = 1 THEN 12 ELSE '#S006' u2013 1)
    ZPERT-1: From field (GLPCT- RPMAX) with formula ('ZPERTO' -1), also Internal variable check box is checked in this variable.
    Could someone explain me how to solve this. I would like to se the system right with minimum changes because these variables are used in some other reports too. So would like to make the thing possible with minimum changes.
    Thanks.

    Hi,
    Create 2 more variables and use this formula.
    Variable 1: ZYEAR (Fiscal Year) RYEAR u2192 '#S001'
    Variable 2: ZPERT (Period) RPMAX u2192 '#S002'
    Variable 3: ZPERT-1 (Period -1) RPMAX
    IF 'ZPERT' > 1 THEN 'ZPERT' - 1
           ELSE 12
    Variable 4: ZYEAR-1(Year for Period-1) RYEAR
    IF 'ZPERT-1' < 'ZPERT' THEN 'ZYEAR'
                                        ELSE 'ZYEAR' - 1
    Use the Variables
    1.ZYEAR & 2.ZPERT for Current Month.
    3.ZYEAR-1 & 2.ZPERT-1 for Previous Month.
    Hope it solves your problem.
    ~Andrew

  • Attaching a Transaction Code to Report Painter Report

    Hi All
    After creating a report painter report in GRR2 ... I tried to attach it to a transaction code in SE93...
    But am not able to do so?
    Is this possible and if so how is it done?
    Thank you
    Rukshana

    I assume that you were copying the report/program from one environment to the next? DEV->QA->PRD
    Using the Elias' example above, for program name, ensure that the last portion of it coincides with the environment in which you are executing the transaction code.
    GP4FGHMLN5Z2Q5MDAN2A89TGV1K010.
    Notice the '010'? Is that the client number for the environment in which you wish to run this program?
    If your PRD environment is for example, client 100, then you will need to change the t-code to point appropriately to the program for that client. In this case (using my example), the program name to be referenced by the t-code would be:
    GP4FGHMLN5Z2Q5MDAN2A89TGV1K100.
    Try that out. If all else fails, if you have access to t-code SE38, search for your program name (except for the last portion, etc.) with a wildcard (*). If you find the program, run it to make sure that this is what you were expecting. Now that you have the correct program name, use that in SE93 for your t-code.

Maybe you are looking for

  • Windows magnifier no longer working with latest update

    Hi Team '''Accessability Issue''' Since I have had an update from your site, I have lost the focus on the windows magnifyer only when I use Firefox. It works on IE and every other app that I have. I have gone into the magnifyer settings and made sure

  • Mail can't send messages: Doesn't allow fix the problem either: Help plz.

    Hi all, Mail doesn't allow me to send messages through my recent created aim.com account I'm trying to fix the problem by changing smtp server configuration but it gives me the message: "The servers marked with alert icons are in conflict and cannot

  • STMS  ERROR emergency

    Hi all         I transfered a Request from BWQ to BWP,but there is a error with the Request.    the content of the Error:     Execution of programs after import (XPRA)     Transport request   : BWDK902762     System              : BWP     tp path    

  • Reporting (Timesheet Project Aggregation) tasks "waiting to be processed" forever...

    Project Server 2010 /SP2/SEM A few days ago, a job of the type Reporting (Timesheet Project Aggregation) in the queue got "stuck" (by which I mean it shows  processing but at 0%) and some, but not all, subsequent Reporting (Timesheet Project Aggregat

  • Satellite A300-1J1 - Some FN keys are not working

    My FN key seems to have half broken. When I press it usually the icons would appear on top of my screen now it doesnt and all the function keys like F1 F2 F3 etc work with the FN key except F4 which hibernates the computer, also the light turn on und