on 2018 Mar 19 6:36 PM
Hi Friends,
User enters time interval ("From period" & "To period") in DM package prompt for extraction of transaction data from (Calculation view ->AMDP->BADI) to BPC.
Need to incorporate check to verify if "From period" value is lower than "To period". If validation fails, immediately at DM package prompt level user should get error message like "From period should be lower than To period".
We handled error message population in BADI but error message appears in DM package status log.
DM package code:
PROMPT(MEMBERFROMTOINPUT,%TFROM%,%TTO%,”Please enter valid time period”,"%TIME_DIM%")
INFO(%EQU%,=)
INFO(%TAB%,;) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,TAB,%TAB%) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,EQU,%EQU%) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SUSER,%USER%) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,ECC_DATA.LGF) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,REPLACEPARAM,TFROM%EQU%%TFROM%%TAB%TTO%EQU%%TTO%)
Ours is BPC10.1 (Standard). Pls suggest.
Thanks,
Anjan
Request clarification before answering.
It's not possible to perform any check on the level of DM advanced script! No way!
You can perform validation inside badi and replace From/To or abort the package...
P.S. Please look on your post results after posting! Line breaks are missing in the script!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 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.