cancel
Showing results for 
Search instead for 
Did you mean: 

Distribution in Planning Sequence

Former Member
0 Kudos

Hi Guys,

I have created a layout with the Following Buttons (1. Variable Screen and 2. Distribution)

The Distribution button has a planning sequence.

When the user enter the Variable and log in to the layout and make Adjustments. if he press the Distribution.

Then Distribution happens.

After the Distribution is done if the user still on the Layout and Clicks the Variable Button and make changes (Eg Changing the Plant from 6000 to 6100) and then clicks the Distribution. then Distribution is not happening.

But if the user logs back to and clicks the Distribution. then it Distribution.

Could some let me know if they have faced similar issues.

Any Suggestion would be great.

Thanks

PS

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi.

Which way you are doing distribution: FOX or standard function ?

When you are changing plant value do you see any data in layout ?

Regadrs.

Former Member
0 Kudos

Hi Andrey,

I am useing the Fox for the Distribution. Yes when i change the Plant values on the Variables i can see new plant on the Layout.

I am thinking this might be a issue with the Data Binding on the Planning Sequence in WAD Template. since it is not refreshing with the new Value(Plant). It is not Distributing the Second time.

Thanks

sunil

Former Member
0 Kudos

Hi.

I assume you are on BI7 ...

which data binding type you use ?

We have had similar problem and I resolved it by using data binding from "RESULT_SET".

Plz write if you need additional clarifications about this data binding type ...

Regards.

Former Member
0 Kudos

Hi Andrey,

You are right we are useing BI 7.

When you said "Result_Set".

I have to take the following Steps:

Variable Type: Binding Type (Selection_binding)

Binding Type: Result Set.

What do we have to enter in the Characteristic Members of the Result Set.?

I am think it should be the Variables.

Could you please provide some more information.

Thanks

PS

Former Member
0 Kudos

Hi.

Variable - select your variable

Variable type - select "binding type"

Binding type - select "result set"

Data provider - select your dataprovider

Characteristic - select characteristic (you will get an error message -RSBOLAP 014. Press OK, then continue. Then select "manual input" and enter technical name of characteristic.

Regards.

Former Member
0 Kudos

Hi Andrey,

I have tried your steps, but for some reason it is still not working.

I even tried the following Steps.

Variable Type = 'Binding Type'

Binding Type = 'Variable'

i used the listed Value instead of Manual Input and

variable = 'Variable Name'

But even that did not work. Just wondering what might be the cause.

Thanks

PS

Former Member
0 Kudos

Hi.

It sounds very very strange ...

Let's try one more time ...

You have a distribution function with variable for 0PLANT (let's say Z_PLANT).

You have a filter with this variable.

You have created bex query (let's say Z_Q_MY_LAYOUT).

You have created WAD and in WAD you have dataprovider type of query based on Z_Q_MY_LAYOUT query (let's say Z_DATA_PROVIDER).

You change variables values in WAD using any selector (let's say filter pane) that has setting in "affected dataprovider"=Z_DATA_PROVIDER.

This action affects on layout and after you have selected new 0PLANT value you see on screen only new 0PLANT values.

You have any button with command EXEC_PLANNING_SEQUENCE_SIMPLE.

In data binding section you have selected Z_PLANT variable from list of available variables of dataprovider Z_DATA_PROVIDER.

Variable type = binding type

Binding type = result set

Dataprovider = Z_DATA_PROVIDER

Characteristic = 0PLANT.

Is it right ?

Regadrs.

Former Member
0 Kudos

Hi Andrey,

Yes,these are the exact steps I am doing as you mentioned.

Below are the Steps i am following to do the Distribution

Step 1: Enter the Variable values

Step 2: Takes me to the Layout (Make my Adjustments)

Step 3: Use the Distribution Button (goes and spreads the Values to the Real time Cube)

Step 4: Now i change one of the Variable (From Plan X to Plant Y).

Step 5: Make new Adjustments on the Layout

Step 6: Use the Distribution Button to Spread the Values.

At this Point i am not able to Spread it. I have to Log out and Log In in Order to Spread for the Second time.

Yes it is Strange, wondering what might be the reason behind.

Thanks

PS

Former Member
0 Kudos

Hi.

Again, it is very strange.

I suggest you to do another check: you execute distribution with FOX. So in FOX add MESSAGE command and VARV for your variable.

For example:

DATA V0PLANT TYPE 0PLANT.

V0PLANT = VARV(YOUR_USED_PLANT_VARIABLE).

MESSAGE I001(/SEM/003) WITH 'YOUR_USED_PLANT_VARIABLE: ' V0PLANT.

So during execution you will see in WAD messages value of the variable.

If this value have not changed after you changed to another plant, it may be any problem and I suggest you may be to open OSS.

Regadrs.

Former Member
0 Kudos

Hi Andrey,

I have done this Steps, I get the new Plant value on the WAD Message Screen.

I think I need to Open OSS for this issue to be fixed.

Thanks for your Help Andrey Points assigned. I will update you if i am able to resolve this issue.

Thanks

PS

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Guys,

This issue was resolved with the following steps:

Add the RSPLF_RESET_VAR_CONT parameter in the RSADMIN table.

The parameter has the values OBJECT = RSPLF_RESET_VAR_CONT and VALUE =X.

You can use the report SAP_RSADMIN_MAINTAIN to maintain the table RSADMIN.

Once we have done this it was resolved.

Thanks

SP

Former Member
0 Kudos

Hi Peralas,

Your problem is not entirely clear to me.

Changing Plant you mean adding a new record with a new plant setting the old one on zero? Or are you talking about KeyFig values?

I can imagine if it's the first; the user need to transfer (or save) values first to make the distribution work. Otherwise the new record is not in the 'package' of the planning sequence.

Hope it helps.

wkr,

JvdP