on 2024 Oct 03 4:30 PM
Hi gurus,
I'm working in an SAC Planning environment connected to a live BPC embedded model from BW. I use buttons with scripts to run several planning sequences together with data saves (publish data) in the same step, and it works fine when I'm working with the model and a table in input mode. However, I've noticed that it doesn't recognize that the version's data has been modified for a story where I run a planning sequence and a data save, where the table is not input-ready. It seems like there's a delay between the end of the sequence and the data published. As a workaround, I've added a refresh step between the sequence execution and the publish step, and it works that way. Has anyone else experienced this? Any other solutions?
This is the code:
BPC_PlanningSequence.execute();
//This refresh is introduced with the purpose of ensuring that it recognizes
Table_1.getDataSource().refreshData();
var bpcVersion = Table_1.getPlanning().getPublicVersion("All Versions");
if (bpcVersion) {
if(bpcVersion.isDirty()) {
bpcVersion.publish();
};
};
Best Regards,
Rubén
Request clarification before answering.
Try this step. If you are executing all the planning sequence through process chain, at the end of the planning sequence, add a program to switch the ADSO from planning mode to loading mode and back to planning Mode. SAP note: 3455780 , you can use, class CL_RSPLS_CUBE_SWITCH_L and CL_RSPLS_CUBE_SWITCH_P
Thanks
Savio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
30 | |
10 | |
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.