SSIS Environmental Variables not working in BPC 7.5(MS) Data Manager

Hi,
We have an SSIS 2008 package that is retrieving variable values from Environmental Variables.  The package runs successfully when executed from DTExec, but fails when executing from a BPC 7.5(MS) Data Manager package.  Looking through logs we've been able to pinpoint the issue.  The issue is that the SSIS package is unable to retrieve variable values from Environmental Variables when running from Data Manager packages.  We tried using XML Configuration files to store variable values, but this did not work either when running the SSIS package from Data Manager.  Has anyone seen this before?  If so, what was the solution to resolving the issue?
Thanks,
Glenn Van Der Werff

Hi Glenn,
Can you set package variables in Data Manager script as a workaround?
For example, here is how we set connection string:
GLOBAL(DRILL_CN_STRING,Data Source=%SQLSERVER%;Initial Catalog=%DRILL_DB%;Provider=SQLOLEDB.1;Integrated Security=SSPI;Application Name=SSIS-BPC_Incremental_Oracle;Auto Translate=False;)
DRILL_CN_STRING is a variable in our package and %<Parameter Name>% are parameters for that connection string.
Regarding Env Variables and XML... there could be security related and/or Package ProtectionLevel issue when BPC system account.
Hope that helps,
Akim

Similar Messages

  • (Substitution Variables) not working in "SQL Developer" Environment !!!!!!!

    this photo illustrate how that (Substitution Variables) not working in "SQL Developer" Environment :-
    http://www.imagehosting.com/show.php/1555180_ddddd.PNG.html
    any solve for this problem ?????!!!!!!!!!!

    There is a dedicated forum for SQL Developer related questions
    SQL Developer
    I should admit however, that query you have provided ( with substitution variables) works like a charme in my environment (SQL Developer 1.1.0.23 build 23.64)
    Best regards
    Maxim

  • Variable not working with IF Statement

    I'm having issues creating a Variable that examines a Date field called Customer Need Date in which, depending on the value of this Date I wish to either return "N/A" or the [Customer Need Date] less the Current Date (which is today's date). There are three scenario's that can appear in the [Customer Need Date], it will either be: blank (in which I want it to return "N/A"), have a value of 1/1/99 (in which I want it to return "N/A"), or have any other date (in which I want it to return the number of days between the Current Date and the Customer Need Date).
    My initial attempt at creating the variable which works fine (but doesn't remove the 1/1/99) is:
    =If(IsNull([Customer Need Date]);"N/A";DaysBetween([Current Date];[Customer Need Date]))
    But now I want to also show "N/A" if the [Customer Need Date] is equal to 1/1/99.  I've tried two different ways (below) both of which do not work.
    =If(IsNull([Customer Need Date]);"N/A";if([Customer Need Date]="1/1/99";"N/A";DaysBetween([Current Date];[Customer Need Date])))
    This gives me an error at pos 63, the '=' function uses an invalid data type.
    I also tried these (two different ways both with same error message):
    =if([Customer Need Date]InList("1/1/99";" ");"N/A";DaysBetween([Current Date];[Customer Need Date]))
    and
    =if([Customer Need Date]InList("1/1/99";" "))Then("N/A")Else(DaysBetween([Current Date];[Customer Need Date]))
    Both returned this error, The "InList" function uses an invalid data type (pos 31)
    **Please note both Customer Need Date and Current Date are Variables and have square parenthesis around them but I am unable to do so as it creates a hyperlink in this format.
    Any help to make this formula work would be greatly appreciated!!
    Thanks
    -Trevor

    you cant compare a date with a string.
    use:
    =If(IsNull(Customer Need Date);"N/A";if(Customer Need Date=ToDate("01/01/99";"MM/dd/yy");"N/A";DaysBetween(Current Date;Customer Need Date)))

  • Payload variables not working

    Hi all,
    I've been trying to use Profile Manager to specify user e-mail accounts on Mac devices (eg, MacBooks) but I've been encountering a couple of problems. I've tried searching around and didn't find any answers.
    First of all I'm running the latest Mountain Lion Sever. All clients have up-to-date Mountain Lion too.
    Problem 1: Payload variables not working
    I'd like to automatically setup Gmails on the MacBooks. Now the users' email addresses are already set to their gmail accounts. So all I have to be able to do is use the %email% payload variable as the username when I go set up the (IMAP) mail accounts in the Profile Manager. However, when I download the profile to the device, it does not convert the payload variable; ie, it tries to log into gmail with the username '%email%'. Other payload variables do not work either.
    Oddly enough, the payload variables work as they should with iOS devices...
    Problem 2: Profiles stuck on 'Sending'
    After enrolling the devices, it seems a hit and miss whether the MacBook downloads the correct profiles from the server... Is there a way to force on the MacBook to update/refresh its profiles? Also, when I update profiles within Profile Manager, the changes are pushed to iOS devices fine but not to MacBooks. Those tasks are all stuck on Sending... Logging in, restarting etc. sometimes helps but not always... Is there a reason why?
    Thanks in advance.
    P.S. Sorry I posted in the wrong forum first...

    Same problem here. Some profiles are being sent, some are stuck on the server. I have no idea why this difference.
    Any luck solving the issue?

  • Payload variables not working & Profiles stuck on 'Sending'

    Hi all,
    I've been trying to use Profile Manager to specify user e-mail accounts on Mac devices (eg, MacBooks) but I've been encountering a couple of problems. I've tried searching around and didn't find any answers.
    First of all I'm running the latest Mountain Lion Sever. All clients have up-to-date Mountain Lion too.
    Problem 1: Payload variables not working
    I'd like to automatically setup Gmails on the MacBooks. Now the users' email addresses are already set to their gmail accounts. So all I have to be able to do is use the %email% payload variable as the username when I go set up the (IMAP) mail accounts in the Profile Manager. However, when I download the profile to the device, it does not convert the payload variable; ie, it tries to log into gmail with the username '%email%'. Other payload variables do not work either.
    Oddly enough, the payload variables work as they should with iOS devices...
    Problem 2: Profiles stuck on 'Sending'
    After enrolling the devices, it seems a hit and miss whether the MacBook downloads the correct profiles from the server... Is there a way to force on the MacBook to update/refresh its profiles? Also, when I update profiles within Profile Manager, the changes are pushed to iOS devices fine but not to MacBooks. Those tasks are all stuck on Sending... Logging in, restarting etc. sometimes helps but not always... Is there a reason why?
    Thanks in advance.

    Same problem here. Some profiles are being sent, some are stuck on the server. I have no idea why this difference.
    Any luck solving the issue?

  • Updated my iphone4 with ios6.1 software. App store is not working. Tried rebooting, restoring, changing date, signing with another apple id etc. but no luck. can someone please help?

    Updated my iphone4 with ios6.1 software. App store is not working. Tried rebooting, restoring, changing date, signing with another apple id etc. but no luck. can someone please help?

    I guess I will wrap this up. I have abandoned iPhoto and viewing my Photo Streams using it and moved to Adobe products (Bridge + PS). So that's that.

  • The date and time is not working after setting it to current date and goes back to may,26 2011

    the date and time is not working after setting it to current date and goes back to may,26 2011; 2 PM . I bought my ipod tocuh 4th gen on july 18th

    On the iPod, make sure your Calendar is set to Gregorian (Settings > General > International > Calendar).  Also make sure your date and time on your computer is correct as well as the Time Zones on both.

  • Since last week my date & time have not worked on my 5c. The date & time are constantly wrong. I've shut down, doesn't work. Set it automatically, doesn't work. I don't get texts or calls when it's sleeping. Any suggestions?

    Since last week my date & time have not worked on my 5c. The date & time are constantly wrong. I've shut down, doesn't work. Set it automatically, doesn't work. I don't get texts or calls when it's sleeping. Any suggestions?

    try a reset.
    Hold the home & power buttons down simultaneously until you see the Apple logo appear.
    Note: no data will be lost.

  • Microphone not working on a call when cellular data is on...any help..ty..

    microphone not working on a call when cellular data is on...The person at the other end of the call cant hear me and when i turn it off it works fine..

    Hi there ravitejanvr,
    You may find the troubleshooting steps in the article below helpful.
    iPhone: Microphone issues
    http://support.apple.com/kb/ts5183
    -Griff W. 

  • SAP Gateway- environmental variables not loaded when running brconnect

    Hello
    i have installed the Sap gateway on MSCS
    and the RFC check in sm59  is successful,
    However when i run a job in db13 it fails with "brconnect is not recognized as ......... "
    <sid>adm has all environmental variables set correctly
    SAPService<SID> has them too
    when i run  brconnect on OS level it works fine with <sid>adm and SAPService<SID>
    however if create a brconnect.cmd file where i specify the command as
    SET ORACLE_SID= ....
    SET SAPDATA_HOME=....
    C:\windows\sapcluster\brconnect.exe ...........
    and run it in sm69 it works fine
    Any ideas how to solve this, seems the variables are not taken when running sapxpg
    , i don't want to edit the SDBAC for every  command
    P.S
    set from sm69 returns only the system wide variables, however i have the two systems on this host, and can not make the environmental variables for ORACLE_SID and SAPDATA_HOME system wide as this will cause problem with the other sap system
    Edited by: Yavor Markov on Apr 12, 2010 6:07 PM

    Hi Markov,
    Can you tell us with which user id you have installed SAP as well as check the sap services are running with which user id, if it is not <sid>adm then you have to check the environment variables of that user.
    Also you can try adding c:\windows\sapcluster in PATH environment variable.
    Regards,
    Kishore Soma

  • BW hierarchy variable not working in Crystal Report 2008

    Hi,
    I have created BEx 7.0 report which has hierarchy on 0customer object, the report is working fine whith hierarchy variable. I have created Crystal Report by using this query as source. I have followed below link to create grouping to get data through hierarchy variable.
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BWHierarchiesinCrystalReports
    But report does not work for hierarchy variable and report is blank. When I give filter of child node which has actual data then I get report output. For ex.
    Below hierarchy for 0customer
    11396
         - 737007
         - 123456
    When I run report for 11396 then no data display but when I run 737007 child node I get report output but with blank group name.
    Can anyone came accross this issue. Please guide me . Thanks in advance.

    Thanks Ingo for your reply..
    The word filter means, I have hierarchy node variable in the BEx report that has become Parameter in CR. When I give hierarchy node variable value of parent node then there is not data display but for the child node I get the data.
    For ex. In the info cube there is data for 730707 customer but in the customer hierarchy the parent node of 73707 is 11396. I am giving 11396 in the variable pop screen for hierarchy variable. I do not see any data but for 73707 I get data.
    User does not know 73707, he always enter 11396 customer no. and he gets data in BEx query that is source of CR. but crystal report is not showing data for 11396.
    One more point I want to tell here, I am saving CR at my local system not to SAP BW server.
    Hope this clear my issue.
    Harish Swami
    Edited by: hswami27 on Jan 31, 2011 8:17 PM

  • FORMULA=USING/TOTAL IS NOT WORKING IN BPC NW.

    Hi,
       I am doing Migration project from  BPC MS to BPC NW 7.5. In this I am not able test the Allocation formula.
    FORMULA=USING/TOTAL.
    Here in this  Total is not working. The final result same as USING combinational value. The formula is working for USING combination like FORMULA=USING/100,USING*100....,
    WHERE=WHAT* USING/TOTAL.Let me know is there any solution for this.Could you please update me on this.
    Find the below sample code for the Allocation Logic.
    LOGIC:
    *RUNALLOCATION
    *DIM P_ACCT WHAT=CE0004010; WHERE=CE0004020; USING=CE0004030; TOTAL=CE0004210
    *DIM CATEGORY WHAT=PLAN; WHERE=PLAN; USING=PLAN; TOTAL=PLAN
    *DIM P_CC WHAT=India; WHERE=India; USING=India; TOTAL=India
    *DIM P_DATASRC WHAT=UPLOAD; WHERE=UPLOAD; USING=UPLOAD; TOTAL=UPLOAD
    *DIM P_ACTIVITY WHAT=Repair; WHERE=Repair; USING=Repair; TOTAL=Repair
    *DIM RPTCURRENCY WHAT=LC; WHERE=LC; USING=V; TOTAL=LC
    *DIM TIME WHAT=2009.JAN; WHERE=2009.APR; USING=2009.MAR; TOTAL=2009.MAY
    After exccuting this formula and by observing the Formula Log one record write back message displayed.
    Thanks and Regards,
    VC kRISHNA.

    Hi,
       Please find the below Allocation logic. Here in this case also getting the same out put. The whare combinational value same as using. This Allocation Logic and the previous one is working with out fail in the MS version. Let me know is this may be a product issue. Could you please update me in this.
    Logic:
    *RUNALLOCATION                                   
    *FACTOR=USING/TOTAL
    *DIM PROJECT WHAT=BAS(CorpBudg_Project); WHERE=[SCTSQ1]="Y"; USING=<<<; TOTAL=No_PPC                                        
    *DIM ENTITY WHAT=PC10102106; WHERE=NO_PCENTER; Using=<<<; TOTAL=NO_PCENTER                                        
    *DIM ACCOUNT WHAT=BAS(Corp_Budg_Accnts); WHERE=880014; USING=<<<; TOTAL=<<<                                                  
    *DIM DATASRC WHAT=INPUT; WHERE=<<<;USING=<<<; TOTAL=<<<
    *DIM RPTCURRENCY WHAT=LC; WHERE=<<<; USING=<<<; TOTAL=<<<          
    *DIM CLIENT_GROUP WHAT=1010; WHERE=<<<; USING=<<<; TOTAL=<<<     
    *DIM CATEGORY WHAT=BUDGET; WHERE=<<<; USING=<<<; TOTAL=<<<     
    *DIM INTCO WHAT=Non_InterCo; WHERE=<<<; USING=<<<; TOTAL=Alloc_PC10102106                                   
    *DIM TIME WHAT=BAS(2011.TOTAL); WHERE=<<<; USING=2011.BSS; TOTAL=<<<
    *ENDALLOCATION
    *COMMIT
    Thanks and Regards,
    Krishna.

  • Row Level Security - Data filter - Roles Variable Not working in OBIEE 11.1.1.7.1

    Hi all,
    Previously, we were using OBIEE 11.1.1.5.0 and we were able to assign users to application roles by using the initialization block to assign the ROLES session variables.
    1. My USER_SECURITY table in Oracle database:
    USER_NAME | USER_ID | ROL
    user1       | 1723    | GobalDataRole
    user2       | 1739    | GobalDataRole
    user3      | 1743    | GobalDataRole
    2. The SQL query in my session initialization block:
    select USER_NAME, USER_ID, ROL
    from USER_SECURITY
    where USERNAME = ':USER'
    3. The row-wise initialization option is not checked.
    4. In the Oracle Enterprise Manager Fusion Middleware Control, we created new application role: GobalDataRole and sync with rpd.
    5. The GobalDataRole is used in the RPD to filter the data under permissions --> data filter. GobalDataRole only has access to Country A data.
    6. Result: under my account, also in rpd Manage --> Sessions, user variable details
    User_name , user_id & Rol variable is working fine as expected,
    When we log in as user1, we can see in My Account, user assigned to: BI Consumers; Authenticated Role; GobalDataRole
    When we log in as user2, we can see in My Account, user assigned to: BI Consumers; Authenticated Role; GobalDataRole
    When we log in as user3, we can see in My Account, user assigned to: BI Consumers; Authenticated Role; GobalDataRole
    User1, User2, and User3 are able to see the data correctly according the their data access setup.
    Now, we using OBIEE 11.1.1.7.1 and using the same method, but we not able to assign users to application roles by using the initialization block to assign the ROLES session variables anymore.
    Result:
    User_name & user_id variable is working fine as expected, but the ROl variaible is not capturing the DB value,
    When we log in as user1, we can see in My Account, user assigned to: BI Consumers; Authenticated Role
    When we log in as user2, we can see in My Account, user assigned to: BI Consumers; Authenticated Role
    When we log in as user3, we can see in My Account, user assigned to: BI Consumers; Authenticated Role
    User1, User2, and User3 can see all data (which is wrong) because they are not assigned to the correct application role that sets the data restriction/filter.
    Has anyone encountered the same issue? Any advice on how to solve this?
    Thanks in advance!
    Satheeshkumar P

    Thanks user10615659     ,
    - Yes the variable ROLES available in OBIEE 11.1.1.7.1
    - Tested the init block and variables in offline rpd its working as expected.
    - In online rpd, except ROLES and GROUP variable remaining variables working fine.
    - Verified log file in both online and offline init block testing - the init block execution is successful.
    Thanks

  • Text Variable not working correctly

    In CS3 I could create a TEMPLATE (.indt) with the "creation date" text variable in it and when I opened it it would have the CURRENT DATE (the date the new file was generated from the template) . In CS4 it opens with the date the TEMPLATE was MADE and not the current date (the day the new file was generated). I need the template to open with the current date (the day the template was opened). I tried using the "modification date" variable which works the FIRST time but if I open it the next day the date changes. I need the date to remain the same as the creation date. Does this make sense? Why did Adobe change the behavior of this? Please help.
    -John Streeter

    Hi Rakesh,
    Just curious what is the purpose of creating a hidden column as suggested? Anyway, I have created it but nothing changes.
    Allow me to clarify my situation again.
    I have three columns:
    1. Actual This Year
    Type: Selection
    2. Actual Last Year
    Type: Selection
    3. % of Actual This Year / Actual Last Year
    Type: Formula
    Definition: (Actual This Year) %A (Actual Last Year)
    All columns use &0T_FYEAR& as text replacement variable. As such, all title would have year text.
    The first two columns have been restricted with Fiscal Year variable, 0P_FYEAR.
    1. Actual This Year
    0P_FYEAR
    2. Actual Last Year
    0P_FYEAR - 1
    Upon executing the query, I got the first two columns displaying their titles right, but the third column does not.
    For example, let's assume I entered 2008 for 0P_FYEAR variable, the columns would display the following titles:
    1. 2008
    2. 2007
    3. &0T_FYEAR&
    I need the third column to display current fiscal year i.e. 2008 but it does not.
    Appreciate your help!

  • Bind Variable NOT working in APEX 4.0 within charts SQL

    All,
    I had a chart working fine in 3.2 which had a bind variable like :P11_EMP_NAME, when I created the same chart in 4.0 using the same query it did not work, until I changed the variable to v('P11_EMP_NAME'). Does anyone have experienced the same behaviour?
    Thanks
    Venkat

    Hi Deb,
    Both of your queries are using multi-series syntax i.e. returning more than one series of data, therefore your generated chart is actually generating 6 series rather than just the two that you're aiming for. You could try changing your queries to ensure they each generate a single series of information, which would then result in the extra Y-axis being applied to your "Series 2". Here's an example of what I mean:
    Series 1:
    select null link, label, value from (
    select 'test' label, 1 value from dual
    union all
    select 'test2' label, 2 value from dual
    union all
    select 'test3' label, 3 value from dual
    )Series 2:
    select null link, label, value from (
    select 'test' label, 100 value from dual
    union all
    select 'test2' label, 200 value from dual
    union all
    select 'test3' label, 300 value from dual
    )I hope this helps.
    Regards,
    Hilary

Maybe you are looking for

  • ITunes match does not show up on iphone

    I just enabled iTunes match after it took forever to synch up on my computer, it told me to go to settings -> music and turn on iTunes match. I don't have that option on my iPhone 4 running iOS 5. What is wrong?

  • Cannot Install windows 7 or Vista on HP DC5800 with VL Media

    Hello all, I have a fleet of HP DC5800 SFF PC's that have been running XP Pro for some time.  I successfully installed windows 7 on one of them, but none of the other PC's I have of this model will take the install.  After performing a clean install,

  • (OMS) java.lang.NegativeArraySizeException

    Running RedHat 7.2 RDBMS 9.2 When I start the OMS (oemctl start oms) about 1 minute later I see the following in the oms.nohup: The OMS is now started and ready. java.lang.NegativeArraySizeException: at java.lang.String.(String.java) at java.lang.Str

  • Input/output error when performing CP

    When I try to.. cp /mnt/cdrom/<filename>.gz /home/<directory>/<filename>.gz from a mounted CD to a directory in /home/ (on a differing partition), I receive an input/output error and the file isn't copied as a result (while logged in as root). I'm br

  • Popup for what tool I'm using?

    I like to work in PS in fullscreen mode with the panels hidden. I also use the "precise" cursor for the tools. This makes it difficult to know what tool I'm using. For example, the cursor for the regular lasso tool and the polygonal lasso tool are th