Cube calculations

hi all,
if a webi report has to be build on a cube and not query.how will i do calculations , i think i am expected to do all calculations in BO that otherwise are done in BI query.
Can we do that?
i am assuming we(our proj) cannot create reports on query only, maybe even multiproviders and cubes. so what reports can we go for cubes, what kind with query.
and if anyone can share the OLAP universe design approach it would be great.if someone has already passed this stage in their project, please share information.
Thanks

Hi,
well there is no "MDX" in your formula. You are using @SELECT and then putting a .PARENT at the end but you not specifying anything what should happen here.
The link it did include in my first response has several examples on valid MDX calculations in the article.
example:
<EXPRESSION>(@Select(Key Figures\Billed Quantity) - (@Select(Key Figures\Billed Quantity), [0CALMONTH].PrevMember)) /
(@Select(Key Figures\Billed Quantity), [0CALMONTH].PrevMember)</EXPRESSION>
if all you want to do is to devide the items then you might miss brackets around the ladder part of your calculation
ingo

Similar Messages

  • Business rule for Essbase cube calculations in 11.1.1.3?

    Hi,
    Can we use business rules to use @XREF from data transfer from one cube to other cube.Why I went for business rule is, I can put set of business rules in a Sequence and any new user can run this Sequence on demand and even we need prompt also in that.
    So, I want to clarify whether I can use the business rules for Essbase calculations along with calc scripts??
    Appreciate the response.
    Thanks

    Right,
    Actually, Business rules are running essbase cubes in every case.
    Remember planning and BRs are adding extra layers like prompts, forms, security, processes...
    Think Business rules are extended version of calc scripts with some more functionality. They are ultimately running on essbase cubes...
    Regards,
    Ahmet

  • Financial cubes as ASO?

    HI,
    One of my clients is considering converting its cubes from BSO to ASO to improve the loading and calculation times. The cubes hold financial data and are used for generating financial statements (P&L, Balance sheet, Cash flow etc.) for current and future years. These cubes also hold forecasting data apart from actuals which are loaded from ERP system.
    Now, I'm aware of the basic differences between the structure of ASO and BSO cubes - I have worked on BSO financial cubes and simple ASO cubes in the past.
    But based complexity of these financial forecasting applications, is this idea of conversion from BSO to ASO feasible and viable ? Can the complex BSO cube calculations in these cubes handled by MDX in ASO?
    Any pointers will be helpful.
    Thanks in Advance
    G.S.

    Thanks for the reply Gerd..
    I've done a bit of look around on this and it seems that the best way to go about is to have an ASO cube as the source of a target BSO cube - with a transparent partition linking them. The ASO cube will contain actual data and the BSO cube will cater to budgeting and forecasting scenarios. This way it is possible to retain all the data entry/ calculation functionality for future years and lower loading and calculation times for actual data.
    There are still many unknowns around whether ODI can be used to keep the ASO and BSO outlines in sync. ? or how the variance analysis logic will work.? But I reckon everything will get sorted out once I do a POC.
    Cheers, G.S.

  • When set attributehierarchyVisible to false, do I have to reprocess cube with full?

    is there any other way to do that? it takes quite a bit time to reprocess the cube in full mode..
    thanks
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Hi cat_ca ,
    Adding something useful to the question 'Does cube need to be process ProcessFull ?'
    Type
    Action
    Unprocess cube/dimension?
    Cube
    New measure group
    Yes
    Cube
    New measure
    Yes
    Cube
    Edit measure aggregation method
    Yes
    Cube
    Measure format
    No
    Cube
    Measure name
    No
    Cube
    Measure display folder
    No
    Cube
    ErrorConfiguration edition
    No
    Cube
    Edit dimension usage
    Yes
    Cube
    Calculations
    No
    Cube
    Add, edit or delete kpi
    No
    Cube
    Add, edit or delete action
    No
    Cube
    Edit partition query
    No, not applied till next process.
    Cube
    Add new partition
    No, new partition unprocessed.
    Cube
    Edit partition storage mode
    No, but data is empty.
    Cube
    Create,edit and assign aggregations
    No, not applied till next process.
    Cube
    Add, edit or delete perspective
    No
    Cube
    Add, edit or delete translation
    No
    Dim
    Add attribute to dim
    Yes
    Dim
    Edit attribute name
    No
    Dim
    Order by property of attribute
    Yes
    Dim
    AttributeHierarchyVisible property
    No
    Dim
    Edit attribute relationship
    Yes
    Dim
    Add or delete translation to dim
    Yes
    Dim
    Edit translation
    No
    Other
    Add, Edit, Delete Role
    No
    Other
    Edit data source
    No, not applied till next process.
    Other
    Edit DSV
    No
    Regards, David .

  • Color formatting in SSAS

    Using SQL Server 2008 R2:
    I have a star schema with a fact table containing the following:
    ID BIGINT IDENTITY, FK_Dimension1 BIGINT, FK_Dimension2 BIGINT,
    dataValue NUMERIC(20, 8), classification NVARCHAR(20)
    The classification defines the security classification for each dataValue, and can contain either "public" or "confidential".
    I've created a degenerate dimension which contains the classification field, and the dataValue resides in the associated measure table.
    My requirement is to format the dataValue in any tool that is rendering the data as RED if any value in the aggregation of that field contains an associated classification of "confidential". So for example if in an excel pivot table I was displaying
    the aggregation of 3 values and one of them was confidential then the value should display as red text.
    I have the following MDX query in my cube calculations to handle the formatting:
    CALCULATE;
    SCOPE
    [Measures].[dataValue]
    If([MyDegenDimension].[Classification].[Confidential]) Then
    Fore_Color(This) = 255
    End If;
    END SCOPE;
    This works great whenever there are values in the dataValue field other than zero. If I drill down in my pivot table to show a single value that happens to be zero then the color formatting does not apply. The business requirement is that any confidential value
    should be flagged as red, and it's valid that a zero value could be confidential. Note it displays the dataValue as red even if the classification dimension is not used in the pivot table.
    Is there any way I can alter my MDX query so that it works for zero values as well?

    Hi Greg,
    According to your description, you need to set the measure value to red when associated classification measure value is "confidential", right?
    In your scenario, there is a classification value for each record, right? In this case, you can create a measure based on classification, then set the DataValue measure value's color based on the classification measure. Here is the sample query for you reference.
    CREATE MEMBER CURRENTCUBE.[Measure].[X] AS [Measures].[DataValue]
    , FORE_COLOR=IIF([Measures].[Classification]="confidential", RGB(255,0,0), RGB(0,0,0))
    , BACK_COLOR=RGB(255,255,255)
    , FONT_SIZE=10
    , FORMAT_STRING='#,#.000'
    Reference
    http://msdn.microsoft.com/en-IN/library/ms145573.aspx
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • BPC 7.0 NW

    I have following questions..
    Q1> In BPC 7.0 do we have to update the master data twice one in dimention and also in infoobject.
    Or the infoobject master data is automatically updated the dimension.
    Q2> What are the new features in BPC 7.0 NW version comparing BPC 5.1 version with regards to following :
                 Currency translation, Intercompany elimination, ownership cube calculation
    Appreciate the answers,,

    Hey  Mani,
       Q1)  no,  you  do  not  have  to load  the  M  data  twice, what  NW 7.0  has is  instead  of  DB  (in  case  of  5.x) being  the  back  end,  NW  is  the  back  end    and  infoobjects are  automatically  created  once  you  create  the  dimensions  in  the BPC and  once  you  load the  data  using data  manager  in BPC  it  gets  loaded  into NW.
    Q2)  Sorry  on  this  one....no  clue..probably  some  other  more  experienced  ppl can answer  this...
    Hope this  helps..
    vm

  • Key Figures.?

    Hi all;
    I am copying one of my query to 3 other cubes. The query has about 20 calculated key figures and 20 restricted key figures..everytime I make a copy the calculated key figures and restricted key figures keep doubling. let's say for the 2nd cube, calculated key figres would be 40 and rest. kf would be 40 too, for the 3rd one cal kf 60 and res kf would be 60 too. If I have re kf like current hours in 1st cube. I will have current hours 3 times in the 3rd query. I don't want this happend..how to solve this. Please let me know. thank you.

    Hi Gandaki,
    I think you can delete the copies (i.e. _1 and _2) and leave the originals. If you have a situation where CKF1 is being used in CKF2 and then CKF2 is being used in CKF3 etc, I would suggest to start deleting from the bottom (i.e. CKFn)else you will always get a message that CKF1 is being used. You can also right click the CKF and look at the where used list to see where it is being used. This will give you an idea of any dependencies. I have gone through this cycle and it could be boring, but in the end it is worth all the clean up.
    Hope this helps...

  • Image Implementation details

    Hi all,
    Can someone tell me where to find information about Image storage details/implementation?
    What are the descriptors details? Is it possible to evaluate those descriptors?
    How does the similarity search work?
    How is the distance between images implemented?
    Is it possible to make a range search query?
    How are those data indexed? B-Tree, M-Tree…or others
    Thanks very much.

    The object view creates low level objects in the Analytic Workspace. This gives your more control over your AW but it requires building your own application for querying the AW.
    The model view creates a standard form AW that is understood by the OLAP API and the BI Beans and D40 The model view is easier to work with, as it provides facilities for creating dimensions, cubes, calculations and for loading dimensions and cubes from relational tables.

  • SSAS 2012 end Excel functions - mode.sngl doesn't work

    Since I've used SSAS 2005 with Excel 2007 my Excel.Mode function worked fine.
    Now we have migrated to SQL 2012 and we have installed Excel 2010 --> Excel.Mode is deprecated in the new version and the cube calculations that use this function won't work. The new Excel way to calculate mode is [mode.sngl] but I can't call it from cube
    calculations.
    I tried to replace the Excel approach with the MDX approach (link below) but the time to calculate is too slow.
    http://social.msdn.microsoft.com/forums/en-us/sqlanalysisservices/thread/C70DE994-5815-4B30-A10A-81518F784BD2
    Can anyone suggest me how to procede?
    Thank you in advance

    Hi Mihai,
    as I mentioned before I've tried different approaches (see the link) but I didn't find a good MDX solution to work around this issue.
    Fortunately (for me) I have a certainty. The numbers involved in my calculation can only be between 0 and 9. Impossible to have more than 9 (cautionary) delivery (measure.[Num. Consegne]) a day for a product in a shop.
    So I can work around in this (unconventional and maybe optimizable) way:
    CREATE Hidden [Count_01] = COUNT(Filter(({descendants([C3 Date].[TIME - Calendario Solare].currentmember,[C3 Date].[TIME - Calendario Solare].[Data Solare],SELF)}, [C3 Clienti Gestionali].[Cli - Cliente Principale].&[1]), [Measures].[Num. Consegne] = 1));
    CREATE Hidden [Count_02] = COUNT(Filter(({descendants([C3 Date].[TIME - Calendario Solare].currentmember,[C3 Date].[TIME - Calendario Solare].[Data Solare],SELF)}, [C3 Clienti Gestionali].[Cli - Cliente Principale].&[1]), [Measures].[Num. Consegne] = 2));
    CREATE Hidden [Count_03] = COUNT(Filter(({descendants([C3 Date].[TIME - Calendario Solare].currentmember,[C3 Date].[TIME - Calendario Solare].[Data Solare],SELF)}, [C3 Clienti Gestionali].[Cli - Cliente Principale].&[1]), [Measures].[Num. Consegne] = 3));
    CREATE Hidden [Count_04] = COUNT(Filter(({descendants([C3 Date].[TIME - Calendario Solare].currentmember,[C3 Date].[TIME - Calendario Solare].[Data Solare],SELF)}, [C3 Clienti Gestionali].[Cli - Cliente Principale].&[1]), [Measures].[Num. Consegne] = 4));
    CREATE Hidden [Count_05] = COUNT(Filter(({descendants([C3 Date].[TIME - Calendario Solare].currentmember,[C3 Date].[TIME - Calendario Solare].[Data Solare],SELF)}, [C3 Clienti Gestionali].[Cli - Cliente Principale].&[1]), [Measures].[Num. Consegne] = 5));
    CREATE Hidden [Count_06] = COUNT(Filter(({descendants([C3 Date].[TIME - Calendario Solare].currentmember,[C3 Date].[TIME - Calendario Solare].[Data Solare],SELF)}, [C3 Clienti Gestionali].[Cli - Cliente Principale].&[1]), [Measures].[Num. Consegne] = 6));
    CREATE Hidden [Count_07] = COUNT(Filter(({descendants([C3 Date].[TIME - Calendario Solare].currentmember,[C3 Date].[TIME - Calendario Solare].[Data Solare],SELF)}, [C3 Clienti Gestionali].[Cli - Cliente Principale].&[1]), [Measures].[Num. Consegne] = 7));
    CREATE Hidden [Count_08] = COUNT(Filter(({descendants([C3 Date].[TIME - Calendario Solare].currentmember,[C3 Date].[TIME - Calendario Solare].[Data Solare],SELF)}, [C3 Clienti Gestionali].[Cli - Cliente Principale].&[1]), [Measures].[Num. Consegne] = 8));
    CREATE Hidden [Count_09] = COUNT(Filter(({descendants([C3 Date].[TIME - Calendario Solare].currentmember,[C3 Date].[TIME - Calendario Solare].[Data Solare],SELF)}, [C3 Clienti Gestionali].[Cli - Cliente Principale].&[1]), [Measures].[Num. Consegne] = 9));
    CREATE Hidden [MaxCount] =
    max({MEASURES.[Count_01],MEASURES.[Count_02],MEASURES.[Count_03],MEASURES.[Count_04]
    ,MEASURES.[Count_05],MEASURES.[Count_06],MEASURES.[Count_07],MEASURES.[Count_08]
    ,MEASURES.[Count_09]});
    CREATE MEMBER CURRENTCUBE.[MEASURES].[Moda Consegne __TEST__3]
    as measures.MaxCount,
    NON_EMPTY_BEHAVIOR = { [Num Consegne] };
    CREATE MEMBER CURRENTCUBE.[MEASURES].[Moda Consegne]
    as
    CASE measures.MaxCount
    WHEN MEASURES.[Count_01] THEN 1
    WHEN MEASURES.[Count_02] THEN 2
    WHEN MEASURES.[Count_03] THEN 3
    WHEN MEASURES.[Count_04] THEN 4
    WHEN MEASURES.[Count_05] THEN 5
    WHEN MEASURES.[Count_06] THEN 6
    WHEN MEASURES.[Count_07] THEN 7
    WHEN MEASURES.[Count_08] THEN 8
    WHEN MEASURES.[Count_09] THEN 9
    ELSE NULL END
    NON_EMPTY_BEHAVIOR = { [Num Consegne] };
    Hope to be helpful.
    Regards,
    Davide

  • ParallelPeriod help

    Hi all,
    I need some assistance using ParallelPeriod in a cube calculation vs. an MDX query.
    The following query returns the correct results for members of all level in my [Calendar Year-Quarter-Month] user hierarchy. 
    WITH MEMBER [Measures].[Consignment Growth]
    AS ([Consignment Date].[Calendar Year-Quarter-Month].CurrentMember, [Measures].[Consignment Count]) -
    (ParallelPeriod([Consignment Date].[Calendar Year-Quarter-Month].[Year]
    , 1
    ,[Consignment Date].[Calendar Year-Quarter-Month].CurrentMember)
    ,[Measures].[Consignment Count])
    SELECT {[Measures].[Consignment Count], [Measures].[Consignment Growth]} ON 0,
    [Consignment Date].[Calendar Year-Quarter-Month].AllMembers ON 1
    FROM
    [iSupplyCube]
    However, the following Cube calculation will only return the correct results when my current member is at the Year level.
    -- Count Growth
    CREATE MEMBER CURRENTCUBE.[Measures].[YoY Consignment Count Growth]
    AS CASE
    WHEN [Consignment Date].[Calendar Year-Quarter-Month].CurrentMember.Level.Ordinal = 0 THEN NULL
    WHEN ([Consignment Date].[Calendar Year-Quarter-Month].CurrentMember, [Measures].[Consignment Count]) = 0 THEN NULL
    ELSE
    ([Consignment Date].[Calendar Year-Quarter-Month].CurrentMember, [Measures].[Consignment Count]) -
    (ParallelPeriod([Consignment Date].[Calendar Year-Quarter-Month].[Year]
    , 1
    ,[Consignment Date].[Calendar Year-Quarter-Month].CurrentMember),
    [Measures].[Consignment Count])
    END,
    FORMAT_STRING = "#,##0",
    VISIBLE = 1 ,
    FORE_COLOR = IIF(([Consignment Date].[Calendar Year-Quarter-Month].CurrentMember, [Measures].[Consignment Count])
    < (ParallelPeriod([Consignment Date].[Calendar Year-Quarter-Month].[Year]
    , 1
    ,[Consignment Date].[Calendar Year-Quarter-Month].CurrentMember),
    [Measures].[Consignment Count]),
    255,
    0),
    DISPLAY_FOLDER = 'Growth Over Time\Year over Year\Absolute Growth\Dimensions' ,
    ASSOCIATED_MEASURE_GROUP = 'Consignments';
    In Excel:
    Thanks for reading. 
    Appreciate any assistance.
    Clay

    Apologies - there is no issue. 
    I misunderstood the data I was looking at.

  • Named Calculation Column in DSV - SSAS Cube (2012)

    Hi,
    I have a question on creating named calculation (derived column) in data source view of SSAS 2012 Cube. Below scenario :
    If i am writing an expression in Fact table (say, creating named calculation column, "X" in this fact table) then is it possible to have a case statement based on the condition from one of the dimension data ?
    For ex., one my dimension "KC_Dim" contains column "KC_Code" on which i want to have a condition something like below:
    Case
    When KC_DIM.KC_Code = "-" 
    Then 0
    Else FactTable.Measure
    End 
    how to achieve this specially because i am writing it in fact table but the condition mentions dimension columns which it is giving error "could not find the dimension column"
    any idea ?
    Thanks

    Hi UltraDev,
    For the first questions "is it possible to have a case statement based on the condition from one of the dimension data ?"the answer is yes. The expresion for the named calculation should be a valid SQL expresion. So just the Case statement should be specified,
    like:
    Case [Month]
    When 1 Then 'January'
    When 2 Then 'February'
    End
    Then the SQL expression can refer to other tables in the data source view. You can refer to the link below to see the detail information.
    Define Named Calculations in a Data Source View (Analysis Services)
    Introduction to Named Calculations in SQL Server Analysis Services
    Regards,
    Charlie Liao
    TechNet Community Support

  • Calculations based on the values in the cube

    Hi Guys,
    I need to create a report where I need to calculate a value based on the data available in the cube and not just the data that is the output of the report.
    Is it possible for me to use the data in the table /BIC/<datatarget>00 and perform the calculation using ABAP? If so, how can I display the calculated value on the report and where do I write the code?
    THanks,
    Doniv

    Bhanu,
    But the problem in doing that is, it would still display the age for the corresponding employee in the age column. That should be displayed either.
    All I need is display is the following format
    Department    Averageage
    Dept1           40
    Dept2           50
    Overall         45
    The present format when I set the employee to "No Display" is
    Department    Averageage
    Dept1            40
    ______30
    ______50
    Dept2            50
    ______35
    ______50
    ______65
    overall          45
    *_____ means a blank row
    Thanks,
    Doniv
    Message was edited by: doniv ramuk
    Message was edited by: doniv ramuk

  • Measure to count of rows in a calculation part of cube

    Hi All,
    Is it possible to create measure which shows me number of rows in a fact table?
    I'd like to create it using mdx syntax (in a query using WITH MEMBER [Measures].[Count]). Unfortunately, I can't modify cube definition, so I have to use mdx syntax in a query...

    Hi,
    In your Visual Studio project locate the target fact table in data source view (DSV file) and create a "Named Calculation" (Right-click the target fact table on DSV and select "New Named Calculation..." option) and hard-code 1 in the
    expression dialogue. Then use the newly created column name along with the Sum function to create a cube level measure.
    Here is a screenshot.
    Best regards,
    Chandima 

  • Are Cube organized materialized view with Year to Date calculated measure eligible for Query Rewrite

    Hi,
    Will appreciate if someone can help me with a question regarding Cube organized MV (OLAP).
    Does cube organized materialized view with calculated measures based on time series  Year to date, inception to date  eg.
    SUM(FCT_POSITION.BASE_REALIZED_PNL) OVER (HIERARCHY DIM_CALENDAR.CALENDAR BETWEEN UNBOUNDED PRECEDING AND CURRENT MEMBER WITHIN ANCESTOR AT DIMENSION LEVEL DIM_CALENDAR."YEAR")
    are eligible for query rewrites or these are considered advanced for query rewrite purposes.
    I was hoping to find an example with YTD window function on physical fact dim tables  with optimizer rewriting it to Cube Org. MV but not much success.
    Thanks in advance

    I dont think this is possible.
    (My own reasoning)
    Part of the reason query rewrite works for base measures only (not calc measures in olap like ytd would be) is due to the fact that the data is staged in olap but its lineage is understandable via the olap cube mappings. That dependency/source identification is lost when we build calculated measures in olap and i think its almost impossible for optimizer to understand the finer points relating to an olap calculation defined via olap calculation (olap dml or olap expression) and also match it with the equivalent calculation using relational sql expression. The difficulty may be because both the olap ytd as well as relational ytd defined via sum() over (partition by ... order by ...) have many non-standard variations of the same calculation/definition. E.g: You can choose to use or choose not to use the option relating to IGNORE NULLs within the sql analytic function. OLAP defn may use NASKIP or NASKIP2.
    I tried to search for query rewrite solutions for Inventory stock based calculations (aggregation along time=last value along time) and see if olap cube with cube aggregation option set to "Last non-na hierarchical value" works as an alternative to relational calculation. My experience has been that its not possible. You can do it relationally or you can do it via olap but your application needs to be aware of each and make the appropriate backend sql/call. In such cases, you cannot make olap (aw/cubes/dimensions) appear magically behind the scenes to fulfill the query execution while appearing to work relationally.
    HTH
    Shankar

  • How to check in Cube for Non cumulative calculation?

    Hi All/surendra (Inventory Specialist)
      I am now supporting the Inventory cube. I never worked in inventory. I have read all the documents like
    a. How to Inventory
    b. Surendra's Inventory with 3parts
    c. Non cumulative..
    But none of the above docs gave me solution how to go ahead to find or compare with R3 for the first time consultants who is handling Inventory..
    Can you pls help me resolve the following issues?
    1. May I know how actually the NON CUMULATIVE calculation is done for filelds 0VALSTCKVAL and 0VALSTCKQTY  and also other KF's like ISSUE and RECEIPT qty, blocked qty, scrap, stck transit etc as I dont see any mapping done in transformation, if it is not done for Inventory, how it is fetched.??
    2.Also I wanted to know what are the fields used cumulated for the above fields as I dont see any transformation mapping done for Key Figure and understood all Inventory docs that the KF are not visible as they are NON CUMULATIVE KF's.
    3. How to compare the Inventory stock with R3 Material Stocks as when I compare with transaction MC.9, I see the values are totally different?? how and which transactions or tables supposed to be compared? Also we are not 2lis_03_BX in our Inventory. so I am not sure how they loaded the Inventory. Looks I need to redesign, can you tell steps to check and apply if I have initialize to make sure that my data will come correctly??
    Thanks a lot for all you help and efforts in advance.

    The source field for quantities is the field CPQUABU, and for values it is the field CPPVLC.
    Explanation for the routine :-  
    IF ( COMM_STRUCTURE-processkey EQ '000' "Other Receipts
    OR COMM_STRUCTURE-processkey EQ '001' "Goods Receipt / Vendor
    OR COMM_STRUCTURE-processkey EQ '004' "Material Transfer / Receipt
    OR COMM_STRUCTURE-processkey EQ '005' "Stock Adjustment InvD +
    OR COMM_STRUCTURE-processkey EQ '006' "Stock Adjustment Other +
    OR COMM_STRUCTURE-processkey EQ '010' ) "Receipt from Stock Transfer
    AND COMM_STRUCTURE-bwapplnm EQ 'MM'
    only stock in transit is considered
    AND COMM_STRUCTURE-stocktype CA 'FH'
    only movements which are relevant for stock control
    AND COMM_STRUCTURE-stockrelev EQ '1'
    AND COMM_STRUCTURE-cpquabu 0. *
    The above part is used for the KF : 0ISSTRANSST - Issue Quantity: Stock in Transit
    IF ( COMM_STRUCTURE-processkey EQ '100' "Other Issues
    OR COMM_STRUCTURE-processkey EQ '101' "Returns / Vendor
    OR COMM_STRUCTURE-processkey EQ '104' "Material Transfer
    OR COMM_STRUCTURE-processkey EQ '105' "Stock Adjustment InvD
    OR COMM_STRUCTURE-processkey EQ '106' "Stock Adjustment Other
    OR COMM_STRUCTURE-processkey EQ '110' ) "Issues from Stock Transfers
    AND COMM_STRUCTURE-bwapplnm EQ 'MM'
    only movements which are relevant for stock control
    AND COMM_STRUCTURE-stockrelev EQ '1'
    AND COMM_STRUCTURE-cppvlc 0
    see OSS note 630254
    AND ( COMM_STRUCTURE-stockcat IS INITIAL OR
    ( COMM_STRUCTURE-stockcat CA 'EQ' AND
    COMM_STRUCTURE-indspecstk CA 'AM' ) ).
    result value of the routine
    RESULT = COMM_STRUCTURE-cppvlc. *
    This part is used for : 0ISSTOTSTCK - Issue Quantity Total Stock
    Hope this hepls,
    Reg,
    Rahul

Maybe you are looking for

  • Upload qs41

    Hi All, How to upload data to the T-CODE QS41 using BAPI. Points wil be rewarded. Regards, Shiva

  • Raid 5 shows offline

    Hi All, We have WAE 7341 with 4.1.5f code which failed.  We recreated raid after which we see all the disk online, but raid shows offline status. Please find below the sh disk details and sh disk tech support output wa1#Sh disk details RAID Physical

  • File Error: A file of this name already exists

    im using Final Cut Pro 5.1.4 and whenever I tried to export a sequence using compressor, I get that error message "File Error: A file of this name already exists". I tried reinstalling the program, nothing. What can I do to fix that?

  • Post fix ++ operator

    class C{      static int f1(int i) {       System.out.print(i + ",");       return 0;      public static void main (String[] args) {       int i = 0;       i = i++ + f1(i);       System.out.println(i); }The above code gives the 1,0 output. Anybody ex

  • Work Status Setup

    Hi All, I have a question regarding basic work status setup for BPC 7.5 NW. When I set to Manager in Controlled by at Work Status, we can modify                                                                work status for the parent group.   Is the