Customization of load a script in FDM

Hi all

I'm trying to change the upload script in the FDM, but does not receive the correct syntax of the calc script in VB script.

My requirement is: I load the data with two different place in the two different version in Essbase. Being the script common load for all locations, I want to avoid clear data

version based on location to replace what is used...

As if Planner load data specific to the entity, the workload file should remove the data in version 1, but when any user in business (access to all entities) load the data of a business location,

the script should remove the Corp. Version data. I'm trying to change the load script but which gives syntax error.

strTYear = API. . StrTargetYear of POVMgr.fPeriodKey (CStr (strPer (0)))

' * CALC SCRIPT *.

' NOTE: CALC SCRIPT CAN BE MODIFIED for each CLIENT

' Clear the intersection of (category, period, entity).

strClear = "difficulty (" ")" & strTCat & "" "", "" "" & strTYear & "" "", @Idescendants ("" "& strCurEnt &" ""), ""WORM 1"") ' & + "\n" * declaration of attachment for worm 1 *.

strclear = strclear & strTPer (0) & vbcrlf * Member Block for IF condition *.

strclear = strclear & "IF (strLoc <>" 'Corporate' "" ") THEN" & vbcrlf * IF condition to check the name of the place, if it is made up, then remove 1 worm else data do nothing so no other condition *.

strclear = strclear & "strTPer (0) = #MISSING;" & vbcrlf * no cleardata script such that it will not operate under an if condition *.

strclear = strclear & "ENDIF;"  & vbcrlf

strClear = strClear & "EndFix".

I am using logic right ahead of the Calc script but in error writing even in VB script...

Help me get this correct script or anything else to solve the problem I am facing to...

Kind regards

CM

Journeyer...

I don't really like the words I've read from you.

Journeyer wrote:

Hello

I can write hundreds of logic to make this script to delete data. But there is no problem with the calc script, it is write in VB with an IF condition.

I tried a lot of combination to see if something might work, but it gives syntax error.

If you really want to help, could you provide me the correct syntax can I use correct atleast my syntax above or at least make it simple for me to do this job...

Thank you...

You must take into account the fact that people in this community devote their time to help others.

Help does not mean doing their job. Assistance means putting people in the right way, give advice, and try to share knowledge.

Having said that, your logic is that a calc script will be executed for a specific location. Your problem is that you try to put the conditional statement in the statement to FIX rather than the vbscript itself

strClear = «»

If YOUR State of HEALTH may

strClear = "TROUBLE."... »

End If

If strClear <> "" then

Use the fcalculate function, which is in the LOAD SCRIPT

EndIf

This link is a lot of examples of conditional statements: VBScript conditional statements

Tags: Business Intelligence

Similar Questions

  • Scripts custom FDM HFM control (for example, perform a translate in HFM) after data FDM load via the batch Loader

    Currently, we have a Microsoft Access database + VBA Scripts that use the HFM API objects to connect to the HFM application to perform the following tasks:

    (1) delete the data according to a specific POV HFM

    (2) load some data from a text file to the request of HFM

    (3) run a Consolidation of data in HFM with 3 different POV

    (4) running a data translate in HFM with a specific POV.

    (5) when the process is complete, HFM send one connects e-mail to Hyperion administration team with newspapers.

    We want to replace this database MS Access with FDM.

    Custom script of FDM, I am able to run batch loader to load data at our request of HFM.

    However, FDM, I want to connect to our HFM application to perform a consolidation (in HFM) and also a Translate (in HFM) after that the data has been loaded by the loader of FDM data.

    The question I have is that I can't use the VB Scripts following FDM (this code works in MS Access)

    Function OpenHfmApp (sDomain As String, sUser As String, fun As String, sserveur As String, sApp As String)

    Dim customer as HsxClient

    Dim cSession as HsvSession

    Dim cServer As HsxServer

    Set customer = New HsxClient

    cClient.SetLogonInfoSSO sDomain, sUser, ' ", fun

    sApp sserveur, 'Financial management', cClient.OpenApplication, cSession cServer

    Set OpenHfmApp = cSession

    End Function

    FDM do not like the 'AS' - I should write:

    Function OpenHfmApp (sDomain, sUser, fun, sserveur, SAPP)

    Sun customer

    Dim cSession

    Dim cServer

    Set customer = New HsxClient

    cClient.SetLogonInfoSSO sDomain, sUser, ' ", fun

    sApp sserveur, 'Financial management', cClient.OpenApplication, cSession cServer

    Set OpenHfmApp = cSession

    End Function

    When I run this code of FDM, I get the following (of Financial Data Management Workbench) error message

    500 variable is undefined: 'HsxClient '.

    Online: 565

    My questions are:

    (1) is it possible to control via the Scripts VB FDM HFM realize some tasks such as claire HFM, Consolidation and HFM HFM translate?

    (2) if so, How can I reference objects in FDM HFM VB Scritp editor [custom general] (to use the HFM API via scripts VB FDM objects)?

    Thank you

    Claude

    Good to know that the 'out of the box' functionality meets your requirements. You can mark the thread as anawered now.

  • Custom calculation of LOAD FDQM script - adapter ESSBASE

    Hello world

    I am trying to modify the Essbase adapter default LOAD script, I entered the year to avoid the deletion of the data for all months of the year. Now I want to add another dimension, a custom8 (UD8) in the script in order to avoide compensation all data in custom8 ESSBASE dimension.i want just to filter the data on compensation for the value in the dimension custom8.

    This is the part to LOAD a script that I modified to add the year:

    If strEntity <>strCurEnt or bolFirstLine = RES. So FDMTrue

    If Len (strCurEnt) > 0 Then

    strTYear = API. . StrTargetYear of POVMgr.fPeriodKey (strPer (0))

    ' * CALC SCRIPT *.

    ' NOTE: CALC SCRIPT CAN BE MODIFIED FOR EACH CLIENT

    "This script was changed to also include the year.

    ' Clear the intersection of (year, category, period, entity).

    (strClear = «Difficulté ("") "& strTYear &" "" "," "" "& strTCat &" "" ", @Idescendants (" "" & strCurEnt & "" ")) ' & +" \n "

    strClear = strClear & "CLEARDATA" "" "& strTPer (0) &" "";"& vbcrlf".

    strClear = strClear & "EndFix".

    '***************************************************************************

    What should I add to increase the intersection to custom8 dimension?

    Regars,

    Savo

    Ok

    If you still have the same value, your solution is even easier.

    You need the performance to VR0 at the beginning of the CORRECTION or the end.

    Give it a try and let us know.

    strCust8 = "VR0.

    ' * CALC SCRIPT *.

    ' NOTE: CALC SCRIPT CAN BE MODIFIED FOR EACH CLIENT

    "This script was changed to also include the year.

    ' Clear the intersection of (year, category, period, entity).

    (strClear = «Difficulté ("") "& strCust8 &" "" "," "" "& strTYear &" "" "," "" "& strTCat &" "" ", @Idescendants (" "" & strCurEnt & "" ")) ' & +" \n "

    strClear = strClear & "CLEARDATA" "" "& strTPer (0) &"""; ' & + "\n"

    strClear = strClear & "EndFix".

    '***************************************************************************

  • Stop Dreamweaver loading of scripts/CSS files included in a page

    Dreamweaver CC 20141 (Mac OS X 10.10, Yosemite) has a big BUG... is not possible build with this large complex/websites.

    If I have a site with a large number of css files (or scripts), Dreamweaver takes too long to load/save a page that included (the wheel turns indefinitely).

    Is it possible to prevent the loading of scripts and CSS files included in a page, while I'm working on it (even temporarily) Dreamweaver?

    I know that without this function (loading external files), Dreamweaver is absolutely useless, but at the moment I found yet another tool of the IDE and I need to work with the speed.

    Thank you

    Using Live View, Code view or creation?

    You have validated your code to check for errors?

    CSS - http://jigsaw.w3.org/css-validator/

    HTML - http://validator.w3.org/

    Could you comment on your links to external scripts and CSS files.

    To disable only the styles in Design view, go to view > Style made > uncheck display Styles.  Or consider using a Design-time Style sheet.

    Using Dreamweaver | Use design-TIME style sheets

    To speed things up a bit, try these tips:

    1 edit-> preferences-> Code-> Disable description ToolTips indicators

    2 edit-> preferences-> highlight-> uncheck two active data translated and translated

    3. change->-> preferences-> synchronization settings uncheck all sync settings

    Nancy O.

  • Loading with description by FDM journal

    Magazines can be loaded with the description of line level (no header level description) through FDM?
    System takes the file with descriptions, when you build the file .jle manually and using charge sheets in the workspace. But when you try to load the magazines through FDM, it doesn't.

    No idea how to do it? All the parameters that we are missing?

    It is currently not possible.

    The Description will be the description in the first line of the journal template.

  • With the help of functional test for load testing scripts

    Hey,.
    I'm new to this tool. Right now, I use a version 9.2 of OATS. I created a few functional scripts for Oracle E - business applications using openscript. Can I use the same scripts for my load tests. If so, how would I be able to do? When I created a load of scripts using openscript, they appear in BTA. But my functonal scripts do not appear under 'select scripts' upward section OLT.

    You will need create scripts for load tests. Functional scripts cannot be used BTA. The exceptions to this rule would be the "General" components (Code of Java Script & Web Services), which can also be used in BTA.

    for example, instead of "Testing - Oracle EBS/functional forms.
    Select "Load Testing (Protocol Automation) - Oracle EBS/forms.

    Once you get in tests that you will realize that you want to create very specific scripts and do not want to try to re-use of functional scripts to load. I know that many of these tools are "sold" to the fact that functional scripts can be reused for the load, but when it comes down to it, you'll want to design your scripts load separately anyway!

  • How to load SQL scripts from a text file.

    Hi, I tried several times to load a script file/SQL text with 10 different tables and the data, but 10g Express doesen't allows me to do that, can someone direct me or tell me what I do or what I need to adopt a special method to achieve this. I'm sure there must be something where you can download SQL scripts from a text file (in the SQL command editor!). Thank you

    Hello

    Yes, as Aust replied, you must use SQL Workshop/SQL Script, instead the command SQL Editor.

    Sqlplus can also do so, I think, as well as SQL Developer, now it is 1.5.

    sqlplus: (the window command line, black of sql)

    SQL > @path /--(l'extension devrait être.sql) filename.sql.

    Peter

  • Gives the Script import FDM of oracle RDB to import - import has failed. Data not valid or empty content.

    Hi all

    I create an FDM interface to extract data from Oracle RDB and onto an essbase database. I feel that if you have to shoot the script import data of RDB, you must create an integration. So I created a script to import integration based on the example given in the FDM Document admin.

    The Script is as below:

    Function PSIP_TEST (lngCatKey, dblPerKey, strLoc, strWorkTableName)

    '------------------------------------------------------------------

    "Import oracle Hyperion FDM integration script:

    '

    ' Created By: admin

    "Creation date: 18/02/2014-18:00:33.

    '

    ' Object:

    '

    '------------------------------------------------------------------

    Dim cnSS ' ADODB. Connection

    Dim strSQL ' SQL string

    Dim rs ' Recordset

    Dim rsAppend ' tTB table add rs object

    'Initialize objects.

    Define the cnSS = CreateObject ("ADODB. Connection")

    Set rs = CreateObject ("ADODB. Recordset')

    Set rsAppend = DW. DataAccess.farsTableAppend (strWorkTableName)

    "To connect to the Oracle database

    CNSS. Open "Provider = OraOLEDB.Oracle.1; Password = PSIP_TST; Persist Security Info = True; User ID = PSIP_TST; Data Source = PSIP.

    ' Create the query string

    strSQL = "SELECT YEAR, COST_CENTRE, PROGRAMME_CODE, PROJECT_CODE, ACCOUNTS, AMOUNT FROM VW_PSIP_EBUDGET_ESTIMATES.

    «Get data»

    RS. Open strSQL, cnSS

    "Locate the data.

    If rs.bof and rs.eof then

    RES. PlngActionType = 2

    RES. PstrActionValue = "no records to load!

    Exit Function

    End If

    ' Loop through records and add table APCs to place DB

    If it is rs.bof and not rs.eof then

    While Not rs.eof

    rsAppend.AddNew

    rsAppend.Fields ("PartitionKey") = RES. PlngLocKey

    rsAppend.Fields ("CatKey") = RES. PlngCatKey

    rsAppend.Fields ("PeriodKey") = RES. PdtePerKey

    rsAppend.Fields ("DataView") = "CDA".

    rsAppend.Fields ("CalcAcctType") = 9

    rsAppend.Fields ("Account") = rs.fields ("ACCOUNTS"). Value

    rsAppend.Fields ("Entity") = rs.fields ("COST_CENTRE"). Value

    rsAppend.Fields ("UD1") = rs.fields ("COST_CENTRE"). Value

    rsAppend.Fields ("node2") = rs.fields ("PROGRAMME_CODE"). Value

    rsAppend.Fields ("UD3") = rs.fields ("PROJECT_CODE"). Value

    rsAppend.Fields ("Amount") = rs.fields ("Amount"). Value

    rsAppend.Update

    RS. MoveNext

    Loop

    End If

    "Loaded files

    RES. PlngActionType = 6

    RES. PstrActionValue = "import successfully!

    'Assign the return value.

    SQLIntegration = True

    End Function

    When I run the Script in the Script Editor, I get the following error:

    Error: An error occurred while running the script:

    -2147467259-data access error.

    Online: 19

    If I see in the error log, it is as follows:

    ERROR:

    Code... - 2147467259

    Description... ORA-00903: invalid table name

    Process... clsDataAccess.farsTableAppend

    The component... upsWDataWindowDM

    Version.......................................... 1112

    Thread........................................... 41900

    Nude of the line. 19 is as follows: Set rsAppend = DW. DataAccess.farsTableAppend (strWorkTableName) and, therefore, I thought that perhaps this is when I run the script in the Script Editor, perhaps that the value of the variable "strWorkTableName" does not get filled it is why it gives an error.

    So I ran the import stage in the Workflow, and Got the following error:

    Error: Failed to import. Data not valid or empty content.

    and there is no entry in the error log.

    I'm lost, need your help please.

    One last thing, I would like to ask is kindly please post if my connection string is correct, either:

    CNSS. Open "Provider = OraOLEDB.Oracle.1; Password = PSIP_TST; Persist Security Info = True; User ID = PSIP_TST; Data Source = PSIP.

    I read that FDM is a 32-bit product and will require a connection 32-bit oledb provider.

    FDM here is installed on a 64-bit computer and the provider that is used here in the connection string is 64-bit.


    Please help, my work here came to a fixed support. Kindly help

    That would mean that your 32-bit TNSNAMES. ORA file does not have a good connect descriptor for what you provide in the UDL file.

    Check your TNSNAMES 32bits. ORA file and make sure you have a good connect descriptor for the Oracle database.

  • Do not load items scripts in the browser

    Half of the navigation elements are invisible in IE8 and Firefox (I can fly over an empty space - text box told me what's there and I can click and go to the page).
    Come up with something like error messages "missing line item {);}» This page may not display correctly (I think that it does not load jscript}.
    I have cleared the cache in Internet Explorer, updated java and directx, checked all the right boxes are clicked in the Java console, downgraded my hardware acceleration.

    I turned off Zone Alarm and turned off the Windows Firewall and downgraded the security settings in Internet Explorer.
    Any idea what's going on?

    Could it have had something to do with my install and uninstall Virtual Box v.3. I also find that the restoration of the system will not complete.

    Hi insitu.
    Do you use an antivirus software as for example norton?
    If you set the rules that does not take account of some scripts and/or content on a Web site this rules allways block them.
    even when the browser is a door open anyway.

    ZoneAlarm is a powerful tool, once the content is blocked you must change your settings IN this software,.
    the disabling is not the road to success - some modules residents do their work, even when the main window of the software is disabled.

    uninstall of could lead you to success.
    Try another browser firefox loke.

    Maybe there's a Blocker script installed in Internet Explorer?

  • FDMEE SCRIPT - replacement FDM VB functions with the methods in the API FDMEE

    Hi all


    I'm trying to convert FDM Scripts scripts that would support FDMEE (using Jython as language) and the FDMEE API. However, when I tried it making I came across a few functions in scripts FDM for which I couldn't find replacement functions in FDMEE API.


    How a supposed to change functions VB in FDM as farsTableAppend while it is supported in the FDMEE scripts?

    I generated documentation of the API of the FIA FDMEE - APIs.jar (this jar is supposed to have all the API of FDMEE in there I guess) but I don't see alternative for functions such as farsTableAppend, fExpTRx, PstrClientType, VB, but I can see other methods in the documentation for example, getEPMOracleHome() etc... (All these functions that you can view by using eclipse as editor-in-Chief of Dev FDMEE).


    Is there another method/function in the FDMEE API should I use to replace these functions to support FDMEE?


    I have another question about the AIF file - CUSTOM.jar, what is the purpose of this pot, do we get additional methods in this file


    Please advise...


    Thanks in advance

    Sam

    Hello

    1 API map is not 1 to 1. My suggestion is to define what you want to do and then design your solution in jython (using the api or not). So what you're trying to do exactly?

    For example, you need not PstrClientType more (there is no windows client)

    2 AIF - CUSTOM.jar allows you to enter your custom java classes. then you can use it from your jython scripts.

    Regarrds

  • Script of FDM workbench report

    Hello

    FDM report, I would like the part detail is visible only if the value in field 26 is 5320.

    I put the following piece of code in the script editor in the detail section.

    Void OnFormat

    If (rpt.sections("Detail").controls ("Field26") .dataValue is 5320)

    {

    RPT.sections ("retail"). Visible = True

    }

    End Sub

    The report runs, but the excel file is completely empty, even if there are those records where the field 26 = 5320.

    Did I miss something in the script above?

    Hello

    two points:

    -your syntax is not valid VB síntax. For example you use {}

    -East area 26 in you the detail Section.

    Here you have an example script in the detail Section.

    I hope that helps

    Void OnFormat

    srcAccount = RPT. Sections ("retail"). Controls ("Field8"). Text

    If srcAccount = "611001" Then

    RPT. Sections ("retail"). Visible = False

    On the other

    RPT. Sections ("retail"). Visible = True

    End If

    End Sub

  • Failed to load the script fails with class "HostSriovInfo" error

    Hi all

    We have just improved of RHEL5 to RHEL6 and tried to load the SDK v6.  * SOME * our standard perl scripts that collect data of the inventory of the vCenter servers assorted fail with the following error:

    Unable to load the 'HostSriovInfo' class on line 52 of usr/local/share/perl5/VMware/VIMRuntime.pm.

    However, we are able to run a connect.pl of vCenters successfully all with the same credentials.  Here from the ideas that could help us solve?

    Thank you

    -Mike Gray

    Unfortunately, the modules are not versioned, each version uses the same name "VIM25Stub.pm" in this case.  The likely problem here is an older (from VIM25Stub.pm<5.5, since="" 5.5="" introduced="" that="" object="">

    Can check to see how many files VIM25Stub.pm is on the system, and if they are the same (simple md5sum would work).

    My 6.0 vsphere SDK VIPerl install system:

    $ sudo find /-name VIM25Stub.pm - type f-exec (md5). 2 >/dev/null

    MD5 (/ System/Library/Perl/5.18/VMware/VIM25Stub.pm) = 6740555623a9613b4f9a50b29b457eaf

    You can just check if the name of the package is in the file (make sure you get one that Perl is picking up it is @INC).

    $ egrep - r "HostSriovInfo". / *

    ./VIM25Stub.pm:package HostSriovInfo;

    ./VIM25Stub.pm:VIMRuntime::make_get_set ('HostSriovInfo', 'sriovEnabled', 'sriovCapable', 'sriovActive', 'numVirtualFunctionRequested', 'numVirtualFunction', 'maxVirtualFunctionSupported');

  • load a script from a script dockable

    I am trying to build a script that will allow you to type the name of a script instead of through the window menu or script. Is it possible to load an attachable script via a script? Ideally, this would have the same effect if you had loaded the life script menu windows ie. an attachable script would be dockable.

    I don't think that this is possible. When a script is launched from the tab of the window, the 'Thi' object is object of specific panel that cannot be instantiated by any other means.

    A script can only, use this Panel if located in the correct folder object, or create new windows ("palette", "dialogue", etc.).

  • Script integration FDM for several locations

    Hello
    I have a slight problem with the FDM integration (integration of SQL) script.
    From what I understood and tested with one FDM-application (tablespace) I'm not able to have several scripts for integration. This because the integration script must be named SQLIntegration.uss, otherwise it will be a mistake.

    I have several locations within a FDM-application where I would use a script for integration. Because of the above mentioned name "bug", I need to include information integration all my pitches in a script. As I imagined that is not only easy to read or easy to maintain solution.

    Is there a work around for the name - bug?
    -Can I call a function within the main function? I tried without success, but perhaps you'd have a solution.


    Any input would be beneficial

    I don't know exactly how you want to go about it. But to meet the function within a matter of function, yes you can make that call. I can be simplistic, but you could do something like this:

    Function SQLIntegration(strLoc, lngCatKey, dblPerKey, strWorkTableName)
         DisplayText("Please close this window")
    End Function
    
    Function DisplayText (strText)
         DisplayText = MsgBox(strText)
    End Function
    

    All of the above code would be contained in SQLIntegration.uss

  • data and loading the script sale scheme

    Hello
    I'm learning OBIEE on mine. I managed to install oracle XE and OBIEE 10 g. I need a script to create a new db schema and load the dirty tables with sample data to create reports. can someone help me with scripts?

    Yes, I confirmed that only one Enterprise for Oracle Db edition has the SH schema enabled during installation... you can't have the SH schema without this feature which is ONLY on the Enterprise Edition.

    Here is the article: http://www.dba-oracle.com/t_callan_schema_bye_scott.htm

    Please install the full Enterprise edition and select the SEED DB on install. You will have the sh schema

    If it was OK, please mark as correct.

Maybe you are looking for