cancel
Showing results for 
Search instead for 
Did you mean: 

Plan Cube Load Plan Mode - Green Yellow Request

cote_adams
Participant
0 Kudos

When planning, the request status remains Yellow during all changes and functions. If I change the cube to load mode then back to plan mode, this request will turn green and a new yellow request appears. My planning application will have many planning functions and data input, and I would like to be able to create a new request for each Planning function for ease of troubleshooting/repair. Is there a standard functionality to do this?

I have found I can create a process chain which will switch to load mode then back to plan mode, and can execute this process chain via the web template, but was wondering if there was a better method to doing this.

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

please take that e.g. saving the plan data is only allowed if the cube is in plan mode. That means as soon as two planers are working with your application there is the possibility that the both want to save data at the same point in time. Of course they can not work on the same data set, because the locks will prevent this. But it is possible that they want to save the data at the same time. This means in your case, that the first user sets the cube to load to close the request e.g. by using a planning function and the second user is getting an error message, because the cube is in load mode and can not be planned right now. Do you really want to run in this situation? I would not do it.

If yes, you may create a customer planning function and switch the cubes. Function RSAPO_SWITCH_BATCH_TO_TRANS and RSAPO_SWITCH_TRANS_TO_BATCH are able to do switch.

Hope this helps ...

Regards Matthias Nutt

SAP Consulting Switzerland

cote_adams
Participant
0 Kudos

Thanks Matthias. This should not be an issue with our specific scenarios.

I am using a FOX Formula to call the function module.

I have added RSAPO_SWITCH_BATCH_TO_TRANS and RSAPO_SWITCH_TRANS_TO_BATCH to the table RSPLF_FDIR.

One issue, I am using the following logic:

CALL FUNCTION 'RSAPO_SWITCH_BATCH_TO_TRANS'

EXPORTING

I_INFOCUBE = GLPHPH1.

When I perform a 'check', I get the error:

Type RSD_INFOCUBE of parameter I_INFOCUBE is invalid

I have tested running just the function module with GLPHPH1 in the field I_INFOCUBE and it runs fine.

Former Member
0 Kudos

Hi,

seems to be an issue with the technical types of the function parameters. In your FOX call a function which finally calls the function 'RSAPO_SWITCH_BATCH_TO_TRANS'. Please use the correct type in each call.

Hope this helps

Matthias