Characteristic Usage & Block characteristics in Planning funcitons

Hi All,
          I would like to know how to use "characteristic Usage" in planning functions, ie,, its functionality.
I have gone thru sap help regarding this, it mentions something about block characteristics being formed internally.
I am confused as to how the characteristics are termed block characteristics., and the logic behind it.
I feel that without proper knowledge about this, writing Fox formulas would be inadvisable.
Any help with examples would be appreciated. Thanks in advance.
Regards,
Tarak

In Characteristic usage tab, you choose the fields which can be changed and which can be used for conditions.
All the remaining char. which are not chosen in this tab will form a block. and the code runs for each combination these characteristics.
Cube1
Country   SalesOrg    Material    Qty    Amount
C1            SO1              M1         100
C1            SO2              M1         200
C2            SO3              M1         300
C1            SO1              M2         100
C1            SO2              M2         200
C2            SO3              M2         300
Cube2
Country        Material     Price
C1                 M1              1.1
C1                 M2              1.2
C2                 M1              1.3
C2                 M2              1.4
Now you want to calculate the amount by calculating qty * price which are at different granular level.
So you have to choose the differentiaing char. in the field to be changed which is SalesOrg, InfoProvider and Key figure name.
So the remaining char. Country, material will form as block characteristics,
So the data block is
C1  M1  ->  This block contains  records 1 and 2 from cube1 & 1st record from cube2.
C1  M2  -> This block contains  records 3 and 6 from cube1 & 2st record from cube2.
C2  M1
C2  M2
For each combination of country and material, the code runs once.
And the code is
FOREACH SalesOrg.
{Amount, SalesOrg, Cube1} = {Qty, SalesOrg, Cube1} * {Price, #, Cube2}.
ENDFOR.
Hope this is clear. To learn how to write FOX code, check the below document.
http://www.sdn.sap.com/irj/scn/events?rid=/library/uuid/9af68206-0801-0010-029c-c586c707fc80&overridelayout=true

Similar Messages

  • Characteristic as block characteristic

    Hello,
    what is the indicator (in the planning modeler) that a characteristic is relevant for building blocks ?
    My problem is, that i have to run an own developed planning function over all records available for a year and version, and now our system runs out of memory. Now i want that the system executes the function for each company (step by step). Therefore I wanted to add the characterist "0COMPANY" in the customizing of a process type "EXECUTE PLANNING SEQUENCE" in Process chain, but i tells me that I have not selected any characteristic for building blocks. In the modelere i found in the planning function definition the "To Characteristic Usage" button. There i can flag "changed"  and /or "used in conditions".
    Are these the checkboxes for Block building ?
    Thank you
    Dieter

    Hi Dieter,
    I assume you are talking about an exit planning function.
    1. check that the planning function type allows working in blocks.
       RSPLAN -> maintain function types -> choose your planning function and
       check the setting of "without blocks". It needs to be empty.
    2. go to the planning modeller and select your planning function. There you can
       see the characteristics.
       RSPLAN -> Planning modeller -> choose your planning function
       -> "To characteristic usage" -> take a look at the "changed" and "used in condition" flag.
      All characteristics which are not ticked are relevant for block building.
      So if you want to use 0COMPANY as block relevant, you need to untick the flags here.
    Regards Matthias

  • Block in Billing Plan

    Hi
    I need to generate an output type whenever a sales order is created or changed if there is a change in the billing block in the Billing plan for prepaid SO. Can anybody please let me know in which structure the value lies ? KOMPBV1-FAKSP is not applicable as it is the Block at the Billing document, not the Billing Plan
    Any help is highly appreciated

    Hello,
    I don't think the system will automatically remove the billing block from the plan an bill it. You may create a program to remove the billing block from the line items in a billing plan order with the help of an ABAP expert and schedule it accordingly.
    So whenever the date comes, the system will remove the billing block and bill it.
    Prase

  • Data usage of my cellular plan for my i phone 5

    I would like to know how i can setup my i phone 5 to display the data usage of my cellular plan.

    There are two methods that I know of. 1) Put a reminder on your calendar to repeat each month on the day that your monthly cellular plan ends and then go to Settings > Cellular and scroll to the bottom and "Reset Statistics." If you do that, Settings > Cellular > Cellular Data Usage > Current Period will show your data usage in close alignment to your cellular plan. 2) Download an app from your cellular provider if they offer one.

  • Release billing block in billing plan

    I am using periodic billing plan and I would like that the billing block will be deleted automatically when the billing date arrives.
    Does the standard system supports this feature and how?

    Hello,
    I don't think the system will automatically remove the billing block from the plan an bill it. You may create a program to remove the billing block from the line items in a billing plan order with the help of an ABAP expert and schedule it accordingly.
    So whenever the date comes, the system will remove the billing block and bill it.
    Prase

  • Troubleshooting error 6952 while executing a planning funciton

    Hi,
    when I execute a planning funciton (COPY) on a BIA enabled realtime cube - I get the error
    Error reading data for the infoprovider <Cube$>
    On going through the trace files and the performance trace, I found:
    TREXIndexserver.trc:
    6952; Error executing physical plan: AttributeEngine: not enough memory.;in executor::Executor in cube: <>
    IndexID: <>, QueryMediator failed executing query, reason: Error executing physical plan: AttributeEngine: not enough memory.;in executor::Executor in cube: <>
    TREXRFCserver trace file:
    TREX_RFC_AGGREGATE_SP5 rc: 6952 (Error executing physical plan: AttributeEngine: not enough memory.;in executor::Executor in cube: <>)
    Another Inderserver trace file:
    AggregateMerger returning out of memory with hash table size 668180, columns 63
    I get the same errors even after restarting all the BIA services (when memory consumed on each blade is the minimum possible).
    My questions:
    1. How do I know how much memory is this process looking for? We have 16GB blades.
    2. Is it because this function is trying to send too much data back to OLAP (Notes 1002839 & 1018798). If yes, is there something equivalent of RSRT for planning functions. In particular, I am looking for event 9010 (or its equivalent)
    3. Can I turn BIA off for just this planning function as we do for a query?
    Help appreciated.
    Thanks,
    Saurabh

    Hi Saurabh,
    first, try to use the most recent BWA revision to ensure that all known memory issues are eliminated.
    If the error still occurs, check that your BWA is not overloaded with data. There needs to be enough memory available to process queries (a planning function isn't any different). Recommendation is 50% free memory.
    Furthermore, you can check that the system passes the correct selection criteria to BWA. Put a break-point into function RSDRC_INFOPROV_READ and compare the SELDR to what you expect for your function. Note: The planning function might require a second read for reference data which could be very large depending on the configuration of the planning function/filter.
    BI stats capture the KPIs you are looking for (events 9010, 9011, 150xx). However, in case of errors/dumps stats are not saved.
    Currently we do not have the option to turn BWA off for specific planning functions. We will take this into consideration in a future support pack/release.
    Regards,
    Marc
    SAP NetWeaver RIG

  • BI-IP: Change of characteristic value in ABAP EXIT planning function

    Hi
    I have created a planning function of the type EXIT with reference data without blocks. In method IF_RSPLFA_SRVTYPE_IMP_EXEC_REF~EXECUTE I am going to implement my code.
    Now, one of the purposes is to update the VALIDTO of an existing record. Is it possible to modify the characteristic values directly in C_TH_DATA (thus allowing me to just update the date directly on the record) or can I only append records?
    Cheers!
    /Karsten

    Hi Larse,
    Yes you can change directly your value in a record withou appending a new one,but still it will create 2 records in the delta buffer ready to be save to the cube.
    Reagrds,
    Eitan.

  • User defined characteristics for planning hierarchy

    Hi Experts,
    I am using flexible planning for sales planning when I define a planning hierarchy, I want to include a user defined field also.
    The requirement is like this, Planner wanted to see the cumulative sales figures of domestic and exports (Exports will be to more than one country. So I cant use countries for this).
    How can I do this?
    Request your expert advice.
    Regards

    Hi Ram,
    Thanks for the reply. Since Iam using flexible planning, I will be creating a user defined info structure. But my question is can I include a custom defined characteristic also in the hierarchy which is not available in the field catalogs for characteristics system is showing?
    If so where should I define this characteristics first before assigning to the information structure.
    Thanks & Regards
    Enrico

  • Characteristic Selection u201Cnot assignedu201D on planning level

    Hi experts,
    we are using BW-BPS.
    On planning level selection some characteristics have the following condition.
    0PROFIT_CTR     Equal to: #
    What does it mean exactly ?
    What is the difference between  u201Cno selectionu201D and  = u201C#u201D ?
    Thanks

    If it is blank, then any underlying layouts, or functions can be run for any specifiv profit centres, or all possible profit centres including 'not assigned' - there is no restriction at the Level, so all will be read.
    if the restriction is set to #, then the functions/layouts can have no assigned profit centre, and no postings will be made on any profit centre (or whatever the characteristic is set to). (It is more like leaving the chracteristic completely out of the level than leaving it blank).

  • Characteristics in Planning object structure

    HI,
    When we create any Master Planning object structure ( MPOS)we see characteristics at right side of MPOS from where we have to select the required characteristics to left side and then these characteristics would be a part of our MPOS.
    My question is from where these characteristics comes from. I looked at RSA1 and it seems they comes from there but some of them comes from unassigned nodes and some from Info providers.
    Could any one tell me the logic of the characterists that appears while creating MPOS.
    Thanks in advance.
    Regards, Mukesh

    Hello Sujay,
    Thanks for your help.
    I just want to understand the differences in characteristics that I see in RSD1 and I see in RSA1 ( assigned and un-assigned nodes both).
    In RSD1 do we all characteristis that we see in RSA1.
    Thanks in advance.
    Regards, Mukesh

  • Characteristics based planning: SNP deployment supports characteristics?

    Dear experts,
    Does SCM7.0 support SNP deployment with characteristics (configurable products)?
    I am aware that SCM7.0 includes PP/DS deployment features that support characteristics, but I must use a SNP deployment method.
    Thank you very much.
    Edited by: Hector Mediavilla on Sep 26, 2011 1:41 PM

    Hello,
    It's a pity that the functionality is not supported yet up to the most recent version.
    Please check the below contenct from note 1446894:
    +Characteristics Based Deployment
    SNP Deployment does not support Characteristic based planning. The functional scope of PP/DS Deployment is restricted compared to Deployment in SNP:
    - only Deployment Heuristics (no Real-Time Deployment and no Deployment Optimization)
    - no Push Deployment
    - no Fair Share between stock transfer demands and independent requirements+
    Best Regards,
    Ada

  • "Characteristic is blocked by conversion" -- "No Nametab Exist"

    Hi all,
    I have a serious problem. I have an infoobject with master data time dependent. I have switched one field from "Time-Dependent" to "not Time Dependent". In development environment no problem arises.
    When transporting in quality environment, the Change request goes in Red with following message:
    Table /BI0/PXXX: Error in creating index 0 (2)
    Characteristic 0XXX is blocked by conversion
    I check in quality and I see that the /BI0/QXXX table is not active. When I try to activate it, the following error message appears:
    No active nametab exists for /BI0/QXXX
    Termination due to inconsistencies
    Table /BI0/QXXX (Statements could not be generated)
    Any ideas?
    Thanks,
    Gianluca

    OSS Note 211492

  • Characteristic doesn't exist in planning area when running hierarchy STS.

    Hi All,,
    Could anybody help me regarding this problem please ???
    In STS Customizing - IP, i'd like to determine Hierarchy for Subplan, but I always get this message: " Characteristic ZSTSHIER doesn't exist in planning area ZPA01".
    Prior to determine Hierarchy, I've already defined Subplan, Planning Session. I also have already created Planning Area containing characteristic: ZSTSHIER (but I only create for planning area).
    In the prompted window of determining hierarchy, after I define the planning area, I can see the respective Hierarchy Characteristic.
    But when I execute it, It always says " Characteristic ZSTSHIER doesn't exist in planning area ZPA01" .
    Could somebody help me please ??
    Is it SAP Bugs / Do I miss one thing to do ?
    Thanks a lot
    Best regards,
    Daniel N.

    Hi Andrey,
    Thanks so much for your respond.
    The "execute it" means when i'm determining Hierarchy for Subplan.
    It always says "Characteristic ZSTSHIER doesn't exist in planning area ZPA01".
    However, I can see the hierarchy ZSTSHIER in Planning Area inside Master Data tab. I have already created the Hierarchy within ZSTSHIER using RSA1.
    The weird thing that I'm able to define Hierarchy Basic Characteristic and Hierarchy Name within under respective Planning Area.
    Would you kindly help me please ?
    What's going wrong here ? Is that something missing yet to be done ?
    Really need your guidances.
    Best regards,
    Daniel Nurindra.

  • Usage decision and inspection plan

    Hi,
    1. Once Usage decision has been done, can we still change it? how can i set that it can be changed?
    2.Is it possible to create an Inspection plan for a group of material? for example, I just need to maintain 1 Inspection plan for 30 material. something like it can be group like reference operation set? if yes how? if no, why?
    Thank you so much,
    raymond

    Hi
    Hi,
    1. Once Usage decision has been done, can we still change it? how can i set that it can be changed?
    Yes UD  can be changed anytime but you can not change the stock postng.Also for history in QM view tick on "document req"
    2.Is it possible to create an Inspection plan for a group of material? for example, I just need to maintain 1 Inspection plan for 30 material. something like it can be group like reference operation set? if yes how? if no, why?
    Yes this is possible through QP01/02 --->in header there is one tab"Material assignment" here you can enter
    Group conter (same say "1" ) material & plant.
    Same Inspection plan is reffered to the multiple materials.You can add as materials possible.
    But remember that Unit of measurement of all materials must be same.
    Sujit

  • Usage decision -  characteristics relavent for usage decision

    Hi friends,
    In usage decision screen, either all characteristics are shown or only characteristics relavent for usage decision is shown.
    How do we make a charactertics as usage decision relavent, so that it is shown in usage decision screen by default.
    Regards
    CSN.

    hi
    either all characteristics are shown or only characteristics relavent for usage decision is shown
    Char relevent to UD are except follwing.
    1.Char is skip -->you apply DMR for Char or at lot level in task list header or at char level.
    2.Required char is not ticked in the Control indicator of cha.that means you have selected Optional char.
    3.You have not selected task list indicator in QM view.
    These are only possibilities that all char will not appear in the UD screen.
    Regards
    Sujit

Maybe you are looking for