Parallel process with a queue and file?

Hello, first of all sorry for my bad english^^:
I am working for days on my project where I have to show the parallel process while transfering information by different ways and their problems (like timing and so on). 
I chose the transmission of information to a parallel process by (1) a queue, and by (2) a file (.txt). (other ways are welcome, do you have 1-2 other ideas?)
To solve this problem I made three while loops, the first one is the original one, where the original information (as a signal) is created and send by queue and file to the other two while loops, where this information is getting evaluted to create the same signal.
so in the end you can compare all signals, if they are the same - so that you can answer the question with the parallelity of process.
but in my vi file i have some problems:
the version with the queue works pretty fine - it's almost parallel
but the version with file doesn't work parallel, and i have no idea how i can solve it - -
i'm a newbie^^
can someone correct my file, so both (file and queue version) run parallel with the original one, or tell me what i can or must do?
Attachments:
Queue_Data_Parallel_FORUM.vi ‏23 KB

LapLapLap wrote:
Hello, first of all sorry for my bad english^^:
I am working for days on my project where I have to show the parallel process while transfering information by different ways and their problems (like timing and so on). 
I chose the transmission of information to a parallel process by (1) a queue, and by (2) a file (.txt). (other ways are welcome, do you have 1-2 other ideas?)
To solve this problem I made three while loops, the first one is the original one, where the original information (as a signal) is created and send by queue and file to the other two while loops, where this information is getting evaluted to create the same signal.
so in the end you can compare all signals, if they are the same - so that you can answer the question with the parallelity of process.
but in my vi file i have some problems:
the version with the queue works pretty fine - it's almost parallel
but the version with file doesn't work parallel, and i have no idea how i can solve it - -
i'm a newbie^^
can someone correct my file, so both (file and queue version) run parallel with the original one, or tell me what i can or must do?
A queue is technically never parallell, though you can have several if you really need parallellism. Other methods include Events, Action Engines, Notifiers (and why not webservices) for information transfer between processes.
Due to limitations in the disk system you can only read/write one file at a time from one process, so i wouldn't recommend that. If you use a ramdisk it might work.
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV

Similar Messages

  • Need help with a simple process with FTP Adapter and File Adapter

    I am trying out a simple BPEL process that gets a file in opaque mode from a FTP server using a FTP adapter and writes it to the local file system using a File Adapter. However, the file written is always empty (zero bytes). I then tried out the FTPDebatching sample using the same FTP server JNDI name and this work fine surprisingly. I also verified by looking at the FTP server logs that my process actually does hit the FTP server and seems to list the files based on the filtering condition - but it does not issue any GET or RETR commands to actually get the files. I am suspecting that the problem could be in the Receive, Assign or Invoke activities, but I am not able identify what it is.
    I can provide additional info such as the contents of my bpel and wsdl files if needed.
    Would appreciate if someone can help me with this at the earliest.
    Thanks
    Jay

    persiandude wrote:
    Topic: Need help with if, else, and which statements and loops.
    How would I display 60 < temp. <= 85 in java
    System.out.println("60 < temp. <= 85 in java");
    another question is how do I ask a question like want to try again (y/n) after a output and asking that everytime I type in yes after a output and terminate when saying No.Sun's [basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
    Sun's [New To Java Center|http://java.sun.com/learning/new2java/index.html].Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    [http://javaalmanac.com|http://javaalmanac.com]. A couple dozen code examples that supplement [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance].
    jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    Bruce Eckel's [Thinking in Java|http://mindview.net/Books/DownloadSites] (Available online.)
    Joshua Bloch's [Effective Java|http://www.amazon.com/Effective-Java-2nd-Joshua-Bloch/dp/0321356683/ref=pd_bbs_1?ie=UTF8&s=books&qid=1214349768&sr=8-1]
    Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance].
    James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806].

  • When going through the download process with social monkee and getting to the point of adding it to firefox I get the following message: 'Social Monkee could not be installed because firefox cannot modify the needed file'. How can this be fixed?

    When going through the download process with social monkee and getting to the point of adding it to firefox I get the following message: 'Social Monkee could not be installed because firefox cannot modify the needed file'. How can this be fixed?

    That is usually caused by a missing unpack directive (&lt;em:unpack&gt;true&lt;/em:unpack&gt;) in the file install.rdf of that extension.
    See https://developer.mozilla.org/En/Updating_extensions_for_Firefox_4.0#XPI_unpacking
    -----

  • While intending to perform a clean install of Mountain Lion while continuing with old apps and files, is it a waste to restore a backup that was made while running Mountain Lion as an UPgrade from Lion?

    While intending to perform a clean install of Mountain Lion while continuing with old apps and files, is it a waste to restore a backup that was made while running Mountain Lion as an UPgrade from Lion?
    Originally I was running Mountain Lion as an UPgrade from Lion. I created a backup in Time Machine, performed a clean install of Mountain Lion, then I proceeded to use Time Machine to restore the back up.
    When thinking about the essence of a back up restore, it occurrs to me that for all I know, I may have just wated my time IF Time Machine also restores all the old unneeded files that remain from Lion after an upgrade.
    Since the backup was made while running Mountain Lion as an upgrade from Lion, did restoring this backup defeat the purpose of a clean install by reinstalling old Lion files?
    If so, how can I re-do the last portion of the process so that I get all my home-folder files and apps back without the full bulk of old Lion files? Migration assistant I'm guessing?
    -Chris

    Hello John!
    Thank you for your response which solved my problem. For other users who may stumble upon this, I'll clear up the confusion and share how I solved the problem with your help; When looking for answers to my computer problems, finding unresolved questions where person B offers a solution and person A never comes back and says "That worked, thank you.", it demonstrates a "k-thnx-bye" user mentality that leaves others with the same problem lost. Without further ado:
    It is not clear what you did because the meaning of "clean install" is vague. You can erase a volume and install an OS which leaves none of its previous content intact,
    This is what I did: I erased the volume leaving no previous content intact, while then installing OS X Mountain Lion.
    or you can upgrade an existing OS (or reinstall the same one) which does not alter your user - installed files.
    An upgrade to Mountain Lion from Lion is what I started with initially before erasing anything. This was undesirable. Since this can cause Macs to run slower (especially whereas I'm using a mid-2011 Mac Mini), my goal was to go from operating within an upgrade to Mountain Lion, to operating within an installation of Montain Lion that was not preceded by any other oprating system.
    Hence a "clean install of Mountain Lion while continuing with old apps and files" is confusing.
    Well put and understood. What I should have said was:
    1.Erase the volume
    2.Install Mountain Lion clean
    3.Confirm that Mountain Lion is functioning properly
    4.Proceed to use either Time Machine or Migration Assistant to Import/Migrate/Copy over only two things; My old apps (That had been stored originally in the designated Applications folder) and all files and folders originally stored in the home folder under users.
    If you restore from a Time Machine backup then all modifications that occurred subsequent to that backup become erased. It renders moot any OS X upgrade performed subsequent to that backup.
    That makes sense and is just as I later suspected.
    If so, how can I re-do the last portion of the process so that I get all my home-folder files and apps back without the full bulk of old Lion files? Migration assistant I'm guessing?
    Yes.
    This is what I did and everything works perfectly. Thank you so much once again!
    -Chris

  • Explain Plan - Parallel Processing Degree of 2 and CPU_Cost

    Explain Plan - Parallel Processing Degree of 2 and CPU_Cost
    When I use a hint to use parallel processing with a degree of 2
    the I/O cost seems consistently divided by (1.8) but the cpu cost
    adjustment is inconsistent(between 2.17 and 2.62).
    Any ideas on why the cpu cost varies with each table ?
    Is there a formula to adjust the cpu_cost ?
    Thanks,
    Summary:
    The i/o cost reduction is consistent (divide by 1.8)
    Table 1: 763/424 = 1.8
    Table 2: 18774/10430 = 1.8
    Table 3(not shown): 5/1.8 = 3
    But the cpu cost reduction varies:(between 2.17 and 2.62)
    Table 1: 275812018/122353500 = 2.25
    Table 2: 7924072407/3640755000 = 2.17
    Table 3(not shown): 791890/301467 = 2.62
    Example:
    Oracle Database 10.2.0.4.0
    Table 1:
    1.) Full table scan on Table 1 without parallel processing.
    EXPLAIN PLAN FOR select/*+ CPU_COSTING
    PARALLEL(table_1,1)*/
    * from table_1
    SQL> select cost,io_cost,cpu_cost from plan_table;
    IO_COST CPU_COST
    763 275812018
    2.) Process Table 1 in parallel with a degree of 2.
    EXPLAIN PLAN FOR select/*+ CPU_COSTING
    PARALLEL(table_1,2)*/
    * from table_1
    IO_COST CPU_COST
    424 122353500
    Table 2:
    3.) Full table scan on Table 2 without parallel processing.
    EXPLAIN PLAN FOR select/*+ CPU_COSTING
    PARALLEL(table_2,1)*/
    * from table_2
    IO_COST CPU_COST
    18774 7924072407
    4.) Process Table 2 in parallel with a degree of 2.
    EXPLAIN PLAN FOR select/*+ CPU_COSTING
    PARALLEL(table_2,2)*/
    * from table_2
    IO_COST CPU_COST
    10430 3640755000

    The COST value is for the benefit of the CBO; not YOU.
    What should be more important to you is the elapsed run time for the SQL

  • MY system folder, including hidden folders are littered with duplicate folders and files with the suffix (from old Mac) How do I remove them

    I have a Macbook Pro running Leopard 10.5.8. I had a problem with my my operating system (my fault, I moved a file I shoudnt have) couldnt boot up but was able to boot up from a backup. I managed to repair my original system except now all the system folders, including hidden folders are littered with duplicate folders and files with the suffix (from old Mac).  For the most part the dupes are an exact copy, but not always.  I want to remove them to free up space and cant imagine duplicate folders in the /system/library are not hindering my computer. But I dont know where to start and am afraid of doing irreparable damage. Any ideas

    pacull,
    Use iCal>View>Show Notifications to choose what to do with the notification.

  • How can I set up company ipads with preloaded apps and files?

    I want to set up multiple ipads with preloaded apps and files before handing them out to employees.  We intendend the employee to be able to install their own content on the device using their own itunes account.  When I attempted to connected to a pc using a personal account my the content obtained by the company account was prompted to be removed.  Was this done incorrectly?  Is there a way I can set up company ipads with preloaded apps and files so that they don't get removed when the user connects them to another computer with another itunes account?
    Right now we are looking to have the employee use their own itunes account and reimburse the expense for the needed apps, but this could be an issue if they leave the company and the device is reassigned.

    Yes this is possible. I've been using Apple Configurator to do this (you could also use iTunes to restore backups). The trick is, you need to tell the end user not to sync apps within his/her iTunes on his/her computer. You will need to instruct the end user to download apps OTA using the App Store on the iPad rather than with iTunes on his/her computer. If the user tries to sync apps on his/her computer, it will wipe out apps that you installed. However if the user downloads apps OTA, your apps and the user downloaded apps will both stay on the iPad.
    When you hand the iPad to the user, be sure to log out of your company Apple ID on the iPad at Settings -> Store and have them sign in with their personal Apple ID. That way it is all set for them to download apps under their own Apple ID.
    ~Joe

  • After upgrading Lightroom on a mac. Deleting the older version along with old catalogs and files?

    Can I delete the older version along with old catalogs and files? and what is the best way to go about this? Thankyou : )

    manually uninstall then, Manually uninstall Lightroom

  • Procedure or Function that send E-mail with image background and file attached

    hi
    I4d like know if someone there is a procedure or function that send E-mail with image background and file attached, for me.
    thanks
    Josi Vieira

    If you go to this part of OTN you will find the official Oracle UTL_SMTP demo, which includes attachments:
    http://technet.oracle.com/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    Getting a background is slightly trickier. The UTL_SMTP package is for primarily sending text e-mails, whereas images require HTML e-mail. I suggest you look at the structure of a sample HTML e-mail and see if you can write the necessary HTML strings in the DATA parameter. Otherwise you'll need to investigate handcrafting a program based on the UTL_TCP package.
    [rant]
    If this seems like a lot of trouble I agree and urge you not to bother. HTML e-mail is one of the curses of the modern age, not least because it is frequently used by purveyors of viruses. I have a filter on my Outlook client that strips out all the HTML in any e-mail I receive, which means I get lots of e-mails rendered unreadable by the inclusion of <HTML> tags. But who cares, they're mostly spam anyway. In fact, the use of HTML in an e-mail is almost always an indicator of the irrelevance of its content.
    [rant]
    Vibes, APC

  • Parallel process with reentrant VI have same value in both threads

    Has it been so long since I programmed LabVIEW that I forgot some basic stuff??
    I have a main VI which originally called dynamic processes in parallel.
    I then called the sub-vi's dirtectly and still run them in parallel, but thwey now have seperate names.
    I use a QSM.  Each parallel thread now has it's own QSM, because although I was using a Queue Name for each dynamic queue, the data that was being extracted was shared or done between the two threads.  If I confused everyone with the statement, I shall explain.
    Two parallel processes, calling a QSM (re-entrant).  They have the same number of elements and matching sets.
    EX:
    Process 1          Process 2
    Task1                 Task1
    Task2                 Task2
    Task3                 Task3
    Task4                 Task4
    Task5                 Task5
    Task6                 Task6
    I was expecting each thread (each process) to extract from the queue the list of tasks as entered (from Task1 to Task6).  What the processes were getting was the following:
    Process 1          Process 2
    Task1                 Task1
    Task2                 Task3
    Task4                 Task5
    Task6                 default
    Each Process was sending a different Queue Name to the QSM.  Each queue should have it's own name.
    I need to get this running by tomorrow with no excuse!  So I decided to do a lame workaround by also having 2 QSMs.  That fixed it..
    In each parallel process (which are a copy of each other with different names) there is a call to open a telnet session.  I probed and placed breakpoints in the code.  Although each process has a different name and the call to the function that opens the telnet session is re-entrant, the very same telnet reference number is assigned to both processes.
    Why?  Why would they get the same reference number?  I made all vi's down to (and including) Telnet Open Connection as re-entrant (although it was not needed) and it still assigns the same reference number to each telnet session.  Why?  What I am not seeing?  What am I missing?
    Unfortunately, I cannot post the code..  But it is not complicated code.  Just 2 sessions with different IP addresses.  I would expect different telnet session references... 
    As a matter of fact, I need to try something silly.. 

    I should provide more details with the solution....
    I just have to stop saying "D'Oh!!"
    Okay... here goes...
    In the LVOOP, I am using Notifiers and Semaphores to ensure that a race condition cannot occur.  Works well with previously written code.
    In this particular implementation, I have the same / similar object being created more than once (twice at this time).
    Where I went wrong (D'Oh!!!!), was to have a static name for a given object when creating the Notifier and Semaphore references.  Since the same name was given, so was the reference.  SInce the references were the same, so was the data, and so on.
    D'Oh!!!!!!
    D'Oh!!!!!!
    Now I know why a particular bird was called D'Oh-D'Oh bird... 
    D'Oh!!!  Such a silly mistake...
    D'Oh!!!
    Hope it makes a few people laugh...  or help another bird....

  • BPM Parallel Process with Exclusive Gateway

    Hi,
    I am facing issue with Exclusive Gateway in Parallel Process.
    Issu is, process always in In-Progress state at parallel Join. I mean process stops at Parallel Join and more over there are no errors in the process. If I delete Exclusive Gateway in Parallel process, the process is going to next level human task through Parallel Join. It means working fine.
    I have designed my process in such a way that, 1st task is Human Task ---> then Parallel Split with 2 Human tasks, out of one task performing throught Excusive Gateway and another one is just simple approval. Finally I am merging these two Human tasks using Parallel Join then finally triggerting Approval Human task, and closing the Process.
    Appreciate your quick suggestions to fix this issue.
    Thanks in advance,
    Dev...

    Hi Unni,
    Thanks for your reply.
    I have checked all the parallel tasks and all are in completed state. No errors.
    If I delete Exclusive Gateway it is working fine. I have checked step by step tasks in NWA, and every thing goes well.
    Please let me know If I missout anything.
    Thanks in advance,
    Dev

  • Issue with Distributed Queue and WebLogic Clustering

    Hi, When a message is received by distributed queue, MDB is processing the message on two managed servers. There seems to be issue with clustering and the physical queues present on both the managed servers are receving the message.
    Our environment configuration details are as below:
    One Web logic Cluster with 2 nodes (2 managed web logic servers).
    One MDB deployed on the cluster listening to a queue with JNDI name “xng/jms/CODEventsQueue”
    One Distributed queue with two members on the two nodes of the cluster, and with JNDI name “xng/jms/CODEventsQueue”
    Two members of the distributed queue deployed on two JMS servers, which are separately deployed on each managed server .
    And the distributed queue is deployed on the cluster.
    Any help is appreciated.
    Thanks
    Sampath

    It is not clear to me how you concluded that "both the managed servers are receiving the message". Did you monitor the queues' statistics, or did you see both MDB instances received the same message?
    It looks like that you using a weighted distributed queue. Do the two physical queues that compose the distributed queue have their own JNDI names? If so, what are they?
    Have you tried to use a uniform distributed queue and see if the same behavior shows up?
    You can find more about uniform distributed destination at
    http://edocs.bea.com/wls/docs103/jms/dds.html#wp1313713
    BTW, which WebLogic Server releases are you using? Could you provide the distributed queue configuration?
    Thanks,
    Dongbo

  • Help setting up Applescript to process with a batch of files.

    Hello everyone!
    A couple of days ago I posted here about needing an Applescript to be able to parse large text files into smaller ones. A lovely contributor, twtwtw, helped me out and came up with this script:
    set f to choose file with prompt "Choose the file to parse."
    tell application "Finder"
        set fName to name of f
        -- the following line assumes that the file name has a three character extension, like '.txt'
        set foldName to text 1 thru -5 of fName
        set fold to (make new folder at (path to documents folder from user domain) with properties {name:foldName}) as text
    end tell
    set fp to open for access f
    set bigText to read fp
    close access fp
    set parsingText to "All Rights Reserved"
    set parsedList to tid(bigText, parsingText)
    -- the following line requires that the file name be exactly in the form "<prefix>_<suffix>" with only one underscore
    set {prefix, suffix} to tid(fName, "_")
    repeat with i from 1 to count of parsedList
        set newFName to prefix & "_a" & i & "_" & suffix
        set fp to open for access (fold & newFName) with write permission
        -- uncomment the following line if you need to overwrite old files, otherwise it will append
        -- set EOF of fp to 0
        write ((item i of parsedList & parsingText) as text) to fp
        close access fp
    end repeat
    on tid(input, delim)
        -- a subroutine to handle text item delimiters. Useful tool, but so danged wordy.--
        set {oldTID, my text item delimiters} to {my text item delimiters, delim}
        if class of input is list then
            set output to input as text
        else
            set output to text items of input
        end if
        set my text item delimiters to oldTID
        return output
    end tid
    It turns out however, that I have about 500 of these large files that need parsing, so I was wondering if there might be a way to modify the script by allowing more than one input file, so that it would repeat the parsing action for all input files passed to it.
    Can anyone help?

    try this:
    set f to choose folder with prompt "Choose the root folder containing your files."
    traverseFolder(f)
    on traverseFolder(fold)
         tell application "System Events"
             set containedItems to every disk item of fold whose visible is true
             repeat with thisItem in containedItems
                   if class of thisItem is folder then
                       my traverseFolder(thisItem)
                   else if type identifier of thisItem contains "plain-text" then
                       my processFile(thisItem, fold)
                   end if
             end repeat
         end tell
    end traverseFolder
    on processFile(thisFile, itsFolder)
         tell application "System Events"
             set fName to name of thisFile
      -- the following line assumes that the file name has a three character extension, like '.txt'
             set foldName to text 1 thru -5 of fName
             set newFold to path of (make new folder at end of itsFolder with properties {name:foldName})
         end tell
         set fp to open for access thisFile
         set bigText to read fp
      close access fp
         set parsingText to "All Rights Reserved"
         set parsedList to tid(bigText, parsingText)
      -- the following line requires that the file name be exactly in the form "<prefix>_<suffix>" with only one underscore
         set {prefix, suffix} to tid(fName, "_")
         repeat with i from 1 to count of parsedList
             set newFName to prefix & "_a" & i & "_" & suffix
             set fp to open for access (newFold & newFName) with write permission
      -- uncomment the following line if you need to overwrite old files, otherwise it will append
      -- set EOF of fp to 0
      write ((item i of parsedList & parsingText) as text) to fp
      close access fp
         end repeat
    end processFile
    on tid(input, delim)
      -- a subroutine to handle text item delimiters. Useful tool, but so danged wordy.--
         set {oldTID, my text item delimiters} to {my text item delimiters, delim}
         if class of input is list then
             set output to input as text
         else
             set output to text items of input
         end if
         set my text item delimiters to oldTID
         return output
    end tid
    I changed to system events for efficiency reasons (the Finder can get bogged down with too much scripting).  the only place you might run into issues is line 11, where it says else if type identifier of thisItem….  that might miss files if they have odd type identifiers (though it should get most plain-text files).  I only put that if statement in there to keep from processing spurious files that might be in the folders - you can replace that whole line with a simple else if you find it's gumming up the works.

  • Free Goods Import Process with Customs, Freight, and Other Taxes.

    hi,
    I have to import free goods but have to pay for Customs, Freight, and other Taxes.
    1. If I tick Free Goods Indicator in PO Line Item, Condition Tab at line item disappears. It will not to calculate other conditions at Header level also. - So I cant execute this option.
    2. If i take price of material and insert Condition Type: R001:Discount/Quantity with material price/qty, then it gives Error Message - "Price Must be greater than 0".
    So, Is there any way through which I can procure Free Goods and can maintain conditions for Customs, Freight, and other Taxes in Purchase Order.
    Please help me in this regard.
    - Jignesh

    Hi,
    1) Create an import PO in ME21N with material price and all custom duty conditions (as you normally create). no need to put free tick indicator.
    2) Process MIRO for goods and delivery costs simultaneously.
    3) Maintain zero amount for goods item and actual values for the duties (Ensure selection of goods item including delivery cost items)
    4) Save the LIV document
    5) Check PO item history got updated with IR-L and DCIn. (IR-L will updated with zero amount)
    6) Do  MIGO w.r.t. IR document number.
    7) GR FI document will get updated with the non-set off duty values only.
    Regards
    Rajesh

  • How to do parallel processing with dynamic internal table

    Hi All,
    I need to implement parallel processing that involves dynamically created internal tables. I tried doing so using RFC function modules (using starting new task and other such methods) but didn't get success this requires RFC enabled function modules and at the same time RFC enabled function modules do not allow generic data type (STANDARD TABLE) which is needed for passing dynamic internal tables. My exact requirement is as follows:
    1. I've large chunk of data in two internal tables, one of them is formed dynamically and hence it's structure is not known at the time of coding.
    2. This data has to be processed together to generate another internal table, whose structure is pre-defined. But this data processing is taking very long time as the number of records are close to a million.
    3. I need to divide the dynamic internal table into (say) 1000 records each and pass to a function module and submit it to run in another task. Many such tasks will be executed in parallel.
    4. The function module running in parallel can insert the processed data into a database table and the main program can access it from there.
    Unfortunately, due to the limitation of not allowing generic data types in RFC, I'm unable to do this. Does anyone has any idea how to implement parallel processing using dynamic internal tables in these type of conditions.
    Any help will be highly appreciated.
    Thanks and regards,
    Ashin

    try the below code...
      DATA: w_subrc TYPE sy-subrc.
      DATA: w_infty(5) TYPE  c.
      data: w_string type string.
      FIELD-SYMBOLS: <f1> TYPE table.
      FIELD-SYMBOLS: <f1_wa> TYPE ANY.
      DATA: ref_tab TYPE REF TO data.
      CONCATENATE 'P' infty INTO w_infty.
      CREATE DATA ref_tab TYPE STANDARD TABLE OF (w_infty).
      ASSIGN ref_tab->* TO <f1>.
    * Create dynamic work area
      CREATE DATA ref_tab TYPE (w_infty).
      ASSIGN ref_tab->* TO <f1_wa>.
      IF begda IS INITIAL.
        begda = '18000101'.
      ENDIF.
      IF endda IS INITIAL.
        endda = '99991231'.
      ENDIF.
      CALL FUNCTION 'HR_READ_INFOTYPE'
        EXPORTING
          pernr           = pernr
          infty           = infty
          begda           = '18000101'
          endda           = '99991231'
        IMPORTING
          subrc           = w_subrc
        TABLES
          infty_tab       = <f1>
        EXCEPTIONS
          infty_not_found = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        subrc = w_subrc.
      ELSE.
      ENDIF.

Maybe you are looking for

  • Why can't I move an iTunes gift card?

    I just got our SeniorNet Computer Learning Center into Apple computers and tablets two years ago (Dec 2011) and I'm beginning to wish I hadn't. Here's the latest "policy" problem with Apple I've encountered.  We have 10 Apple computers and 14 Apple t

  • OfficeJet Pro 8600 Plus Make Audio Sounds In the Early AM Hours Recently

    My Office Jet Pro 8600 Plus has been making audio sounds usually around 4:30 am lately , but has also done it sometime after midnight also. The sounds will activate somewhere between 2 or 3 times every few minutes to 2 or 3 times in a minute. This wi

  • Adobe Exchange Panel has a virus...according to symantec endpoint.

    I was trying to down load adobe excange panel from the adobe application Manager and this is what I got in return: 1. A high risk notification from the symantec endpoint cloud scanner. and then the email below. I tried to notify your company directly

  • Lock orientation AIR 2.7 Android

    Hi, I working on an app where I want to respond to the device rotation changes but I want the stage to remain in the statting landscape mode. I listen to StageOrientationEvent.ORIENTATION_CHANGING on the stage and preventDefault once I updated the ap

  • Diffrent Unit sale Price in Different Warehouses of a same Product

    HI Experts I have an item in different warehouses I require different prices in each warehouse Kindly Suggest Tahir