Triggering Process Chain using a PF
Triggering Process Chain using a PF
- SAP Community
m
m
Products and Technology Groups Partners Topics Events What's New Get Started
u
ni
t
y
SAP Community Products and Technology Technology
Technology Blogs by Members Triggering Process Chain using a Planning Function...
1
former_member223440
Explorer
Subscribe
2015 Jul 08 7:41 AM
6 Kudos 11,753
Currently unlike in WAD ,there is no direct command to trigger a BW Process Chain from
Design Studio. But the functionality can be achieved using a Planning Function. This blog
explains how the Planning function should be defined and executed in order to trigger a
Process Chain from Design Studio.
https://community.sap.com/t5/technology-blogs-by-members/triggering-process-chain-using-a-planning-function-in-sap-design-studio/ba-p/13147347 1/15
2/11/25, 3:25 AM Triggering Process Chain using a Planning Function... - SAP Community
Step 2: Go to the Transaction code RSINPUT and load the record in to the Real time
cube, which we created in the previous step. In this case, the Process Chain ID is
Z80_C0XXX_TD_004. I have maintained some dummy value for the Keyfigure
0AMOUNT.
https://community.sap.com/t5/technology-blogs-by-members/triggering-process-chain-using-a-planning-function-in-sap-design-studio/ba-p/13147347 2/15
2/11/25, 3:25 AM Triggering Process Chain using a Planning Function... - SAP Community
Step 4 : Create an Aggregation Level (X80AGGRL) on top of the MPRO, and include both
the Infoobjects( XZPCHAIN and 0AMOUNT) as part of the Aggregation Level.
https://community.sap.com/t5/technology-blogs-by-members/triggering-process-chain-using-a-planning-function-in-sap-design-studio/ba-p/13147347 3/15
2/11/25, 3:25 AM Triggering Process Chain using a Planning Function... - SAP Community
https://community.sap.com/t5/technology-blogs-by-members/triggering-process-chain-using-a-planning-function-in-sap-design-studio/ba-p/13147347 4/15
2/11/25, 3:25 AM Triggering Process Chain using a Planning Function... - SAP Community
Step 8: In the Design Studio, execute the Planning Function by clicking a button and it
triggers the BW Process Chain. Create a button and define the "On Click Event" as
shown below. The syntax is ( PF_1.execute();).
Step 9 : Execute the Dashboard and click on the button , there will be a message as
"Planning Function executed without errors" . If we check in RSPC and the log view of
the PC, we can see the PC being successfully triggered.
https://community.sap.com/t5/technology-blogs-by-members/triggering-process-chain-using-a-planning-function-in-sap-design-studio/ba-p/13147347 5/15
2/11/25, 3:25 AM Triggering Process Chain using a Planning Function... - SAP Community
Tags:
Add tags
Comment
7 Comments
Former Member
2015 Jul 09 12:35 PM
0 Kudos
A handy idea!
former_member438162
Member
https://community.sap.com/t5/technology-blogs-by-members/triggering-process-chain-using-a-planning-function-in-sap-design-studio/ba-p/13147347 6/15
2/11/25, 3:25 AM Triggering Process Chain using a Planning Function... - SAP Community
2017 May 10 1:20 PM
0 Kudos
I have tried to implement this solution but when I execute the planning function from
design studio, it triggers the process chain 11 times. When i execute from WAD, it is
trigerred only once.
Thanks
Deepti Prabhu
Former Member
2017 Nov 07 11:16 AM
0 Kudos
Hi Santosh,
Still wondering a little bit that this function is not incorporated in Lumira Designer like it
was in WAD?
https://community.sap.com/t5/technology-blogs-by-members/triggering-process-chain-using-a-planning-function-in-sap-design-studio/ba-p/13147347 7/15
2/11/25, 3:25 AM Triggering Process Chain using a Planning Function... - SAP Community
Marcus
former_member223440
Explorer
2017 Nov 24 1:55 PM
1 Kudo
HI Marcus,
Thanks
Santosh
Former Member
2018 May 08 9:49 AM
https://community.sap.com/t5/technology-blogs-by-members/triggering-process-chain-using-a-planning-function-in-sap-design-studio/ba-p/13147347 8/15
2/11/25, 3:25 AM Triggering Process Chain using a Planning Function... - SAP Community
0 Kudos
Hello Santhosh,
We designed as above and executed locally in Design studio we are getting message like
'Design Studio PF1 executed without errors', but the process chain in the BW side not
getting triggered and we dont see any authorization logs at the BW end. Can you help us
if you have any idea what could have gone wrong.
Regards,
Subbu
sheldon_piao
Product and Topic Expert
2018 Jul 16 3:02 AM
0 Kudos
Hi Subbu,
If I am right, this document is just an idea but not enough for fully used for real business
scenario.
If we see the FOX code correctly, we can see that it is designed only to trigger the
process chain, but no further monitor whether the chain is executed successfully or not.
I saw several planning consultants used it in real business system, so I think we need to
know that point at least.
Best Regards,
Sheldon
https://community.sap.com/t5/technology-blogs-by-members/triggering-process-chain-using-a-planning-function-in-sap-design-studio/ba-p/13147347 9/15
2/11/25, 3:25 AM Triggering Process Chain using a Planning Function... - SAP Community
apradityo
Member
2019 Apr 16 9:34 AM
1 Kudo
however, i managed to achieve without following full steps above to make it simpler.
first, you don't need to input process chain name in the real time cube, just input 'dummy
name'. in the planning function, you don't refer to the data anyway.
second, no need to create multiprovider, just create aggregation level on top of the real
time cube.
by doing this, when there is new process chain, you don't need to maintain the real time
cube, just create a new planning function which calls the new process chain.
Comment PREVIEW
https://community.sap.com/t5/technology-blogs-by-members/triggering-process-chain-using-a-planning-function-in-sap-design-studio/ba-p/13147347 10/15
2/11/25, 3:25 AM Triggering Process Chain using a Planning Function... - SAP Community
Hint: # links to products, @ links to members
Email me when someone replies
@SAPSupport 2 @SCPI 2
ABAP CDS VIEW 2 ABAP CDS Views 13 ABAP CDS Views - BW Extraction 3
ABAP CDS Views - CDC (Change Data Capture) 3 ABAP Class 3 ABAP Cloud 9
ABAP Cloud Developer Trial 1 ABAP Custom 1 ABAP DDIC CDS view 1
https://community.sap.com/t5/technology-blogs-by-members/triggering-process-chain-using-a-planning-function-in-sap-design-studio/ba-p/13147347 11/15
2/11/25, 3:25 AM Triggering Process Chain using a Planning Function... - SAP Community
ABAP String functions 1 abap technical 1 ABAP test cokpit 1 abap to xml 1
ADS with ABAP 1 ADS with Java 1 ADT 4 Advance Shipping and Receiving 1
Related Content
Exploring Formats in SAC Add-In for MS Excel
in Technology Blogs by SAP a week ago
Whats New for Planning Area Optimization Within SAP Analytics Cloud QRC1 2025
in Technology Blogs by SAP a week ago
Setting Up a Private SAP Advanced Event Mesh Cluster on SUSE Rancher RKE2
in Technology Blogs by SAP 2 weeks ago
Unlocking the Power of Version Management in SAP Analytics Cloud for Planning
in Technology Blogs by SAP 2 weeks ago
former_member200339
Participant
https://community.sap.com/t5/technology-blogs-by-members/triggering-process-chain-using-a-planning-function-in-sap-design-studio/ba-p/13147347 13/15
2/11/25, 3:25 AM Triggering Process Chain using a Planning Function... - SAP Community
jeffrey_towell2
Participant
1229393 75 345
Difference between SAP S/4HANA :Public Vs Private edition : RISE with SAP
rajarajeswari_kaliyaperum
Active Participant
192944 47 313
hardyp180 10
Matthias_BW 7
BjörnS 7
https://community.sap.com/t5/technology-blogs-by-members/triggering-process-chain-using-a-planning-function-in-sap-design-studio/ba-p/13147347 14/15
2/11/25, 3:25 AM Triggering Process Chain using a Planning Function... - SAP Community
saroopreddy88 7
Marian_Zeis 6
SachinArtani 5
mike_zaschka 5
Sandra_Rossi 4
Aman07 4
ManabuInoue 4
View all
Trademark Support
Cookie Preferences
Follow
https://community.sap.com/t5/technology-blogs-by-members/triggering-process-chain-using-a-planning-function-in-sap-design-studio/ba-p/13147347 15/15