on 05-23-2016 8:44 AM
I have a question on how you can run /CPMB/ARCHIVE_ACTIVITY using a todays date and time minus 90 days?
When you run the standard delivered data manager package you need to specify a timestamp in the format 'YYYYMMDDHHMMSS'
Can you mange to fill this automatically and without getting the prompt so you get following?
YYYYMMDDHHMMSS =<current date - 90 days>000000
E.g. Can current date be taken from system date?
Run Package /CPMB/ARCHIVE_ACTIVITY
Timestamp via prompt
I believe somehow it should be possible if you modify the script?
Current script (SAP standard):
PROMPT(TEXT,%TIMESTAMP%,"Archive audit older than timestamp(YYYYMMDDHHMMSS)",)
TASK(/CPMB/ARCHIVE_ACTIVITY,AUDIT_TIMESTAMP,%TIMESTAMP%)
Our environment are following: ***SAP BPC NW 10.1 (Standard/Classic) ***
SAP_BASIS 740 0011 SAPKB74011
SAP_ABA 740 0011 SAPKA74011
SAP_GWFND 740 0012 SAPK-74012INSAPGWFND
SAP_UI 740 0013 SAPK-74013INSAPUI
PI_BASIS 740 0011 SAPK-74011INPIBASIS
ST-PI 740 0002 SAPK-74002INSTPI
BI_CONT 747 0013 SAPK-74713INBICONT
SAP_BW 740 0011 SAPKW74011
CPMBPC 810 0006 SAPK-81006INCPMBPC
POASBC 100_731 0004 SAPK-10204INPOASBC
ST-A/PI 01R_731 0000
Message was edited by: Mikkel Bojsen-Møller Updated with pictures.
Hi Mikkel,
Unfortunately only with the help of ABAP and custom chain...
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vadim,
Can you share an example of a customized process chain.
I did try a custom Proceschain but are very much in doubt if I need all procces chain variants how to configure them.
1) copy process chain /CPMB/ARCHIVE_ACTIVITY to an customized version
2) How to configure A (is this needed)?
3) How to configure B
4) How to configure C (is this needed?)
I did some research. In many situations filling the prompt in the backend can be achived using a combination of a BW process chain calling program UJD_TEST_PACKAGE. The UJD_TEST_PACKAGE again calls a BPC data manager package (which again uses the standard process chains /CPMB/ARCHIVE_ACTIVITY).
Do following:
When your need to derive a dynamic prompt which I will need for running the data manager package created for /CPMB/ARCHIVE_ACTIVITY I will need to make a cusomized program copy of UJD_TEST_PACKAGE where the 90-days offset can be made using ABAP.
BW Process Chain:
Execute ABAP Program proces variant:
SE38 - Variant used for UJD_TEST_PACKAGE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure - but also the Answer Prompt was tricky and here SAP note 1599387 is very helpful even the note are from older BPC versions. Without the correct formatted and filled Answer Prompt the design of a customized programming can't be done.
What I don't understand is why this is not possible using the 'modify script' as a standard in the BPC data manager. It would have been nice if SAP provided standard variables and the possibility to create custom variables that could be used to fill the values from the prompts with an offset like the 90 days.
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.