Dears,
we want to run BADI calculation in parallel , in order that each record of CT_DATA ( when calling the badi ) will run in separate DIA process.
to do so we used RUNLOGIC_PH badi .
in SM50 there is well 4 process running as defined .
but when debugging the BADI we that all scope of the QUERY from script logic is passed to CT_DATA.
this is my calling script from DATA manager:
*XDIM_MEMBERSET ACCOUNT = PROCESS
*XDIM_MEMBERSET SCENARIOS = $SUBID$ // parameter passed from data manager
*XDIM_MEMBERSET P_ACT AS %SH% = BAS(P_ACT_ALL)
*SELECT(%S%,"[ID]",P_ACT,"[ID]=%SH% AND [ID]<>'PACT001'")
*XDIM_MEMBERSET P_ACT = %S%
*START_BAdI RUNLOGIC_PH
QUERY = ON
WRITE = ON
LOGIC = PROCESS_SCHEDULER.LGF
APPSET = APS
APP = PLANNING
VALIDATION=OFF
DIMENSION CATEGORY = BUDGET
CHANGED = ENTITY
DEBUG = OFF
*END_BAdI
**************
This is my called script , that call the badi
*START_BADI PROCESS_SCHEDULER
QUERY = ON
WRITE = ON
*END_BADI
********************
This is my CT_DATA when I debug
I want that each process run for each member of ENTITY , means that CT_DATA get only one record and run the badi. , not all the scope.
Thanks
Mohamed