Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

Loading a subset of BW Transactional data into BPC

$
0
0

Hello Experts

 

Hopefully someone can help me with a problem I have been facing.

 

I am running: EPM 10 SP13

 

Currently, we load a full set of transactional data from a staging BW cube into the BPC model.  In terms of time, this is from 1990 to date.

 

Each evening, before the above mentioned load, we clear data in the BPC model against a specific dimension category to handle deleted data which does not come in on the flat file full load each night.

 

I would not like to only run this clear and load process for the last 2 years worth of data.

 

The 'Clear' package via a BW process chain using UJD_TEST_PACKAGE and an answer prompt setting as below works a treat:

 

%SELECTION%     DIMENSION:ANALYSIS||DIMENSION:BRAND||DIMENSION:CATEGORY|BW_ACTUAL|DIMENSION:CUSTOMER||DIMENSION:DATASRC|DS_ACT_BW_INPUT|DIMENSION:INDUSTRY||DIMENSION:METRIC||DIMENSION:PRODUCT||DIMENSION:RPTCURRENCY||DIMENSION:SUPPLY_SITE||DIMENSION:TIME|2012.01,2012.02,20012.03,2012.04,2012.05,2004.06,2012.07,2012.08,2012.09,2012.10,2012.11,2012.12,2013.01,2013.02,2013.03,2013.04,2013.05,2013.06,2013.07,2013.08,2013.09,20013.10,2013.11,12.2013

%ENABLETASK%     1

%CHECKLCK%     0

 

However, I cannot get the load run package (Load Transaction Data from BW InfoProvider UI) to pick up only 2 years worth of data.

 

%InforProvide%     ZBPC_11

%SELECTION%     <?xml version="1.0" encoding="utf-16"?><Selections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Selection Type="Selection" /><Selection Type="FieldList"><FieldID>0CALMONTH</FieldID><FieldID>0CALYEAR</FieldID><FieldID>0CHNGID</FieldID><FieldID>0RECORDTP</FieldID><FieldID>0REQUID</FieldID><FieldID>ZBPC_1</FieldID><FieldID>ZBPC_10</FieldID><FieldID>ZBPC_6</FieldID><FieldID>ZJ_DEALER</FieldID><FieldID>ZJ_DEFIND</FieldID><FieldID>ZJ_MODEL</FieldID><FieldID>ZJ_MRPSTE</FieldID><FieldID>ZJ_TYPE</FieldID></Selection></Selections>

%TRANSFORMATION%     \ROOT\WEBFOLDERS\COMPANY\S_AND_OP\DATAMANAGER\TRANSFORMATIONFILES\BW Actuals.xls

%DATATRANSFERMODE%     10

%CLEARDATA%     No

%RUNLOGIC%     No

%CHECKLCK%     No

 

I have tried setting the option in the EPM add-on when I run the Load Transaction Data from BW InfoProvider UI package but this results in the chain running for ages and never completing, despite their being activity in SM50.  Almost like an infinite loop!

 

Capture.PNG

 

I then tried using the code in the UJD_TEST_PACKAGE script pointing to the above:

 

 

<Selection Type="Selection"><Attribute><ID>0CALMONTH</ID><Operator>1</Operator><LowValue>2020</LowValue><HighValue /></Attribute></Selection>

 

Does anyone know how I can set the import package to only include the last 2 years ?  I have found that pre BPC 10, you could add something to the transformation file but I do not believe that is now supported.

 

Thanks for any guidance.

 

Ian


Viewing all articles
Browse latest Browse all 3184

Trending Articles



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