cancel
Showing results for 
Search instead for 
Did you mean: 

Reg:Data Increment

Former Member
0 Kudos

Dear All,

Could you please help me on below issue.

my customer  want to increase existing approved Budget (Which is already available in BI & BPC)with 6% in BPC using script logic for few cost centers with cost elements for all the periods of 2014.

Could you please provide me how to do it in BPC as i'm new to BPC.

Below is the example: before increment

Cost center      Cost element     2014.01     2014.02    2014.03...

15000               310022               1000          1055         1072

15000                450000               870             960          1042

after increment, it should be like below

Cost center      Cost element     2014.01     2014.02    2014.03...

15000               310022               1060          1118         1137

15000                450000               922             1018         1105

Thank you.

Prem

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

As per your suggestion only I ran the data into BPC 1st and ran second time with logic.

found that the data b/w BW and BPC is not matching. BW cube is having Cost center 310000  and cost element 430100 for period 2010001  budget is USD 663,00

but in BPC it showing as 717.1008.

I have selected correct transformation file.

Thanks

Prem

former_member186338
Active Contributor
0 Kudos

Hi Perm,

Your original question was - how to increment data in BPC. With the script provided this question is solved.

Now you have another issue - incorrect data load from BW. It's another story! You have to  provide full details.

If I correctly understand you - that even without logic you have result not matching BW result!

Vadim

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Now i'm getting the data into BPC,however data is more than double. I have used append option while running the package.

is that the reason behind on this.

kindly let me know

Thanks

Prem

former_member186338
Active Contributor
0 Kudos

Hi Prem,

Please, don't mix things! First get the correct data in BPC without running default.lgf. I can't help you with it, just check  what you select in Load Transaction data from BW info provider UI.

Second - test script and ensure you get correct result with script.

Vadim

Former Member
0 Kudos

Hi,

I do have date for 2010 for all these cost center and cost elements in SAP BI.followed below steps.

running package load Transaction data from BW info provider UI

and selecting source info cube and transformation file

handling of records in target option: Append

Default logic run : Yes

Work Status checking: No

then RUN:

Status: WARNING.

Task name CONVERT:



No 1 Round:


No records are returned from ZCCA_C12


Reject count: 0


Record count: 0


Skip count: 0


Accept count: 0



Task name LOAD INFOPROVIDER:


Submit count: 0


Reject count: 0



model: OL_EXPENSE. Package status: WARNING


Kindly advice.

Thanks

Prem

former_member186338
Active Contributor
0 Kudos

Accept count: 0 - No records!


Submit count: 0

Vadim

former_member186338
Active Contributor
0 Kudos

P.S. Actually, you have problems with data loading - no records selected from BW infoprovider... no records stored in the BPC cube.

Former Member
0 Kudos

Hi,

Pls find below log.

LOG:



LOG BEGIN TIME:2014-09-08 20:28:07


FILE:\ROOT\WEBFOLDERS\OL_ENVSHELL \ADMINAPP\OL_EXPENSE\TEST.LGF


USER:PREM


APPSET:OL_ENVSHELL


APPLICATION:OL_EXPENSE


[INFO] GET_DIM_LIST(): I_APPL_ID="OL_EXPENSE", #dimensions=7


AUDITTRAIL,CATEGORY,COSTCENTER,COST_ELEMENT,MEASURES,RPTCURRENCY,TIME



#dim_memberset=4


COSTCENTER:310000,1 in total.


COST_ELEMENT:430000,430100,430120,3 in total.


CATEGORY:Budget,1 in total.


TIME:2010.01,2010.02,2010.03,2010.04,2010.05,...12 in total.



REC :%VALUE%*1.06



CALCULATION BEGIN:


QUERY PROCESSING DATA


QUERY TIME : 1688.00 ms. 36  RECORDS QUERIED OUT.


QUERY REFERENCE DATA


CALCULATION TIME IN TOTAL :15.00 ms.


36  RECORDS ARE GENERATED.


CALCULATION END.



ENDWHEN ACCUMULATION: 36  RECORDS ARE GENERATED.



DATA TO WRITE BACK:


AUDITTRAIL CATEGORY COSTCENTER COST_ELEMENT RPTCURRENCY TIME SIGNEDDATA


ECC_Input Budget 310000 430000 USD 2010.01 0.00


ECC_Input Budget 310000 430000 USD 2010.02 0.00


ECC_Input Budget 310000 430000 USD 2010.03 0.00


ECC_Input Budget 310000 430000 USD 2010.04 0.00


ECC_Input Budget 310000 430000 USD 2010.05 0.00


ECC_Input Budget 310000 430000 USD 2010.06 0.00


ECC_Input Budget 310000 430000 USD 2010.07 0.00


ECC_Input Budget 310000 430000 USD 2010.08 0.00


ECC_Input Budget 310000 430000 USD 2010.09 0.00


ECC_Input Budget 310000 430000 USD 2010.10 0.00


ECC_Input Budget 310000 430000 USD 2010.11 0.00


ECC_Input Budget 310000 430000 USD 2010.12 0.00


ECC_Input Budget 310000 430100 USD 2010.01 0.00


ECC_Input Budget 310000 430100 USD 2010.02 0.00


ECC_Input Budget 310000 430100 USD 2010.03 0.00


ECC_Input Budget 310000 430100 USD 2010.04 0.00


ECC_Input Budget 310000 430100 USD 2010.05 0.00


ECC_Input Budget 310000 430100 USD 2010.06 0.00


ECC_Input Budget 310000 430100 USD 2010.07 0.00


ECC_Input Budget 310000 430100 USD 2010.08 0.00


ECC_Input Budget 310000 430100 USD 2010.09 0.00


ECC_Input Budget 310000 430100 USD 2010.10 0.00


ECC_Input Budget 310000 430100 USD 2010.11 0.00


ECC_Input Budget 310000 430100 USD 2010.12 0.00


ECC_Input Budget 310000 430120 USD 2010.01 0.00


ECC_Input Budget 310000 430120 USD 2010.02 0.00


ECC_Input Budget 310000 430120 USD 2010.03 0.00


ECC_Input Budget 310000 430120 USD 2010.04 0.00


ECC_Input Budget 310000 430120 USD 2010.05 0.00


ECC_Input Budget 310000 430120 USD 2010.06 0.00


ECC_Input Budget 310000 430120 USD 2010.07 0.00


ECC_Input Budget 310000 430120 USD 2010.08 0.00


ECC_Input Budget 310000 430120 USD 2010.09 0.00


ECC_Input Budget 310000 430120 USD 2010.10 0.00


ECC_Input Budget 310000 430120 USD 2010.11 0.00


ECC_Input Budget 310000 430120 USD 2010.12 0.00


36  RECORDS HAVE BEEN WRITTEN BACK.


WRITING TIME :1469.00  ms.



SCRIPT RUNNING TIME IN TOTAL:3.28 s.


LOG END TIME:2014-09-08 20:28:10

former_member186338
Active Contributor
0 Kudos

The script is working correctly, but the line:

ECC_Input Budget 310000 430000 USD 2010.01 0.00

Mean that original data was also zero!

Vadim

former_member186338
Active Contributor
0 Kudos

Hi Prem,

Easy - first you scope records to be increased:

*XDIM_MEMBERSET COST_CENTER=15000,...

*XDIM_MEMBERSET COST_ELEMENTS=310022,450000..

*XDIM_MEMBERSET TIME=BAS(2014.TOTAL)

*WHEN TIME

*IS *

*REC(EXPRESSION=%VALUE%*1.06)

*ENDWHEN

Vadim

Former Member
0 Kudos

Hi Vadim,

Thak you for your reply.

just used your code and ran the data package with option run default code. it returned 0 records with Warning message.

Thanks

Prem

former_member186338
Active Contributor
0 Kudos

Please use UJKT to test script:

and provide the log!

Vadim

former_member186338
Active Contributor
0 Kudos

P.S. In the script code please use real dimension names and also add scope for CATEGORY...