Hi BPC Experts,
We are working on a SAP BPC Migration project.
Some packages that were wroking fine in SAP BPC 7.5 are not working in SAP BPC 10.
After the migration process we are facing an issue with packages that call a logic passing parameters, and in the script logic we execute the RUN_STORED_PROCEDURE instruction.
This is the DM script that we use to pass the parameters:
PROMPT(TEXT,%PRM_SOURCE_CAT%,"Select the source category")
PROMPT(TEXT,%PRM_DEST_CAT%,"Select the destination category")
*FUNCTION MY_SOURCE_CATEGORY = %PRM_SOURCE_CAT%
*FUNCTION MY_DEST_CATEGORY = %PRM_DEST_CAT%
*FUNCTION MY_BEGIN_MONTH = %PRM_BEGIN_MONTH%
*FUNCTION MY_END_MONTH = %PRM_END_MONTH%
*SELECT(%LISTOFPERIODS%,"[ID]",BS_MonthlyDate,"TIMEID BETWEEN (SELECT TIMEID FROM MBRBS_MonthlyDate WHERE ID IN ('MY_BEGIN_MONTH')) AND (SELECT TIMEID FROM MBRBS_MonthlyDate WHERE ID IN ('MY_END_MONTH'))")
This is the script logic that we use:
We have checked that the Stotred procedure is working properly, so the problem that we are facing is when passing the parameters from the DM prompt to the Script logic.
We have also modified the script logic syntax to put the variables with different combinations: %%, ... but we have not been able to make it work.
Best regards and thanks in advance.