Skip to Content
author's profile photo Former Member
Former Member

Distribution data top - down between levels of hierarchy

Hi Everyone,

I've got a problem with planning function which doesn't want to distribute data from higher level of article hierarchy down to lower level.

I use 2 characteristics (among other things): Category 0CM_CDT2 and Subcategory 0CM_CDT3.

I have created 2 variables for each char.:

- VARCAT variable holding data for Category (#, H01, H02)

- VARSUB variable holding data for Subcategory (#, H0101, H0102, H0103, H0201, H0202, H0203)

In one planning layout I plan data for category and in another one for subcategory (selecting earlier one of category values).

I have also created characteristic relationships (typ Attribute) for category and subcategory (in BW cube category is an attribute for subcategory and these two characteristics are placed in one dimension).

When I execute layout for planning data for subcategory appropriate values for subcategory appears based on chosen category. (eg. H0101, H0102, H0103 for category H01).

But when I execute planning function (distribute data by key or by refference to historical data) the system generates an error

"Value H02 of chara Category does not correspond to the attrib.val H01 of chara Subcategory

Message no. UPC515"

I suppose that the planning function want to distribute data planned for category H01 for all the subcategories also for subcategories that belongs to category H02.

What should I do to avoid such an error?

I want to achieve that the defined planning function (distribute by key or by refference data) will distribute data from category down to appropriate subcategory...

Maybe an user exite should be implemented to fix that but I'm not similar with ABAP.

All suggestions will be welcome

Thanks in advance for replay

regards

Krzysztof

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 10:34 PM

    it actuall sounds like you have inconsistent data. Are there any records, particularly in the historical reference data which have a category/sub category combination that is different to what the derivation would produce?

    Standard distribution functions should work fine for this scenario, would be interrested to know how you have the derivations configured, 'Derivation , check and proposal'?

    Also do you have category in the planning level where you execuet the distribution? technically you should not need it to simply distribute between subcategories. You don't need the category characteristic for a condition as you could make an attribute selection by Cat FOR SubCat in the level definiton.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.