Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

Base members doesnot exist

$
0
0


Dear all

I have prepared a script logic which posts data from one model to another model.

while i was testing this script, i got an error saying ALL_base members. I still used this script in default logic and executed a input template.

It worked fine eventhough validation failed.


Now we have a requirement such that category dimension is being passed from user prompt. So, I made a package which sends the category from user prompt and calls the script logic.

I got the error ALL_Base member doesn't exist. After reading some threads in scn.sap.com, I have scoped all dimensions in source model with their base members.But this time I am getting an error saying a member doesnot exit. when i checked dimension members of that member, I couldnt find in any of the dimension but one of the property of costcentre dimension.

 

Can somebody help in reviewing the below script? is this  below script syntactical wise and logical wise correct? if so, i need to check the dimension properties and members.

 

Source Model:BF

Source Dimensions:Account[A], Category[C], Costcentre,datasrc,fund,internalorder,time,wbs,measures

Property of WBS:Funded_Prog

Property of Costcenter: Fundcenter

Destination:FUND_MGMT

Destination dimensions:Commtnt_item[A], Category, Datasrc,Fund,Funded_prog,Portfolio,Time,Measures

 

mapping ->

source                                   destination   

Account                              Commtnt_item

WBS                                   Funded_prog

costcenter                             Portfolio

 

 

 

 

script logic

------------------------------------------------------

 

*SELECT(%ACCOUNT_ID%,"[ID]",ACCOUNT,"[ID]<>'ETC','REV_ETC'")
*SELECT(%CATYEAR%,"[YEAR]",CATEGORY,"[ID]=%CATEGORY_SET%")
*SELECT(%WB%,"[ID]",WBS,"[CALC]='N'")
*SELECT(%CC%,"[ID]",COSTCENTRE,"[CALC]='N'")
*SELECT(%IO%,"[ID]",INTERNALORDER,"[CALC]='N'")
*SELECT(%DS%,"[ID]",DATASRC,"[CALC]='N'")
*SELECT(%FD%,"[ID]",FUND,"[CALC]='N'")


*XDIM_MEMBERSET ACCOUNT=%ACCOUNT_ID%
*XDIM_MEMBERSET CATEGORY=%CATEGORY_SET%
*XDIM_MEMBERSET TIME=BAS(%CATYEAR%.TOTAL)

*XDIM_MEMBERSET WBS=%WB%
*XDIM_MEMBERSET COSTCENTRE=%CC%
*XDIM_MEMBERSET INTERNALORDER=%IO%
*XDIM_MEMBERSET DATASRC=%DS%
*XDIM_MEMBERSET FUND=%FD%

 

*DESTINATION_APP = FUND_MGMT
*RENAME_DIM WBS = FUNDED_PROG, ACCOUNT = COMMTNT_ITEM, COSTCENTRE = PORTFOLIO
*SKIP_DIM = INTERNALORDER

*WHEN WBS.FUNDED_PROG
*IS <> ""


*WHEN ACCOUNT.ACCTYPE
*IS INC
*REC(FACTOR = 1,ACCOUNT=A40000,WBS = WBS.FUNDED_PROG, COSTCENTRE = COSTCENTRE.FUNDCENTER,DATASRC=DS_TRF)
*IS EXP
*REC(FACTOR = 1,ACCOUNT=A50000,WBS = WBS.FUNDED_PROG, COSTCENTRE = COSTCENTRE.FUNDCENTER,DATASRC=DS_TRF)

*ENDWHEN
*ENDWHEN

-----------------------------------------------------------


Viewing all articles
Browse latest Browse all 5414

Trending Articles