Variable Sequence in the report

Hello...I created some variable in the query designer and identify the sequence I wanted in the query designer like below:
1) calendar month
2) org unit
and when i view the report, the sequence of the variabe in the report is not the same, it shows as below
1) org unit
2) calendar month
any idea why the results is different from the one in the query designer? thanks alot

Hi Fluffy,
GO to Query Designer>select your query>goto properties-->select Variable sequence Tab. You can set the sequence according to your order.
assigning points for the helpful answers is the way to say thanks in sdn
regards
vadlamudi

Similar Messages

  • Need a Syatem variable for Executing the report by RFC.

    Hi Experts,
    Need a Syatem variable for Executing the report by RFC.
    what i mean to say is,i can execure the report directly ...then no issues.
    But if i execute the Report by RFC ,then i should put a condition with system variable...
    Please suggest me ,how can put a condition when i am executing the report through RFC.
    Thanks
    Babu

    Hello Friend,
    what I understood that you want to put some extra condition if that report is getting called from RFC...
    you can use the system variable SY-CPROG....it will hold the value of the report when it is geeting executing directly...
    but when it is getting executed therough RFC...it will hold that RFC name...
    Thanks
    Krish

  • Sequence of the reports

    Hi Guru:
    We created a group folder with 30 reports.
    And we want to change the sequence of the reports in the folder, how to do that?
    In the SAP folder, I could see there is a way to change the order, how to do it for the group folder?

    Hi,
    Custom ordering of folder contents is not supported in SPM. The contents are alphabetically sorted by defualt.
    The exception to this is , yes it is possible to set the order of content in SAP folder but we allow that only as an exception.
    Let me know if you have any questions .
    Thanks,
    Madhav

  • Sequence header at the end of the sequence in the report

    Good afternoon everyone,
    I have a strange issue with my TestStand Report (any kind of report type) : some time ago the headers (with the name, the parameter's values, the module time, the status) of the sequence and sub-sequence were at the begining. Now they are a the end of the sequence, which means instead of having the status of the sequence first, I have the status of all the steps contained in the sequence BEFORE having the status of the sequence.
    I have checked and double checked the Report options : nothing tells that the headers must be at the end.
    I have 2 bench on which my sequences are running and one of them has the sequence headers upside down in the report and the other has the headers in the proper order. Their report options are exactly the same and I can't find where the configuration is different !
    Does anyone have some idea ? Please ?
    TestStand revision : 2010

    To Norbert : 
    The steps in the body are ok, in the correct order yes.
    I've attached two extract of report (check the Report Correct first), change the extention from ".txt" to ".html", the html one wasn't authorized by the forum.
    To jiggawax
    I'm not using XML format, only text or html. Where is located the ReportOptions.ini file ? I cannot find it with a basic search, could it be hidden ? As I am not managing this file in the configuration of the benches, it might be the origin of the problem !
    Both benches are running the same client sequence indeed : the client sequence are located on a network reachable by the benches.
    I doubt that one the client sequence can override a report callback but afterall I should make sure of this possibility.
    Thanks for your help !
    Attachments:
    Report Correct.txt ‏12 KB
    Report Upside down.txt ‏15 KB

  • 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.

  • What is the order / sequence of the Report

    Hi,
    I have created all my dimensions and application, when I am trying to take Report (Account Trend)
    the format of the report is totally different from my Account dimension.  It is showing 1st
    Income then expenditure and Gross profit, net profit accounts etc.... So can anybody help how actually
    report will form.  It is based on our code wise or Description?   If at all we wanted our own format
    then how to do?
    Thanks in advance.
    Raghu B.S.

    Hi Raghu -
    If I understand correctly, you want your report to show accounts in a particular order.  If that is the case you have two options:
    Option 1: create a hierarchy of the accounts in the order you wish to present them.  Select the top node of the new hierarchy and allow the EVDRE function to expand to all members.
    Option 2: disable the expansion function of the EVDRE report and manually position each account in the order desired.  Make sure your row settings include all manually positioned accounts members.
    Hope this helps!
    Regards,
    Sheldon

  • The window to select dimensions simply does not appear and I can't move forward, due to variables exit in the report

    Dear experts,
    I am having an issue when I try to create a WEBI document using Bex query through OLAP connection (Bics).
    Due to variables exit, it is not possible to open query pannel in webi to choose wich dimensions to add to the webi document.
    The window to select dimensions simply does not appear and I can't move forward!
    In RSRT ou Bex Analyzer, the query is running fine without errors.
    CMOD code is like this (I believe there is not any error as it is working flawless on other reports for other variable names):
    WHEN 'ZREDT1'.
         IF i_step = 2.
           CLEAR wa2.
           READ TABLE i_t_var_range INTO wa2 WITH KEY vnam = 'ZRE_DT_IN'.
    *      wa2-low = |{ v_year_h }12|.
           IF sy-subrc EQ 0.
             v_year_h = wa2-low(4) - 1.
             CONCATENATE v_year_h '12' INTO wa1-low.
    *        wa1-low = wa2-low.
             wa1-opt  = 'EQ'.
             wa1-sign = 'I'.
             APPEND wa1 TO e_t_range.
           ENDIF.
         ENDIF.
        WHEN 'ZREDT2'.
         IF i_step = 2.
           CLEAR wa2.
           READ TABLE i_t_var_range INTO wa2 WITH KEY vnam = 'ZRE_DT_IN'.
           IF sy-subrc EQ 0.
    *        wa2-low = |{ v_year_h }12|.
             v_year_h = wa2-low(4) - 1.
             CONCATENATE v_year_h '12' INTO wa1-low.
             wa1-opt  = 'EQ'.
             wa1-sign = 'I'.
             APPEND wa1 TO e_t_range.
           ENDIF.
         ENDIF.
    Please provide assistance,
    Thanks in advance,
    Kind regards,
    André Oliveira

    I solved it.
    The problem was due to date coming to exit - as you know some time intervals start at 01-01-1000, and as I was calculating 1000-1 = 999
    I was getting and interval from 99901 to 201405. Do not know if it was not working because CHAR NUMC6 was failing trying to recognize interval 99901 - 201405, but probably, this was the issue.
    Thanks for your inputs,
    Best regards,
    André Oliveira

  • Issue in F4 help in variable screen of the report

    Hi All,
    I am facing an issue with Bex query, there are two navigational attributes in query, those are NAV1 and NAV2 and we have created two variable for these attributes,
    When we run the query in analyzer and in the variable screen we are trying to select values for these attributes from F4 help, we are able to see both the values in each attribute.
    For example NAV 1 has 100 vlues and NAV2 has 100 values, when we click on F4 help on the NAV1 attribute in variable screen we are able to see 200 entries, means it's including NAV2 values, it is vise-versa for the NAV2 attribute also.
    I ran the same report in RSRT and click on F4 help for NAV1 and NAV2 attributes, here entris are fine,each attribute showing only 100 entries.
    What could be reason for this issue.
    Could you please adivce me how to solve this.
    Thanks in advance,
    Venkat Kalla

    Hi,
    Please check Note 1495735 - 'check of changed records between DB and BIA after changerun'.
    If BIA is in use then this can be the cause.
    Otherwise check Note 1517248 - 'F4 help uses M mode instead of D mode for line item characteristic'.
    Finally, verify the read modes for both InfoObjects:
    1565809 - Settings for BW query F4 help
    Regards,
    Michael

  • Regrading restricting the variable values in the report

    hi experts,
    i have a requirement that i have to restrict the values of 2nd level vendors in variable selection screen based on the 1st level vendor selected i mean  we are using the variable for 1st level vendor as mandatory so when user enters the value for 1st level vendor linke xxxx and when he goes to the next variable 2nd level vendor he must have the options related to the 1st levle vendor only i mean he does not see all the 2nd level vendors but he must see the 2nd level vendors related to first level vendor only
    ex for 1st level vendor xxx the 2nd level vendor is yyy and zzz
         for 1st level vendor aaa the 2nd level vendor is bbb and ccc
    now when he select the option first level vendor as xxx it is showing the all 2nd level vendors in the slection screen but client wants that when he select the 1st level vendor he must see the 2nd level vendor list related to particular 1st level vendor only
    thanks and regards
    pedamarla

    pedamarla,
    Does you mean if xxxx is the value for 1st vendor then in 2nd level vendor variable shd be other than xxxx.....
    is my interpretation is right.then you can write the code in step 3 so that 1st vendor value and 2nd vendor is different ....let us know

  • How can I display a formula variable in the report?

    Hi,
    I have a requirement to display a formula variable value in the report. When the user runs a report this variable value should be called once and displayed below the report title or in a specified cell. Is it possible something like this could be done? if yes, can someone tell me how can I achieve this functionality. I appreciate your time and effort with points.
    Thanks,
    Rao.

    Hi Bhanu,
    In the query properties you can only see text variables and not the formula variables. If I define my number of working days as text variable and I can display in the report. However, I need to use this variable in some calculation in the report, so it has to be formula variable in order to use in calculations. I appreciate your input with points.
    Thanks,
    Rao.

  • Userexit variables in the report designer

    I want to use a query with userexit variables where 1 variable is derived from another variable in the report designer. This does not seem to work, behavious seems to be as follows:
    1) when variables are derived from other variables they are filled in step 2 of the variable userexit. Variables filled in step 2 have no effect on the query: everything is selected
    2) if the derived variables are mandatory, they even cause a dump saying the variable is empty
    3) if variables are filled in step 1 (thus before the selection screen), they do impact the selection. The problem is that step 1 is too early to have access to the other variables.
    How can I derive variables from other variables when using the report designer?
    Thanks in advance for your answers,
    Best Regards,
    Filip Ledoux

    Hi,
    For example if you want use value from variable ZVAR_02 (manual entry) in variable ZVAR_01 (user exit) you can use similar code:
    DATA: L_S_RANGE TYPE RSR_S_RANGESID.
      DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
      CASE I_VNAM.
       WHEN 'ZVAR_01'.
        IF I_STEP = 2.
          READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE
               WITH KEY VNAM = 'ZVAR_02'.
          IF SY-SUBRC = 0.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW      = LOC_VAR_RANGE-LOW.
            L_S_RANGE-SIGN     = 'I'.
            L_S_RANGE-OPT      = 'EQ'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDIF.
        ENDIF.
    ENDCASE.
    Variable ZVAR_01 shouldn't be ready to input.
    Krzys

  • Issue with Variable Personalisation in Bex Report

    Hi Gurus,
    I'm facing a typical problem with Variable presonalisation in the Report.
    I've executed a BEX Report and filtered data on some characteristics and used SAVE AS Button on the Portal to save the resultset. When I'm trying to use the variants, again say after  2 or 3 days i couldn't find updated data for particular variants upon using the same variants rather its refelecting the old data. Further more when I execute the report and try filtering on the same criteria altogether, I'm able to see updated result set.
    Is there any setting to be enabled when we personalise variants or variants are dependent on the data or the date on which they are created. Not sure why the reports are behaving this way. Or Do I need to create variants time and again.
    Any pointers would be of great help.
    Regard,
    Yaseen

    Hello,
    In the BEx report, when you get the variable selection screen there input your selection and at the bottom you have the option of saving them as a variant.
    Now in future when you run the report simply use this variant and execute the report. It should work fine.
    Also remember date selection can be tricky. If you input todays date in the variant, it wil consider the same date in further references. So do a check on that too.
    Regards,
    Shashank

  • Discoverer Plus - How to include variable text in the Title

    Hi,
    I need to include a variable text in the report like the user information or another information i woul like to obtain from a query that is not the standars date,time,... oracle discoverer plus improves us.
    I tried with calculations associates to a parameters, but is not possible.
    I hope i explained correctly.
    Thanks,

    This can be done by creating a parameter, then a calculation, then a condition. Then under "Edit Header" or Page Setup, choose "Header" or "Footer"as needed and choose to insert the Parameter.
    Step by step Example instruction:
    1-Create a parameter as follows:
    --Item = NONE
    --Name = "Workbook run by" (This will appear in the heading or title when workbook run)
    --Prompt = "Please enter UserID in all capital letters"
    --Description and Default value left blank
    2-Create a Calculation
    --In New Calculation choose "Function" then choose the function "USER" from Database. (This is all that the calculation will need.)
    --Name Calculation  = i.e.: "DB_USERID" 
    3-Create a condition as follows:
    --Name = Request_UserID
    --Item = DB_USERID
    Condition = IN
    Value = Choose parameter: Workbook run by
    -Double click on worksheet title, choose Insert, then choose Parameter (This can be done the same way under Page Setup for Header and Footer
    -The calculation will create an extra column which I put at the top as a Page Item
    -This will force the user to enter the UserID they are logged in to Discoverer with.
    -This is case sensative. Therefore, since all Databe IDs are stored on the Database in all-caps, then the user will have to enter in all caps as well.
    Thanks,
    Sutirtha

  • Display variable values in Web report

    Hi Bw Mates,,,
    I am trying to display the variable values in Web Report.
    I put one text Item in Template and checked the Variable Display and entered the variable name in List.
    still I cannot see the variable values in the report.
    Thanks for your help.
    RSB

    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TEXTELEMENTS_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="GENERATE_CAPTION" value="BORDER"/>
             <param name="SHOW_COMMON_ELEMENTS" value=""/>
             <param name="ELEMENT_TYPE_1" value="VARIABLE"/>
             <param name="ELEMENT_NAME_1" value="Z_CP_018"/>
             ITEM:            TEXTELEMENTS_1
    </object>
    as the other poster mentioned the variable name has to be in upper case.
    if only_values = 'X' you will just get the value other wise
    you will get something like below.
    variable description = variable value
    Regards
    Raja
    Reward the helpful answers and close the thread once its answered.
    sorry for the delay in answering, it was weekend for us

  • Showing Prompt values in the report

    A report contains two prompts. Users want those values shown in the report, ideally in the title. Is this possible? If so, please provide some direction.
    Regards,
    JS

    You can do so by using presentation variables for those prompts and then using those variable names in the report title.
    Doing that will give what your users want.

Maybe you are looking for