Skip to Content
0
Former Member
Feb 18, 2010 at 07:50 PM

How to run multiple packages in one process chain

119 Views

Hi,

we want to run a script logic with badi, followed by a standard move function. The BADI will perform a check and generate an error. If no error occurs, the move can continue ...

We created our own process chain, which is in fact the combination of a script logic and a move. The data package has underlaying syntax.

Problem is that the data package does not trigger the process chain ... Nothing happens when running it. When checking the status, nothing gets in here ... We assigned the correct process chain and get message a postivie message when running the package... Is this not possible?

PROMPT(COPYMOVEINPUT,%SELECTION%,%TOSELECTION%,"Selecteer de gegevens waarvoor een omboeking dient te gebeuren","%CATEGORY_DIM%,%ENTITY_DIM%,PRODUCTIEHUIS,PRODUCTIEWIJZE,NET,KWADRANT")

INFO(%TEMPNO1%,%INCREASENO%)

INFO(%ACTNO%,%INCREASENO%)

INFO(%EQU%,=)

INFO(%TAB%,;)

TASK(ZBPC_RUN_LOGIC,TAB,%TAB%)

TASK(ZBPC_RUN_LOGIC,EQU,%EQU%)

TASK(ZBPC_RUN_LOGIC,SUSER,%USER%)

TASK(ZBPC_RUN_LOGIC,SAPPSET,%APPSET%)

TASK(ZBPC_RUN_LOGIC,SAPP,%APP%)

TASK(ZBPC_RUN_LOGIC,SELECTION,%SELECTION%)

TASK(ZBPC_RUN_LOGIC,LOGICFILENAME,STOCK.LGF)

TASK(/CPMB/CM_CONVERT,OUTPUTNO,%TEMPNO1%)

TASK(/CPMB/CM_CONVERT,ACT_FILE_NO,%ACTNO%)

TASK(/CPMB/CM_CONVERT,SAPPSET,%APPSET%)

TASK(/CPMB/CM_CONVERT,SAPP,%APP%)

TASK(/CPMB/CM_CONVERT,SELECTION,%SELECTION%)

TASK(/CPMB/CM_CONVERT,TOSELECTION,%TOSELECTION%)

TASK(/CPMB/CM_CONVERT,CLEARDATA,0)

TASK(/CPMB/CLEAR_SOURCE_CUBE,CHECKLCK,1)

TASK(/CPMB/CLEAR_SOURCE_CUBE,SELECTION,%TOSELECTION%)

TASK(/CPMB/APPEND_LOAD,INPUTNO,%TEMPNO1%)

TASK(/CPMB/APPEND_LOAD,ACT_FILE_NO,%ACTNO%)

TASK(/CPMB/APPEND_LOAD,RUNLOGIC,%RUNLOGIC%)

TASK(/CPMB/APPEND_LOAD,CHECKLCK,1)

TASK(/CPMB/APPEND_LOAD,CLEARDATA,0)

TASK(/CPMB/CLEAR_CUBE,CHECKLCK,1)

TASK(/CPMB/CLEAR_CUBE,ACT_FILE_NO,%ACTNO%)

TASK(/CPMB/CLEAR_CUBE,SELECTION,%SELECTION%)