BEx Query to display cumulated Stock value..

Hi,
I want to display below report o/p in BEx.
Below is data set:
Material     Batch     Fiscal year/period     stock value     
A     A123     005/2011          $1000
     A123     006/2011          $1500
Report should display o/p as follows:
Material     Batch     Fiscal year/period     stock value     Cumulated stock value
                         Till today
A     A123     006/2011          $1500     $2500
Cumulated stock value is addition of period 005/2011 and 006/2011. How this can be accomplished in BEx if fiscal period/year is required to display in rows.
Any help is greatly appreciated.
Thanks,
Milind

Hi,
Create a RKF called cumulated stock values and in this RKF restrict the Fiscal year Period For current year. This will give you the cumulated value of all stock for the entire year.
Reg,
Rahul

Similar Messages

  • Need to display the Stock Values at storage location level - 0IC_C03

    Hi All,
    I am developing Stock Movent Report on 0IC_C03 - Material Stocks/Movements.
    I have more than one storage location for plant. Stock quantities are calculating at storage location level and Stock Values are calculating at plant level.
    I have no issues with quantities. Only problem with Values.
    2LIS_03_UM is not picking the starage location, so that the revaualtion values are falling under unassigned nodes. When i set filter on storage location these values were not showing as they are under un assigned nodes (#).
    I want to get the Stock Quantity and Stock Values at Storage location level in my report.
    I found that soulution for that is Applying SAP Note : How to Realize summarized display of stock values on storage
    I have done development as per the document. But when i run the Query it is going to debug mode first and then it saying This program cannot display the webpage
    Can any one faced the same situation, Please help me if so.
    Thanks in Advance.
    Gopal N

    Hi Sachein,
    I am getting this An exception(CX_RSR_PROPAGATE_X) occured when debugging, and then it leads to next screen saying that:
    This program cannot display the webpage
       Most likely causes:
    You are not connected to the Internet.
    The website is encountering problems.
    There might be a typing error in the address.
       What you can try:
         Check your Internet connection. Try visiting another website to make sure you are connected. 
         Retype the address. 
         Go back to the previous page.
         More information
    Please let me know you need any more information.
    Thanks in Advance
    Gopal N

  • How to realize summarized display of stock values on storage location level

    Hi all,
    we have implemented in Release 3.5 a report to analyze Stock values on storage location level according to the "How to...realize summarized display of stock values on storage location level"- paper. The report is running witout problems.
    Now we are going to upgrade our BW-system to release 7.01 in technical environment, we have not upgraded our reports.
    Executing the report in release 7.01 we get an error message "Object field I_S_DATA-0TOTALSTCK not found"
    The error is coming from line 14 Inc GET_FIELD_POSITION_D in Prog CL_EXM_IM_RSR_OLAP_BADI.
    Unfortunately the document "How to... realize summarized display of stock values on storage location level" can no longer be found in SDN.
    Is there any new How to - document for this kind of reporting?
    Does anybody can give me advice for chances in coding?
    Thank you for answers.
    Best regards,
    Andreas
    Edited by: Andreas Förner on Dec 9, 2009 1:52 PM
    I have got a solution from support.
    The solution is described in note 924320.
    Andreas

    Hi,
    I assume you have also created class "ZCL_IM_Z_MATERIAL_PRICE".
    In the implementation of virtual InfoObjects
    ZCL_IM_Z_MATERIAL_PRICE we have changed the method INITIALIZE:
    OLD:
    * fill the global variable
         UNASSIGN <l_global>.
         ASSIGN (l_global_name) TO <l_global>.
         CHECK <l_global> IS ASSIGNED.
         <l_global> = cl_exm_im_rsr_olap_badi=>get_field_position_d(
                                            i_fieldnm = <l_s_sfk>-kyfnm <--
                                            i_s_data  = i_s_data ).
       ENDLOOP.
    NEW:
    * fill the global variable
         UNASSIGN <l_global>.
         ASSIGN (l_global_name) TO <l_global>.
         CHECK <l_global> IS ASSIGNED.
         <l_global> = cl_exm_im_rsr_olap_badi=>get_field_position_d(
                                        i_fieldnm =
    <l_s_sfk>-VALUE_RETURNNM                                   
    i_s_data  = i_s_data ).
       ENDLOOP.
    This solved our issue.  Please regenerate the query after
    implementing the correction.
    Hope it solves you issue too.
    Best regards,

  • Bex Query to calculate canceled order value

    Hi experts,
    I am using the 0SD_C03 infoCube to stock the SD data, I want to calculate the net value of canceled orders.
    In the 2LIS_11_VAHDR, there is a field "AUGRU", when it is filled, it means that the order is canceled.
    In the 2LIS_11_VAITM, I have the net value of different order items.
    The two above extractors load data to the InfoCube, the first one, 2LIS_11_VAHDR fill the 0ORD_REASON that is mapped to AUGRU. The second one, 2LIS_11_VAITM, fills the 0NET_VAL that is mapped to NETWR.
    The query in SQL looks like:
    Select 0NET_VAL from 0SD_C03 where VBELN in (Select VBELN from 0SD_C03 where 0ORD_REASON <> "")
    How can I do this with Bex query?
    Thank's a lot.
    Abdess,

    Hi Sunil,
    Like I explained above,
    The 0Ord_Reason is filled only by the extractor  2LIS_11_VAHDR which dosen't give any value for the orders value, the 2LIS_11_VAITM dosen't fill the 0Ord_Reason InfoCube but it fills the orders value InfoObject.
    So if I  restrict with 0ord_reason by excluding blank values, I will get 0 in the measure 0NET_VAL.
    Abdess,

  • BEx Query Designer - Display only Resultrows

    Hi,
    I have a Question, is it possible only to display the yellow result rows of a query ?
    My key figures are dependent from 3 Characteristics, like Partner, Treaty a.o. but I want to see only the Partner and the result row.
    Thanks for help,
    Karin

    Hi,
    If you want to display only result values without key figure values, choose properties of the keyfigure and give 'Suppress Result' in the place of "Calculate Single Value As" then you can suppress the keyfigure values.
    If you want to display only results with out showing the characteristics, right click the char and give display as 'No Display'.
    Vivek.V

  • How to display cumulative MTD values

    Hi All
    I have a simple query on the rows  I am displaying Sales Actuals for each calendar day and in the columns I display the 0calday.
    like  below:
                                        1      2       3     4    5     6    7
    Sales Actuals            10     20    30    50   22   10   12 
    Our users want me to report on a cumulative sales like below:
                                        1      2       3     4       5        6      7
    Sales Actuals            10     20    30    50     22      10    12 
    *** Actual Sales      10     30     60    110  132   142   154
    Can anyone share ideas how I can implement *** Actual Sales derived from the Sales Actuals.
    Thanks
    Karen

    Hi Karen ,
    you can make of the copy of Sales Actuals and apply cumulted proerpty of the keyfigure which is available in query desginer.
    I think that sholud solve your isse .
    Hope the above reply was helpful.
    Thanks & Regards,
    Ashutosh Singh

  • BEx Query Formating - Displaying both Sum and Average in the same report

    Hi everybody,
    I need to create a BW report in the below format,
                          Company Code                                            Total       Total Average
                                   0001            0002      0003      0004
    Doc Type
        AV                        10               10         10         10            40                 10
        RV                        20               20         20         20            80                 20
    Getting the report till the 'Total' column is easy but having the 'Total Average' as a separate column is where I am stuck.
    Having the company code in the rows, and not clolumns, would have solved the issue but I need to keep the above format. Also I do not want to
    see the Total Average for every Company Code, just that of the 'Total'.
    In the Query Designer, in the Column section I have first the 'Company Code' and then the 'Count' in a structure, so whatever I add to this structure,
    is displayed for each Company Code, that means 2 columns for each Company code. This changes the format.
    I cannot use the Cell Definition method here, as then it would be a static structure and the number of Company Codes are not fixed.
    It would be great if somebody could provide some suggestions.
    Thank you,
    Ajay

    Hi Suman,
    Thanks for the quick reply.
    I have tried this, but again this will change the format. With the way you said, I will only get the report in the below 2 formats,
    1. Company code in Free Charac, later drill down to Rows,
    Doc Type  Company Code  
        AV                 0001                10
        AV                 0002                10
        AV                 0003                10
        AV                 0004                10
        Total                                      40
        RV                 0001                20
        RV                 0002                20
        RV                 0003                20
        RV                 0004                20
        Total                                      80
    or 2. Company code in Free Charac, later drill down to Column,
                      Company Code                                       
                               0001                     0002                     0003                     0004    
                        Total    Total Avg   Total   Total Avg   Total   Total Avg  Total   Total Avg
    Doc Type
        AV             10           10             10         10           10         10           10           10
        RV             20           20             20         20           20         20           20           20
    Both the above are different from the format that I need.

  • Bex Query - How to capture characteristic value and set it as filter value?

    Dear Experts,
    I would like to create a tricky report that listed sales quantity by companis. Companies consists of production plant as well as trading company.
    Company / Sales Quantity / Sales Quantity 2 (which produced by Company itself)
    A            / 100                  / 50                     (50 was produced by company A)
    B            /  80                   / 0                      (this is a trading company)
    C            / 150                  / 150                   (All are produced by company C)
    First I thought of using variable to capture Company value and then under Sales Quantity 2 I set producing company = this variable. But this only works if I filter company values. Any workaround idea that I can get the above with all the listing of companies?
    Any assistance would be great! Thanks!
    JL

    Hi,
    Have you tried elimination of Internal business Volume?
    http://help.sap.com/saphelp_bw32/helpdata/en/d5/784d3c596f0b26e10000000a11402f/content.htm
    Impliment this solution  by adding another KF Sales qty2.  with ref. to Sales qty.
    In characteristic pair you can have Company and  Production Company(navigational attribute).
    By implimenting this solution  the system will eliminate if the quantity is produced by the company it self.  You can create CKF in query to get the result you need.
    Jaya

  • Problem executing BEx query Hierarchy variable with default value

    My query has hierarchy variable on 0MOVETYPE char with a default value . The 0MOVETYPE variabale restriction is in Static filter area.
    I got timeout on query execution not because of amount of data but because of this hier. variable. Any ideas why?
    Notes:
    a) The hierarchy and the 0MOVETYPE characteristic are active and correct.
    b) I've tried RSRT check, but got the same timeout error.
    c) query executes fine on dev environment. I'm getting timeouts on PRD (as I say not because of amont of data)

    Hi,
    1. Try generating the report in RSRT and see if query runs correctly
    2. Looks like you are dafulating onto top node which contains whole data may be. This is not correct as it will definitely slow down the report based on amount of data it contains. Try to remove default and try first whether query is opening.
    3. You can put some lower level defualt to understand whether amount of data is the issue.
    4. Try to increase the server time out setting and see if it runs.
    Thanks and regards

  • BEx query: count unique key figure values

    Hi
    I need a little help with a query. I need to count the number of unique key figure values. Se example;
    Data:
    Employee1 - 2
    Employee2 - 3
    Employee3 - 2
    Employee4 - 1
    Employee5 - 2
    Employee6 - 1
    Employee7 - 2
    Wanted output:
    1 - 2
    2 - 4
    3 - 1
    What kind of options do I have?
    Thanks
    Mike

    I would create a new characterstic for the same key figure and placed in rows and count in columns.
    and second approach would be , create condition with customer exit and write the logic to count the unique values.
    This is just a direction to move forward with the assumption that you are good in using variables and wirting logic in ABAP.
    Thanks,
    Sukhi

  • Query - Stock Value (On a Selected Date)

    Hi all
    I came up with the below query to display the stock value at a given date in the past.The total value is correct as per the Inventory Audit report. However, it displays the total value for the two warehouses that we have, yet I want it to display the value separately per warehouse. My chart of accounts has only one (general) account defined.
    SELECT T0.[Debit]-T0.[Credit] FROM [dbo].[JDT1]  T0 WHERE T0.[Account] ='XXXX' AND  T0.[RefDate] <='%0'
    Anyone with an idea about how I can I can display the values separately? Thank you.
    Regards,
    Henry

    Hi Gordon,
    Many thanks, it worked great.. I'm able to include warehouse selection too.
    out of curiosity, what does the T0.Cogsval contain?
    Regards,
    Henry

  • How to restrict the Null Values for Key Figules in the Bex Query

    Hi Friends,
        I want to restrict the Null values of a perticular key figure in the Bex Query Output.
    I will explain in details. i have 3 key figures in my query.. let us assume.. key1 key2key3
    key1           key2                key3
    4                4                   100.00
    5                0                   200.00
    1                0                    19.00
    0                1                    10.00
    i don't want to see the the records for which key 2 is 0.
    we have a setting in the Bex Query for restricting the Zero values in the query properties. If we enable that setting it will show
    4               4          100.00
    but i want the report to display..
    4               4           100.00
    0               1           10.00
    can any body guide me. <b>i want to display the values if key2 <> 0.</b>
    Regards,
    Nagesh.

    Hi AVR,
    nice to see reply.
    can you eloborate your view...how can i put the condition.
    <b>i want to put the condition key2 <> 0.</b>
    Regards,
    Nagesh.

  • How to pass parameter values to Bex query through xcelsius (LO or QWAAS)

    Hi,
    I have prompt in Bex query and want to pass values to query prompt through xcelsius .
    In xcelsius i have selection
    e.g 1] Combo selection is for Vendor
    2] Combo selection is for Fiscal Year
    If i select value from Combo list  and refresh the dashboard im getting below error
    A database error occured. The database error text is: The MDX query SELECT  { [Measures].[4IKKZVYWWD3XKQK7Z1BK34VTL], [Measures].[4IKKZVJJUFWIJHHBND6VJ0YE1], [Measures].[4IKKZV46SIP3I8EFBP26YX0YH], [Measures].[4IKKZUOTQLHOGZBJ00XIET3IX] }  ON COLUMNS , NON EMPTY [0CREDITOR].[LEVEL01].MEMBERS ON ROWS FROM [0FIAP_O03/ZFIAP_O03_UNIVERSE] SAP VARIABLES [VN_VAR] INCLUDING A00140 [0S_FYEAR] INCLUDING V3/2010 : V3/2010 failed to execute with the error Unknown error. (WIS 10901)
    I have tried using LO and QWAAS but not able to do so......
    if any one knows plz help....

    Hi,
    most likely yo are passing the wrong value.
    you need to send the key or the member unique name.
    Ingo

  • Bex Query timestamp InfoObjects does not display time in Webi

    A BW InfoObject, defined as NUMC14 (TIMES), will display data like "09/13/2011 13:40:26" in a Bex Analyzer query. 
    How do you get this type of display in Webi?  Currently, my webi report (based on the Bex query connection) displays the field like "09/13/2011 13"

    Hello,
    any ideas? Any additional information needed?
    Best Regards,
    Hannes

  • Conditional Formating in Bex Query

    Hi Folks,
    Here requirement is like..if the value is +ve it should show <b>upward arrow</b> and  -ve it should show <b>Downward arrow</b> in Bex query result besides a particular value.
    could any one let me know what formula is required in Analyzer/Designer or is there any option to display..

    To show up arrow and down arrow for +ive and -ive result for the bex query result. You can modify your web query with the table interface. Table modify class.
    Please check out this  two document:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/403c789a-aafb-2910-e5a4-835645f0721b
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49dfeb90-0201-0010-a1a2-9d7a7ca1a238
    Thanks
    Mona

Maybe you are looking for

  • Red border around bottom of audio clip?

    I added an .aif audio clip to a PR timeline (from a tutorial DVD). When I click on the clip, a thin red border appears across the bottom and left and right sides of the clip: There were some clicks in the audio. So I rendered it as a .wav file but th

  • Converting Word, Excel, and others in 1 pfd file

    Hi, Can I take multiple word, excel, and publisher docs and convert them into a single multiple page pdf file? Right now I am trying the free online version and I can create a pdf but then I wish to add files to that pdf that I just created. Long sto

  • OOB Project Server 2013 BI Excel Report Issue

    Dear Folks, I have been facing problem  when I try to open OOB BI Report called "Project Overview Dashbaord" from inside the EPM. It shows blank screen when I open, If I try to refresh all connections then it gives me following error message: =======

  • HT4623 I can't connect to iTunes to update or download updates any help please ??

    Any help please ??

  • Invoice Approval WF

    Hi All, Needed you inputs / help on SRM One step Invoice approval WF. We have configured one step approval WF for invoice and it is getting triggered also ( Triggering event for this Wf is BUS2205- Saved) My doubt is, in Event trace I am not able to