Available inputs for a Variable issue

hi
i have a query with a interval vairable defined on Fiscal Period. now when i run the query it asks for input for the range of the fiscal period. now when i click on the option to display possible values for selection i see a long list starting from 000/0000 till the next 200 values uptill 002/1945. how can i restrict these available values so that they start from 001/2003 to 016/2006. i know i can change the max number of values displayed and display all values which is by default 200 rigth now, but that is too complicated for the customer. they only want to see the above mentioned range available for options.
thanks

Define a variable on fiscal period and in the context when you restrict it, chose "values in info provider" and save the query and run the query.
Ravi Thothadri

Similar Messages

  • Drop-Down-Box (F4 Input Help) for formula variable in BEx Analyzer (BI 7.0)

    Hi Gurus,
    is it possible to get a drop down box for a ready for input formula variable in the BEx Analyzer (not BEx Web!)?
    We want to let the users choose scaling factors 1, 1000 or 1000000 (implemented via this formula variable). In the settings of the formula variable you can only choose a default value but there seems to be no option to provide all three factors in a drop down box like the ones for characteristic value variables.
    We could prevent other entries in the variable pop up via customer exit (i_step 3) but the business is wishing an F4 input help like the ones for characteristic values.
    Thanks for your help,
    Marco

    Hi Macro,
    Its not possible to get drop down box for a ready for input formula variable. Because it is possible only for characterstic value variables but not formula variable.u donnot get any drop down box like ready for input for formula variable.
    Regards,
    Premalatha.C

  • MDX Error for SAP Variables

    Hi All,
    We have used QAAWS for creating a dashboard in Xcelsius using Trigger cell for a selection variable in BI Query.When a different selection is maded for that variable getting the below error (In this case i have selected US for the variable)
    A database error occured. The database error text is: The MDX query SELECT { [Measures].[4FYOXRUNHMI2F3N8G0Q6GNC0I] } ON COLUMNS , NON EMPTY [0SALESORG].[LEVEL01].MEMBERS DIMENSION PROPERTIES [0SALESORG].[40SALESORG] ON ROWS FROM [ZGC0_M001/TEST_2] SAP VARIABLES [TEST_BO] INCLUDING US failed to execute with the error Unknown error. (WIS 10901)
    checked in MDXTEST giving  the query
    SELECT { [Measures].[4FYOXRUNHMI2F3N8G0Q6GNC0I] } ON COLUMNS , NON EMPTY [0SALESORG].[LEVEL01].MEMBERS DIMENSION PROPERTIES [0SALESORG].[40SALESORG] ON ROWS FROM [ZGC0_M001/TEST_2] SAP VARIABLES [TEST_BO] INCLUDING US
    It thrown an error saying the above query is invalid.
    Later i tried with the below query
    SELECT { [Measures].[4FYOXRUNHMI2F3N8G0Q6GNC0I] } ON COLUMNS , NON EMPTY [0SALESORG].[LEVEL01].MEMBERS DIMENSION PROPERTIES [0SALESORG].[40SALESORG] ON ROWS FROM [ZGC0_M001/TEST_2] SAP VARIABLES [TEST_BO] INCLUDING [0SALESORG].[US]
    Now it perfectly worked fine.
    Can any one let me know why a wrong MDX query is getting generated and how to rectify it?
    Regards,
    Pra

    Hi Ingo,
    Sorry for the late reply....
    Yes i am sending the Key values as the input for the variables.
    If you observe the 2 MDX Statements(the last line especially) .....i guess [SalesOrg] needs to get appended in the MDX Statement  for the Key values  that i input and as it is not happening it is throwing an error saying MDX error.
    Regards,
    Pra

  • Dynamic Availability Check for Goods Issue,Transfer Posting

    Dear All,
    Can anyone explain the Dynamic Availability Check??
    I mean the relevance on setting this indicator for a mov.type?
    In OMCM & OMCP I have defined a Checking Rule & also assigned the same to a Mov.type as well the transaction code?
    whether the Dynamic Availability Check concept is same in case of sales ie Say I have a Stock of 100 qtys for a material in a plant & in the availability Scope of Check I have ticked the include safety stock.
    In my material master I have a safety stock of 500 qtys.
    So when I do a transfer posting for this material with Qty as 200, System should allow me do proceed as in my availability check I have enabled the safety stock option.
    But this is not happening & I am getting an error message as deficit of stock 100 nos. Also what is use of setting the dynamic availability check indicator for my mov.type as A - Warning message , B - Error Message etc..
    Kindly suggest valuable inputs.
    Thanks & Regards,

    For e.g. there is Available Stock = 1000 qty and safety stock in material master = 500 qty then system will allow you to use 1000 qty only not 1500 qty
    This is only used for availability check purpose whether system it should be considered or not?
    And following indicators means;
    A  W mess. only issued in the case of non-availability
    B  E mess. only issued in the case of non-availability
    E  Message in any case: W mess. for non-avail., otherw. S mess.
    F  Message in any case: E mess. for non-avail., otherw. S mess.
    S  Availability check only with simulation
    The above indicators indicate whether the system is to check for existing material requirements.
    Award appropriately once the thread is answered.

  • Issue with F4 help for the variables for the 0CALWEEK and 0CALMONTH

    We have custom IOs which refers to 0CALWEEK and 0CALMONTH.In the report we have variables on the custom IOs.For these variables F4 help does not giving any values .I tested with  0CALWEEK also. For the 0CALWEEK also F4 help does not working..Please help me on this issue.The variable I haveused d to test with 0CALWEEK is 0S_CWEEK.
    Edited by: Sudhakar Are on Jul 6, 2010 4:17 PM

    Hi Pramod,
    I don't know how it is done in infoset. But if you have a context node and attribute for the field which is displayed in the view, create a custom dictionary search help for the field you want. Design the search help as per your requirements (what fields to be displayed etc..).
    In the context attribute of that field property, select 'Dictionary search help' in the Input help mode. Enter the name of your custom search help here.
    Thanks & Regards,
    Satheesh.

  • Variable issue for Alternate Unit of Measure

    Hello Experts
    I have implemented the soultion for reporting data in Alternate Unit of measure using the "How to..." guide provided at https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b7b2aa90-0201-0010-a480-a755eeb82b6f
    This solution involves creating a variable which prompts the user to enter the required unit of measure.
    However I have a situation where I would like to create variable which is not input-ready and has a fixed value assigned to it without prompting the user. Moreover, I cannot modify the already existing input-ready variable as it is used in other Queries.
    Does this involves creating a new user exit or modifying the existing user exit. If yes then can you please tell me how this can be done.
    Thanks
    Rishi

    Hi Rishi,
    You can follow any one the below procedure for solve your issue.
    1. You can change the variable by removing the check box "Ready to input". But you mentioned that you used that variable in other queries also. So, I am not suggesting this.
    2. You create a new variable same as the existing variable but with out selecting "Ready to Input" check box. Now when the user run the query, that variable will not be seen to the user. Now, we will see the customer exit, you assign new variable value to existing variable, before that you have to write a condition for checking the query name. If you are running the query which have the new variable then assign the variable value to old variable. This will solve your question.
    I hope you understood this procedure. If you have any doubts let me know.
    Regards,
    Patil.

  • Getting input for atleast one variable present in the report

    Hi All,
    I want to create a report with the below requirement.
    If user didn't enter the value for any of the customer exit varaibles(ZCALDAY, ZCALMNTH and ZCALYEAR), then it should not allow user to generate the report. It should give a message or popup and return to the selection screen for getting the value for the input variable. Basically, it should get input for atleast one variable.
    Please help me in this issue.
    Regards,
    Yokesh Kumar.

    Hi All,
    I have written the below code for my requirement.
    when 'zcalday' or 'zcalmnth' or 'zcalyear'.
          DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT,
                      count type i.
          IF I_STEP = 3.
            count = 0.
            LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'zcalday' or VNAM = 'zcalmnth' or VNAM = 'zcalyear'.
              IF LOC_VAR_RANGE-LOW is initial.
                count = count + 1.
              ENDIF.
            ENDLOOP.
            if count EQ 3.
              CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                EXPORTING
                I_CLASS = 'RSBBS'
                I_TYPE = 'I'
                I_NUMBER = '000'
                I_MSGV1 = 'Please give inout for atleast one varialbe''.
                RAISE no_replacement.
             endif.
          ENDIF.
    Is there any fault in the below code? Please let me know if there is anything to correct...
    Regards,
    Yokesh Kumar.

  • Error while running a query-Input for variable 'Posting Period is invalid

    Hi All,
    NOTE: This error is only cropping up when I input 12 in the posting period variable selection. If I put in any other value from 1-11 I am not getting any errors. Any ideas why this might be happening?
    I am getting the following error when I try and run a query - "Input for variable 'Posting Period (Single entry, mandatory)' is invalid" - On further clicking on this error the message displayed is as follows -
    Diagnosis
    Variable Posting Period (Single Value Entry, Mandatory) is used as a lower limit (X) and an upper limit () in an interval selection. This limit has the value #.
    System Response
    Procedure
    Enter a different value for variable Posting Period (Single Value Entry, Mandatory). If the value of the other limit is determined by another variable, you can change its value also.
    Procedure for System Administration

    OK.
    Well, if the variable is not used in any interval selection, then I would say "something happened to it".
    I would make a copy of the query and run it to check if I get the same problem with period 12.
       -> If not, something is wrong in the original query (you can proceed as below, if changes to original are permitted).
    If so, then try removing the variable completely from the query and hardcode restriction to 12.
       -> If problem still persists, I would have to do some thinking.
    If problem is gone, then add the variable again. Check.
       -> If problem is back, then the variable "is sick". Only quick thing to do, is to build an identical variable and use that one.
    If problem also happens with the new variable, then it's time to share this experience with someone else and consider raising an OSS.
    Good luck!
    Jacob
    P.S: what fisc year variant are you using?
    Edited by: Jacob Jansen on Jan 25, 2010 8:36 PM

  • Input field for Range variable

    I am trying to create a basic VC application based on SAP BI query. The query has a variable that is a Fiscal period range.  I can input a Range, like  001/2009 - 005/2009. This input works fine in BI query, but VC returns error Invalid variable value. How to make the VC to accept the input value with Fiscal year Range.
    Appreciate your help.

    Hi
    In VC syntax for entering variable value is different than the BI query. For the same thing which you have mentioned, you have to enter it as -
    001.2009:005.2009.
    Then only it will accept the values.
    Regards
    Sandeep

  • F4 input help on Variable screen is not working on Portal

    Dear Experts,
    We are facing one issue when we run the WAD report on portal, variable screen gets hang after clicking on input help button (F4) for couple of variables. We are facing same issues when we run the base queries on portal. But when we run the same base queries in RSRT (Tcode) or in BEx Analyzer we are not facing this issue and able to get the input help screen with values.
    I also have gone through some old posts related to such issues but didn't help much. We are already on SAP BW 7.4 SP Level 008 and for Char IO Query Filter Value setting is kept as "Values in Master Data Table" only. This is a MD IO with Compounding.
    Kindly let me know if anyone has faced such issue.
    Thanks in Advance,
    Nilesh

    Dear Martin,
    There is a no long running work process in the backend and data volume is more in Master Data Table, there are around 19 Lacks records available.
    For BI Java patch and defaultTrace for errors I will check it with BASIS Admin team. Unfortunately I don’t have rights to do same.
    Thanks,
    Nilesh

  • Copy Input Ready Query Variables into Planning Sequence

    Hi all,
           We have the following scenario. We developed a model using Web Template. The model has an input ready query and a Panning sequence associated with it. Both of them using the same Planning Filter that has a input variable for Profit Center (say ZPCTR). If I run this model in Portal the planning sequence automatically takes the variable given for the input ready query and the sequence runs without any problem.
           We were asked to implement the same model in BEx as the users felt more comfortable using Excel when working on this model. When we assinged the planning sequence to a button and after we run the input ready query and then click on the button to run the planning sequence, we get an error message saying "You have to enter values before you execute". The Planning sequence is not taking the values we enter for the input ready query automatically.
          I read through the forums on the same issue and saw that most of them reported about the same but could not find a conclusive answer. I tried the following options.
    1) Enter the expected values in the excel in one location and gave the address in the "Command Range" of the planning sequence. Still it does not work.
    2) Tried SAP suggested method as given in http://help.sap.com/saphelp_nw70/helpdata/en/45/e301089d574a88e10000000a155369/frameset.htm It also does not work
    3) Couple of them suggested to use a different variable for Profit Center in the filter of Planning sequence (say ZPCTR_EXIT) and populate this variable. I wrote an exit for this variable and populated a fixed value say '100' into it. The sequence runs as expected. But I do not want use a constant, I want to store the value entered in ZPCTR into ZPCTR_EXIT.
       when I use the regular logic "LOOP AT i_t_var_range INTO var_inpiut WHERE vnam = 'ZPCTR' ", it does not work. the exit variable works if I store some constant values, not variable values.
        Can you please suggest how can I work with this. Is there any table from which I can read the profit center value the users enters into the Exit variable.
    Thanks for your time,
    Ram.

    This error generally comes when we use some user input variable in the sequence which is not restricted in the query. Even though you are using the same filter for both planning sequence and query, check the planning functions inside the sequence which might read an user input variable which is not available in the query so that it is not appearing in the query selection screen. Like in FOX reading a variable using VARV or a variable restricted in the field for condition of planning function etc. Make sure that all the variables used in the sequence (planning functions) are kept in query restrictions if they are of type ready for user input so that they will appear in the selection screen.

  • F4 help for BEx variables

    Hi!
    Could anyone help me in implementation the following scenario:
    I have the BEx variable available for input. Then users press F4 to view possible values for this variable, I need to output the certan list of values (the list is defined by quite complex logic - user algorithm).
    So, Do I have the possibility to catch the SAP processing of F4 help and program my logic for the output list (some kind of exit)?
    Please suggest any decision or the source of information according this issue.

    Hello Marina Dolgopolova,
                                         Are you able to find the solution for this requirement. If so pl let me know.
    Thanks & Regards ::
    Balaji T

  • Warning Messages related to Reconstruct Availability Control for Project

    Hi Gurus,
    In Transaction IM52 - Change Original Budget for Investment Management Program, after changing the Budget Values of Investment Management Position and when we check the transaction for error, we get Warning Messages, the warning message is as follows:
    You Must reconstruct the availability control for Project P.000XXX.
    We tried to reconstruct the Availability Control in Transaction CJBN and again checked for errors in IM52, then also we get Warning Messages.
    As these are only Warning Messages we can ignore and save the modified budget values for the Investment Management Program.  But we want to know whey these Warning Messages are keep on cropping up inspite of reconstructing the Availability Control for Project.
    You inputs on this will help us immensly.
    Thanks,
    KRN

    hi KRN!
    I am also facing the same issue.
    Even if i am having enough budget, while making a PO, the system says " Budget exceeded".
    i could processs the PO, after performing CJBW (deactivate), CJEN (refresh) and then performing CJBV ( activate availabilty control) for that project.
    This is repeating everytime i make a PO. is there any permanent solution?
    Even after performing all the above, if i check in IM52, and check for budgets (perform from menu), the error is " You Must reconstruct the availability control for Project P.000XXX"

  • Sales Order - Availability check for components

    Hi All,
    I have 2 parts to my qns.
    1. When a sales order is created for a component, with a req date, the system checks & informs if the mtl can be provided on the req date & if not proposes a new date - May i know which checking rule is used & also what all does the system check for?
    2. A component say 'ABC' is used internally for production purpose & also sold as a spare part. A sales order for this component is created with a req dt. say 1.3.2008. The system commits the stock to the sales order. A production order is created later with a req. dt for 'ABC' say 1.2.2008. So when i carry out a collective availability check for the plant with ATP checking rule & with availability check reset indicator ticked, i believe the system should reset the commitments made to the sales order & assign the stock to the production order, but it is not happening so. Once the commitment is made to the sales order, it is not resetting, how can i change this behaviour?
    Await inputs.
    Anyone to help on this?
    Edited by: Vivek on Jan 15, 2008 10:56 AM

    As we know, availability check is controlled by the combination of checking rule and the checking grp.
    U can see this at OVZ9 Screen. checking grp is proposed from material master Sales org 2 view or MRP2 views.
    In the OVZ9 screen itself, we are setting what are all the stocks the system has to include when doing availability check.
    The checking rule specifies the scope of the availability check for the respective transactions in sales and distribution by specifying precisely which stocks, receipt and issue elements should be taken into account during the availability check.
    Every checking rule is allocated to a checking group: together these two elements determine the final inspection requirements. In addition, the checking rule includes a specification whether or not an availability check should take into account the replenishment lead time.
    Currently, the checking rule is predefined in SD.
    while answering to the second question, i think the system carries out the availability check again at the time of delivery, provided u need to maintain the availabililty check indicator at req. class level.
    Hope i answers.
    Reward points if it is useful.

  • Require User Input for either dashboard prompts not BOTH ! !

    Fellow Earthlings,
    How to make required for user input for either of dashboard prompts not BOTH. !!!!!!
    Like if they enter '123' on DashP1 they need not have to enter DashP2 value and vice versa on same dashboard prompt.
    I have some dashboard prompts and I am using presentation variables to pass these values to my analysis.
    DashP1 - Pvar1 - Default All columns - User can type in values
    DashP2 - Pvar2 - Default All columns - User can type in values
    In my report , I am using a SQL filter to do a table.column_name LIKE (concat('@Pvar1}{'%')) same for the other table.column_name LIKE (concat('@Pvar2}{'%')) [ This is because users want to do a partial match on the value.
    So when the user is typing the values like 123 on DashP1 they are able to search, which is good. However on DashP2 which defaulted to all column values, they just erase/delete that and pass no value to it. So it remains the prompt vlaue is looking like -Select Value state which is not good. :(
    Now when there report is run for that DashP1 -value as '123' obviously we get no results since erasing that is causing it not to pass any value and when i check the query log it passes '@Pvar2'. This is causing no results.
    So I thought making it Required user input would resolve the issue, however the new request is to have either DashP1 or DashP2 require user input.
    Please advice if there a way to solve this problem.
    If this any way possible with Action links or any other methods.
    Any help is greatly appreciated.
    Thanks,
    VidyaS

    Hi Vidya, Please post that Script it will be quite handy for other OTN users.
    Thanks
    NK

Maybe you are looking for

  • Create a dynamic attribute for each user

    Hi All, I request you all to let me know how to give an approach to the following requirement. REQUIREMENT: I have to create a dynamic attribute in UME for each user and the read the attribute on lead selection of a table having list of Users.       

  • Error while deploying Webdynpro Application in CE 7.1.1

    Hi, Im developing Webdynpro DC application in CE 7.1.1. ( Composite Environment 7.1 Enhancement Pack 1)  While deploying the application im getting error saying , Error: "Application error occurred during the request processing."   Troubleshooting Gu

  • Mixing Query and RFC: structure problem

    Hi, When I use Queries together with RFCs I am facing the following issue: what is the DDIC structure I should use for my RFCs since the Query object in Visual Composer seems to create the output dynamically ? Is there a structure in DDIC for each Qu

  • BT SmartTalk - addon services don't apply?

    Apologies but I mistakenly posted this in the "Phones" forum, when it seems that it applies more here.  Anyway... I just had an interesting conversation with some customer services person.  It seems that International Freedom doesn't apply to BT Smar

  • P.R to contract release order through contract

    a>     I have contract for one material b>     Get request from end user as purchase requestion, for that material c>     Now I have to purchase based on the requirement. d>     I want to convert P.R through contract into P.O( contract release order)