Hi guys,
we're on SAP_BW 731 0009 (SAPKW73109) and CPMBPC 801 0003 (SAPK-80103INCPMBPC).
As frontend we use EPM Version 10.0 SP20, Patch 1 .Net4 (Build 9042)
The problem:
When running a Data Manager Package, triggering the standard process chain /CPMB/DEFAULT_FORMULAS (with /CPMB/CLEAR and CLOSE_MODE = 0), calling a SCRIPT LOGIC, calling a BADI, the returned BPC Package Status is always 'Failed', even though the BADI has finished sucessfuilly.
Does anyone have a clue what the problem might be caused by?
Please ref. the following details:
(1) Data Manager Package:
(SELECTINPUT,,,,"%CATEGORY_DIM%,%TIME_DIM%")
(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%)
(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%)
(/CPMB/DEFAULT_FORMULAS_LOGIC,SELECTION,%SELECTION%)
(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,EXEC_SPLIT_GUESS.LGF)
(2) Process Chain:
(btw: I have already tried using a custom process chain with two custom process types for Clear Tables - one with parameter settings IFCHAINCLOSE = Y and CLOSE_MODE = 1 (for success) and another one with parameter settings IFCHAINCLOSE = Y and CLOSE_MODE = 3 (for error). Unfortunately without any helpful outcome. 'Failed' still appears to be the standard BPC Package Status
(3) Script Logic:
//The first step is the scope setting
*XDIM_MEMBERSET CATEGORY_KD = %CATEGORY_KD_SET%
*XDIM_MEMBERSET DATEN_TYP_KD = INPUT_KEY, BASIS_VALUE
*XDIM_MEMBERSET TIME_KD = %TIME_KD_SET%
*START_BADI KD_SPLIT
CATEGORY_KD = (%CATEGORY_KD_SET%)
TIME_KD = (%TIME_KD_SET%)
QUERY = ON
WRITE = ON
GUESS_A = ON
GUESS_B = ON
GUESS_C = ON
GUESS_D = ON
GUESS_E = ON
GUESS_F = ON
GUESS_G = ON
GUESS_H = ON
GUESS_I = ON
GUESS_J = ON
GUESS_K = OFF
GUESS_L = OFF
GUESS_M = OFF
GUESS_N = OFF
GUESS_O = OFF
GUESS_P = OFF
GUESS_Q = OFF
GUESS_R = OFF
GUESS_S = OFF
GUESS_T = OFF
OPEN_SEARCH = OFF
READ_ERRORTAB = OFF
*END_BADI
(4) BADI:
I am happy to provide further details...
Thanks to anyone who might have a helpful hint!
Cheers
Claus