How to use strCurrency while writing scripts in FDM workbench

Gurus,
I have a flat file which has rows for Currency, Period and year
What I am trying to do is read the currency, period and year specified in the file and compare it with currency, period and year as selected in POV.
If all the three match, the file will be imported else it should fail.
I am able to compare period and year from file with POV however I am not sure how can I read currency attached with the location.
Can we use it using strCurrency?? If yes, can some one suggest how??
Thanks for the help in advance.

Hi,
you can use strCurrency to get the Currency.
Here you have an example:
Sub Test_Currency()
'Oracle Hyperion FDM CUSTOM Script:
'Created By: hypadmin
'Date Created: 2014-02-04 04:48:55
'Purpose:
'Declare local variables
Dim strCurrency
'Get the current location's profile
With API.POVMgr.fCheckLocProf(API.POVMgr.PPOVLocation)
    strCurrency = .strCurrency
End With
MsgBox strCurrency
End Sub

Similar Messages

  • How to use SQL() function while writing scripts in BODS 4.0

    How to use SQL() function while writing scripts in BODS 4.0

    Hello,
    I think you want to post your question to the [Data Integration and Data Quality Management|Data Services and Data Quality; forum. This forum is for other BusinessObjects SDK development questions.
    Sincerely,
    Dan Kelleher

  • How to use views in sql script report?

    All all
    Can any one tell how to use views in sql script report?

    Most of the views are based on tables (or other views which are based on tables).
    The view typically shows one org at a time based on the context that is set.
    If you need records for all orgs, you need to use the underlying tables. Oracle typically names the tables with a _all suffix.
    e.g. PO_HEADERS will show records for one org at a time. PO_HEADERS_ALL will show records for all orgs.
    Hope this answers your question,
    Sandeep Gandhi

  • How to use dreamweaver to check scripts.

    I am both new to scripting and in using dreamweaver, I n
    eed to be able to copy an asp code and paste in dreamweaver and c
    ontinue with it, can anyone please help me on how to do this? , I a
    m testing dream weaver cs4

    I don't understand your subject line, "How to use dreamweaver to check scripts".  Can you explain what you mean by this?
    >I need to be able to copy an asp code and paste in dreamweaver and
    >continue with it, can anyone please help me on how to do this?
    You just copy the code from one page and paste into another. If you are having problems, you need to be more specific about what is not working.

  • How to use Array in Calc script.

    Hi, <BR> I want to use Array in Calc scripts. Can anyone provide me some examples. <BR><BR>Thanks<BR>Murali

    For information on the ARRAY command, check out <a target=_blank class=ftalternatingbarlinklarge href="http://dev.hyperion.com/techdocs/essbase/essbase_712/Docs/techref/techref.htm">this hyperlink</a>.<BR><BR>Click on <b>Calculation Commands</b>, then choose <b>ARRAY</b>.<BR><BR>Can you give me some information explaining why you want to use ARRAY? It's use is pretty rare and I would like to understand what you're trying to do.

  • How to use handoff while tethering?

    Is there a way to use handoff while tethering over the connected IPhone?

    Hi Lescar,
    To use Handoff, follow the steps in this article -
    Connect your iPhone, iPad, iPod touch, and Mac using Continuity - Apple Support
    Note that Personal Hotspot is included as part of Continuity.
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Data access error while running  the script in fdm workbench script editor

    Hello Experts,
    I have been getting the error when i run the script in script editor of fdqm workbench client.this is the error
                              -2147467259 Data access error and it is navigating the error at line 30 about this script "Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)"
    Please revert me asap where i should load the data from peoplesoft to one of my planning database through fdm.
    Thanks in advance...

    Hi,
    Thanks for your suggestion's here i am going to run the datapump script so while i am running in workbench it is throwing data access error.So as you guy's suggested i created one import format and added this script to that import format which is added to one of my location even it is throwing the same error.I am getting the error at this sentence   "strWorkTableName" I want to know what is this where it reflect's?So my question is Is there any difference while running data pump or integration script.Please let me know a detailed navigation steps to run this script's with out data access error to run these kind of scripts.
    Note:Again my target is to load the data to planning database through fdqm which i am doing through sql statement's.
    Suggest your valuable suggestion's
    Thanks in advance...
    I am getting the error at this sentence   "strWorkTableName" I want to know what is this where it reflect's?

  • How can I load data with Scripts on *FDM* to a HFM target System????

    Hi all!
    I need help because I can´t find a good guide about scripting on FDM. The problem I have is the next one.
    I have on mind to load my data with data load file in FDM to a HFM target system, but I would like to load an additional data using an event script, ie after validate. I would need any way to access to HFM system though FDM Scripts, is it possible??
    If so, It would be wonderful to get a data from HFM with any Point of View, reachable from FDM Scripts in order to load or getting any data.
    I´ve looking for a good guide about scripting in FDM but I couldn´t find any information about accessing data on HFM target system, does it really exist?
    Thanks for help

    Hi,
    Take a look at the LOAD Action scripts of your adapter. This might give you an idea.
    Theoretically it should be possible to load data in an additional load, but you need to be very careful. You don't want to corrupt any of the log and status information that is being stored during the load process. The audit trail is an important feature in many implementations. In this context it might not be a good idea to improve automation and risk compliance of your system.
    Regards,
    Matt

  • Problem while executing script in Toad - How to use '&' in the sql script ?

    I have to execute sql script in toad. Sql script has one insert query in which one insert-value is 'USA & CAN'. When I executed the script in toad by pressing F5, I got a prompt window asking for the value if 'CAN' as it is after the &.
    I tried using[b] {escape '\' } .... but could not resolve the problem.
    Is there any solution or workaround to overcome this problem. I have thousands of records with such values and I have to use sql script only.

    There is an option in TOAD to change this behaviour.
    Look in VIEW/OPTIONS/SQL Editor/
    Uncheck the box for "Scan statements for bound variables before execution".
    In SQL*PLUS it would be SET SCAN OFF
    (desupported version is SET DEFINE OFF)
    Message was edited by:
    Sven Weller

  • How to use variable in rule script in HFM

    I'm now writing VB script for HFM rule, and have something to ask about the use of variables in rule.
    The script below generates the following error.
    -Error description-
    Line: 4, Error: Invalid Expression
    HS.Exp "S#Actual.A#77300.I#[ICP None] = cur"
    An error has occurred in Hyperion Financial Management.
    -Rule script-
    Sub Allocate()
    Dim cur
    cur = 500
    HS.Exp "S#Actual.A#77300.I#[ICP None] = cur"
    End Sub
    On the other hand, the script below works properly.
    -Rule script-
    Sub Allocate()
    HS.Exp "S#Actual.A#77300.I#[ICP None] = 500"
    End Sub
    Probably I'm not using variables in proper way, but have no idea how to correct it.
    Does anyone have any idea?
    Thanks in advance.

    Hello,
    try this in the sub calculate:
    HS.Exp "S#Actual.A#77300.I#[ICP None]=" & cur
    For the sub allocate, I suppose that you do not have the issue because the allocate is not launch during the consolidation process. Allocate is launched separatly by a right click, and can only be done when calculation status = "OK", which means that all calculation have been done (that could not be the case if you have an error like this in sub calculate).
    Hope it helps

  • How to use threads in this script???

    Hi, I�m new to java, and I my first script is a reciprocal link checker but I have a problem with the speed. I have the next class for check a html page to search for a string (the reciprocal link). The problem is that when I pass the script more than 50 pages to check, the proccess ibs very slow. I thought that the problem is stablishing the connections, because it makes only one at a time.
    I think, that with threads the I can accelerate the proccess, but I don�t know how to implement here. If you can give some advise, very thanks in advance. Here is the class:
    import java.net.URL;
    import java.net.URLConnection;
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    class checkHtml {
    boolean comprobarReciproco(String thisUrl, String reciproco) {
    String toReturn = null;
    boolean res = false;
    try {
    URL url = new URL(thisUrl);
    URLConnection thisConn = url.openConnection();
    BufferedReader receiver = new BufferedReader(new InputStreamReader(thisConn.getInputStream()));
    String line = new String();
    // Leemos del buffer de entrada l�nea a l�nea
    while((line = receiver.readLine()) != null) {
    if (line.indexOf(reciproco) != -1 ){
    res = true;
    break;
    } catch(Exception e) {
    System.out.println("Error:" + e);
    return res;
    public static void main(String[] args){
    checkHtml x = new checkHtml();
    System.out.println(x.comprobarReciproco("http://www.somewebpage.com/blahblah.htm","reciprocal"));

    I make the call to this proccess in the main class, with this method:
    public String [][] comprobarRecip(String arr[][], String recip){
    checkHtml check = new checkHtml();
    int j=0;
    String enlacesfinal[][] = new String[tamanyoLinks(arr)][2];
    for (int i=0; i < tamanyoLinks(arr); i++){
    // Si no est� el reciproco nos guardamos el enlace en enlacesvalidos
    if (check.comprobarReciproco(arr[0],recip) == false){
    enlacesfinal[j][0] = arr[i][0];
    enlacesfinal[j][1] = arr[i][1];
    j++;
    return enlacesfinal;
    Is in this method, where I must use the threads? Thanks a lot!

  • How to use parallelism in RMAN script having multiple lines

    Gurus,
    Need your advice on using parallelism in 'BACKUP AS COPY DATAFILE' script having multiple lines.
    I have a script like below:
    CONFIGURE DEVICE TYPE DISK PARALLELISM 10;
    backup as copy datafile '/data1/oradata/PROD/data01.dbf' format '+DATA';
    backup as copy datafile '/data2/oradata/PROD/data02.dbf' format '+DATA';
    backup as copy datafile '/data3/oradata/PROD/data03.dbf' format '+DATA';
    backup as copy datafile '/data4/oradata/PROD/data04.dbf' format '+DATA'; and so on ......
    If I run this script, it runs sequentially. How can I parallely copy the required data files ?
    I have to selectively copy few files in ASM.
    I want to use a single script.
    Please advise.
    Best regards,
    Santosh
    Edited by: 966454 on Oct 18, 2012 11:59 PM
    Edited by: 966454 on Oct 18, 2012 11:59 PM

    Unfortunately, this will not help my case. It may not always be '+DATA'
    I want to know if there is any way to parallelise the multiple statements.
    Script may have :
    CONFIGURE DEVICE TYPE DISK PARALLELISM 10;
    backup as copy datafile '/data1/oradata/PROD/data01.dbf' format '+DATA1';
    backup as copy datafile '/data2/oradata/PROD/data02.dbf' format '+DATA2';
    backup as copy datafile '/data3/oradata/PROD/data03.dbf' format '+DATA3';
    backup as copy datafile '/data4/oradata/PROD/data04.dbf' format '+DATA4'; ........
    or
    backup as copy datafile 1 as '/data1/oradata/PROD/data01.dbf' ;
    backup as copy datafile 2 as '/data2/oradata/PROD/data02.dbf' ;
    backup as copy datafile 3 as '/data3/oradata/PROD/data03.dbf' ; ........
    Regards,
    Santosh
    Edited by: 966454 on Oct 19, 2012 12:33 AM

  • How to use 3d simple scene scripts (render, lights, background color)

    Hi all, this might be a stupid question to ask but
    can someone help me with this:
    I have 3 simply buttons in 3d pdf file (no external js-file)
    one for rendering the scene which works fine...
    context3D = getAnnots3D(0)[0].context3D;
    context3D.setRenderMode("vertices");
    but how to set the light mode and background color mode with a script
    as easy as the rendering script?
    many thanks in advance!!!
    Darian

    scene.lightScheme = scene.LIGHT_MODE_DAY; //or any of (NONE, WHITE, BRIGHT, RGB, FILE, ...)
    They are all listed in the 3D javascript reference PDF.
    Changing the Background is a bit more work. You have to access the backgrond object through a canvas object. You have to handle one of the Key, Menu, Render, Camera, ... events to get ahold of the Canvas object.
    Example (Embedded JS)
    //=================
    ceh = new CameraEventHandler();
    ceh.onEvent = function(event)
    if (event.isNewCanvas)
    //This does a two color gradient, you can also use .setImage()
    event.canvas.background.setColor( new Color( 1, 1, 0.8 ), new Color( 0.17, 0, 0.30 ) );
    //this is not neccessary, but it will speed things up a tad.
    runtime.removeEventHanlder(ceh);
    runtime.addEventHandler(ceh);
    //================

  • How to use single ant build script to package the application with and without native extensions

    Hi,
    I am using iOS native extensions for Adobe air. For this I am listing the extensions in the application descriptor file. Since the package with native extensions are meant to run only on device, I want my build script to work without native extensions too to be able to run on simulator. Is this manadatory that I need two separate application descriptors/basically two build scripts to compile and package them? Please suggest and let me know if more explanation is needed.
    Thanks,
    Swathi.

    Hi
    This is a known issue addressed by CR205204
    As you said, IBM actually does not have rt.jar in its JDK - they have moved contents of rt.jar into various jars.
    IBM is not using org/apache/crimson/tree/ in their JDK at all.So the error shows up in the end of build even if it succeeds
    You may need to add crimson.jar to wlwBuild classpath, since it is not part of IBMs JDK.
    Note: the build will work even w/o crimson.jar giving a non build related IDE exception in the very end.
    Thanks
    Vimala

  • How to use HTML and Java Script files in Portal

    Hi,
    I am trying to access a web application using iViews. My application contains JSP,HTML,Servlets,JS(java script), image files. I am using JSPDynPro to access the JSP files and I am putting servlets in the private/lib folder of the PORTAL-INF dir of Portal project. Now my problem is almost all the JSP files uses the HTML files, JS files and image files. Where can put these files in the portal project dir structure to give access to the JSP files when i am creating a iView for the JSPDynPro componenets in the irj.
    thanks,
    Ashok

    Hi,
    JSPDynpage is the controller, one JSPDynpage can call more than one jsp file according to the coding. Through the JSPDynpage's setJspName() function only you can display a jsp page.
    EX:
    public void doProcessBeforeOutput() throws PageException {
      this.setJspName("logon.jsp");
    if you put the JSPDynpage in the src.core then the JSPDynpage can be accessed only by this application.
    if you put the JSPDynpage in the src.api then other applications can access this component.
    You can put the jsp pages in the pagelet folder.
    xml file
    =========
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="SharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
      <components>
        <component name="jspdynpage name">
          <component-config>
            <property name="ClassName" value="package name.jspdynpagename"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
      </components>
      <services/>
    </application>
    REWARD USEFUL ANSWERS

Maybe you are looking for

  • BW variable: Inconsistent in loading. please check use of deleted objects

    Hi Experts, I encountered an error and can not solve it following OSS note. When I create a variable in query definition for an infoobject, it prompts an error dialog 'Inconsistent in loading. please check use of deleted objects'. I checked the OSS n

  • Where can I obtain a genuine Mac OS X 10.5.8 Installation Disc?

    Hi everyone, I bought a 2nd hand Apple MacBook about 18 months ago (via eBay).  It is my first Mac.  It did not come with its original OS X 10.5.8 Installation Disc/s and I now have one or more problems with my Hard Drive, so I need the Installation

  • Query variable values in bookmarks (portal favourites)

    Hi, Basic problem: When 2 different users save their modified query views they behave differently. In other case the favourite opens straight to the report without displaying the variable screen and in the other case the variable screen is shown with

  • Resolution of MacBook iSight Camera?

    Was wondering if anyone has found out what the resolution is of the new MacBook iSight. I know that the Air has one that is inferior to the other ones, but can't find any info. on the one in the new MacBook.

  • Connection to oracle

    How to Connect the Sun Studio Enterprise 8 to oracle 10g? I tried many times to connect to oracle 10g with JDBC/ ODBC and the Oracle but dise not success any more.