Planning levels' execution & relationship with infocubes

Hi Gurus,
I am encountering some hiccups while trying to figure out how BPS planning levels execution works.  Here are 2 examples of scenario that i am facing:-
1. Planning level 123 is used to copy data from a basic cube to a transactional cube. The execution are fine, but when attempt to save data into the transactional cube, i was prompted with an error message , that the basic cube is not a real time cube.
The basic cube's data that i am trying to copy, is never meant to be a transactional cube, on top of that, i am not saving data into this cube.
This scenario happens occasionally-not always.
2. In a second scenario, i tried to run a planning level which copies data from cube A(basic) to cube B(transactional). But the execution wasnt successful, because cube C is not a transactional cube. In my planning level, i did not configure anything relating to Cube C,  i have only specify the parameter group to copy from cube A to B.
Please help to enlighten on how BPS planning levels works in terms of reading / copying data? Does it loop through all the cubes that are attached to the planning areas, whenever theres an execution?  - Even though it is not configured in the planning level?
Any advise is very much appreciated.
Thanks & Regards,
Jo-Chin

Hi,
As per my understanding you are using multiarea as your planning area where cube A is transactional cube and cube B is basic cube and u want to copy some data from cube B to cube A but on save it is giving you an error,I think you have not restricted 0infoprovider with cube A in planning package,then it will consider both the cubes for writting the data which cann't be done with cube B as it is a basic cube.Can Also check for the change mode for cube A.
With the second scenario ,if it is a mutiarea(multiprovider) built with two-three cubes,then it will read the data from all the cubes until you restrict them in planning package with specific values of 0infoprovider.
You can also refer to the link given below:-
Re: Calculate 0Amount from 0quantity * 0price
Hope it may help.
Regards,
Indu

Similar Messages

  • BPS Layout / planning level / characteristic relationship issue

    Hi ,
    I have a design question.
    I have a characteristic relationship for 0CALMONTH(Cal. Year/Month) The below are derived attributes
    Calendar month
    Quarter
    Cal. Year/Quarter
    Calendar year
    Fiscal year/period
    Posting period
    I am not using 0CALMONTH in my level/layout.
    Question1 : When I save the layout by changing the key figure, the system creates another record with what ever the changes perfectly but it is not copying all the characteristics that were in the original line. One example of this issue is for characteristic relationship object.
    Question2 : I do have the problem with other characteristics that NOT in the level since I am not using it but when I make a change for key figure in the layout and save it , it is not copying to the new line with all the characteristics.
    Can I design this way? If yes why the values are not copied over to the new line? Any user exits where I can check / debug during the layout save?
    I do not have any problem when I use standard BPS copy function, have these problems during the layout save.
    Thank you for looking into it , appreciate any inputs......
    Raju

    Thank you Mayank. Very helpful/excellent.  I think I am very clear/ all set , I will solve some of them by using derived charaterstic relationships.
    One  more important questions :  How can We provide a solution where We can not use a particular characterstics at level because of the agrregation behavior of the layout and can not be derived ? but while We save the layout We need to get those characterstics like copy function does copy all the characterstics even if they are not in the level.
    Is this make sense ? may not be valid question ?  any thoughts ?
    Appreciate your help.

  • Planning and Execution with Final Assembly

    Hi Guys,
      As am entering in to New Module PP. i woud like to knw the
    process envolved in entire PP..I would like to know the process
    involved in "Planning and Execution" in PP.please do
    help me with the transaction codes and how to move on
    with the transaction codes.i woud like to learn it as step by
    step process.
    Thanking you
    Jino

    Hi Jino,
    Pls. go through the following links which will give you all details regarding PP module:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/ba/df293581dc1f79e10000009b38f889/frameset.htm
    http://sap-img.com/sap-pp.htm
    You will find all details like PP Tcodes, Various Scenarios in SAP IMG  and Detailed Description of all PP module data in SAP Library as above.
    Still any doubt or query pls. revert.
    Reward if useful.
    Regards,
    Tejas

  • Find characteristic with fixed value at planning levels

    Hi Experts,
    I need to know which are the planning levels that contains a characteristics with a specific fixed value (ex: 0UVERSION = “220” )
    Does anybody know how can I do it?
    Thanks in advance

    Hi,
    Please create a query (tcode SQVI) on tables UPC_PLEVEL and UPC_OPTIOS. The join will be on field GUID. Select all the fields as available for display and selection. UPC_OPTIOS has the selection values maintained for the level. Please put in
    UPC_OPTIOS-FIELDNAME  = 0UVERSION
    UPC_OPTIOS-SIGN            = I
    UPC_OPTIOS-LOW = 220
    this will give you all the levels that have the said value
    hope this was helpful
    thanks

  • Characteristic relationship with Exit class is not applied correctly

    We are using a characteristic relationship (with derivation) type Exit class. For that we have created class ZCL_RSPLS_ARTICLE_FROM_PLMOD as a copy of the standard class CL_RSPLS_CR_EXIT_BASE.
    Target and source characteristics are members of the aggregation level.
    We want to generate a list of valid combinations of characteristics planning models and articles which should be planned in the planning query.
    For that we are using the method IF_RSPLS_CR_METHODS~CREATE:
    Source is characteristic Model ZMATMOD and we determine in the exit class all active articles ZMATART.
    We get a list of active (planning relevant) models and articles in our exit class (table e_th_chas).
    --> For instance 6 combinations
    Until here everything works fine.
    The problem is that in the query 8 combinations are displayed.
    We have no idea why more than the generated combinations are displayed.
    One reason could be that the characteristic article ZMATART is an attribute from characteristic model ZMATMOD.
    So from a master data point of view 8 combinations would be relevant.
    But we use the exit class in order to reduce the number of combinations to planning relevant items.
    If we use the method IF_RSPLS_CR_METHODS~CHECK we could flag the 2 combinations which are not planning relevant to not valid.
    But these are then displayed in the query. 6 combinations in change mode; 2 combinations in display mode. This would not help us.
    We would like to see only the planning relevant combinations  6 combinations
    Can anyone please help me urgently?
    Best regards
    Martin

    Hi,
    set a break-point in the factory method get_instance to check whether the class is called. In the planning modeler make sure that you  use an external break-point.
    Or use rsrt an change a cell value: Derivation is called in the delta buffer to derive from the fields contained in the aggregation level. So check also that the source fields are contained in the aggregation level or can be derived via a a chain of derivations.
    Also make sure that all source fields have to be non-initial. The system will not call derivation for initial source fields since in this case there is not unique target, cf. http://help.sap.com/saphelp_nw70/helpdata/en/43/1c3d0f31b70701e10000000a422035/frameset.htm
    Remark: The attached document of note 994853 is about the disaggregation feature but it also contains a section about the characteristic relationships. Observe also that the template exit classes are documented in SE24.
    Regards,
    Gregor

  • HP sweetens relationships with customers by making CRM social

    Social Media is the fastest growing channel of customer service at HP.  This is no surprise as more and more customers are seeking help on Twitter, Facebook, and other social media sites.
    According to a Simply Measured 2014 report*, “Users are adopting Twitter as a legitimate and valid customer service channel. Mentions of dedicated customer service handles increased by44% year-over-year.”
    While marketing may have created the Facebook page or Twitter handle to promote products, customers see it as an opportunity to get help. In customer service, we had two choices: put our head in the sand and hope the customer goes away or help them.
    For example, Ethel lk promised to never buy HP products ever again.
    We had the chance to see if we could turn her around.
    We took the conversation offline and worked with her and earned her loyalty back.
    Engaging with customers gives us an opportunity to build a relationship with them. In some cases their plea for help on Twitter may be the first direct interaction that many customers have with HP. After all, they may have bought their printer or PC from Costco or Best Buy and never have talked with an HP sales representative.
    We need to make sure that the interaction they have with us on Twitter is the same experience as on Facebook or if they pick up the phone. Our relationship with them depends on our ability to provide a consistent support experience.
    Right now we have 150 million products in warranty, get 28 million phone and chat interactions each year. Every second four customers look for help in social media in 180 countries around the world.
    Each one of these interactions gives us the chance to earn their loyalty by building a relationship with us. To do that, we need to answer their questions quickly and effectively. If they come back 6 months later, they expect to have a similar experience regardless of how they contact us.
    With so many customers depending on us, we rely on a Customer Relationship Management system to tie customers and products together; steer agents through an effective troubleshooting process; and track the entire support interaction. After all, the “R” in CRM is relationship, and it is critical in our ability to foster a good one with our customers.
    While thousands of agents use this tool for phone and chat, our social media agents couldn’t use our CRM system.  It couldn’t handle social media data -- or at least it couldn’t before 2014.
    This means that our agents were tracking customers manually. If a customer came back a few months later, the agent needed to turn into a detective to figure out who the customer was what the product was and understand what had transpired.
    Something had to change as the volume of customers contacting us in Twitter and Facebook increased hitting more than 25,000 incoming tweets or comments a month.
    To handle the increased volume and improve our relationship with our customers, we made significant investments to integrate social media into our Customer Relationship Management system.
    HP is quite possibly the first company to be able to take social media content from Twitter and Facebook in different languages and turn them into cases worked on by social media agents in different countries around the world.  Right now we are averaging 10,000 cases a month in Twitter and Facebook in English, Spanish, Portuguese, French, and German.
    By having an integrated CRM system with all support channels, we get a 360 degree view of customer’s support interactions.  This improvement helps three key groups.
    Customers: Today, customers choosing Facebook or Twitter have a seamless support experience. HP Support saw a 2 percent increase in Net Promoter Score since the integration with the CRM system went live. Because of the efficiencies gained in the tool, agents reply to customers more quickly. We were able to cut response times by 60 percent, shaving hours off of the time it took an agent to find and reply to the customer. Decreasing response times was challenging because more customers were tweeting and posting than ever before. Since September, we have seen a 103 percent increase in the number of customers reaching out to us for help in Twitter and Facebook. Because of the integration with our CRM system, we are able to reply to more customers more quickly and increase their satisfaction with HP.
    Agents: Today agents have a comprehensive view of the customer at their fingertips. The entire online conversation in Facebook or Twitter is threaded together along with any past history. It is easier for agents to see where to take the conversation and how to help the customer. This makes for much happier agents and as a result happier customers. Agent dissatisfaction has turned into satisfaction as a result of an improved tool.  Their engagement with customers has increased 187 percent, as measured by the increase in the number of tweets and posts agents made.
    HP: HP has the ability to track whether customers are promoters or detractors, and capture the change in sentiment through the support experience. It also has the ability to mine the data for insights and to gain a deeper understanding of global social care metrics. This will enrich the data fed into the teams supervising quality and enable HP to deliver better products. Also, it will help the company identify issues quickly. Early detection of issue through social media has saved the company millions and is now easier to do.
    While the results are impressive, building something that has never existed before isn’t easy.
    The biggest challenge was that CRM systems are built with fields requiring serial numbers and real names. How do you create a case when MagicPuppy123 tweets, “Please help me @HP!”  There is no name, no product, no description of an issue – none of the information that a phone agent would be able to get. Also, how do you figure out that MagicPuppy123 also made a post on the HP Facebook wall asking for help but this time her handle is Tara Jane Willis.
    Should this be a case? Is it possible to relate the tweet and post? What is the priority level? Who is the right agent and what is the right country to route this to?
    Step by step we went through the various scenarios we have encountered since we began supporting customers in Twitter in 2009 and Facebook in 2010.
    We created processes and business rules to filter and route posts to agents with right skill set. Also, we outlined how relevant tweets or posts from a customer had to be threaded together to give the agent a complete account of the conversation to date, even if the customer went on vacation for 3 weeks and just came back. Customers expect to be remembered and bristle at repeating themselves.
    When you are building something new, you won’t fully understand the limitations until it is built. There will be features that don’t work as planned that need to be recreated. Also, you learn to identify and build strong relationships with key players: IT, partners, service delivery, analytics, consultants, and agents.
    Moving into 2015, HP is working to bring more social media sites into its CRM environment. The integration makes it possible to have blended channel agents: phone, chat, and social media. As social media grows, we can improve trained agents effectiveness by expanding from phone into online communities and social networking sites as the volume shifts over a day or month.
    As Forrester noted**, “In the past 12 months, 68% of customers used the phone, 60% used help or frequently asked questions (FAQs), 54% used email, 37% used chat, 20% used SMS, and 19% used Twitter. Customer service agents supporting these media types need access to the same information in order to ensure consistent service.”
    Getting all agents on the same CRM environment for all support channels globally is the challenge HP tackled in 2014 and continues to innovate and enhance the support experience for customers.
    * Customer Service on Twitter
    **Transform The Contact Center: Forrester's Playbook For Customer Service Excellence
    I work for HP, supporting the HP Experts who volunteer their time and technical knowledge to help others.

    Having used HP/Compaq products for a number of years now we must agree that HP Customer Support is #1 in all areas.
    From the data stored for all models, to the HP Support Forums we find excellence in all we search for.
    Congradulations Katie_H in all you do in providing help sources for our clients.
    "Hoping I have assisted you, George"

  • Characteristic relationships with derivation. I don't quite understand...

    Hi, experts!
    I'm trying to figure out all about using derivation in characteristic relationships and even though I seem to generally understand what it's for, some moments are still unclear.
    Let me describe the task: I have, for example, 10 item categories, all of them are in the real time info-cube. I have unique combinations for them, which are loaded into the DSO and I'm trying to create char. rel-ps based on that DSO.
    In the first aggregation level I'm using only the first 3 levels of item categories. The other 7 are not included.
    Let's assume I've planned my key figures for those 3 levels, and saved the plan. I need the system to distribute (disaggregate) the values among the remaining 7 category levels, so when I open another plan, based on an aggregation level that includes all 10 item categories, I would see all the data correctly and all the necessary combinations.
    As I understand, in that case I need to have characteristic relationships with derivation.
    But SAP demands that all the "target" characteristics should be held in the "Data Fields" section of DSO. And therefore they won't be key fields.
    I don't really get it - why should they be "data fields"? If I use them as "Data Fields" in the DSO, I won't be able to load all the possible combinations, because in some cases these 3 item categories that are the keys of the DSO, will match, only the remaining 7 will be different...
    How do I solve the described task?
    Thanks.
    Best regards,
    Andrey

    Hi Andrey,
    derivation is a function, given the source fields the derive functions fills the target fields. In other words, given a relation with two characteristics A, B with A source and B target the derive function F modeled in the relation 'calculates'  F(a) = b with a, b members of A,B, respecitvely. Since F is a function for a given a there are not two differen b1, b2 with F(a) = b1 and F(a) = b2.
    Using a derivation relation modeled in a data store the function F is defined by the active table of the data store. So A has to be the key and B has to be a an attribute (non-key). If this is not the case and A, B are key fields you can have the combinations
    A    B
    a    b1
    a    b2
    and this is by defintion not a derivation relation, but an n:m relation.
    On other words derivation fills redundant fields.
    It seems that you want to do just the opposite. It is a common problem to plan on a 'higher level' and to disaggregate from the higher level to lower levels, but of course only valid combinations should get values. You can use planning functions or the disaggregation feature in the query. Characteristic relationships are used to model the valid combinations.
    An example is as follows: We have Product -> Product Group -> Product line, the arrows indicate a derivation relation. The query uses all three characteristics in the aggregation level but has only Product Line and Product Group in the rows. Using disaggregation in the query changed key figure values will be disaggregated to Product (and maybe other characteristics used in the aggregation level). The system uses characteristic relationships that can be applied for the aggregation level to check the consistency of the records. Observe that a derivation relations can also be used to check the consistency of a combinations if both source and target fields are filled. Observe that for disaggregation of the above mentiond fields are filled and thus can and have to be checked using the derivation relations (and maybe other modeled relations).If 'access mode for result values' based on characteristic relationships is used in the query the relations can also be used to create all valid combinations needed for disaggregation.
    So you have to check whether the constraints you need are really of type n:m, then all fields have to be key in the data store or whether you have a derivation relation. By the way, derivations can be combined as in the Product -> Product Group (first relation) and Product Group -> Product Line (secdond relation) example.
    Regards,
    Gregor

  • SQL Tuning and OPTIMIZER - Execution Time with  " AND col .."

    Hi all,
    I get a question about SQL Tuning and OPTIMIZER.
    There are three samples with EXPLAIN PLAN and execution time.
    This "tw_pkg.getMaxAktion" is a PLSQL Package.
    1.) Execution Time : 0.25 Second
    2.) Execution Time : 0.59 Second
    3.) Execution Time : 1.11 Second
    The only difference is some additional "AND col <> .."
    Why is this execution time growing so strong?
    Many Thanks,
    Thomas
    ----[First example]---
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Connected as dbadmin2
    SQL>
    SQL> EXPLAIN PLAN FOR
      2  SELECT * FROM ( SELECT studie_id, tw_pkg.getMaxAktion(studie_id) AS max_aktion_id
      3                    FROM studie
      4                 ) max_aktion
      5  WHERE max_aktion.max_aktion_id < 900 ;
    Explained
    SQL> SELECT * FROM TABLE(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3201460684
    | Id  | Operation            | Name        | Rows  | Bytes | Cost (%CPU)| Time
    |   0 | SELECT STATEMENT     |             |   220 |   880 |     5  (40)| 00:00:
    |*  1 |  INDEX FAST FULL SCAN| SYS_C005393 |   220 |   880 |     5  (40)| 00:00:
    Predicate Information (identified by operation id):
       1 - filter("TW_PKG"."GETMAXAKTION"("STUDIE_ID")<900)
    13 rows selected
    SQL>
    Execution time (PL/SQL Developer says): 0.25 seconds
    ----[/First]---
    ----[Second example]---
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Connected as dbadmin2
    SQL>
    SQL> EXPLAIN PLAN FOR
      2  SELECT * FROM ( SELECT studie_id, tw_pkg.getMaxAktion(studie_id) AS max_aktion_id
      3                    FROM studie
      4                 ) max_aktion
      5  WHERE max_aktion.max_aktion_id < 900
      6    AND max_aktion.max_aktion_id <> 692;
    Explained
    SQL> SELECT * FROM TABLE(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3201460684
    | Id  | Operation            | Name        | Rows  | Bytes | Cost (%CPU)| Time
    |   0 | SELECT STATEMENT     |             |    11 |    44 |     6  (50)| 00:00:
    |*  1 |  INDEX FAST FULL SCAN| SYS_C005393 |    11 |    44 |     6  (50)| 00:00:
    Predicate Information (identified by operation id):
       1 - filter("TW_PKG"."GETMAXAKTION"("STUDIE_ID")<900 AND
                  "TW_PKG"."GETMAXAKTION"("STUDIE_ID")<>692)
    14 rows selected
    SQL>
    Execution time (PL/SQL Developer says): 0.59 seconds
    ----[/Second]---
    ----[Third example]---
    SQL> EXPLAIN PLAN FOR
      2  SELECT * FROM ( SELECT studie_id, tw_pkg.getMaxAktion(studie_id) AS max_aktion_id
      3                    FROM studie
      4                 ) max_aktion
      5  WHERE max_aktion.max_aktion_id < 900
      6    AND max_aktion.max_aktion_id <> 692
      7    AND max_aktion.max_aktion_id <> 392;
    Explained
    SQL> SELECT * FROM TABLE(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3201460684
    | Id  | Operation            | Name        | Rows  | Bytes | Cost (%CPU)| Time
    |   0 | SELECT STATEMENT     |             |     1 |     4 |     6  (50)| 00:00:
    |*  1 |  INDEX FAST FULL SCAN| SYS_C005393 |     1 |     4 |     6  (50)| 00:00:
    Predicate Information (identified by operation id):
       1 - filter("TW_PKG"."GETMAXAKTION"("STUDIE_ID")<900 AND
                  "TW_PKG"."GETMAXAKTION"("STUDIE_ID")<>692 AND
                  "TW_PKG"."GETMAXAKTION"("STUDIE_ID")<>392)
    15 rows selected
    SQL>
    Execution time (PL/SQL Developer says): 1.11 seconds
    ----[/Third]---Edited by: thomas_w on Jul 9, 2010 11:35 AM
    Edited by: thomas_w on Jul 12, 2010 8:29 AM

    Hi,
    this is likely because SQL Developer fetches and displays only limited number of rows from query results.
    This number is a parameter called 'sql array fetch size', you can find it in SQL Developer preferences under Tools/Preferences/Database/Advanced tab, and it's default value is 50 rows.
    Query scans a table from the beginning and continue scanning until first 50 rows are selected.
    If query conditions are more selective, then more table rows (or index entries) must be scanned to fetch first 50 results and execution time grows.
    This effect is usually unnoticeable when query uses simple and fast built-in comparison operators (like = <> etc) or oracle built-in functions, but your query uses a PL/SQL function that is much more slower than built-in functions/operators.
    Try to change this parameter to 1000 and most likely you will see that execution time of all 3 queries will be similar.
    Look at this simple test to figure out how it works:
    CREATE TABLE studie AS
    SELECT row_number() OVER (ORDER BY object_id) studie_id,  o.*
    FROM (
      SELECT * FROM all_objects
      CROSS JOIN
      (SELECT 1 FROM dual CONNECT BY LEVEL <= 100)
    ) o;
    CREATE INDEX studie_ix ON studie(object_name, studie_id);
    ANALYZE TABLE studie COMPUTE STATISTICS;
    CREATE OR REPLACE FUNCTION very_slow_function(action IN NUMBER)
    RETURN NUMBER
    IS
    BEGIN
      RETURN action;
    END;
    /'SQL array fetch size' parameter in SQLDeveloper has been set to 50 (default). We will run 3 different queries on test table.
    Query 1:
    SELECT * FROM ( SELECT studie_id, very_slow_function(studie_id) AS max_aktion_id
                         FROM studie
                  ) max_aktion
    WHERE max_aktion.max_aktion_id < 900
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      1.22       1.29          0       1310          0          50
    total        3      1.22       1.29          0       1310          0          50
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 93  (TEST)
    Rows     Row Source Operation
         50  INDEX FAST FULL SCAN STUDIE_IX (cr=1310 pr=0 pw=0 time=355838 us cost=5536 size=827075 card=165415)(object id 79865)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
         50   INDEX   MODE: ANALYZED (FAST FULL SCAN) OF 'STUDIE_IX' (INDEX)Query 2:
    SELECT * FROM ( SELECT studie_id, very_slow_function(studie_id) AS max_aktion_id
                         FROM studie
                  ) max_aktion
    WHERE max_aktion.max_aktion_id < 900
          AND max_aktion.max_aktion_id > 800
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.01          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      8.40       8.62          0       9351          0          50
    total        3      8.40       8.64          0       9351          0          50
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 93  (TEST)
    Rows     Row Source Operation
         50  INDEX FAST FULL SCAN STUDIE_IX (cr=9351 pr=0 pw=0 time=16988202 us cost=5552 size=41355 card=8271)(object id 79865)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
         50   INDEX   MODE: ANALYZED (FAST FULL SCAN) OF 'STUDIE_IX' (INDEX)Query 3:
    SELECT * FROM ( SELECT studie_id, very_slow_function(studie_id) AS max_aktion_id
                         FROM studie
                  ) max_aktion
    WHERE max_aktion.max_aktion_id = 600
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.01       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1     18.72      19.16          0      19315          0           1
    total        3     18.73      19.16          0      19315          0           1
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 93  (TEST)
    Rows     Row Source Operation
          1  INDEX FAST FULL SCAN STUDIE_IX (cr=19315 pr=0 pw=0 time=0 us cost=5536 size=165415 card=33083)(object id 79865)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
          1   INDEX   MODE: ANALYZED (FAST FULL SCAN) OF 'STUDIE_IX' (INDEX)Query 1 - 1,29 sec, 50 rows fetched, 1310 index entries scanned to find these 50 rows.
    Query 2 - 8,64 sec, 50 rows fetched, 9351 index entries scanned to find these 50 rows.
    Query 3 - 19,16 sec, only 1 row fetched, 19315 index entries scanned (full index).
    Now 'SQL array fetch size' parameter in SQLDeveloper has been set to 1000.
    Query 1:
    SELECT * FROM ( SELECT studie_id, very_slow_function(studie_id) AS max_aktion_id
                         FROM studie
                  ) max_aktion
    WHERE max_aktion.max_aktion_id < 900
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1     18.35      18.46          0      19315          0         899
    total        3     18.35      18.46          0      19315          0         899
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 93  (TEST)
    Rows     Row Source Operation
        899  INDEX FAST FULL SCAN STUDIE_IX (cr=19315 pr=0 pw=0 time=20571272 us cost=5536 size=827075 card=165415)(object id 79865)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
        899   INDEX   MODE: ANALYZED (FAST FULL SCAN) OF 'STUDIE_IX' (INDEX)Query 2:
    SELECT * FROM ( SELECT studie_id, very_slow_function(studie_id) AS max_aktion_id
                         FROM studie
                  ) max_aktion
    WHERE max_aktion.max_aktion_id < 900
          AND max_aktion.max_aktion_id > 800
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1     18.79      18.86          0      19315          0          99
    total        3     18.79      18.86          0      19315          0          99
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 93  (TEST)
    Rows     Row Source Operation
         99  INDEX FAST FULL SCAN STUDIE_IX (cr=19315 pr=0 pw=0 time=32805696 us cost=5552 size=41355 card=8271)(object id 79865)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
         99   INDEX   MODE: ANALYZED (FAST FULL SCAN) OF 'STUDIE_IX' (INDEX)Query 3:
    SELECT * FROM ( SELECT studie_id, very_slow_function(studie_id) AS max_aktion_id
                         FROM studie
                  ) max_aktion
    WHERE max_aktion.max_aktion_id = 600
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1     18.69      18.84          0      19315          0           1
    total        3     18.69      18.84          0      19315          0           1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 93  (TEST)
    Rows     Row Source Operation
          1  INDEX FAST FULL SCAN STUDIE_IX (cr=19315 pr=0 pw=0 time=0 us cost=5536 size=165415 card=33083)(object id 79865)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
          1   INDEX   MODE: ANALYZED (FAST FULL SCAN) OF 'STUDIE_IX' (INDEX)And now:
    Query 1 - 18.46 sec, 899 rows fetched, 19315 index entries scanned.
    Query 2 - 18.86 sec, 99 rows fetched, 19315 index entries scanned.
    Query 3 - 18.84 sec, 1 row fetched, 19315 index entries scanned.

  • 2 variables for same characteristic in planning level in BPS

    Hello,
    I would appreciate your help implementing this scenario: a user has access to certain versions and should be a able to copy data between 2 of those versions.
    We have 4 versions on our master data: 001, 002, 003 and 004.
    A certain user should be able to access versions 001, 002 and 003, and should not be able to access version 004.
    So we have an authorization object applied to that user with:
      -> 0TCAACTVT EQ 03
      -> 0TCAIPROV EQ <real time infocube>
      -> 0TCAVALID CP *
      -> 0VERSION EQ 001, 002 and 003
    Then, users should be able to copy data between versions.
    We created 2 variables on planning area, named ZVERSOLD and ZVERSNEW, with these characteristics:
      -> Characteristic: 0VERSION
      -> Replacement Type: USERVALUE User-defined values
      -> Restriction of Values Required by User: enabled
      -> Input Allowed by User: enabled
    So this particular user should only see those 3 versions when pressing F4 when filing both variables.
    After that, we created the planning level with the u201Ccopyu201D planning function.
    But now, on planning level, we need to restrict 0VERSION, but we have a problem because we are not able to restrict it using 2 variables (ZVERSOLD and  ZVERSNEW). Only one.
    If we donu2019t use any variable, user gets an authorization error because he is not able to access to all data due to authorizations.
    Does anyone have a way to avoid this issue? Should authorizations be defined in a different way? Should variables be defined in a different way?
    Hopefully I exposed all required details to get help, and that my question wasnu2019t too much confused.
    Again, thank you very much in advance for your support.
    Rui

    Hello,
    If you restrict the VERSION with variable ZVERSNEW for target version then the function should work. But if you get any error related to reading reference data for the source version then you can create a new variable of type exit and populate it with the values selected by the user in two variables ZVERSOLD and ZVERSNEW using the two APIs :
    API_SEMBPS_VARIABLE_GETDETAIL  - to get the current value of the two Variables
    API_SEMBPS_VARIABLE_SET - to set the Variable Values for the Exit type variable
    Regards,
    Deepti

  • BPS  initial value  at Planning Level

    Hello All
    I am getting error while using BW Hierarchy at planning level.
    i find the solution at  Including # initial value using hierachy
    but its not working
    i am getting this error "Characteristic Funds Center does not contain the initial value in the selection ".
    I try resolve the way suggested in old thread but its not working. I can only put either # or include Hierarchy at planning level.
    When I tried to use # it does not display Hierarchy in layout.
    if I include Hierarchy it gives error of "Characteristic Funds Center does not contain the initial value in the selection"
    Thanks in advance.
    Rinku

    If this error is just coming on execution of a planning layout the problem could be with your layout configuration, you should not select the hierarchy option in the first screen of layout config, only select totals by hierarchy on third screen of layout config and you should get the display you're after.
    (I think this error message can also arise when a compounding characteristic is not properly restricted)

  • Cash Management Report FF7B - drill-down from planning levels to AP/AR OIs

    Hi
    I'm configuring cash management and have created all planning levels and groups needed.
    All master data, ie GL accounts, vendors and customers, have the correct planning level or group.
    I've created all the groupings etc that I need.
    I'm running the reports FF7A and FF7B. I have two questions and problems.
    1. When running the Liquidity Forecsat for customers and vendors I drill-down to the standard PL or SL planning levels for AP and AR postings respectively. Then I drill into the planning groups correctly  (E1-E9 and R1-R8). But when I try to drill into the cash management detail records  (or is it the AP/AR line items?) I get "Memo Records: List - List Contains No Data". This happens every time. Should I now see the AP or AP line items? Or should I see some cash management memo records? I have deleted all the cash management data several times and recreated but I still get this problem  (using reports RFFDDL00 and RFFDKU00)
    When I do the same for purchase orders, purchase requisitions or sales orders I see a Memo Records List which agrees with the previous planning level total and I can then drill into the actiual POs, PRs or SOs from this list without an issue.
    2. When running the Cash Position and I do the drill-down to the GL Line Items, I get an enormous list which does not just show the total of items at the previous planning level. Why is this please? Example: a bank account with a balance of £2,000  (shown on the panning level) but with 000's of line items totalling say £5m. Again I have deleted the CM data and recreated but without any improvement to the problem.
    Any help anyone can give me with these issues will be very much appreciated.
    Thanks.
    Wayne

    Hi
    I have the same trouble with Tcode FF7B.  There´s a message "Memo Records: List - List Contains No Data"; bit in the TcodeFF7A, it runs OK.  The message appears just witn Tcode FF7A.
    Also, There´s all TR data in tables FDSB for GL accounts, FDSR and FDFIEP for customers/vendors.
    Can you help me??  can you solved this issue?
    Tanks for your Help

  • Creation of new planning level in BPS0 in BW 3.5

    Dear Experts,
    I have to create a new planning layout in BW 3.5 BPS
    for this ,I have followed the below procedure:
    -Maintained the master data of new keyfigures in Info Object: Key Figure (0MEASURE) in RSA1
    -Copied the Similar Planning level in the same Planning area (in which I need to add the new one) and created a new planning level with its subordinate objects and then changed by deleting  the keyfigures except # and added the new keyfigures, to be maintained in new planning area and saved.
    -Changed the planning layout (which is created automatiacally whne we copied planning level) by deleting the existing key figures except 0KEYFG_FLAG and added the required key figure and saved.
    -copied the planning profile and created a new planning profile and changed it with required planning level and package and saved.
    -In T-code:upx_mntn1, I could see the new planning level with the required key figure there.
    But this new planning profile is not appraring in the CRM server.
    As I haven't  worked in BPS , please guide me if there is any thing needs to be done or any changes in the procedure followed.
    Please share any documentation or links you have ....regarding this
    Please share your Ideas
    Thanks in advance....
    Arjun

    Hi,
    The Planning Profile has been created in CRM also and hence the configuration is working

  • Affect of a new planning level selection

    Hi,
    we have a BW-BPS environment with lots of BPS functionalities, palnning sequenses, save, copy functions...
    Until now we have all products from SAP R/3 extracted.
    Newly there are now in SAP R/3 lots of small products. Planning people donu2019t want to see and plan all products in planning layouts. They want to see to plan only the "important products".
    The following solution is thought.
    we will create a product hierachie with 2 hierarchie node: "important products" and "small products".
    the hier. node u201Cimportant productsu201D should be used in all planning levels in selections.
    How can it (selection in planning level) affect the current planning functions ?
    What would you suggest here?

    Hi,
    Planning functions are assigned to just one planning level. So if you have planned to restrict the values using Hierarchy at planning level, then the underlying functions will apply only to that hierarchy members.
    regards,
    Lokesh Nandula

  • Bps-planning level

    hi friends,
    i am creating planning level by default i am getting ad-hoc package .
    what is this.
    Thanking u
    suneel.

    Ad hoc package is generated for you to use; usually we ignore them, and use our own with our naming standards for the same of authorization and other purposes.
    Ravi Thothadri

  • Planning Level/Package names not displaying correctly in BPS0 (BI7)

    We have just upgraded our BW system from 3.5 to BI7.  We are running SEM 3.5.
    We now seem to have a display issue with the titles of some planning levels and packages within BPS0.
    On some planning level/package lines the display in the left hand pane of BPS0 is truncated with only a partial description, even though the full description is displayed in the right hand pane.  This is not consistent, as other levels and packages are displayed correctly.  It is not truncating at the same place in all instances.
    I have tried to delete the description and re-input it again, but the problem persists.
    Similar display issues occur in UPSPL in a seemingly random fashion.
    Any thoughts would be appreciated.
    Many thanks
    Barry

    Hi
    Have just found out what is happening and the solution....but no nearer to knowing why.
    The display problem occurs in descriptions of planning levels and packages in BPS0 and in UPSPL & UPSPM.  Also when viewing global planning sequences.
    The cause is the use of "&" in a description text.  When this character is removed and replaced with another, eg "+", then the descriptions display correctly.
    I wonder if this is to do with "&" being a special character, which I believe XML doesn't handle too well?
    Anyway, I can now change the descriptive text and the problem goes away.
    Barry

Maybe you are looking for

  • How to get instance of Class with its type parameters

    Hi, Have any of you folks been dealing with generics long enough to show me how this should be written? Or point me to the answer (I have searched as well as I could). I boiled down my situation to the included sample code, which is long only because

  • System status table

    hi all, i am locking/unlocking(status) the account assigment of network at header level using CN22 transaction, it is updating the status in table JEST.I just want to know which table that system status update when iam  locking/unlocking the account

  • Steps for Financial Closing in SAP

    Hello , I would like to know  the steps to carry the financial closing in SAP , or may somebody have a manual to let me. I would like to know also the steps for assets closing. Some help would be very useful for me. Thank you very much.

  • CM Repository Manager

    Hello, I tried to set up a CM Repository Manager in FSDB mode to connect to a file system. I went through the steps of this blog <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0449c90-0201-0010-7590-dd30845754ef">https:

  • ESS implementation on MySAP ERP 2004

    hi we have ERP 2004 ECC 5.0 IDES version the online version of ESS is working fine, now we want to use ESS on portal. now my queries are what is the prerequisities for ESS on portal ? is the java components for ESS are to be deployed on Portal Server