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

Similar Messages

  • Selection screen of report writer

    Hi all,
    I am working on a report writer .In this report writer there is one column set which is a key figure set.
    It has two key figures,each is associated with one additional set.
    The fields of additional sets are as follows.
    Additional set 1 -
    period range1
    year1
    record type
    Additional set 2-
    period range2
    year2
    record type
    Its selection screen is automatically taking these as a parameters from additional sets in the following sequence.
    year1
    year2
    period1 to
    period1 from
    period2 to
    period2 from
    I want this sequence to be different i.e. as follows:
    Period1 to
    period1 from
    year1
    Period2 to
    period2 from
    year2
    Can anyone tell me how can  I achieve this.
    Thank You.

    Here is the Code:
    DATA: lt_params  TYPE STANDARD TABLE OF alv_s_param_wp,
    lwa_params TYPE alv_s_param_wp,
    lwa_msg    TYPE bapiret2,
    gt_msg     TYPE TABLE OF bapiret2,
    lv_dcpfm   TYPE xudcpfm,
    gt_data    TYPE STANDARD TABLE OF grwwebdata.
    CLEAR:gt_data,
    lwa_msg.
    REFRESH : gt_data, gt_msg.
    *  SET REPORT painter paramters
    lwa_params-pname  = '$PARAMETER[$1KOKRE'.
    lwa_params-pvalue = c_ccode.   '' (company code = 0010)
    APPEND lwa_params TO lt_params .
    lwa_params-pname  = '$PARAMETER[$1GJAHR'.
    lwa_params-pvalue = p_year.    (2011)
    APPEND lwa_params TO lt_params .
    lwa_params-pname  = '$PARAMETER[$1PERIV'.
    lwa_params-pvalue = s_month-low.     " (1)
    APPEND lwa_params TO lt_params .
    lwa_params-pname  = '$PARAMETER[$1PERIB'.
    lwa_params-pvalue = s_month-high.    "(12)
    APPEND lwa_params TO lt_params .
    lwa_params-pname  = '$PARAMETER[$1VERP'.
    lwa_params-pvalue = p_plan.        " (0)
    APPEND lwa_params TO lt_params .
    lwa_params-pname  = '$SELECT-OPTION[$1KOSET'.
    lwa_params-pvalue = 'I[EQ[1110[3190'.
    APPEND lwa_params TO lt_params .
    CALL FUNCTION 'CRIF_RW_WEB_CALL_REPORT'
    EXPORTING
    i_report_group  = '1SIP'
    *     I_PERS_APPL     =
    *     I_NEW_SELECTION =
    *     I_DISPLAY_LIST  =
    *     I_APPL_ID       =
    *     I_VAR           =
    TABLES
    it_params       = lt_params
    et_data         = gt_data
    et_messages     = gt_msg.

  • Advanced Benefits : How to use Person Selection Rule?

    Hi,
    For processing Open Enrollment we need to run"Participation Process:Scheduled" Concurrent Program for a set of 300 employees.How to create a person Selection Rule for this?
    thanks.

    Okie.....then lets do this..
    FORMULA TEXT:
    /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/
    /*=========== DATABASE ITEM DEFAULTS ENDS======================*/
    /*============ INPUT VALUES DEFAULT BEGIN ======================*/
    /*============== INPUT VALUES DEFAUT ENDS ======================*/
    /*================= INPUTS SECTION BEGIN ========================*/
    /*================== INPUTS SECTION ENDS ========================*/
    /*================ FORMULA SECTION BEGIN =======================*/
    l_ret = PER_SELECTION_FUN ( hard code all your employee number here like '938114' )
    return l_ret
    Function will be -
    CREATE OR REPLACE FUNCTION test_load_runner (p_employee_number IN NUMBER)
    RETURN VARCHAR2
    IS
    BEGIN
    RETURN 'Y';
    END;
    Lets try this and let me know if this does not resolve ur issue.
    Gaurav

  • Convert report writer to report painter

    Hi,
    Please advice how to convert report writer to report painter.
    I have used GR31 to create a report writer but I need to convert it to a report painter as in GRR3.

    Hi!
    Fortunately report writer programs are ABAP programs. You can figure out their names in the following way:
    GR55 - Enter the name of the report group, you wanted to modify - press F8.
    On the selection screen choose Environment - Technical data, you'll see the program names here.
    They seem like this:
    GPCV74T2WBUPA9V6K6M86563YM7040
    GPCXBUYEUX830Y0CQQTVVO0FLRZ040
    GPCZGL3QTILGRM5IXB1JL6UR8XR040
    GPCT2ENQXQHBJLQ0DMEKGMBSBGF040
    Simply copy them... But don't forget, after you copy the report, all change in the GR55 will not get into the copyed programs.
    Regards
    Tamá

  • Creating Selection screen in Report Painter

    Good day everyone,
      Does anyone know how I could create a selection screen in Report Writer? Thanks!
    >Christian<

    Hi,
    Simple Parameters  or Selec-options statements will suffice.
    Eg : Parameters : p_matnr type mara-matnr.
           select-options : s_matnr for mara-matnr.
    In selection screen, you may have selec-options, parameters, check boxes, radio buttons etc.
    Regards,
    Sujatha.

  • Convert SQL*Report Writer V1 to Reports V6

    Is there an Oracle utility to convert the old SQL*Report Writer REPs to Reports V6 RDFs? Also, will Reports V6 for Unix be able to use our REPs from SQL*Report Writer V1?
    We are moving to a new server and updating our Oracle software. As a test, we are attempting to rewrite / convert some of our reports from our Unix platform to a test NT server. Once we get to the new Unix server and Oracle, we will have to convert the old REPs to the new Reports for Unix.

    You can convert SQL*ReportWriter v1.1 reports to Oracle Reports 2.5/3.0 and then to Oracle Reports 6.0. I know there is a migration tool that comes with 2.5, though I'm not sure about 3.0.

  • EC-CS report writer report: what sets to use in general data select/cols?

    I am about to write Report Writer reports using table FIMC. In the rows I will use a set that includes the whole balance sheet structure. What do I put in general data selection or columns? I need to know the ids of the (standard?) sets...

    hi,
    In General Data Selection you have to assign the
    1. Controlling Area or Company Code
    2. Fiscal Year.
    3. From and To Period.
    4. Dr. /Cr Indicators.
    Cheers
    Ranjit

  • 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

  • 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

  • Proper use of END-OF-SELECTION event in report programme

    Hi,
    If we will write "WRITE" statements in side START-OF-SELECTION then it will help me to display the output.Then what is the need of END-OF-SELECTION .
    Can any body please tell me the <b>proper use of END-OF-SELECTION event in report programme.</b>

    This is the last of the events called by the runtime environment to occur. It is triggered after all of the data has been read from the logical database, and before the list processor is started.
    <b>In report programs using LDB for every value selected the program issues the output, to control this you would use END-OF-SELECTION.</b> Now if you call your output in this event, the output is made only after all the values are selected as per the selection criteria.
    suppose while coding, u need a logic like below:
    if a condition is satisfied continue with the report
    and if not satisfied, then display a message and end the report.
    then u can code like below.
    start-of-slection.
    if a = <condition>.
    do the following.......
    else.
    stop.
    end-of-selection.
    write: 'THIS IS END'.
    stop command triggers end-of-slection from anywhere.
    I hope it helps.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Report writer Authorization on selection screen

    Hi All,
    In transaction GR55 (to execute the report group), when the user enters the selection criteria for the report group, I want to validate the
    'Profit Center group' and 'Profit center values' fields. The way it should be validated is, it should check the entry for the 'profit center group' or 'values' entered against the 'user name' in a Ztable for that user. If there is no entry in the Ztable matching that 'User name' and 'profit center group or values' , it should give an error message. I have seen that there is a user exit 'EXIT_SAPFGRWX_001' (Authorization check on initial screen).
    But my problem is, in this functional module (code is shown below), the table 'I_T_SELSCREEN_PARAMS' has only one filed for both 'Profit center Group' and 'profit center values'.
    1. when I enter 'Profit center group' 'ABC' in my selection criteria, I_T_SELSCREEN_PARAMS has following values.
    I_T_SELSCREEN_PARAMS - selname = '%8A-PCHI'.
    I_T_SELSCREEN_PARAMS-low = '01061000ABC'.
    2. When I enter 'Profit Center Values' as some '3001000' to '3001020' inn the selection criteria, I_T_SELSCREEN_PARAMS has following fields,
    I_T_SELSCREEN_PARAMS-selname = '%8A-PCHI'
    I_T_SELSCREEN_PARAMS-low = '0002$ZSLP&8A-PCHI'.
    here ZSLP is the report group name.
    I don't understand how to get the values '3001000' to '30001020' into my user-exit in case 2.
    Is there any other way of doing this? has anyone used this user-exit? Please help me.
    Thanks,
    Krishna
    FUNCTION EXIT_SAPFGRWX_001.

    Hi Krishnakumar Ramadoss,
    For your requirement to have authorization, SAP provides facility in report writer/painter to give authorization groups.
    Go to GR52.
    Input your report group name.
    Click on Header (Cap symbol) or F5.
    At this header screen , you can see a field where you can provide Authorization group.
    Try this. It may help you.
    As a note:
    Report writer / Report painter reports are reports which are created with zero percent coding.
    The SAP generated program (E.g: GP3ICYT39FHJLOYBA2025DBAE1V213) cannot be changed or modified.
    The only coding that you can do in a report writer are the formula's and logic that you can write in variables of the report writer / painter.
    Regards,
    Subin John

  • Report Writer: How to Edit the allowable GenData Selection from a Library

    Hello guys,
    Recently I am trying to copy the Report  List: <b>Total Plan/Actual/Commitments ( 6OPL-001 ) </b> (not sure if this is SAP standard or not) from the Library <b>6O2</b>.  I want to add the Business Area as part of the selectable parameter in the selection screen but the libary wont let me do that.
    Is there a way to resolve this? If so how?
    Thanks guys and hope to hear from you soon.

    Hi
    You have to copy the Report of that Report Painter/Writer to ZREPORT
    and from the Menu go to
    GENERAL DATA SELECTIOn
    and change the selection criteria of that report
    Report Writer functions can be accessed from within the Report Painter.
    The difference lies in the GUI of the report painter.
    For Report Painter
    http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/content.htm
    For Report Writer
    http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7dc143c211d182b30000e829fbfe/content.htm
    Refer the following links :
    http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    http://sap.ittoolbox.com/groups/technical-functional/sap-r3-other/accessing-tables-using-report-painterwriter-98766
    http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_bw31/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
    Reward points if useful
    Regards
    Anji

  • Vbund in general data selection ( report writer)

    Hi
    I wanted to add to general data selection in report field Trading Partner.
    I did following actions:
    1. Created copy of library 1VK
    2. Added to this copied library ( let's call it ZVJ) characteristic VBUND
    3. In grr2 I inserted into ZVJ report 1SIP-001.
    4. Now I want to add selection field trading partner in this report. I added trading partner to general data selection but when click on search help to add value that allows me to choose trading partner i got following message:
    How can i create a report for CO postings that will use vbund?

    Hi Jan,
    Reporting Library 1VK use the standard CO Structure VBUND and be aware that
    the field VBUND can be activated in the line item reporting but not in the Report Writer Reporting (table CCSS). In particular, no set can be created for field VBUND.This is standard limitation.
    The reason is the Report Writer always takes the field catalogue from the control entries for CO Strucrure CCSS from the Report Writer summary Table  -  T804E.
    In the default setting, the fields are taken from structure CCR1Z because the indicator L/F is marked only for them. Since CCR1Z does not contain the field VBUND that's the reason why system can not create any set for the field - VBUND.So it is correct that you might find the field - VBUND in the CCSS Structure however you can not use this field as a part of report painter report in this library.
    Thanks & Regards
    Subhasish

  • Copy of Report created using Report writer

    Hi All
    Can anybody please let me know,  how to create a copy of a report created using Report Writer. I dont have a copy of what is there in production and would like to make a copy before changing it. Also if it is possible , can I have a copy of it in Production?
    Thanks
    Sameer

    Go to GRR2, select your report and use copy functionaly to copy to new one.
    Cheers
    Manohar

  • Report Writer using Consolidation Group

    Hi,
       I have created a reconciliation report using report writer (GR55).
    However, there is no data extraction when I used the field reconciliation group (FIMC-RCONGR or FIMC-INICG).
       Regards,
       Leslie

    1) If you have proper constraints (means foreign-keys) between the tables you could try to read the relations between the tables using a Select from ALL_CONSTRAINTS) but even this will be not to easy starting with tables having more than one constraint between each other. You have several possibilities to execute the generated sql depending on what you want to do with the query result.
    - Create a record-group with the created sql using CREATE_GROUP_FROM_QUERY-buit-in.
    - Use DBMS_SQL to execute with dynamic sql.
    - use EXECUTE IMMEDIATE (works only in a database function/procedure).
    What do you want to do with the results of your query?

Maybe you are looking for

  • Exception while using JDIC

    I used jdic-0.9.1 for registering the file type association of the file format that i have created. While executing the code for registering the association it throws the following exception. java.lang.UnsatisfiedLinkError: no jdic in java.library.pa

  • Authorization Restriction Issue in BI

    Hi, Problem in Authorization, unable to execute the sales report in BEX giving message as "You do not have authorization for access with activity on the InfoProvider " I have given the object  S_RS_COMP   Activity                       *   InfoArea  

  • Change Field in FB02 - (BSEG-EBELN)

    Dear Experts, Please advise whether this field BSEG-EBELN can be changed for a FI document in transaction code FB02. Many thanks.

  • Query 3 Lists having lookup column

    I have 3 Lists and I have to fetch the data from them. The scenario is: ListA,    ListsMapping,                                                       ListB IdA       IdA(Lookup from ListA),IdB(Lookup from ListB)       IdB I need to query ListsMapping

  • How to seperate PC SCREEN pages from MOBILE pages?

    I read in a Microsoft MSDN article recently where it is a good idea to have the main landing page as index.html and detect if the browser is using a mobile and instead load a different version just for mobiles. I was wondering how I would implement s