Selection 1st to 15th and 16th to 31th of a month in the query designer 3.x

I am searching for help, because of my report i need the possibility to get the keyfigures for the first half of the month and for the second half of the month. I haven't any idea how I can get it. Please help me!!!!!

Hi,
Create a restricted key figure as follows.
select KF and 0calmonth into details of selection in restricted key figure.
Create a variable on 0calmonth
Right click on 0calmonth and choose restict
Choose Value range from show and choose Between option from drop down box and select the variable which you have created on 0calmonth in the below two boxes.
Move to right side and right click on it and choose Set offset for variable.
Give 15 and 0 and save the resticted key figure.
Like this create another RKF for 16 to 31.
Thanks,
Ashok

Similar Messages

  • How do I convert a .pub file into a PDF, 2 page spread without the dotted line down the center?  I can select 2 page view and cover page in 2 page view, but the dotted line shows up.  Thank you!!

    How do I convert a .pub file into a PDF, 2 page spread without the dotted line down the center?  I can select 2 page view and cover page in 2 page view, but the dotted line shows up.  Thank you!!

    Hi skt102711,
    I would like to inform you that acrobat doesn't support .epub to .pdf format conversion. Please browse this Link for more information : Supported file formats | Acrobat, Reader
    Regards,
    Rahul

  • Comfortable in the usage and options available in the query designer/WAD.

    Dear  Friends
    can any body send me docs regarding Comfortable in the usage and options available in the query designer/WAD.
    Thanks & Regards
    Ramana

    Hi Friend,
    For WAD :
    [http://help.sap.com/saphelp_nw04/helpdata/en/a9/71563c3f65b318e10000000a114084/content.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/9f/281a3c9c004866e10000000a11402f/content.htm]
    For Query Designer :
    [http://help.sap.com/saphelp_nw04s/helpdata/en/9d/76563cc368b60fe10000000a114084/frameset.htm]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/ba95531a-0e01-0010-5e9b-891fc040a66c]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/605f1751-a701-2a10-b791-9da5ba4f2a64]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0a81de5-a701-2a10-76bd-d8ec848cd326]
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/505e9d7e-0601-0010-3fa7-b40010bbdec5]
    [http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm]
    Scroll down to Business Intelligence-> Bi suite Business Explorer-> Query Designer
    Hope this helps.
    Regards
    Hemant Khemani

  • Select two diff fields and storing them in two variable in a same query ?

    Hello,
    i have a join query and i am selecting fields from different table(one field is the material number and second is bsad-wrbtr, on which i am doing the SUM). Now i cant store material number in a variable, cause i will be getting many material numbers(against 'vbeln') and sum( bsad-wrbtr ) will be stored collectively in a variable.
    Shud i be using an internal table to store both of them ? , cause i have to display all the material numbers retrieved . If yes, the how ? what will be the query like ?
    My current select/join query is,
      select  sum( bd~wrbtr ) into l_cramt
        from ( ( bsis as bs
                  inner join bsad as bd on bs~bukrs = bd~bukrs and
                                           bs~belnr = bd~augbl and
                                           bs~bldat = bd~augdt )
                  inner join vbrp as vb on vb~vbeln = bd~belnr )
        where bs~blart = 'DZ' and bs~hkont = p_hkont.
    Waiting for your replies, thank..
    Shehryar Dahar

    Hi,
    If you want to have a list of materials and sum for each of them try this:
    types: begin of t_list,
                matnr like vbrp-matnr,
                wrbtr like bsad-wrbtr,
             end of t_list.
    data: i_list type table of t_list.
      select  vbmatnr sum( bdwrbtr ) into table i_list
        from ( ( bsis as bs
                  inner join bsad as bd on bsbukrs = bdbukrs and
                                           bsbelnr = bdaugbl and
                                           bsbldat = bdaugdt )
                  inner join vbrp as vb on vbvbeln = bdbelnr )
        where bsblart = 'DZ' and bshkont = p_hkont
        group by vb~matnr.
    If you want to have a sum for a given material try this:
      select  vbmatnr sum( bdwrbtr ) into (v_matnr, v_wrbtr )
        from ( ( bsis as bs
                  inner join bsad as bd on bsbukrs = bdbukrs and
                                           bsbelnr = bdaugbl and
                                           bsbldat = bdaugdt )
                  inner join vbrp as vb on vbvbeln = bdbelnr )
        where bsblart = 'DZ' and bshkont = p_hkont
        and vb~matnr = p_matnr.

  • Is there a way to select multiple audio tracks and make all of them stereo pair at the same time?

    I selected multiple tracks, pressed "option L" but was not able to make multiple clips stereo pair at the same time.

    If I remember correctly it is not possible modify a group of selected clips on the timeline with the Stereo Pair command - unless all the selected clips have exactly the same properties - such as being linked to  video clips, etc. So you have to manually go through and select the dual mono tracks you want to pair individually or in smaller groups to be able to apply the Stereo Pair command.
    If you select a bunch (a couple)  of clips, and go to the menu Modify, you will see if Stereo Pair is grayed out or not. If it is grayed out, then you can't apply it to those clips as a group, but you probably will be able to apply it if you make smaller selections of clips.
    MtD

  • My image in my email signature in Mail is resizing and becomes a lot smaller. According to the Graphic Designer, it's a Mail problem? Help!

    I have a business account and use a signature in Mail. Currently I copy and paste the words from a .docx and then copy and paste the image into the signature. I've just changed my picture and at first when I started typing an email and hit 'enter' the image would resize to smaller (about half the size). Some test emails to a bigpond email showed that the picture was showing up as an X.
    I readded the picture and in the signature in Preferences, it seemed the right size. But when I send a test email, the image is back to being small again.
    This is really frustrating me - I hope someone can help!

    check that pictures in mail are of actual size

  • Query designer report and Web Templates

    Dear All,
    I have a very basic/stup doubt.
    Are reports made through Bex Query Designer and Web Templates the same?
    Actually there is a following requirement:-
    "Navigate from a BW Web template to a PCUI application". I have a document related to it but it gives me step on how can i modify my web templates to achieve this functionality. But all my reports are made through query designer and it available to user through Web Dynpro portal.
    So i just wanted to know is Web Template and Reports made through query designer the same? So that i can implement the changes in my report.
    Thanks.

    Hi Anup,
    by using web templates we can use N number of data providers (Queries) for a single analysis view with various available options. - N number of Queries can be assigned to Web template to create a web report
    but by using the Query designer ,you can create a single report which may not provide sufficient information to the client and the number of features are less compared to web template.
    as you mentioned that you are using the web dynpro.
    i think the web dynpro requires the web reports as an iview and ths iview can be created by using the Query designer and or web app designer.
    so the most clear view can be given to client using the WAD reports

  • Can not select and delete a query in the screen designer

    I am getting mad with that problem...
    The problem is that I had a query(query1) based in another query(query2), both created in the query designer.
    I think some changes been made to query2 so query 1 was giving some erros. 
    I am trying to delete query 1, but it still appears in the data sources.
    And when I try to erase it from the screens, when I select the query visual studio closes...
    So please, how can I erase that query definitely?
    Thank you for your help!

    Hi promqueen,
    Thank you fro posting in MSDN forum.
    Since this forum is to discuss: visual studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer
    Documentation and Help System, and Visual Studio Editor. So I am afraid that this issue is out of support range of this forum.
    I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Selecting againt individual number and a range of numbers

    I have a users who inputs 1400 individual material numbers in the selection screen of a query and then 2 ranges of material numbers. The query bombs out with the following error, "<internal error> Receiving from the BW server failed BW server raised exception:System_Failure Do you want to see more information?"
    My first thought is who in their right mind would insert 1400 individual material numbers.  But the report runs fine with the 1400 individual numbers.  It when you add a range to the selection with the individual numbers that a problem occurs. 
    Has anyone had this problem?  Or does anyone have any advise on how to correct this problem?

    I've narrowed it down even further.  I can insert 100 materials with to selections.  Everything is ok.  I run it with 200 materials and the same 2 selections.  NOT OK.  Then I tried with only 1 of the selection ranges NOT OK.  If I run just the 200 Material it's OK.  I went to st22 and got the error:
    An exception that could not be caught occurred.
    What happened?
    The exception 'CX_RSR_X_MESSAGE' was raised but was not caught at any stage in
    the
    call hierarchy.
    Since exceptions represent error situations, and since the system could
    not react adequately to this error, the current program, 'SAPLRRMS ', had to
    be terminated.
    Any Ideas?

  • SQL select Statement -first day and last day of the month - 1 year from now

    Hi,
    I need to write a SQL to get the dates in between first day and last day of the month one year from now.
    SELECT last_day(add_months(sysdate,12)) as lastday from dual
    What could be the Query to get the first day of the month one year from now..
    ie ..Sysdate - 3-DEC-2009
    Result - 1-DEC-2010
    thank you

    Hi,
    You can use TRUNC with 2 arguments to get the first DATE in a month, year, quarter, week, hour, minute, ISO year, ...
    SELECT  TRUNC ( ADD_MONTHS ( SYSDATE
                               , 12
                  , 'MONTH'
                  )     AS first_of_month
    FROM    dual
    ;The DATE returned will be in the same month, year, quearter, ... as the first argument.
    \We convered the last day of the month in [your previous question|http://forums.oracle.com/forums/message.jspa?messageID=3942939#3942939].
    At that time, I warded about using LAST_DAY as a cutoff point; TRUNC is a much better way.
    For example, to find all appointment_dates in the current month next year:
    SELECT  *
    FROM    appointments
    WHERE   appointment_date >= TRUNC (ADD_MONTHS (SYSDATE, 12), 'MONTH')
    AND     appointment_date <  TRUNC (ADD_MONTHS (SYSDATE, 13), 'MONTH')Note that
    the first part of the WHERE clause calls for dates on or equal to the beginning of the 12th month in the future, but
    the second part of the WHERE clause calls for dates before, not equal to , the beginning of the 13th month in the future.

  • Results based on From and To value in Bex query designer.

    Dear all,
    We are using BI7.00. In one of our report which pertains to PM user wants to get the details of number of breakdowns which falls in the value range 0 to 1 hours.
    I created a condition which has 2 variables, one is From value and the other is for the To value (since user wants to enter both the limits). I have written a condition that if the breakdown hour is greater than or equal to variable1 and less than or equal to variable2.
    Using the above condition if the query is run, i am not getting the desired output. The values avaialble in the report are 0.65,0.78,1.30,7.38,0 etc., when i give 0 to 1 i should get the values 0.65,0.78 and 0 but instead report displays "No valid results".
    I changed the condition and selected "Between" variable 1 and variable 2 - yet no change in the query.
    To my knowledge i foresee that system is not able to recognize the decimal and hence provides details only based on the whole numbers.
    How to get my requirement achieved in the Bex query designer.
    Experts suggestion with steps will be very useful to solve my problem.
    Regards,
    M.M
    Edited by: Magesh Magesh on Dec 26, 2008 11:28 AM

    Hi Magesh,
    I think you could try one more way.
    Create a formula inserting your two formula variables for limits .(FV -  are ready for input ) .
    The formula would return the result as 1 or 0 because it would have boolean condition in it.
    You could then place a condition in the query designer to only show all records where the value of the formula key fig is 1.
    You formula A would look like
    ( KF > FV1) AND (KF < FV2) * 1.
    And in the condition put A EQ 1.
    You could scale the key figures as well and multiply the limits mentioned by the users in FV1 and FV2 if decimals are still not recognized by SAP.(scaling)
    Regards,
    Sunmit.

  • Structres and cells in Bex query designer?? urgent plz

    hi experts,
    could you please give me the useful info. regarding structres and cells with the examples.
    thanks in advance
    regards
    vadlamudi

    1. In the Query Designer, choose Cells (open) from the toolbar or use the menu option under View to reach the Cell Editor functions.
    2. You can now use four different functions.
    New Selection
    u2022 Select a cell in the Cells dialog box, and use the right mouse
    button to choose New Selection.
    u2022 Define the required selection.
    u2022 Enter a description for the selection and choose OK.
    New Formula
    u2022 Select a cell in the Cell dialog box, and use the right mouse button to choose New Formula.
    u2022 Define the required formula. Enter a description for the formula
    and choose OK.
    New Cell Reference
    Each cell that you define can be reused in formulas. If you want to reuse the value of the implicit generic cell definition that automatically occurs at the intersection of two structure parts of a query, select this cell in the Cell Definition dialog box, and choose New Cell Reference using the right mouse button. The description arising from the two structure parts
    automatically appears in the cell. You can now refer to this cell.
    Additional cells
    Click on the cell adjacent to the Help Cells and choose the required option if you need additional cells for auxiliary selections or formulas which are not already included in the query structure you have defined from the construction of rows and columns.
    Ashok

  • Query Designer in BI - How to cumulate value and get the Max and Min value.

    I want to create a report with  query designe of BI 7r. is it possible. the data from the cube will be
    Year ,           Exposed Quantity
    1999 ,             200
    2000 ,            100
    2001 ,            -100
    2002 ,             300
    2003 ,           - 200
    2004 ,             100
    2005 ,            -200
    Calculation should be - Refer the cumulative value field
    Year  ,          Exposure Quantity ,   Cumulative value
    1999  ,            200   ,                             200
    2000  ,            100  ,                              300
    2001  ,           -100 ,                               200
    2002  ,            300  ,                              500
    2003  ,          - 200  ,                              300
    2004  ,            100  ,                              400
    2005  ,           -200  ,                              -200
    An the out put of the report  should be Max value ie 500 and Min Value -200.
    My question is that is it possible to do in the front end ie in the Query Designer (BI 7) If so how.
    Edited by: Parakadavil Chacko Mathew on Oct 8, 2009 3:52 AM

    Hi there,
    Create 4 column,
    1st will show regular values for the key figure,
    2nd will show Cumulative value, in Query Designer, Just right click on the this 2nd key figure properties, calculation tab there you can check on Cumulated option, and define the calculation direction as Calculate along the Column.
    3rd will show Minimum value , Just right click on the this 2nd key figure properties, calculation tab calculate single valuea as minimum.
    4th will show Minimum value , Just right click on the this 2nd key figure properties, calculation tab calculate single valuea as Maximum.
    Regards,
    Rajdeep Rane.

  • BEx: In Query Design I can't EXPAND Dim to select Char (missing + sign)

    Hi,
    I am in BI 7, but created some queries in RRMX i.e. the 3.x query designer.
    I went back to create a new query and I see my InfoArea but no means to expand it to select a cube, missing + sign and I can't expand the InfoArea.
    When I managed to open one of the old queries, in the query design, I see my design but all the Dimensions are missing the + sign and I can't expand them to select characteristics;
    In the same token, I can't expand the KEY Figure tree to select key figures, etc.
    Any help?

    Hello Amanda,
        1) a   There is no such rule as when to use query designer or analyzer. Essentially creating a query is done in query designer only. The only thing when using analyser to open query designer is that you can directly go to that query and change it and run the same in the analyser(Excel). To change a query when you directly go to query designer, you need to open the query manually using the "open query" button and you cant execute the report in excel from there(only web). As you can see there is no real difference, in my personal experience using query designer and then running the query on the web is much faster than using the analyser. Also excel has a limit of 65536 rows after which you cant really display the result. There is no such limit in the web analyser.
            b) Report designer is just for creating reports that look good when they are printed basically. You can refer the following link for more info.[http://help.sap.com/saphelp_nw70/helpdata/en/43/5fc0680a876b7de10000000a422035/frameset.htm]
    2)      There may be a problem with maybe the patch level or something. No real idea why this is occuring. You can definitely open the report in excel using the BI7 analyser. Programs -> Business explorer ->Analyzer.
    Regards.

  • Limit the result in the query's varible selection.

    I have many reports involed the requirment that in the query's varible selection we only want the users could see the calmonth demanded by me such as 200903,200902,200901,200812 and 200811 before the current system date (not include the future calmonth),and after we make these confirguration it should not influent the accumulative indicators which add the values include such calmonth as 200810,200809 and 200808. Actually in these info providers and master datas they exit past and future calmonth we dont want see in the query's varible selection. For the requirement we have consulted many SAP channels but they could give us any avarable advice,how could i do?

    Arun Varadarajan,
    Thanks for ur reply. the a is sugguestive and operative.But for b I have my problem:
    a. After I create a variable for calmonth,its named var_calmonth which is customer exit and variable is ready for input,how is the variable representing? interval,single value or multiple single value? If it is single value,u could not APPEND l_s_range TO e_t_range in customer exit.If interval or multiple single value the upper is worked but u could not get the correct input GUI.The list is my coustmor exit code for the variable which is interval or multiple single value:
      WHEN 'VAR_calmonth' .
        IF i_step = 1.
          TYPES : BEGIN OF ls_calmonth ,
                  zcalmonth TYPE /bi0/oicalmonth,
                  END OF ls_calmonth.
          DATA : lt_calmonth TYPE TABLE OF ls_calmonth.
          DATA : wa_calmonth TYPE ls_calmonth .
          DATA: l_calmonth(6)    TYPE n.
          l_calmonth = sy-datum(6).
          SELECT CALMONTH FROM /BI0/SCALMONTH
          INTO TABLE lt_calmonth
          WHERE calmonth BETWEEN '200001' AND l_calmonth.
          SORT lt_calmonth BY zcalmonth DESCENDING.
          LOOP AT lt_calmonth INTO wa_calmonth .
            l_s_range-low = wa_calmonth-zcalmonth.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
    b. Even if we have solved the upper problem the next is the values of the variable got through customer exit is also limited the query result.I mean it effects not only variable selection.
    Any way, thanks again.
    zport.

Maybe you are looking for