a) Goto tcode RSPC in SAPGui, and create a new Process Chain.
b) Create a step with process type ADSOREM
In process type navigation pane, find ‘Clean up Old Requests in DataStore Objects(advanced)’ (tech name ADSOREM)
i. Create new variant for this step
ii. Input/select the tech name of the aDSO (of the BPC model) in first column ‘DSO(advanced)’
iii. Select ‘Activate Requests’ for column ‘Clean-up action’
iv. Input number of requests you want to left for compress( Select All but the X latest request) in column ‘Reqs’, optionally you can also input the days in next column as ‘Select all requests older than X days). In my example, I input 0 to clean-up(compress) all requests.
c) Create two steps with switch mode of aDSO
It’s only possible to run clean-up when aDSO in load mode, so we have to switch aDSO to load mode first and then switch it back to Plan mode after execution.
In process type navigation pane, find ‘Switch DataStore Object (advanced) to Load Mode’ and ‘Switch DataStore Object (advanced) to Plan Mode’, and create two steps with them. Please input the same aDSO tech name you used in step b).
d) Create a Start process
In process type navigation pane, find ‘Start Process’ and create a step with it.
e) Define dependency between steps
Now you should have four steps in the process chain, we need to define dependency with it.
We start with ‘Start’ step, right click it and select ‘Connect to’ -> ‘Switch to Load Mode’; then you link ‘Switch Load Mode’ to ‘Clean Up DSO Request’ then to ‘Switch to Plan Mode’ in the same manner.
Please note that you when link to ‘Switch to Plan Mode’ please make sure that you select the third option ‘always’ as you need to switch back to plan mode no matter the previous step succeeded or not.
When it’s done, you should have something similar like this in network view. (Too see network view, go menu Setting -> Network display)
f) Check and Activate
Now it’s time to create a Data Manager Package in EPM plug-in to let end user to trigger this process chain when needed.
a) Log-in EPM plug-in to the BPC model and go to Data Manager Ribbon
b) Go to ‘Organize Package List’ and add a new package
c) Select process chain ‘/CPMB/TRIGGER_BW_CHAIN’, this chain is delivered by BPC to trigger any BW process chain.
d) Modify Script if you don’t want end user to select the BW process chain (created in previous step)
i. Select ‘PROMPT’ on left and de-select the checkbox of column ‘Activate’. This is will hide the prompt for BW process chain name input.
ii. Select ‘TASK’ on the left and input the name of created BW process chain in step 1 into column ‘Value’.
iii. Save to leave this popup.
e) Give a name/description and save this new package.
Run this package from Data Manager, once status is showing ‘Succeeded’, we can go and check the backend.
Goto BW Modeling Tool (Eclipse), find aDSO of BPC Model and select ‘Manage aDSO’ from the toolbar. There you can see that all the requests are activated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |