cancel
Showing results for 
Search instead for 
Did you mean: 

How to run multiple packages in one process chain

Former Member
0 Kudos

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%)

Accepted Solutions (0)

Answers (1)

Answers (1)

SEdelstein
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Dries-

Your question is a little unclear, but if I understand you correctly you want to be able to execute one process chain that will string together two (or more) BPC functions.

The short answer is yes this can be accomplished. You can create a "master" process chain that calls as many BCP Data Manager functions as you desire. Please review the How To guide [How Tou2026 Automate BPC 7.0, version for the NetWeaver Platform Master Data Loads from BW to BPC|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00380440-010b-2c10-70a1-e0b431255827?quicklink=index&overridelayout=true] , specifically review section 3.2.6. From this example you should be able to create your master process chain that calls one or more Data Manager packages (in your example you would call a Script logic DM Package followed by a Move DM package).

The resulting master process chain could then be called from within BPC via the process described in the following blog:

[Running BPC process chains within non-BPC process chains|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12929] [original link is broken] [original link is broken] [original link is broken];

Regards,

Sheldon

Former Member
0 Kudos

Hi Sheldon,

we never have issues when we combine standard objects, like a cliear with a load inforprovider, or the master data integration you mentioned in your document. However, from the moment we combine a script logic with a standard package (like a move) it does not work .The data package contains the task needed for the script and for the move. the process chain is called up but always comes in error in the first step (BPC modify dynamically ) ... there is also no log when checking the view status ...

I can sent you some screenshots if you like ...

D