Allowing customer exit interval variables to be "Ready for Input"

Hi BI fans,
I am looking to construct a Pie Chart where the default view will show the Year-To-Date data. At present, we are utilizing a customer exit variable (from the 0FISCPER characteristic) to carry out this task.
It is also required, however, to allow the user to manually adjust the start <u><b>and</b></u> end date of this period. Is it possible to have a customer exit interval variable which will allow the user to modify the start and end date – and thus facilitate specified time periods?
I look forward to hearing from you,

Hi
Use a BI Content variable like 0I_CFYTD - Year to Date For Current Fiscal Yearm, this variable is a interval variable and will default from fiscal period 1 to the current period.
If you edit the variable and set it to ready to input then when you run the report at the variable screen you can change the period on which you want to report.
hope this helps

Similar Messages

  • Customer Exit - Fill variable value - Report is showing wrong records

    Hi Gurus,
    I'm building a query where the user will type a date.
    So I need to show in report just the records where Valid From <= User input date <= Valid To.
    I've created to variables for this:
    ZMSCOG07 (Single, Mandatory) = user input variable used in Valid From characteristic restriction.
    ZMPCOG10 (Single, Mandatory) = customer exit variable to get ZMSCOG07 value and to be used as restriction to Valid To characteristic.
    Then in the query I restricted Valid From characteristic:
    Valid From <= ZMSCOG07
    and Valid To characteristic:
    Valid To >= ZMPCOG10
    Follow my code in CMOD transaction:
    WHEN 'ZMPCOG10'.
        IF I_STEP = 2.
            READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE
            with key VNAM = 'ZMSCOG07'.
            CLEAR L_S_RANGE.
            if sy-subrc = 0.
                L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
            endif.
            L_S_RANGE-SIGN     = 'I'.
            L_S_RANGE-OPT      = 'EQ'.
            APPEND L_S_RANGE TO E_T_RANGE.
        ENDIF.
    I already tried to put L_S_RANGE-OPT = 'GE' in the variable range and in the query to restrict Valid To characteristic:
    Valid From = ZMPCOG10.
    But it's not working correctly. The report is just considering Valid From restriction and showing to me all the records where Valid From <= ZMSCOG07. It seems that ZMPCOG10 is not being filled. Could somebody help me?
    Thanks in advance,
    Helder

    Hi Helder,
    I understand your requirement but I don't understand the solution you are using. I think it's a bit tricky.
    What I would do is:
    Create three variables:
    - VAR1: Single value, mandatory, ready for input, customer exit. Used to store "User input date"
    - VAR2: Select option, customer exit, not ready for input. Used to store Valid From restriction.
    - VAR3: Select option, customer exit, not ready for input. Used to store Valid to restriction.
    Then, use this code:
    WHEN 'VAR2'.
    IF I_STEP = 2.
    READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE
    with key VNAM = 'VAR1'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'LE'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    WHEN 'VAR3'.
    IF I_STEP = 2.
    READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE
    with key VNAM = 'VAR1'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'GE'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    I think this should work, and you'll have three independent variables used for one purpose each.
    Hope this helps.
    Regards,
    Diego

  • Customer Exit - Fill variable depending on query view name

    Hi
    We're running BW 7.0
    We have a query which is used for broadcasting and as well for user input. That's why we have a variable which is default filled by a customer exit. This variable is the week and is default filled: fist week of year up to actual week.
    But now we have for the same query different selection requirenments.
    The same query should be send by email with
    - first week of year up to actual week
    - previous week
    Because of dynamic variables the calweek needs to be filled by customer exit and worked until now fine - until a second requirenment was coming (separat broadcast only with previous week).
    I don't like the idea to copy the query because of maintenance work.
    I'd like to have several views - and depending on the view name etc. I would fill the customer variable. But I don't get the query view name into customer exit - right?
    Do you have any other ideas?
    How do you handle such requirenments?
    Thx
    Roger

    Hi Helder,
    I understand your requirement but I don't understand the solution you are using. I think it's a bit tricky.
    What I would do is:
    Create three variables:
    - VAR1: Single value, mandatory, ready for input, customer exit. Used to store "User input date"
    - VAR2: Select option, customer exit, not ready for input. Used to store Valid From restriction.
    - VAR3: Select option, customer exit, not ready for input. Used to store Valid to restriction.
    Then, use this code:
    WHEN 'VAR2'.
    IF I_STEP = 2.
    READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE
    with key VNAM = 'VAR1'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'LE'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    WHEN 'VAR3'.
    IF I_STEP = 2.
    READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE
    with key VNAM = 'VAR1'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'GE'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    I think this should work, and you'll have three independent variables used for one purpose each.
    Hope this helps.
    Regards,
    Diego

  • Customer Exit in variables

    plz suggest  what can be done which can fullfill our requirement in variable---
    if user gives iput in variable period -jan08  to oct 08,& Material-XXXXXX
    user should get the output of this in the next variable(inspection Lot) as input values (i.e F4 Help)
    inspection lot (lots to be considered only in that period range and for that particular material for selection)
    Thanks
    Rave
    Edited by: rave king on Oct 14, 2008 11:09 AM
    Edited by: rave king on Oct 15, 2008 6:25 AM

    Hi
    The green square at the corner with = symbol represents the particular variable is selected or restricted with that characteristics info object.
    Also you can double click on ZXRSRU01 include program to view the customer exit codes.
    Or you can go to SE38 and enter the program name ZXRSRU01 and Display the program to see the customer exit codes.
    to control the kind of input selection options displayed in the selection screen you have to configure and choose between different variables you create in the Bex.
    look for options in the Bex variable creation for single value selection only.
    in the customer exit.. stop at I_STEP = 3 and check if user input is correct .. else error out.
    If you can predict the correct user entries the user should make.. then you rather make this variable "not available for selection" and fill it in user exit yourself so the security is not breached. This way user cannot tamper with the values you fill in background. But he can filter further later in the query navigation.
    Regards
    Lakshmi

  • Ready for Input Variables for Multiple Queries in I_T_VAR_RANGE

    Hi
    I created Web template which contains multiple views/queries. Two views/queries contain Ready for Input Variables. I have custeomer exit code for this Web template. I wrote code by using Ready for input variable which pass to customer exit code. But the variables which contain in two views/queries not appearing in I_T_VAR_RANGE. The two variables belongs to different views and I required those variables. please find below code:
        WHEN 'ZVBCUST'.
          LOOP AT i_t_var_range INTO w_var_range WHERE vnam = 'ZVAR1'. 
            g_soldto = w_var_range-low.
          ENDLOOP.
          LOOP AT i_t_var_range INTO w_var_range WHERE vnam = 'ZVAR2'
            g_zvbsshto = w_var_range-vnam.
            g_shipto = w_var_range-low.
          ENDLOOP.
    The above 'ZVAR1' is ready for input variable which belongs to one Query and below 'ZVAR2' is other ready for input variable which belongs to second query. I required these two at a time when customer exit variable 'ZVBCUST' executes.
    But in I_T_VAR_RANGE only one variable appears when I execute Web Template . Kindly help me in this regard
    Thanks
    luci

    Hi,
    First thing is to how you have defined your variable such as
    Customer exit or
    Replacement path or
    Manual input etc..
    If you want your variable filled through the exit select Customer Exit, then you have to look at the variable options such as Single value or range. According to your definition you have code as you defined such as wa_range-opt = 'BT' or 'EQ'.
    Next..
    In CMOD -> your project -> EXIT_SAPLRRS0_001 -> include 'ZXRSRU01' ->
    ISTEP = 1 -> before the variable pop up will be filled by the exit
    when 'your variable'
    your code
    ISTEP = 2 -> after the variable pop up i.e after running your selections, calculates the values for your variables after selection screen execution.
    when 'your varaible'
    your code
    ISTEP = 3 -> Validation purpose and message handling purpose
    when 'your variable'
    your code

  • Hidden variable but ready for Input - BEx

    Hello everyone,
    I wanted to know if it's possible to create a variable for selection screen in the BEx which is hidden but still ready for input.
    I guess that if I uncheck the option "Variable is Ready for Input" in the variable properties in BEx, I will have a variable which is hidden and can be manipulated in a SAP Exit function module. I don't want to manipulate the variable there but send a value through RRI to this report (where the Variable should be hidden). If I uncheck the option "Variable is Ready for Input" I cannot set this in the RRI settings because I don't see the variable since it is not ready for input
    Do you know a possible solution for this?
    Thanks,
    Carlos

    Hello Bob,
    Thanks for your fast answer. I got what you said, but it is not as simple as it is, for that reason I will describe the scenario a little bit more:
    Source query has:
    Variable: Key Date (Single, mandatory) -> InfoObject /APC/ACCTRADAT
    Key date means "all before that date" (defined in the extractor).
    Target query has:
    Variable: Transaction Date (selection Option, optional) -> InfoObject /APC/ACCTRADAT
    Transaction Date means "only that date" or "from one date to other date".
    If I send the date through RRI, the target query will think that the value it is getting is a single value, but it's actually a range (all before that date).
    For that reason I created a new InfoObject called Key Date for Recon. (/APC/RCTKEYDAT) with a single optional variable. I don't want to show the InfoObject as a free char because it makes no sence on it. So, depending on the variable I get, the extractor will decide either if it is a range or a single value. Any ideas?
    Regards,
    Carlos

  • Ready for input in variable

    Hi friends,
    Please any one tell me what is the function of ready for input in the vaiable

    Hi,
    Tick mark "Ready for input" in variable definition then during execution it will ask for variable input. If you don't check it then even if you execute without entering an input it executes the report straigt away.
    "Ready for input" in variable definition means that this variable will be placed on variable dialog box during query execution.
    Sometimes you don't want this functionality for example for variables filled by user exit or filled by authorization.

  • Bex variable ready for input not displayed in webi

    Hi,
    I created bex query with some variables.
    Variables are defined as "optional" but "ready for input". On productive system the prompts are all displayed, but when i transported the webi report to dev, some prompts are not displayed.
    we are on BW 7.31 and BO 4.0. I also tried with BO 4.1. but the problem is the same.
    I have no idea what's wrong here! Attached you can find some screenshots on my current settings.
    thanks,
    Katharina

    Hi,
    yes the reports are based on BICS and I moved them from prod to dev.
    I already checked, the query panel does not show these variables!
    I copied query and saved under new name, and i also created a new webi report upon this query, but some variables ready for input are still not displayed.
    Regards,
    Katharina

  • Authorization Variables ready for input

    I have a problem whit a variable, is an authorization variable and ready for input, but when i use this variable and clean the input box this variable don't works as an authorization variable...
    I hope that this variable return all the values where the user has authorization but it return ALL values and not only where the user is authorized...
    How can I make that a blank variable gives me all the values the user is authorized to see?
    Hope someone can help me!
    Best regards
    Enrique

    Steps that you may be missing:
    1. Make the info object authorization relevent. You make this setting in info object maintenance screen -RSA1 .
    2. Create a authorization objects in RSSM for this object.
    3. Maintain values for this object in PFCG for the role that you  assign  to the users.
    After that, run the query.
    Ravi Thothadri

  • User exit to open field for change / ready for input in delivery

    Hi !
    We need to open a field for change / ready for input in the header level of a delivery after it has been goods issued. Is there a BADi / User exit that can open a field for change / ready for input in the delivery after the delivery has been goods issued ?
    Regards,
    Ashok.

    Hi,
    As per the SAP Process it is not recommendable to edit the closed delivery. In order edit the devlivery you have to cancel the post goods issue and then update the same.
    So there is a option like in PBO user-exits, we can force the status fields values and open up the delivery fields. But this would lead to inconsitency.
    If you are updating just any information, you can always use the Text fields in header or items to update at any time of delivery processing.
    Regards,
    Sivparatap

  • MIGO Field display to ready for Input

    Hi,
    Field EBELN purchase order is made mandatory for movement type 541
    When i am doing MB1B its ready for input
    But when i am trying to post 541 using MIGO the field is display only
    I tried Enjoy settings for MIGO but the field is not available in modifiable or influencing node
    Is there any way i can add the field or other workaround solution?
    Thanks
    Diwakar

    Hi Jurgan,
    Thanks for your reply ,
    The requirement here is to track the link between 541 and 542 ,
    The processor PO is updated by user in PO field and also added the vendor field (custom) which is again updated by user
    while doing 541 on saving exit finds out the latest PO number for combination of Vendor and material and updates it in one field
    Hence 541 document always contain the processor PO ,and vendor PO
    Normally client use MB1B for this but , if required MIGO can not be used because of this PO field constrain
    Hope its clear
    Thanks
    Diwakar

  • Editing Options - Document Type 'Ready For Input'

    I have a client who wants the default editing option for all users to have the Document Type set to 'Ready For Input'. Is this possible? I have explained how each user can change the own entry but they are not happy with this.
    Any ideas?
    Ged Griffiths

    Hi Jurgan,
    Thanks for your reply ,
    The requirement here is to track the link between 541 and 542 ,
    The processor PO is updated by user in PO field and also added the vendor field (custom) which is again updated by user
    while doing 541 on saving exit finds out the latest PO number for combination of Vendor and material and updates it in one field
    Hence 541 document always contain the processor PO ,and vendor PO
    Normally client use MB1B for this but , if required MIGO can not be used because of this PO field constrain
    Hope its clear
    Thanks
    Diwakar

  • Migo: field not ready for input

    hello  ,
    i am stuck with an issue , which is ---
      I have to add two fields in migo tablecontrol with dyndr- 200, for overdelivery tolerance and under delivery tolerance.
    I am able to add them with my custom fields (ZZUEBTO,ZZUNTTO). and now fields are their in table control .
    But now the issue , when i am initializing values to these fields using badi MB_MIGO_BADI ,and method LINE_MODIFY,
    its showing warning that --
    BAdI: Field GOITEM-ZZUEBTO not ready to accept input (Change will not be adopted)
    Message no. MIGO050
    Diagnosis
    The contents of field GOITEM-ZZUEBTO have been changed in BAdI MB_MIGO_BADI (method LINE_MODIFY). The field, however, is not ready for input, so the change cannot be copied.
    In method  LINE_MODIFY, only the contents of fields that are ready for input can be changed.
    if any one , please revert me back .
    Thanx,
    Jeetendra Chauhan
    Edited by: jeet.chauhan on Jun 2, 2011 7:58 AM

    Hi
    If I understand you, you are modifing the standard dynpro SAPLMIGO 0200 (ie: the table control TV_GOITEM). I suggest you to avoid it and mantain these fields in a new tab with this BADI and methods PBO_DETAIL and PAI_DETAIL.
    Regards
    Eduardo

  • Navigational Attribute as 'Ready for Input'

    I have a navigational attribute called sub category for profit center. Both has the variable 'ready for input'. I am able to get the report output based on the profit center input but not on the sub category. Do we need follow anything while providing the navigational attribute as 'ready for input'? Thanks in advance.
    Regards
    Mahesh Kumar

    Hi,
          I am getting "Time Out error" and "Error while reading data; navigation is possible".  I am able to get the Sub Category data in the multi provider.
    Mahesh
    Edited by: MAHESH KUMAR on Oct 6, 2009 12:40 PM
    Edited by: MAHESH KUMAR on Oct 6, 2009 12:41 PM

  • How to hide a varible that is ready for input and personalized for a value

    Hi All,
    Is there anyway to hide a variable in variable screen selection which is ready for input and its personalized value is stored in the ODS.
    Any help greatly appreciated.
    Suresh.

    Hi Roberto,
    Is there anyway to hide that variable from the variable screen(with still option being selected as ready for input).I ried all the options such as replacemetn type & copy from another variable.Always it appears in the varaible screen.
    I don't want user to change the value of this variable.
    Cheers,
    Suresh.

Maybe you are looking for

  • How do I delete duplicate songs from my library that have been automaticly downloaded from itunes?

    How do you delete duplicate songs from an iphone 3gs?  I did the automaticly download song feature when doawloading from my CPU and now there are 11 songs that no matter what I do will not come off my phone.  I have tried everything.  Also how do you

  • Contents of the MacBook Pro Box (13.3 Inch, Late 2011)

    Hi, I bought a new MacBook Pro more or less exactly two weeks ago, took the system out of the box, the power adaptor, extension cord and so on all present and correct. I know perfectly well how to use OSX and Macs in general so I didn't even thing to

  • Impossible to create a transparent background page to insert into an iframe

    Hi, I am trying to insert a page created in Muse inside another page by using an iframe in an HTML inclussion. I want it to be transparent so the background of the container page shows thru. The problem is Muse always gives a background color to any

  • Duplicate pages in website

    I had a pre-existing site that I recently began editing with Dreamweaver CS3, on two different computers (work & home). After making a LOT of changes to several pages, I noticed one day that the changes weren't appearing on the website even though I

  • UrbanTerror crashes while using radeon driver

    As the title says, the game starts but it freezes, and makes repetitive sounds only after a few seconds of gameplay. I've came back to Arch after 2-3 months of LMDE (at that time, I've renounced Arch because of Cinnamon) and UrT is unplayable with th