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

LOOKUP: Return only zero values

$
0
0

Hi,

 

The environment is BPC 10 NW SP03.

 

We are trying to do a simple lookup as below (UJKT log). Unfortunately, it's returning zero. We check to combination and it is ok and there is a value different from 0.  This is the first time we use the LOOKUP at this environment. Could be any setup? Is there anything wrong?

 

 

LGX:

 

 

*XDIM_MEMBERSET ACCOUNT = IMP_213000

*XDIM_MEMBERSET AUDITCV = "CV_CALCULADOAREALIZAR"

*XDIM_MEMBERSET CATEGORY = "PROJETADO"

*XDIM_MEMBERSET CUSTOMER = "SEMCLIENTE"

*XDIM_MEMBERSET ENTITY = "EMP_CECO"

*XDIM_MEMBERSET PRODUCT = "SEMPRODUTO"

*XDIM_MEMBERSET RPTCURRENCY = "LC"

*XDIM_MEMBERSET SALESAGREEMENT = "SEMCONTRATOVENDA"

*XDIM_MEMBERSET TIME = "2013.09"

*XDIM_MEMBERSET MEASURES = "PERIODIC"

*LOOKUP PURCHASE

*DIM TIME="2013.09"

*DIM CATEGORY="PROJETADO"

*DIM RPTCURRENCY="LC"

*DIM LOOKACCT:ACCOUNT="IMP_213000"

*DIM SUPPLIER="SEMFORNECEDOR"

*DIM INVENTORYFLOW="SEMFLUXO"

*DIM WAREHOUSE="SEMARMAZEM"

*DIM PURCHASEAGREEMNT="SEMCONTRATOCOMPRA"

*DIM ENTITY="EMP_CECO"

*DIM AUDITCV="CV_CALCULADOAREALIZAR"

*DIM CROP="SEMSAFRA"

*DIM MATERIALITEM="SEMMATERIAPRIMA"

*DIM MEASURES="PERIODIC"

*ENDLOOKUP

*WHEN ACCOUNT

*IS IMP_213000

*REC(EXPRESSION= LOOKUP(LOOKACCT),AUDITCV=CV_CALCULADOAREALIZAR)

*ENDWHEN

*COMMIT

 

 

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

LOG:

 

 

LOG BEGIN TIME:2013-09-19 12:38:54

FILE:\ROOT\WEBFOLDERS\CEREAL4 \ADMINAPP\SALES\TEST.LGF

USER:BPCADMINBID

APPSET:CEREAL4

APPLICATION:SALES

[INFO] GET_DIM_LIST(): I_APPL_ID="SALES", #dimensions=10

ACCOUNT,AUDITCV,CATEGORY,CUSTOMER,ENTITY,MEASURES,PRODUCT,RPTCURRENCY,SALESAGREEMENT,TIME

 

 

#dim_memberset=10

ACCOUNT:IMP_213000,1 in total.

AUDITCV:CV_CALCULADOAREALIZAR,1 in total.

CATEGORY:PROJETADO,1 in total.

CUSTOMER:SEMCLIENTE,1 in total.

ENTITY:EMP_CECO,1 in total.

PRODUCT:SEMPRODUTO,1 in total.

RPTCURRENCY:LC,1 in total.

SALESAGREEMENT:SEMCONTRATOVENDA,1 in total.

TIME:2013.09,1 in total.

MEASURES:PERIODIC,1 in total.

 

 

REC :LOOKUP(LOOKACCT)

 

 

CALCULATION BEGIN:

QUERY PROCESSING DATA

QUERY TIME : 268.00 ms. 1  RECORDS QUERIED OUT.

QUERY REFERENCE DATA

QUERY LOOKUP DATA FROM APPLICATION: PURCHASE

QUERY TIME : 259.00 ms. 1  RECORDS QUERIED OUT.

CALCULATION TIME IN TOTAL :60.00 ms.

1  RECORDS ARE GENERATED.

CALCULATION END.

 

 

ENDWHEN ACCUMULATION: 1  RECORDS ARE GENERATED.

 

 

DATA TO WRITE BACK:

ACCOUNT          AUDITCV          CATEGORY          CUSTOMER          ENTITY          PRODUCT          RPTCURRENCY          SALESAGREEMENT          TIME          SIGNEDDATA

IMP_213000          CV_CALCULADOAREALIZAR          PROJETADO          SEMCLIENTE          EMP_CECO          SEMPRODUTO          LC          SEMCONTRATOVENDA          2013.09          0.00

1  RECORDS HAVE BEEN WRITTEN BACK.

WRITING TIME :251.00  ms.

 

 

SCRIPT RUNNING TIME IN TOTAL:1.29 s.

LOG END TIME:2013-09-19 12:38:55

 

Attached the PURCHASE DATA...

 

Regards,

 

Ana Teresa


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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