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

How to use dimension property in REC statement?

$
0
0

Hi,

 

In dimension ACCOUNT I have created additional property ZACC where I store "alternative" account numbers.

After I load actuals from BW to "regular" accounts I want to copy values to "alternative" accounts.

Regular accounts are hierarchy nodes and alternative are base members.

ACCOUNT dim values looks like that:

 

ID     ZACC

A1     A.1

A2     A.2

A.1

A.2

etc.

 

I wrote code below for that but when I validate I get message:

 

UJK_VALIDATION_EXCEPTION:Invalid dimension "ACCOUNT].[ZACC" in model ZXC

 

 

*XDIM_MEMBERSET TIME=2012.01

....
*XDIM_MEMBERSET ZKEYFIGURE=ZBALANCE

 

 

*SELECT(%ACC%,"[ID]",ACCOUNT,"[ZACC]<>' '")


*FOR %AC%=%ACC%

*WHEN ACCOUNT

*IS BAS(%AC%)

*REC(ACCOUNT=[ACCOUNT].[ZACC])

*ENDWHEN

*NEXT

 

 

Can you suggest me how to fix my code?

 

Thanks,

 

Andrzej

 

Message was edited by: A Ksik


Viewing all articles
Browse latest Browse all 5414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>