on 2017 Jun 05 3:56 PM
Hi Bpc Friends
Before to run the intco badi I would like to delete the data so for example I would like to run the below code for the entity=5400 and I would like that the below code will set to 0 all the records with Entity=ALL Intco=I_5400 and datasrc=IC_DATASRC, the problem is that the below script it doesn't work!!!
*SELECT(%INTCOTODELETE%,[INTCO],ENTITY,ID=%ENTITY_SET%)
*FOR INTCO= %INTCOTODELETE%
*WHEN DATASRC
*IS IC_DATASRC
*REC(FACTOR=0)
*ENDWHEN
*NEXT
*COMMIT
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Then the script will be:
*SELECT(%INTCOTODELETE%,[INTCO],ENTITY,ID=%ENTITY_SET%)
*XDIM_MEMBERSET DATASRC=IC_DATASRC
*XDIM_MEMBERSET ENTITY=<ALL>
*XDIM_MEMBERSET INTCO=%INTCOTODELETE%
*WHEN DATASRC
*IS *
*REC(FACTOR=0)
*ENDWHENYou don't need FOR/NEXT, and for sure - don't need useless COMMIT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to explain you requirements once again - absolutely not clear! Provide some data sample!
"for the entity=5400" ???
"Entity=ALL" ??
P.S. Your code will simply delete everything with IC_DATASRC for the entity selected in %ENTITY_SET%
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want to run a package selecting the time for example=FY2016.012 AND entity for example 5400 and I would like that the script for all the records in BPC like the bellows set the values to 0
Entity INTCO TIME VALUE
1000 I_5400 FY2016.012 100
1200 I_5400 FY2016.012 200
2000 I_5400 FY2016.012 50
and so on
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 7 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.