Data Manager Clear Package - VBA Automation Parameters
Hello guys,
I have built an input sheet, where the user selects members from BPC dimensions (ACCDETAIL,ACCOUNT, ACTIVITY,ASSET, etc.). Next, the user clicks on the "Clear Data" button, which triggers a VBA macro (EPM_Clear). This macro should call the BPC clear package and clear the transactional data for the selected members.
I have two problems:
1) How do I pass on the previously selected parameters (i.e. which dimensions to clear) from VBA to the clear package?
2) When I use the following code, it says ‘Package not found’ .
VBA Code:
Private Sub RunPackage_Click()
Dim EPMObj As FPMXLClient.EPMAddInDMAutomation
Set EPMObj = New EPMAddInDMAutomation
EPMObj.DataManangerRunPackage ”Clear”, ”DataManagement”, ””
End Sub
Thank you and best regards,
Peter
Hi Peter,
Kindly refer yser guide it says if you change value SELECTPROMPT () to "1" it will take into account the context member.
Go through the below link
page no 365
http://help.sap.com/businessobject/product_guides/boeo10/en/EPMofc_10_user_en.pdf
Parameters in Certain Prompts Packages - Data Manager
Customize the standard SAP BPC Packages
Shrikant
Similar Messages
-
Data manager- Clear Package comments
Hi,
1) I have an Input Schedule template (SAP BPC 5.1) with amount and few keyin comments, I was successful in clearing all the data related to amount column using Clear Package. I have few Keyin Comments in the same input schedule those are not getting cleared.
I checked the Report I could see the comment in the report and amount has got cleared.
I tried running another clear package with same selection criteria, but the job cancelled immediately. Please Let me know how can I clear the comments.
2) Also how can we see the multiple comments for a single costcenter. In report I could see (eg: Asset Description.....(3) they are overlapped, I want to see all Asset Descripton 1,2,3). How to do this.
Thank you,
Regards
Vijay Venkatesh
Edited by: Vijay Venkatesh on Apr 22, 2009 8:21 AMDear Vijay Venkatesh,
When You cleaned up data using Data Manager - Clear Package, you should choose "Yes" on the first option.
I have suggest to clean comment directly using Ms.SQL Server. Please you use the delete query statement in table "dbo.CommentFinance". The table name format is "dbo.comment<application name>".
I hope my information can help you.
Thanks,
Wandi -
BPC NW 10.0 - Data Manager Prompt changing from SELECTINPUT to SELECT cleared values
Dear BPC Experts,
We recently went from SP13 patch 4 to SP19 patch 1. When we made changes in the PROMPT values in the Data Manager Organize>Package>Modify Script>PROMPT, we experienced different behavior switching from SELECTINPUT to SELECT in our development system than we did in our production environment. In development, when we changed the value from SELECTINPUT to SELECT, the values entered for Variable name such as %SELECTION% in Property1 and "Select the members to CLEAR" in Property2, and %DIMS% remained. However, when we changed from SELECTINPUT to SELECT in production system, the values for Variable Names and Properties were cleared out. Does anyone know why in our developmet system values were kept but not in our production system during this type of activity? I would like to understand the two different behaviors and what controlled it. We prefer not to have the values for Properties clear.
Thank you in advance for your assistance.
Kind regards,
LisaHi Vadim,
Excellent point, I should have included images as that likely would have shown this odd behavior.
When I made the changes in our development system to a package to switch from SELECTINPUT to SELECT the values outlined in the image below were retained for Varialbe Name, Property 2, and Property 3 after we applied the SP19 patch 1.
When I made the same change in our system to a package in our production system after we applied the SP19 patch 1, the values for Varialbe Name, Property 2, and Property 3 were cleared per the image below. The odd thing is that initially it looked like the values stayed. It was only after you saved and went back in did you see that the values were gone.
Any help in understanding this behavior change would be greatly appreciated.
Thank you,
Lisa -
Run SSIS Package (SQL Database on Different Server) from Data Manager.
Hi- How to run a SSIS package from BPC Data Manager -This package connects to another SQL Server Database and creates a text file. This text file is the source to BPC custom tasks CONERTTASK and DUMPLOAD task to load to BPC.
Here is the flow of the complete package- Dataflow (Create the text file from a SQL Database)
CONVERT TASK (Convert the file to BPC Format)
DUMPLOAD TASK (Load the converted file to BPC)
Any pointer will be a great help.Hello Pam,
When you run SSIS package with BPC DM it runs on the application server. You don't really have to run a package on a different server in order to get data from a remote database and dump it to a file. That task can be done in your SSIS package using various data sources/destinations. If that's what you are trying to do. The only thing is, your BPC admin user (the one you used to install BPC) has to have an appropriate privileges on a remote server.
Hope that helps.
Regards,
Akim -
Clear Data Manager Package Error "The data file is empty."
Hi,
When I run the Clear data package in Data Manager, I receive the error "The data file is empty." I selected a very specific set of dimension values (none are calculated) and am on BPC 7.5 SP3. I subsequently turned on debugging to troubleshoot, but do not see any obvious issues leading the the error message. The log file with debugging turned on is below. Any help would be greatly appreciated!
Thanks.
Tom
TOTAL STEPS 3
1. Export_Zero: completed in 1 sec.
2. Load Cube: Failed in 0 sec.
3. Clear: completed in 0 sec.
[Selection]
ENABLETASK= Yes
CHECKLCK= Yes
(Member Selection)
Category: ACTUAL
Time: 2010.C_SEP
Affiliate: az_swhd
Account: Donor_DART_ID_1
Functional: Benchmark_F
Report: Cons
Restriction: AnyRestricted
[Messages]
The data file is empty. Please check the data file and try again.
[EvModifyScript Detail]
12-28-2010 17:30:05 - Debug turned ON
INFO(%TEMPFILE%, C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\PrivatePublications\tbardwil\TempFiles\Tempwbh9_51_.tmp)
TASK(EXPORT_ZERO, APPSET, ESMetrics)
TASK(EXPORT_ZERO, APP, CONSOLIDATED)
TASK(EXPORT_ZERO, USER, NESSGROUP\tbardwil)
TASK(EXPORT_ZERO, FILE, C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\PrivatePublications\tbardwil\TempFiles\Tempwbh9_51_.tmp)
TASK(EXPORT_ZERO, SQL,
select [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 as SIGNEDDATA FROM ( SELECT [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 as SIGNEDDATA FROM TBLFACTCONSOLIDATED WHERE [CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED') UNION ALL SELECT [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 as SIGNEDDATA FROM TBLFACTWBCONSOLIDATED WHERE [CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED') UNION ALL SELECT [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 as SIGNEDDATA FROM TBLFAC2CONSOLIDATED WHERE [CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED')) as ZeroTable group by [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID] OPTION(MAXDOP 1)
TASK(EXPORT_ZERO, DATATRANSFERMODE, 2)
TASK(LOAD CUBE, APPSET, ESMetrics)
TASK(LOAD CUBE, APP, CONSOLIDATED)
TASK(LOAD CUBE, USER, NESSGROUP\tbardwil)
TASK(LOAD CUBE, FILE, C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\PrivatePublications\tbardwil\TempFiles\Tempwbh9_51_.tmp)
TASK(LOAD CUBE, DATATRANSFERMODE, 4)
TASK(LOAD CUBE, DMMCOPY, 0)
TASK(LOAD CUBE, PKGTYPE, 0)
TASK(LOAD CUBE, CHECKLCK, 1)
TASK(CLEAR COMMENTS, APPSET, ESMetrics)
TASK(CLEAR COMMENTS, APP, CONSOLIDATED)
TASK(CLEAR COMMENTS, USER, NESSGROUP\tbardwil)
TASK(CLEAR COMMENTS, DATATRANSFERMODE, 0)
TASK(CLEAR COMMENTS, SELECTIONORFILE, C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\PrivatePublications\tbardwil\TempFiles\Tempwbh9_51_.tmp)
TASK(CLEAR COMMENTS, ENABLETASK, 1)
TASK(CLEAR COMMENTS, CHECKLCK, 1)
INFO(%ENABLETASK%, 1)
INFO(%CHECKLCK%, 1)
INFO(%SELECTION%, [CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED'))
INFO(%TOSELECTION%, [CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED'))
INFO(%APPSET%, ESMetrics)
INFO(%APP%, CONSOLIDATED)
INFO(%CONVERSION_INSTRUCTIONS%, )
INFO(%FACTCONVERSION_INSTRUCTIONS%, )
INFO(%SELECTIONFILE%, C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\PrivatePublications\tbardwil\TempFiles\FROM_51_.TMP)
INFO(%TOSELECTIONFILE%, C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\PrivatePublications\tbardwil\TempFiles\TO_51_.TMP)
INFO(%DEFAULT_MEASURE%, PERIODIC)
INFO(%MEASURES%, Periodic,QTD,YTD)
INFO(%OLAPSERVER%, ETSCSAP047940.EASTER-SEALS.ORG)
INFO(%SQLSERVER%, ETSCSAP047940.EASTER-SEALS.ORG)
INFO(%APPPATH%, C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\)
INFO(%DATAPATH%, C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\DataManager\DataFiles\)
INFO(%DATAROOTPATH%, C:\BPC\Data\WebFolders\)
INFO(%SELECTIONPATH%, C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\DataManager\SelectionFiles\)
INFO(%CONVERSIONPATH%, C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\DataManager\ConversionFiles\)
INFO(%TEMPPATH%, C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\PrivatePublications\tbardwil\TempFiles\)
INFO(%LOGICPATH%, C:\BPC\Data\WebFolders\ESMetrics\Adminapp\CONSOLIDATED\)
INFO(%TRANSFORMATIONPATH%, C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\DataManager\TransformationFiles\)
INFO(%DIMS%, [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[Time])
INFO(%FACTDIMS%, [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID])
INFO(%CATEGORY_DIM%, [Category])
INFO(%TIME_DIM%, [Time])
INFO(%ENTITY_DIM%, [Affiliate])
INFO(%ACCOUNT_DIM%, [Account])
INFO(%CURRENCY_DIM%, )
INFO(%APP_LIST%, Consolidated,ES_INC,GrantMgmt,LegalApp,LRate,Ownership,Rate)
INFO(%ACCOUNT_SET%, DONOR_DART_ID_1)
INFO(%AFFILIATE_SET%, AZ_SWHD)
INFO(%CATEGORY_SET%, ACTUAL)
INFO(%FUNCTIONAL_SET%, BENCHMARK_F)
INFO(%REPORT_SET%, CONS)
INFO(%RESTRICTION_SET%, ANYRESTRICTED)
INFO(%TIME_SET%, 2010.C_SEP)
INFO(%ACCOUNT_TO_SET%, DONOR_DART_ID_1)
INFO(%AFFILIATE_TO_SET%, AZ_SWHD)
INFO(%CATEGORY_TO_SET%, ACTUAL)
INFO(%FUNCTIONAL_TO_SET%, BENCHMARK_F)
INFO(%REPORT_TO_SET%, CONS)
INFO(%RESTRICTION_TO_SET%, ANYRESTRICTED)
INFO(%TIME_TO_SET%, 2010.C_SEP)
INFO(DATAMGRGLOBALBPU, )
INFO(DATAMGRGLOBALCLIENTMACHINEID, ETSCWLT048794)
INFO(DATAMGRGLOBALERROR, )
INFO(DATAMGRGLOBALPACKAGEINFOR, )
INFO(DATAMGRGLOBALPACKAGENAME, C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\DataManager\PackageFiles\System Files/Clear.dtsx)
INFO(DATAMGRGLOBALSEQ, 51)
INFO(DATAMGRGLOBALSITEID, )
INFO(MODIFYSCRIPT, DEBUG(ON)<BR>PROMPT(SELECTINPUT,[CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED'),,"SELECT THE MEMBERS TO CLEAR",[Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[Time])<BR>PROMPT(RADIOBUTTON,1,"DO YOU WANT TO CLEAR COMMENTS ASSOCIATED WITH DATA REGIONS IN BPC?",1,{"YES","NO"},{"1","0"})<BR>PROMPT(RADIOBUTTON,1,"SELECT WHETHER TO CHECK WORK STATUS SETTINGS WHEN DELETING COMMENTS.",1,{"YES, DELETE COMMENTS WITH WORK STATUS SETTINGS","NO, DO NO DELETE COMMENTS WITH WORK STATUS SETTINGS"},{"1","0"})<BR>INFO(C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\PrivatePublications\tbardwil\TempFiles\Tempwbh9_51_.tmp,C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\PrivatePublications\tbardwil\TempFiles\Tempfdla_51_.tmp)<BR>TASK(EXPORT_ZERO,APPSET,ESMetrics)<BR>TASK(EXPORT_ZERO,APP,CONSOLIDATED)<BR>TASK(EXPORT_ZERO,USER,NESSGROUP\tbardwil)<BR>TASK(EXPORT_ZERO,FILE,C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\PrivatePublications\tbardwil\TempFiles\Tempwbh9_51_.tmp)<BR>TASK(EXPORT_ZERO,SQL,
select [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 as SIGNEDDATA FROM ( SELECT [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 as SIGNEDDATA FROM TBLFACTCONSOLIDATED WHERE [CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED') UNION ALL SELECT [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 as SIGNEDDATA FROM TBLFACTWBCONSOLIDATED WHERE [CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED') UNION ALL SELECT [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 as SIGNEDDATA FROM TBLFAC2CONSOLIDATED WHERE [CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED')) as ZeroTable group by [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID] OPTION(MAXDOP 1)
)<BR>TASK(EXPORT_ZERO,DATATRANSFERMODE,2)<BR>TASK(LOAD CUBE,APPSET,ESMetrics)<BR>TASK(LOAD CUBE,APP,CONSOLIDATED)<BR>TASK(LOAD CUBE,USER,NESSGROUP\tbardwil)<BR>TASK(LOAD CUBE,FILE,C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\PrivatePublications\tbardwil\TempFiles\Tempwbh9_51_.tmp)<BR>TASK(LOAD CUBE,DATATRANSFERMODE,4)<BR>TASK(LOAD CUBE,DMMCOPY,0)<BR>TASK(LOAD CUBE,PKGTYPE,0)<BR>TASK(LOAD CUBE,CHECKLCK,1)<BR>TASK(CLEAR COMMENTS,APPSET,ESMetrics)<BR>TASK(CLEAR COMMENTS,APP,CONSOLIDATED)<BR>TASK(CLEAR COMMENTS,USER,NESSGROUP\tbardwil)<BR>TASK(CLEAR COMMENTS,DATATRANSFERMODE,0)<BR>TASK(CLEAR COMMENTS,SELECTIONORFILE,C:\BPC\Data\WebFolders\ESMetrics\CONSOLIDATED\PrivatePublications\tbardwil\TempFiles\Tempwbh9_51_.tmp)<BR>TASK(CLEAR COMMENTS,ENABLETASK,1)<BR>TASK(CLEAR COMMENTS,CHECKLCK,1)<BR>BEGININFO(
select [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 as SIGNEDDATA FROM ( SELECT [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 as SIGNEDDATA FROM TBLFACTCONSOLIDATED WHERE [CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED') UNION ALL SELECT [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 as SIGNEDDATA FROM TBLFACTWBCONSOLIDATED WHERE [CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED') UNION ALL SELECT [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 as SIGNEDDATA FROM TBLFAC2CONSOLIDATED WHERE [CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED')) as ZeroTable group by [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID] OPTION(MAXDOP 1)
)<BR><BR><BR><BR><BR><BR><BR>SELECT [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 AS SIGNEDDATA FROM ( SELECT [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 AS SIGNEDDATA FROM TBLFACTCONSOLIDATED WHERE [CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED') UNION ALL SELECT [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 AS SIGNEDDATA FROM TBLFACTWBCONSOLIDATED WHERE [CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED') UNION ALL SELECT [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID],0 AS SIGNEDDATA FROM TBLFAC2CONSOLIDATED WHERE [CATEGORY] in (N'ACTUAL') and [TIMEID] in (N'20100900') and [AFFILIATE] in (N'AZ_SWHD') and [ACCOUNT] in (N'DONOR_DART_ID_1') and [FUNCTIONAL] in (N'BENCHMARK_F') and [REPORT] in (N'CONS') and [RESTRICTION] in (N'ANYRESTRICTED')) AS ZEROTABLE GROUP BY [Account],[Affiliate],[Category],[Functional],[Report],[Restriction],[TIMEID] OPTION(MAXDOP 1)<BR><BR><BR><BR>ENDINFO<BR><BR><BR>)
Edited by: Tom Bardwil on Dec 28, 2010 5:20 PMYou can greatly improve your chance of receiving a helpful answer to your question if you state the version (MS or NW) and the release (5.1, 7.0, 7.5) of BPC which you are using.
Also notice the sticky [note|Please do not post BPC, SSM or FI/CO questions here!; at the top of this forum whereby we announced new dedicated forums for BPC which are the proper place to post your questions regarding BPC in the future to be able to reach the right audience for your question.
Thanks and best regards,
[Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
SAP Labs, LLC
BusinessObjects Division
Americas Applications Regional Implementation Group (RIG) -
NEW TO SAP BPC - Advice on Data Management Packages
Hi,
I am an experienced Microsoft BI User, but am new to SAP BPC.
I am working on a project that has required me to create custom SSIS packages for my client. To date my packages transform / cleanse and format the source into a clean CSV file, that requires no further intervention from the user, other than to use the standard SAP BPC Import Routine, with a simple Transformation file.
In order to fully automate the process, I would like my Custom package to automatically invoke the Standard import package without any user based intervention.
Can anyone advise on this?
I have considered writing further logic in my custom package that would completely bypass SAP BPC Data Manager, and insert the information direclty into the Fact Tables, taking into consideration any members that don't exist in the Dimensions. However, I would prefer not to go down this route unless absolutely necessary.
Can anyone point me in the right direction, so that I can call a clear routine from within my custom package, that would invoke a SAP BPC package /task to clear certain data from the fact table, and then call another Package / task that would update the Fact table based on a fully prepared csv file.
Many thanksYou could modify your custom package to perform all the steps thru BPC import and have the user initiate the Package from the BPC Data Manager. You would just need to add a MODIFYSCRIPT variable (see the standard IMPORT package as an example) and add the BPC tasks required to Convert/Load that data your package already prepares.
I have had prior success having a custom package initiated from within the BPC Data Manager extract data from an external data source (ie: Oracle), use user provided runtime input to customize data extraction parameters, manipulate the extracted data, and import it into BPC.
Unfortunately I've never attempted to initiate a BPC task without the package being initiated from within BPC. But I would surmise that if you provide the proper values for the individual BPC Tasks (ie: Convert and Load) required properties (ie: AppSet, App, User,...), I cannot think why it would not work. -
Error in Execution of Data Manager Package
Hi Folks,
We are facing the following error while executing the Data Manager Package for Clear/Import..
Error Details:
[Admin-ProcessPartition]Errors in the OLAP storage engine: The attribute key cannot be found: Table: dbo_tblFactFinance, Column: ENTITY, Value: CONEUROPE.
Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined limit of allowable errors for the operation.
Errors in the OLAP storage engine: An error occurred while processing the 'FAC2Finance_INCR_UPDATE_TEMP_kmj3h_' partition of the 'Finance' measure group for the 'Finance' cube from the YASH6 database.
Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined limit of allowable errors for the operation.
Internal error: The operation terminated unsuccessfully.
Please Look into it.....Hello,
It looks like you have an inconsistency on the OLAP level. Please try to reprocess Entity dimension choosing full process for your application. This should solve the issue.
Best regards,
Mihaela -
Error in process chain when running package (data manager)
Hello experts,
I try to run the following how to : "move date between applications using Data Manager ..."
Yon can find the pdf here : http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0480970-894f-2d10-f9a5-d4b1160be203
I'm looking after someone who used it successfully, on my side after implementing all steps and running the package I get the message "IMMEDIATE RUN: Request to run the package on the server was successful The package is now running"
When I look the log for the process chain, overall status of the process chain is yellow, and steps "modify dynamically" and "clear BPC Tables" are in error.
I can't get any usefull error messages.
If someone has an idea to have details about those errors, it will be appreciated.
Points will be awarded, thanks in advance.
Guillaume P.Hello Experts,
I am also facing the same issue with PC failing at Modify_Dynamically step....
This process type is working fine when used in standard delivered process chain to load transaction data.
I tried using this variant in my cutsom chain, but it fails.
Please suggest.....
Thx....D -
Clear Package Not Working - Data File is Empty
Hi
I am trying to run a clear package against a precise section of data. However the package keeps erroring and the log file shows me the below:
TOTAL STEPS 3
1. Export_Zero: completed in 1 sec.
2. Load Cube: Failed in 1 sec.
3. Clear: completed in 1 sec.
[Selection]
ENABLETASK= Yes
CHECKLCK= Yes
(Member Selection)
Category: OPM
Time: 2011.P01,2011.P02,2011.P03,2011.P04,2011.P05,2011.P06,2011.P07,2011.P08,2011.P09,2011.P10,2011.P11,2011.P12
Entity: TOT_ENTITY
AccLabour: WEIGHTED_EFF_ALL2
DataSrc: INPUT
Line: FB1
Machine: TOT_PROCESS
Product: NOPRODUCT
WIP: 56088876
[Messages]
The data file is empty. Please check the data file and try again.
I know there is data in this section of the database as I am running a report which looks at the same place and data can be found. From looking at other threads it has been recomended to turn off Data Audit. I've checked this and can confirm that this is switched off for this particular application (in other applications it is swithced on).
Please can someone advise what else I need to do in order to run this clear package successfully.
Thanks,
JamieThanks Roberto
Having just read that thread I see that they mention that they are not clearing from a calculated member. I think the member we have been trying to clear from is a calculated one.
Would a clear from fact table allow us to clear the data against this member? Or would we need to clear the data against the non-calculated members which go into the calculation?
Kind Regards,
Jamie
UPDATE
I've managed to run the clear package, I was trying getting this error because I was running it against calculated members. When I chnaged it to run against the non-calculated members the package ran successfully and cleared the data values.
Thanks for your help
Edited by: jamiet440 on Nov 10, 2011 12:28 PM -
Prevent Data Manager Package to be startet at certain times of the day
Hi
We currently have an issue as described below.
During month end closing SAP BW data is updated to BPC 3 times each day. This is done using a Data Package linke performing 8 steps in total. This DP Link works as expected. The problem is that while this is running users start other data manager packages that are based on the data from the data package link. This is an issue because the data is not correctly allocated before all 8 steps of the DP link has completed. This leads to very funny / Incomplete data and we would like to prevent this issue.
The question is therefor! Can we implement some kind of logic that prevents users from starting other data manager packages when the DP link is running?
/ChrisHi Chris,
If you want to do the check for a DM which is running eg. a script via the default formular PC you can create copy of the PC and build in an extra step just after the start to run a custom program.
You can set up the custom program eg. to check the table RSPCLOGCHAIN for dependent running PC or validate if the DM package can run dependent on some parameters set in a custom table. Eg. set the time range for when you are running the pakage link.
You don't need much logic in the custom program to do the check.
I don't see another or even standard way to do the check in BPC.
Br
Rasmus Larsen -
Hi All,
I need to copy data from one member to multiple members (to be selected dynamically) using script logic and data manager package.
Below is the script I am using
*XDIM_MEMBERSET TIME=%TIME_SET%
*WHEN TIME
*IS *
*REC(EXPRESSION=%VALUE%,TIME=%TIME_SET%)
*ENDWHEN
I want to pass the parameters both source and destination(multiple members) to passed using data manager package.
I am stuck with data manager script, kindly provide help in resolving this issue.
Regards
MaheedharHi Maheedhar,
don't forget to add the version of BPC you are using, MS or NW.
What dimension with multiple members you need to use in the script?
Is this above the whole script?
Regards
Roberto -
Passing multiple parameter to SSIS package via data manager
Hi
We are trying to pass parameters from data manager to SSIS package. We are trying to give option of selecting members from Dimension using SelectInput while modifying script.
But we are not able to catch the values in SSIS package.
Code in Data manager package:
(ON)
(SELECTINPUT,%VER%,,"Select Account",%ACCOUNT_DIM%)
(Execute sp_ver_copy,SqlStatementSource,exec dbo.sp_ver_copy2 '%VER%')
We also tried with writing GLOBAL(VER,%VER%) instead of -- (Execute sp_ver_copy,SqlStatementSource,exec dbo.sp_ver_copy2 '%VER%')
But that also dosent work.
We need to use the parameters passed, in SQL code that we have written in OLE DB source, under data flow task.
Any help is appreciated.
Thanks in advanceThanks Roberto for reply.
Please find the screenprint as per your suggestion. Also I have mentioned the code in above question. We are using the stored procedure to write the value into a table , passed from front end. We are able to write the value passed from front end into a table. So it means that system is passing the value.
But when I try to bring same value into the data task flow , system is throwing a error. The description of error is also mentioned below.
Kindly advise.
Error Description in DM package:
Description = Executing the query "exec dbo.sp_ver_copy2 'Account'" failed with the following error: "An error occurred while extracting the result into a variable of type (DBTYPE_STR)". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. -
Change of sign when running the data management package
Hi All,
I have written a script logic for copying my Budget member under category dimension to say another member say "XYZ" under category dimension and this is for my Member Sales under ACcount dimension having acctype as inc.
When i run the logic thru default i am getting the correct value. however if i run the same thru data manager package- my sign changes.
Eg. 100000 is copied as -100000 and -50000 is copied as 50000.
Please help me out
Regards
NavinHi Navin,
CREDITPOSITIVE= YES | NO
Default: YES
If No, all amounts referring to an ACCOUNT type (LEQ, INC) will have their signs reversed.
Since you are referring to the member account sales as INC the default logic considers the sign as reversed.
Please look at this link which helps you to understand
Significance of Account Type EXP,LEQ,INC,AST in BPC- Need some valid reason
Hope this helps.
Regards,
Sanjeev -
Preview transformation file in data manager package
Dear BPC Experts,
When we try to preview Tranformation file while running data manager package to import transaction data from BW, we are getting following error. We do not get this error if we use load from flat file package.
We are on BPC 10 PS06, EPM Add-in SP14 patch3.
Has anybody seen this issue before? We can paste the entire log if required.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Separator cannot be null and must contain only one char
Parameter name: separator
at FPMXLClient.DataManager.CsvParser.Parse(String data, String separator, Boolean hasHeader) in d:\Olympus_100_REL_XLCLIENT\src\FPMXLClient\src\DataManager\CsvParser.cs:line 15
at FPMXLClient.DataManager.UI.Forms.FilePreview.BuildDataArrayFromCsv(String data) in d:\Olympus_100_REL_XLCLIENT\src\FPMXLClient\src\UILayer\DataManagerUI\Forms\FilePreview.cs:line 487
at FPMXLClient.DataManager.UI.Forms.FilePreview.BuildDataArray(String data, Boolean formatted) in d:\Olympus_100_REL_XLCLIENT\src\FPMXLClient\src\UILayer\DataManagerUI\Forms\FilePreview.cs:line 414
at FPMXLClient.DataManager.UI.Forms.FilePreview.SpecialFilesProcessing() in d:\Olympus_100_REL_XLCLIENT\src\FPMXLClient\src\UILayer\DataManagerUI\Forms\FilePreview.cs:line 406
at FPMXLClient.DataManager.UI.Forms.FilePreview.DisplayData() in d:\Olympus_100_REL_XLCLIENT\src\FPMXLClient\src\UILayer\DataManagerUI\Forms\FilePreview.cs:line 351
at FPMXLClient.DataManager.UI.Forms.FilePreview.InitializePreview() in d:\Olympus_100_REL_XLCLIENT\src\FPMXLClient\src\UILayer\DataManagerUI\Forms\FilePreview.cs:line 102
at FPMXLClient.DataManager.UI.Forms.FilePreview.FilePreview_Load(Object sender, EventArgs e) in d:\Olympus_100_REL_XLCLIENT\src\FPMXLClient\src\UILayer\DataManagerUI\Forms\FilePreview.cs:line 740
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at FPMXLClient.UILayer.Forms.BaseForm.OnLoad(EventArgs e) in d:\Olympus_100_REL_XLCLIENT\src\FPMXLClient\src\UILayer\UI\Forms\Base\BaseForm.cs:line 70
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Best Regards,
Ashwin.Hi Raju,
Thank you for your reply.
It seems that it is SP related issue. When we downgrade our EPM Add-in to SP13 patch4, it did not throw any error.
Best Regards,
Ashwin. -
Error while running data manager package
Hi All,
when i am running data manager package for currency conversion i am getting the following error
"An exception with the type CX_SY_CREATE_DATA_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause
The data object could not be created: The type /B28/MHED7W9U does not exist."
Plase suggest where i am making mistake.
ThanksBelow are our BPC versions:
BPC on Server Manager: 5.0.486
Data Manager from eData: 5.0.484
BPC from eTool: 5.0.486
Below is the total error message as per your suggestion to run Export package. (even with service account which we used to install the software we are getting same error message.)
TOTAL STEPS 2
1. Dump Data: Failed in 0 sec.
[Selection]
FILE=\ApShell_SK\FINANCE\DataManager\DataFiles\SKTEST.TXT
TRANSFORMATION=\ApShell_SK\FINANCE\DataManager\TransformationFiles\System Files\Export.xls
MEASURENAME=PERIODIC
(Member Selection)
Category: ACTUAL
Time: 2006.JAN
Entity:
Account:
DataSrc:
IntCo:
RptCurrency:
[Messages]
An error occurred while executing a package.
Package Error Events:
ErrorCode = -1073668060
Source = Dump Data
SubComponent=
Description = The task "Dump Data" cannot run on this edition of Integration Services. It requires a higher level edition.
IDOfInterfaceWithError= {8BDFE889-E9D8-4D23-9739-DA807BCDC2AC}
Maybe you are looking for
-
Phone not working after infinity installation
I have just moved my phone and broadband from Sky to Bt and the engineer called this morning to complete the installation. I have 2 phone sockets. When I had broadband originally installed it was before the days of filters so it required a BT enginee
-
Hi, I display a line item in transaction FBL1N , and atfer that I try to change a field "payment block" (BSEG-ZLSPR) with icon Mass change. I give a new value in this field and I execute change. After that I have a Information "Unable to change ever
-
F Buttons (eg. F1, F2) have lost usual functions please help!
Bought my MacBook a few days ago and today I think I've done something inadvertently which has knocked all the shortcuts out of whack. For example, F1 has a sign on it to decrease the brightness on screen, F2 has one to increase, F3 I think is someth
-
Where can I find this Document on Ora Website???
hi All, Can someone help me to track this document? As it seems that the Oracle Website has been changed and I cannot find it... Your Help is much appcreciated: http://otn.oracle.com/tech/webservices/htdocs/series/net/content.html This document sampl
-
Is there a spave in 'creative cloud'
Is there a spave in 'creative cloud' where I can have any picture available with my laptop from any location (picture save f.i. with my desktop). Up to now I Always save om my destop and when I needed the picture on a other location I copy/paste to m