Using HS.Exp function to write data to a Consolidated Account

Hi,
Just wanted to know whether i can use the HS.Exp function to write data to a consolidated account?
Thanks

Hi Mau,
In order to write data to a consolidated account, you can use HS.Exp function in rules which puts data into a combination of Account, ICP, and Custom1...4 members. The syntax is: HS.Exp "DestPOV = Expression"
You might find useful the HS.Con function which puts data into the [Proportion] and [Elimination] Value dimension members and can also be used in Consolidation rules. The syntax is: Call HS.Con ("V#[Elimination]",-1*dPCon,"")
Regards,
Thanasis

Similar Messages

  • Using auto-indexing tunnels to write data files?

    Hi,
    I am using ni-motion controller to control a servo motor and collect position and torque data. I want to write the collected data to TDMS files.
    Recently I learned about the producer/consumer design pattern and I figured that would be a good approach to ensure that writing the files didn't slow down my data collection timed loop.
    However, I also figured out that my program seems to run well if I wire the data I collect to auto-indexing tunnels. Then I use a structure that only executes after all the data collection is done to write the arrays I built to TDMS files.
    Is there any reason that the latter method would be advised against? Can the auto idexing tunnels slow down my loop enough for it cause concern? I am only collecting about 5000 data points for each channel.
    Cheers,
    Kenny
    Solved!
    Go to Solution.

    Well, autoindexing tunnels don't write data files, they just accumulate data until the loop completes. If this is a FOR loop with a known number of iterations, the size of the output data can be allocated in one swoop, which is very efficient. If you are autoindexing on a WHILE loop, the final array size is not known, so LabVIEW needs to make a guess and and requires occasional new memory allocations whenever the last guess is exceeded. This is inefficient.
    One problem with these approaches is if the program or computer crashes. In this case the data in the shift register is lost forever, while if you would stream it to disk, you would have most of the data acquired so far.
    If you use a proper producer/consumer architecture, you should be able to asynchronously write the data and it will not slow down your acquisition. No need ot wait for the competion of data gathering.
    LabVIEW Champion . Do more with less code and in less time .

  • How we use group by function while inserting data through datablock

    Hi All
    i have datablock in tabulor form
    i want when i insert data (commit) then data will insert in group by
    example
    my table is like that
    desc table
    dress_name     color             qty
    and i am inserting data into it like this
    dress_name    color     qty
    nice_dress      BLK       1
    nice_dress      BLK       1
    nice_dress      BLK       1
    vik_dress        GRY      1
    vik_dress        GRY      1
    vik_dress        GRY      1
    i want when i retrive the data it will like this
    dress_name    color     qty
    nice_dress      BLK       3
    vik_dress        GRY      3Thanks and Regards
    Vikas Singhal
    Edited by: vikas singhal on Feb 14, 2011 4:05 PM

    Hi vikas singhal
    before insert i need to group it is possible or notPls note : Whenever you do a "group by" or "order by" operation, Oracle will invoke a sorting operation. Using the "group by" inside SQL syntax is also useful for doing summaries
    i want when i retrive the data it will like this Pls try the following...
    SQL> select
      2    dress_name,
      3    color ,
      4    qty,
      5    count(quantity) Num , sum(quantity)summation  -- may be the same
      6   from
      8    ur_table_name
      9  group by dress_name   ,  color  ,   qty ;u can also try Francois's Suggestion by creating a view based on the last Query...
    want when i insert data (commit) then data will insert in group by
    make the view to be insert from it as follow...
    http://www.java2s.com/Tutorial/Oracle/0160__View/PerforminganINSERTUsingaView.htm
    Hope this helps...
    Regards,
    Abdetu...

  • What's the FUNCTION to write datas an Infocube?

    Hello guys,
    I would like to upload datas in an Infocube directly by ABAP PROGRAM.
    Do you know what is the Function to upload the datas in an Infocube?
    Thanks,
    Carlos Eduardo

    Hi,
    Try to execute the below program. You will get options to enter the data directly to cube.
    CUBE_SAMPLE_CREATE
    Vivek

  • Including a date in a photo caption and being able to use the search function for the date

    I have included both a text and a date as part of the photo caption on each of my photos.   When I have attempted to search for a specific date or year, however, nothing comes up.   For example, if I search for my photo on "Fido 1985", I can find Fido, but if I simply enter "1985", I get nothing.

    Use Find >> By Caption Name or Note menu option for such a search.
    Thanks
    Andaleeb

  • How to use CVI or VC function to exchange data between 78xxR and CVI or MFC exe

    with the Labview FPGA module,I write down th FPGA program on the 78xxR,and then use Labview to program for the data exchange between the host PC and the FPGA board. the question is that I have many programs written in CVI or MFC, I think if some c function can access the FIFO of the 78xxRunder under CVI or VC,for example, some functions available to copy data to or from the FIFO, then the old program can easily be change to use 78xxR board. can someone tell me?
    now I use "Call Library Function Node" to load a dll that open shared memory created in CVI or MFC exe, use "Call Library Function Node"to read data from the shared memory and then use LV function to write data to FPGA; use LV "read/write control" node to Read data from the FPGA and then use "Call Library Function Node" to write data to shared memory. and a CVI or MFC exe read or write data to or from the shared memory, it works but isn't a good method, can some one has better method?

    Hi, david2K:
         As there is no FPGA module supported for CVI or MFC, using "Call library Function node" is the only way to solve your problem until now.
        You have many programs written in CVI or MFC, so you can build the LabVIEW program as dll, and call it in CVI.
        Hope it helpful!
    Jing Zhang
    Application engineer.
    [email protected]

  • Need info on using external tables load/write data

    Hi All,
    We are planning to load conversion/interface data using external tables feature available in the Oracle database.
    Also for outbound interfaces, we are planning to use the same feature to write data in the file system.
    If you have done similar exercise in any of your projects, please share sample code units. Also, let me know if there
    are any cons/limitations in this approach.
    Thanks,
    Balaji

    Please see old threads for similar discussion -- http://forums.oracle.com/forums/search.jspa?threadID=&q=external+AND+tables&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • TDMS Advanced Asynchrono​us Write (Data Ref)

    Hello,
    Im using the TDMS Advanced Asynchronous Write (Data Ref).vi to write Data directly from some DMA FIFO´s to TDMS file. I save the Files on a NI 8260 1TB HDD Array.
    Now the question. I´m interested on how this Advanced Asynchronous Write (Data Ref) works. What is done with the external Data Ref from the DMA FIFO and how does LabVIEW work with the data?
    I searched the NI Forums and NI page but found no information on how this works.
    Maybe someone can help me,
    Daniel@amc

    Hi,
    Indeed, there is little information besides the help file online:
    "Writes data to the specified tdms file asynchronously. This function can initiate multiple asynchronous writes that take place in the background."
    Is there something in specific you want to know? Or is the function not behaving as expected (performance issues etc.)
    Regards,
    René

  • Memory Leak, Deallocati​ng memory after using imaqImageT​oArray() function

    I have created a program (LW/CVI- Imaq Vision), which uses a timer callback to acquire an image, convert the image to an array using the imaqImageToArray() function, manipulates the data in the array, converts the data to an image, displays the image, and disposes of the image(imaqDispose()), and apparently the imaqImageToArray() function clears the allocation pointer, however does not deallocate the memory, such that the next time the function is called again, imaq allocates new memory, thus eventually the application slows down and freezes due to lack of memory. Does anyone have any suggestions?

    Hello,
    You need to call the imaqDispose() for the assigned pointer to actually clear the allocated memory.
    iPointer = imaqImageToArray(imgInputImage,IMAQ_NO_RECT, &iCols, &iRows);
    imaqDispose (iPointer);
    Let me know if you have further questions regarding this.
    Best regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • How to write data in the Infocube using BI IP input ready functionality

    Hi All,
    Please help me in the following scenario...
    Input given to me is-- ZCUBSDID cube with associated role ZSP_BW_SAI_BUDGETS-DID_ALL.
    Query is ZR_V7_CO_PA_CH_PB_DID_BUDGET_2 based on agregation level ZALBSDID (& ZALBVDID) in infoarea ZDACOPA.
    I have to write data in the cube by using Input-Ready functionality of BI IP. Can you please provide me step by step procedure for writing the data in the cube as i am very new in IP side.
    Also if any further input required just let me know.
    My Analysis-> I checked that cube is in Planning mode and in Query Designer>Property Pane-->Planning Pane, Query is in Change mode and also associated Keyfigures are in Input-Ready enabled.
    Also i am able to access query in Analyzer.
    This is very critical for me and need to provide solution asap. Please update asap. It really be great help.
    Thanks & Regards
    Rupali Singh

    Hi,
      To enter data in to planning cube through manual planning, you can do the following,
    1. In a query that is used for manual planning, a cell is only input ready if each characteristic value of all the characteristics included in the aggregation level is unique. None of the aggregated values on the aggregation level are therefore input ready: Totals, subtotals and inner hierarchy nodes are not input ready.
    2. To be able to change values for calculated key figures (like Average Price as a quotient of Amount and Quantity), these must be based on input-ready formulas, and at least one operand must be input ready. More information: Defining Inverse Formulas (Designtime) and Inverse Formulas (Runtime).
    3. In order to change aggregated values (with respect to the aggregation level), these values must be disaggregated on all the data records that contribute to the aggregated value of the cell. More information: Disaggregation (Top-Down-Distribution).
    4. If a query used for manual planning includes a navigation attribute that is restricted using a fixed or dynamic filter or a restricted key figure, the system treats the navigation attribute as a normal characteristic. The rule under point 1 applies here. The system only reacts as though the navigation attribute were not part of the query if the navigation attribute is not restricted.
    5. In a query defined on a MultiProvider or a complex aggregation level that you want to use manual planning for, a cell is not input ready if the InfoProvider that is defined by this cell is:
                                a.      Not a real-time InfoCube
                                b.      A real-time InfoCube that has been switched to load mode
    6. If an input-ready query is executed in change mode, but the requested data is locked by another user, the query starts in display mode.
    For more details, you can refer to the following link,
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/0c033316cd2bc4e10000000a114cbd/frameset.htm
    Hope this helps you to solve your issue.
    Regards,
    Balajee

  • Data Acquisition - using local variables to write data to a file

    Hello,
    I am running a Data Acquisition vi (currently in LabVIEW 7.1 but soon to be updated to 8.2) that collects ~100 parameters of data from several sources contained in a while loop. The current configuration (which I did not write) uses very few subVIs and writes to ~100 local variables to store each parameter. It then reads all the local variables and builds an array of all the strings, converts then to a spreadsheet string, then uses the write characters to file function to append to a datafile. I am trying to clean things up and have came up with subVIs to collect the data from the following sources:
    8 serial port sources collecting btwn 8 and 20 parameters each
    ~15 thermocouple readings
    ~10 analog inputs
    ~20 parameters read off an ARINC 429 bus.
    I have come up with a subVI to read each of the sources and have placed the subVIs in the while loop. Each subVI outputs the data that it collects in array or cluster form. I was wondering how best to write each parameter to a CSV file at between 1 and 10 Hz. Should I write each subVI output to a LV and then read them off as was done before (the difference being that I have reduced the # of LVs to ~10 vs >100?
    I should add that precise timing is not that important, so if all the subVIs are not collecting simultaneously (which I understand that they won't be), it does not really matter.
    Thanks.

    Hi jilla,
    jilla wrote:
    What I think that you are saying is to turn the outputs of the 4 subVIs into inputs of a 5th subVI that writes to the data file. Correct?
    Yes.  It may sound like a fine-point, but I beileve it's better to create a VI specifically for formatting data - in your example, 4 arrays IN, a single string OUT.  Then write the string to file as a seperate operation.  GUI-displayed data can go through a similar transformation, the four arrays wired to a subVI which builds output-structures specifically for display.  It's a beginner's mistake to put lots of individual controls and indicators on the screen when groups of them are naturally related (in an object-oriented sense.)  Use clusters to group related controls - this will keep the diagram much cleaner.
    One more question: at what point (either # of data points or frequency of data collection) does it become necessary to use queues? Thanks.
    Well, there's not really a clearly definable "point".  I'd say if your update-rate climbs above 100Hz, or you witness poor program or system performance, then it's time.  The scenario you've described is a fairly simple acquire/display&log loop - and simple is good.   Then-again people can't see/react-to updates faster than about 10Hz - so it doesn't make sense to sacrifice performance - if performance becomes an issue.
    Re: queues:  Queues are sometimes used to buffer data that's "produced" in one place and "consumed" in another.
    Here, if/when logging data, you're logging with every DAQ.  I wouldn't recommend using a queue to transport data from a "DAQ loop" to a "Logging-loop" - those functions can be in the same loop.  Should/could a queue be used to get data from a "DAQ loop" to update the GUI at a lower frequency?  Sure, but a Notifier might be a better choice.   Further, in the (simple?) program you've described, you might use a case structure (True/False) to only update FP indicators every "X" iterations - a simple solution that doesn't require Queues or Notifiers.
    Cheers!
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)

  • Trying to write data to a text file using java.io.File

    I am trying to create a text file and write data to it by using java.io.File and . I am using JDeveloper 10.1.3.2.0. When I try run the program I get a java.lang.NullPointerException error. Here is the snippet of code that I believe is calling the class that's causing the problem:
    String fpath = "/test.html";
    FileOutputStream out = new FileOutputStream(fpath);
    PrintStream pout = new PrintStream(out);
    Do I need to add additional locations for source files or am I doing something wrong? Any suggestions would be appreciated.
    Thank you.

    Hi dhartle,
    May be that can help:
    * Class assuming handling logs and connections to the Oracle database
    * @author Fabre tristan
    * @version 1.0 03/12/07
    public class Log {
        private String fileName;
         * Constructor for the log
        public Log(String name) {
            fileName = name;
         * Write a new line into a log from the line passed as parameter and the system date
         * @param   line    The line to write into the log
        public void lineWriter(String line) {
            try {
                FileWriter f = new FileWriter(fileName, true);
                BufferedWriter bf = new BufferedWriter(f);
                Calendar c = Calendar.getInstance();
                Date now = c.getTime();
                String dateLog =
                    DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM,
                                                   Locale.FRANCE).format(now);
                bf.write("[" + dateLog + "] :" + line);
                bf.newLine();
                bf.close();
            } catch (IOException e) {
                System.out.println(e.getMessage());
         * Write a new line into a log from the line passed as parameter,
         * an header and the system date
         * @param   header  The header to write into the log
         * @param   info    The line to write into the log
        public void lineWriter(String header, String info) {
            lineWriter(header + " > " + info);
         * Write a new long number as line into a log from the line 
         * passed as parameter, an header and the system date
         * @param   header  The header to write into the log
         * @param   info    The line to write into the log
        public void lineWriter(String header, Long info) {
            lineWriter(header + " > " + info);
         * Enable to create folders needed to correspond with the path proposed
         * @param   location    The path into which writing the log
         * @param   name        The name for the new log
         * @return  Log         Return a new log corresponding to the proposed location
        public static Log myLogCreation(String location, String name) {
            boolean exists = (new File(location)).exists();
            if (!exists) {
                (new File(location)).mkdirs();
            Log myLog = new Log(location + name);
            return myLog;
         * Enable to create the connection to the DB
         * @return  Connection  Return a new connection to the Oracle database
        public static Connection oracleConnectionCreation() throws Exception {
            // Register the Oracle JDBC driver
            DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
            //connecting to the DB
            Connection conn =
                DriverManager.getConnection("jdbc:oracle:thin:@myComputerIP:1521:myDB","user", "password");
            return conn;
         * This main is used for testing purposes
        public static void main(String[] args) {
            Log myLog =
                Log.myLogCreation("c:/Migration Logs/", "Test_LinksToMethod.log");
            String directory = "E:\\Blob\\Enalapril_LC-MS%MS_MS%MS_Solid Phase Extraction_Plasma_Enalaprilat_ERROR_BLOB_test";
            myLog.lineWriter(directory);
            System.out.println(directory);
    [pre]
    This class contained some other functions i've deleted, but i think it still works.
    That enables to create a log (.txt file) that you can fill line by line.
    Each line start by the current system date. This class was used in swing application, but could work in a web app.
    Regards,
    Tif                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to do data source ehancement by using "Extraction by function module"

    I have one customized datasource "ZSOURCE" in R/3, this datasource use Extraction by function module, namely one functiona
    module "ZBI_FM_EX"and Extract. struct "ZBI_EX".
    Now I want to add one field "ZNEW" from standard SAP table LIKP into extractor "ZBI_EX" and write coding in ZXRSAU01.
    Question, could I add new field "ZNEW" into Structure:"ZBI_EX"? Do I need to change anything in functional module "ZBI_FM_EX" itself?
    Many Thanks!
    rajatina.

    Hi Dear,
                  It is good to write the code in your function module i.e. ZBI_FM_EX. becuase writing the code in ZXRSAU01 include program will affect the loading performance. instead of looping the data two time (one in your FM and again in ZXRSAU01 ), you can get the same will only loop.
    Thanks
    Obaid
    Edited by: obaid shaikh on Jan 21, 2011 11:53 AM

  • Using Swing applet to write data to file on SERVER

    Hello,
    I'm in the process of writing an applet using Swing (SDK v1.4.2). Here's the deal. The JApplet calls a JPanel, which will be used by customers on my site to enter data. I'm adding a <Save> button to the "form" which is supposed to write data to a file on the server (in order to preserve the customer's preferences).
    Please note that I am NOT attempting to write data to the customer's hard disk. That requires digital certificates, etc. which I am trying to avoid for now.
    Instead, I am using the URL class to access the file:
    URL page = new URL("http://www.whatever.com/mycustomers/preferences.txt")
    I then use the URLConnection class to establish the connection:
    URLConnection conn = this.page.openConnection();
    conn.setDoInput(true);
    conn.setDoOutput(true);
    conn.connect();
    etc...
    I've created a text file (preferences.txt) on my web site. Using the classes InputStreamReader, BufferedStreamReader, and StringBuffer, I can successfully read the file into a JOptionPane in my applet.
    The problem comes when I try to write data TO this file. I know the file exists because the applet can read it. I've set the permissions on the file to 666. I've got all of the appropriate syntax within a try statment that catches an IOException. I also have JOptionPanes all over the place to let me know where the program is. I've tried different combinations of output streams like BufferedWriter, BufferedOutputStream, StringWriter, but the file does not get updated. When the applet runs, it does not throw any exceptions, not even when I change the URL from "HTTP://www.whatever.com/prefs.txt" to "HTTP:/www.whatever.com/prefs.txt" (only one slash on HTTP, shouldn't I get a MalformedURLException?)
    I apologize for all the background, but I thought you might need it. The bottom line is:
    1) Can an applet write to a file on a remote server (not local hard disk)?
    2) If so, what (if any) caveats are there?
    3) Is there a way to check for file existence or be able to create a new file?
    4) I'm using the HTTP protocol - is there some restriction that prevents an applet from writing to a file using that protocol? If so, is there a workaround?
    5) Assuming that creating/writing a file using the method I've described is possible, what would be the appropriate output streams to use? (Currently, I'm using OutputStreamWriter with BufferedWriter).
    I've been struggling with this for a while. Any help/suggestions would be appreciated.
    Thanks
    P.S. I also posted this message on the Applet development forum, but I've received no response as of yet.

    Http servers support PUT as a mechanism to upload data to a specified URL. Get on the other hand which is what most people are familiar with is how you retrieve that data. The basic URLConnection is an abstraction of the Http connection which can be used for GET and POST operations by default based on doInput(true|false).. If you which to use any of the http methods other than GET|POST you will have to cast the URLConnection to HttpURLConnection so you can gain access to the specific Http functionaility that could not be abstracted.
    Since you are using a hosting service the chances are that you won't be able to use HTTP PUT on their server. Most servers do not support HTTP PUT without configuring them todo so. Now Apache allows localized config through the .htacess file. It might be possible (keep in mind I am not an apache expert) to configure a particular directory to allow HTTP PUT using this .htacess file it may not be possible. You will have to consult the Apache web server documentation for that answer.
    But regardless you can use the HttpURLConnection and the PUT method to send data from your applet to the server. In fact that is the preferred way to do this. If you can not configure your web server to support that method then you will have to develop a Servlet to do it. A servlet has several methods such as doGet(), doPost(), and doPut(). You would override the doPut() method get the URI path create a file and a FileOutputStream to that file, get from the request the inputstream, possibly skip the http headers, and then write byte for byte the incoming data to your OutputStream until you reach the end at which point you would close the OutputStream and send an Http Response of some sort. Typically in HTTP it would be 200 OK plus some web content. You content can be empty so long as your applet recognizes that is what it should expect...
    And away you go...

  • Write data to PLC register using datasockets

    hello all...
    i have made some headway, i can access the PLC read data from it (1-10) and depending on the random # produced i get a message from a file and display it.
    Now...i need to write back to a register in the PLC with some informatio (string and integer.)
    i was advised to use datasockets, my stumbling point is i have no idea how to proceed. i read a lot of posts on this form as well as the labview form on Google.
    could anyone please throw some light on this, a detailed explanation or link where i may gain some information.
    thank you
    cheers,
    -U

    How are you communicating with the PLC? I am not sure if this is a card in your computer or an external device. If it is the latter, are you using GPIB, serial, ethernet, etc.?
    LabVIEW does not communicate very well to memory locations(as in custom built devices). There is no built in way to do this(although there are VIs on the web that you can use). You are usually better off writting a driver for the device in C and then calling the driver from LabVIEW. This is how NI communicates to its own hardware.
    I mention this because datasocket will probably not be a good solution to your problem. It is a communication protocol developed by NI and there is no documentation on its format. Trying to hack it is not going to worth your time when you can
    just use TCP instead. In simple data transfer cases between LabVIEW and high level languages, it cannot be beat, and I highly recommend it in these cases. In your case, the PLC will likely not support it.
    You should look on NI's site for info on Datasocket. The KnowledgeBase, Product Manuals, and Tuturials are where I would start. Advanced Search

Maybe you are looking for

  • Error encountered while importing Checked-in archive in CMS.

    Hi All, We have CRM 5.0 installed on Windows 2003 with MS-SQL as database.During NWDI configuration , we encountered a problem while trying to import the checked-in archives into Development system. It took more than 15 hours and at the end the opera

  • Navigation between the portals

    Hi Gurus, I have a unique requirement. I have a obiee 10g portal with LDAP authentication. In one of the nagivation links, I have to go to OBIEE 11g page with the same username and password. When I go to OBIEE 11g, it should not ask me the username/p

  • Cant view video message after skype vanished

    hi there, im very confused. i sent a video message to a contact i send videomessages to all the time with no problems. but today when i logged on to my laptop, the skype rpogram had vanished from my computer. its wasnt anywhere even in my programs li

  • Display content query results horizontally

    Hi, Is there an easy way to configure the content query web part to display results horizontally? thanks, Sherazad

  • I forgot password. How do I disable it?

    How do I disable my i touch?