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

Script Logic is running on too large a selection; try using MAXMEMBERS exception

$
0
0

Hello Experts,

 

Below is my BPC script for converting YTD data from consolidation model to a Periodic data in a periodic Model FLSPLANNING.

 

I am on SAP BPC 10.1 on HANA Service Pack 2.When I run this code from DM, I am getting an exception "Logic is running on too large a selection; try using MAXMEMBERS" I tried using MAXMEMBERS too but still getting the error.Please let me know the issue

 

*XDIM_MEMBERSET SCOPE = NOSCOPE

*XDIM_MEMBERSET FLOW = FCLO

*XDIM_MEMBERSET TIME = %TIME_SET%

*XDIM_MEMBERSET CATEGORY=%CATEGORY_SET%

*XDIM_MEMBERSET ENTITY=%ENTITY_SET%

*XDIM_MAXMEMBERS ENTITY=10

*XDIM_MAXMEMBERS ACCOUNT=100

*DESTINATION_APP = FLSPLANNING

*SKIP_DIM = SCOPE

*SKIP_DIM = FLOW

*RENAME_DIM AUDITSOURCE=AUDITTRAIL

*FOR %T1% = %TIME_SET%

//*XDIM_MEMBERSET TIME = %T1%

*WHEN_REF_DATA = MASTER_DATA

*WHEN TIME.PERIOD

 

*IS JAN

 

           *WHEN ACCOUNT.ACCTYPE

 

           *IS INC, LEQ

 

                     *REC(EXPRESSION = -%VALUE%)

 

           *ELSE

 

                     *REC(EXPRESSION = %VALUE%)

 

           *ENDWHEN

 

*ELSE        

 

           *WHEN ACCOUNT.ACCTYPE

 

           *IS INC, LEQ

 

                   *REC(EXPRESSION = -%VALUE% + [TIME].[TMVL(-1,%T1%)])

 

           *ELSE

 

                   *REC(EXPRESSION = %VALUE% - [TIME].[TMVL(-1,%T1%)])

 

           *ENDWHEN

 

*ENDWHEN

 

*NEXT

 

Thanks,

Senoy


Viewing all articles
Browse latest Browse all 5414

Trending Articles