How to Cache Applets when IP is Dynamic?

After the security update here, http://sunsolve.sun.com/search/document.do?assetkey=1-26-103079-1 any users referencing our applets do not use the jar files stored in cache if the DNS has changed. We use an akamai hosted solution for jar distribution (though this would also occur in any DNS load balancing situation) thus the IP is rather dynamic though the content is identical. As the security issues states, any Plugin versions 1.5.0_13 and above or 1.6.0_03 and above treat a new DNS as compeltely new jar files.
Has anyone worked through similar situations? This renders the caching almost useless and we have a rather thick applet (3 Mb total jar files) which is quite an impact for a customer that is often low bandwidth to download daily.
Thanks!

Hi (and sry for my english ) ,
i just ran into the same problem but my wget refused to work too (because of libssl.so.0.9.8...)
Download the newest source for wget on another computer and copy it to a usb flash drive.
(http://ftp.gnu.org/pub/gnu/wget/wget-1.12.tar.bz2)
Plug it to the computer that runs Arch and mount it to /mnt, then:
#cd /mnt
#tar xfj wget-1.12.tar.bz2
#cd wget-1.12
#./configure --without-ssl && make && make install
On my system it installed to /usr/local/bin/wget
Download Profjim's script (I hadn't X installed)
#/usr/local/bin/wget http://bbs.archlinux.org/viewtopic.php?id=95007
and get it with your bare hands
#vi viewtopic.php?id=95007 && mv viewtopic.php?id=95007 script.sh && chmod u+x script.sh
Then, I made some changes (#vi script.sh):
#!/bin/bash
arch=$(uname -m)
mirror=http://mirror.rit.edu/archlinux
# link to cache (or download) and extract: openssl,libarchive,libfetch,pacman
cd /tmp
for pkg in openssl-1.0.0-2 libarchive-2.8.3-3 libfetch-2.30-3 pacman-3.3.3-5; do
pkgname=${pkg}-${arch}.pkg.tar.gz
if [[ -e /var/cache/pacman/pkg/${pkgname} ]]; then
ln -sf /var/cache/pacman/pkg/${pkgname} .
else
/usr/local/bin/wget ${mirror}/core/os/${arch}/${pkgname} || exit 1
fi
tar -xvpf ${pkgname} -C / --exclude .PKGINFO --exclude .INSTALL || exit 1
done
# now reinstall using pacman to update the local pacman db
pacman -Sf openssl libarchive libfetch pacman || exit 1
# now update your system
pacman -Syu
Now just type
#./script.sh

Similar Messages

  • How to cache Applet using  JRE 1.2.2

    I have an applet that is about 500+ kb in size.
    I will like to cache this Applet on the end user's
    machine and to be downloaded only when the version
    on the server has changed. I had done quite a lot
    of search on java.sun.com and java usenet
    newsgroups, but could not find definintive answer.
    This what I had to use:
    JRE Plugin 1.2.2 release 006, On Windows NT 4
    with SP4 and IE 4.0 with SP1. I could not make
    it cache on above platform as Cleint.
    This is my understanding so far:
    1> Java 1.2.2 jre/plugin depends on browser to cache
    the Applet. There is nothing special you have to do.
    Is above correct?
    2>SOme of the message I had seen on usenet and sun site indicate that the people have problem opposite than me. i.e Applet is cached and they dont want that wherever I want it to be cached and it is not caching.
    3> Is it true that for browser to cache the 1.2.2 Applet
    (with pluguin installded on end user PC), it had to be
    signed using the tools those come with JDK. Keytool
    and Jarsigner etc. I tried both ways by using signed
    and unsigned applet.
    4> I heard that JDK1.3 plugin had additional
    parameters i.e cache_option = "plugin" etc
    where Applet JAR will be saved in a place other
    than Browser's cache. Is it true above is not
    available in JDK 1.2.2.
    5> I have 'cache im memory' option checked in
    Java Plugin control panel. But that did not help.
    6> Is there any special way to put html tag for Applet
    Jar to be cached. The Applet that needs to be cached
    is already in production and html file is working fine
    as such.
    7>Is there any known bug with JRE 1.2.2 that will
    prevent it from caching.
    Any responses or pointer to responses appreciated.
    TIA
    Rakesh K Mittal

    I am trying the same in order to implement a version control applet.
    The proposal is that an applet runs previous to the main applet. It checks the JARs versions with the server and download the latest if they does not exist in the client. All the version are placed in the extensions directory of the plugin so when the main applet loads the clases it can pick them up lastest versions from the extensions directory.
    It works for me. However there is some anoying bug to regard as 4215307.
    However, in spite all the previous is working, I can not make it work through a proxy since Control Panel ignores when I set Browser settings or another proxy and always executes without proxy.
    A caching proxy could also reduce the network traffic.
    Any ideas??
    ([email protected])

  • How to store data when it is dynamically generated

    Hi,
    I am designing a page in that dates get auto populated based on the selection of two dates.
    if start date = 1-Jan-2011 and end date = 4-Jan-2011.
    4 columns get generated based on the dates selected. columns like 1-Jan-2011, 2-Jan-2011. 3-Jan-2011, 4-Jan-2011. these are the columns generated. If dates are changed again dates will populated based on the start and end date.
    Below these dates 3 rows are generated
    Columns 1-jan-2011 2-jan-2011 3-jan-2011 4-jan-2011
    rows null null null null
    How can i store these data please suggest me
    Thanks
    Sudhir

    Sudhir, Pls enclose your code within <b>&#123;code&#125;</b> tags, this makes it readable.
    Some observations:
    <li>1. SELECT ROWNUM,
    ..FROM STUDY S, COHART C WHERE S.ID = C.S_ID ORDER BY S.NAME would lead to errors since the rownum would be fetched before ordering and hence your rows will not be correct row number sequence.
    Due to this f01(1) might fetch the 4th row's column instead of the first as u have wanted it.One method to avoid this, is by
    SELECT ROWNUM,A.*
    ..FROM (SELECT * FROM STUDY S, COHART C WHERE S.ID = C.S_ID ORDER BY S.NAME ) A<li>2. I don't see any primary column which would used to identify the row in the DB
    <li>3. The difference between 2 dates need not always be a perfect integer, So i hope u have kept this in mind while writing the code.
    <li>Now to your question of accessing the dates for selected rows.(fix the issues mentioned above first)
    Iterating over the F01 array(using i)
    APEX_APPLICATION.G_f01(i) would contain the rownum of each checked row.
    As per your code you can have multiple date columns in the same row with the array index(4)
    I am not sure how to obtain the number of dynamic date columns in every row.
    Anyway while processing u would have to do this calculation and suppose the variable l_no_of_days has this value.
    So ur j'th date column(u can have j=1..l_no_of_days) for the i'th row can be obtained as
    APEX_APPLICATION.G_f01(i) = actual row number
    APEXAPPLICATION.G_f01(i) -1 )*l_no_of_days + j = column index of j'th column for this row_
    APEX_APPLICATION.G_f04(APEX_APPLICATION.G_f01(i) -1 )*l_no_of_days + j) would have the date column value
    As an example
    <1> texxt <1> <2> <3> <4>..
    <2> texxt <5> <6> <7> <8>..
    <3> texxt <9> <10> <11> <12>..
    <4> texxt <> <> <> <>..
    <5> texxt <17> <18> <19> <20>..
    In this case,l_no_of_days would be obtained as 4
    If 2 and 4 was checked, i =1..2
    f01(1) = 2
    1st checked row's, 1st dynamic column = f04( (2 -1)*4 + 1 ) = f04(5)
    1st checked row's, 3st dynamic column = f04( (2 -1)*4 + 3 ) = f04(7)
    2nd checked row's 5th column = f04( (5 -1)*4 + 5 ) = f04(24)
    Phew !!, feels like college mathematics ;) .
    Hope it was clear.

  • How does BerkeleyDB know when cached results from stat function are valid ?

    Something curious: I have a berkeley database about 2G in size and a program that (1) opens the database, not DB_RDONLY; (2) calls stat(), without DB_FAST_STAT; (3) calls sync(); (4) calls close().
    Running this program the first time takes a good amount of time in the stat() function - 20 minutes at least - and thrashes the disk all that time. So it's trawling the database to get record counts etc.
    Running the program again takes only a few seconds so clearly the database is caching those stats and knows they're up to date - makes sense.
    What's odd though is why the stats weren't known to be up to date on the first run. The database was actually copied from another box where the last thing to happen was a run of the same program. So it should have had up-to-date stats cached in it.
    It's as if the cached values are somehow invalidated by moving the database to another machine. Why would that happen ? Where are the cached stats held and how does berekelyDB decide when they're up to date ?

    I still cannot solve this problem, but I have some more observations:
    1) yes it is a JApplet, and yes, the data streaming is performed in a separate thread.
    2) Wireshark sniffing shows that data sent out by the PHP datasource on the server is sent immediately, and is not buffered (am using ob_start(), ob_flush() and flush() alls in the PHP script).
    3) On Windows Vista, using Internet Explorer or Firefox, there is a constant 30 second delay before the Applet returns from this line: InputStream is = url.openStream();
    4) After this 30 seconds, data appears in the Applet, but it can be seen also with java console debug prints that the data seems to be buffered. The newest data shown in the Applet is not the newest data sent to the client by the PHP datasource script.
    5) On a SUSE Linux client, the Applet works as it should, there is no delay time in showing the data.
    It appears as if there is on Windows a buffering of data which I do not wish to have and which does not occur on Linux. I need to find out how to get the URL openStream() call to return immediately allowing the initial data to be read and shown on the Applet. And I need to remove the buffering of data so that the data can be shown on the Applet when it arrives.
    Can anyone help? Why does this work on Linux but not on Windows, and what can I do, at best within the Java code, to get the Applet to work on Windows as it does on Linux?
    Thanks!
    Steve, Denmark

  • How to know or check the type of a field when processing a dynamic table?

    Dear all,
        When processing a dynamic table i have a short dump because of a convert_of_type incorrect, so i would like to check the type of field-symbol <f> before moving the data (type char) to this field-symbol <f>.
    Could you please help me how to check or get the type of field-symbol <f> (because field-symbol <f> is assigned dynamic, so this <f> can be type char, unit, or quantity, ...)?
    The source code same as below:
       ASSIGN COMPONENT lc_field OF STRUCTURE ls_data TO <f>.
       MOVE lv_field TO <f>. (Dump is here when lv_field is char type and <f> is quantity type => could i check the type of <f> if it's char type before using this instruction "MOVE ..."?)
    Thanks a lot in advance,
    Vinh Vo

    Try to use this way
    WRITE lv_field TO <f>.
    Instead of
    MOVE lv_field TO <f>.

  • How to stop delay when streaming data from a script as URL to an Applet?

    I have a strange problem and do not know what is causing it. Hope someone here with some experience can help.
    I have a Java Applet which makes a line graph of data. The data source is to be streaming, where the first chunk of data comes from what is already in a data file, and then new data is sent whenever it is ready. The problem in brief is that if I just collect and show the data from the data file and do not stream everything works fine. If I also have the streaming and wait for a long time, everything works fine, but when the applet is first loaded, the graph is not shown until after a long delay time.
    Here is a snippet of the applet code:
             String dataendpoint = "http://phpfunction.php";
             URL url = new URL(dataendpoint);
             InputStream is = url.openStream();
             String line;
             InputStreamReader isr = new InputStreamReader(is);
             BufferedReader br = new BufferedReader(isr);
             while ((line = br.readLine()) != null) {
                   // my code here to handle each line of data which prepares it for
                   // showing on a line graph.
             } In the above, I show the dataendpoint variable hardcoded, but in reality this comes as an Applet parameter. It is a URL of a php script which is on the same server as the applet's code and there are no access problems here.
    The PHP script does the following: It first opens a data file, parses it and prints it out to its standard output using echo or printf statements. The script then enters a loop where it periodically looks to see if new data has been made available. If so, that new data is also printed out to the standard output.
    The PHP script looks like this (in pseudo code):
       // open data files, read lines, and send to standard output using echo
       // flush buffers using ob_flush() and flush() calls
       while (1) {
          sleep(30);
          // get new data, if any, then send to standard output
          // flush buffers again
       Again my problem: If I have the PHP script exit before the while loop everything works fine, my applet makes the graph immediately.
    However, if I include the while loop, then initially the applet does not appear, not until some time afterwards, and then the applet works like it should, scrolling along every time new data arrives.
    I have done a Wireshark sniff and I can see that the initial data is being sent out the the browser and applet immediately. So I do not think it is a buffering problem on the PHP side.
    I have wrapped every Applet code line with debug print statements and from the Java console I see that the Java Applet is stopping at this line:
    InputStream is = url.openStream();
    Can someone explain what is happening here? Why the delay in returning from the openStream() function and how to avoid it?
    By the way, the server is Linux and the Applet is being run on Windows Vista, and I have tried both Internet Explorer and Firefox, both give the same behavior.
    Thanks in advance!
    Steve, Denmark

    I still cannot solve this problem, but I have some more observations:
    1) yes it is a JApplet, and yes, the data streaming is performed in a separate thread.
    2) Wireshark sniffing shows that data sent out by the PHP datasource on the server is sent immediately, and is not buffered (am using ob_start(), ob_flush() and flush() alls in the PHP script).
    3) On Windows Vista, using Internet Explorer or Firefox, there is a constant 30 second delay before the Applet returns from this line: InputStream is = url.openStream();
    4) After this 30 seconds, data appears in the Applet, but it can be seen also with java console debug prints that the data seems to be buffered. The newest data shown in the Applet is not the newest data sent to the client by the PHP datasource script.
    5) On a SUSE Linux client, the Applet works as it should, there is no delay time in showing the data.
    It appears as if there is on Windows a buffering of data which I do not wish to have and which does not occur on Linux. I need to find out how to get the URL openStream() call to return immediately allowing the initial data to be read and shown on the Applet. And I need to remove the buffering of data so that the data can be shown on the Applet when it arrives.
    Can anyone help? Why does this work on Linux but not on Windows, and what can I do, at best within the Java code, to get the Applet to work on Windows as it does on Linux?
    Thanks!
    Steve, Denmark

  • With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?

    With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?
    I have developed a form with fields hidden by default, that become visible based on box ticked or radio button selections.
    My problem is that, when I close the form and re-open it, it comes back to it's default presentation, regardless of the information already recorded in the form (including in the now hidden fields.
    How to correct that
    Thanks in advance for any hint you can provide.

    I've had the same problem. This solved it...
    Go to the "Form properties..." in the File-menu. Select "Run-time" to the left and in the box "Scripting" Preserve scripting changes to form when saved: choose Automatically (Script-based state changes are saved locally in an insecure fashion. This option cannot be used for certified forms).
    Hope it works for you to...

  • How can we split the image when its added dynamically ?

    Hi Experts,
    I have an image where i'm calling a DAL in Entry tab Data section under section level properties.As you know that will execute during Entry process.In that DAL i'm Adding an image based on the user choice during entry.
    When image added that should be accomedate the spaces availale in the form.First half of the section can accomedate in the first page and secound half will go to next page.
    I have used CANSPLITIMAGE rule,but that is not get executed during entry process.
    Can someone help me How to split the image during entry process when its added dynamically ?
    Thanks,
    RAMAN C.

    Aside from what you might think of as the origin placement, Gendata rules are not run during Entry operations. As such, you are not able to do what you describe in versions before 12.2. Starting in 12.2, you still can't execute Gendata rules, however there is a newly supported feature when DAL adds a section that will look for the existence of the CanSplitImage rule and assigns an internal attribute that will allow the section to split during entry. This isn't the same as running the rule, but the net effect should be acceptable. (At some point in the future, perhaps this internal attribute will become something you can just set when adding the section on the form and you won't have to specify the CanSplitImage rule at all - for Batch or Entry. That would be great.) In the meantime, if you are not using 12.2, your only option is to break your section up into smaller section components and add them separately. That should help minimize unused space on the page when something doesn't fit.

  • When I use dynamic link how do I continue using it after closing and reopening a project?

    Hi
    Im very new to AF
    I cant seem to find the answer to this in any tutorials.
    When I using dynamic link, how do I continue using it after closing and reopening a perm pro project?
    Thanks
    Philip

    Hi Kevin
    Thank you very much for such a quick reply.
    I actually figured it out. As usual it was fairly obvious solution.
    I opened both project at the same time.
    Thanks again and sorry for waisting your time.
    R
    Philip

  • How to display or generate PDF417 barcode dynamically in PDF form? I am using Acrobat XI Professional and there is a Bar Code Field in the same through which I generated the same. But I want to generate the same dynamically.

    How to display or generate PDF417 barcode dynamically in PDF form? I am using Acrobat XI Professional and there is a Bar Code Field in the same through which I generated the same. But I want to generate the same dynamically.

    What do you mean by dynamically? When yo set up a 2D bar code field you specify which field name/value pairs you want to include, along with other parameters. But be aware that they won't work with Reader unless you Reader-enable the document with LiveCycle Reader Extensions and include the bar code usage right. It will work with Acrobat Standard/Pro.

  • How to get notified when changes happen on Hyper-V host or VMs

    Is there a way to get notified on Hyper-V host or VM changes? Our intention is to notify the system-administrators on any changes.
    1. How to get notified when new VM is created (or deleted) on Hyper-V.
    2. How to get notified when any memory/CPU/disk is added (or deleted) on any VM(s).
    In general: 
    - Get notified when any changes happens to Hyper-V host.
    - Get notified when any changes happens on any VMs.
    Our target servers are Windows Server(2008, 2008 R2, 2012, and 2012 R2)
    We tried to get the notification using "Event Viewer" on different Windows servers (2008, 2008 R2, 2012, and 2012 R2)
    We were able to get event-logs only on one of our 2012 R2 server as described below on creation/deletion of VMs (on another 2012 R2 server, we did not got any such event, Is there any setting required on host computer to get Hyper-V event-logs in "Event
    Viewer"?)
    Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
    Source:        Microsoft-Windows-Hyper-V-VMMS
    Date:          12/18/2014 1:21:45 AM
    Event ID:      13002
    Task Category: None
    Level:         Information
    Keywords:      
    User:          SYSTEM
    Computer:      HPHyper-V.COMPUTERNAME.lab
    Description:
    A new virtual machine 'TestVM' was created. (Virtual machine ID A0FED305-7B1A-4BB5-952C-BA9634ACDA45)
    Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
    Source:        Microsoft-Windows-Hyper-V-VMMS
    Date:          12/17/2014 10:57:01 PM
    Event ID:      13003
    Task Category: None
    Level:         Information
    Keywords:      
    User:          SYSTEM
    Computer:      HPHyper-V.COMPUTERNAME.lab
    Description: The virtual machine 'TestVM' was deleted. (Virtual machine ID A0FED305-7B1A-4BB5-952C-BA9634ACDA45)

    Thanks for your reply,
    Just to make it more clear:
    In our environment we have enabled Hyper-V on following Windows servers: 2012 R2, 2012, 2008 R2, 2008. The environment is very dynamic, VMs are getting created and deleted very frequently. Our intention is to get notified by any means on VM creation/deletion,
    currently we are relying on event-logs (we are OK with any different mechanism for such notification if there exists, i,e other than event-logs)
    We were able to get event-logs only on few of our 2012 R2 server on creation/deletion of VMs. On another 2012 R2 server, we did not got any such event (do we need to make some settings on 2012 R2 to get events? If yes, what are those settings).
    Also we are not getting any such event of VM creation/deletion on our Windows Server 2012, 2008, 2008 R2. Is there any setting required on hese host computer to get Hyper-V event-logs in "Event Viewer" for VM creation/deletion?

  • HR_INFOTYPE_OPERATION not working when called from Dynamic action

    Hi ,
           Senario  : I would like to execute a form from dynamic action which
    creates a record in 0015 (Additional payment IT) .
           I have writen the code as shown below am using FM HR_INFOTYPE_OPERATION
    . When i execute the program from se38 it is creating a record, however it is
    not created when it is called from dynamic action..when i debugged the code in
    inside the FM HR_INFOTYPE_OPERATION there is a FM HR_MAINTAIN_MASTERDATA where
    they are using call dialog (statement) and
    sy-oncom = 'N'   when called from Dynamic action and
    sy-oncom = 'S'   when called executed directly.
    I tried to change the sy-oncom to S while run from Dynamic action it created
    the record.
    So Can anyone explain me abt sy-oncom and how can i resolve the issue..
    code..
    REPORT ZHRPYENH01 .
    perFORM TERMIATION_9000.
    INCLUDE DBPNPMAC.
          FORM Termiation_9000                                          *
    FORM TERMIATION_9000.
    INFOTYPES : 0015.
    *data : i .
    *i ='c'.
    *break-point.
    *message i000(000) with i.
      TABLES : PRELP.
      DATA : P9000 TYPE PA9000." with header line.
      DATA : P0000 TYPE STANDARD TABLE OF  P0000 WITH HEADER LINE.
    DATA : P0015 TYPE STANDARD TABLE OF  P0015 WITH HEADER LINE.
      DATA : HIRE_DATE  LIKE SY-DATUM,
             TERM_DATE  LIKE SY-DATUM.
      DATA : MOLGA LIKE T500L-MOLGA VALUE '25',
             SEQNR LIKE PC261-SEQNR.
      DATA : RGDIR TYPE STANDARD TABLE OF PC261 WITH HEADER LINE.
      DATA : ACTUAL_PERIOD LIKE PA9000-RETENTION.
      DATA : PNP-SW-FOUND TYPE SY-SUBRC ,
             PNP-SY-TABIX TYPE SY-TABIX.
      DATA : TER_PERNR LIKE PA0001-PERNR.
      DATA : REF_PERNR LIKE PA0001-PERNR.
      data : key type BAPIPAKEY.
      data : payed_amount type p0015-BETRG.
    data : future_payment_amount type p0015-BETRG.
    data : p0002 like pa0002.
      types : begin of t_deduction ,
              deducation_date like p0015-begda,
              future_payment_amount type p0015-BETRG.
      types : end of t_deduction.
    data :  future_deduction type standard table of t_deduction with
    *header line.
      data :  future_deduction type  t_deduction .
    data : RETURN type  BAPIRETURN1.
    *data : deduction_p0015 like standard table of p0015 with header line.
    data : deduction_p0015 like p0015 .
    xxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxx
    ****Prepare 0015 data for deduction
    *deduction for payed amount
    clear deduction_p0015.
    *refresh deduction_p0015.
    deduction_p0015-pernr = REF_PERNR.
    *deduction_p0015-pernr = TER_PERNR.
    deduction_p0015-lgart = 'M120'.
    deduction_p0015-begda = sy-datum + 1 .
    deduction_p0015-endda = sy-datum + 1 .
    deduction_p0015-BETRG = payed_amount.
    deduction_p0015-WAERS = 'SGD'.
    deduction_p0015-ZUORD =  TER_PERNR.
    *append deduction_p0015.
    **deduction for future payment amount
    *loop at future_deduction.
    *clear deduction_p0015.
    *deduction_p0015-pernr = REF_PERNR.
    **deduction_p0015-pernr = TER_PERNR.
    *deduction_p0015-lgart = 'M120'.
    *deduction_p0015-begda = FUTURE_DEDUCTION-DEDUCATION_DATE.
    *deduction_p0015-endda = FUTURE_DEDUCTION-DEDUCATION_DATE.
    *deduction_p0015-BETRG = future_deduction-future_payment_amount.
    *deduction_p0015-WAERS = 'SGD'.
    *deduction_p0015-ZUORD =  TER_PERNR.
    *append deduction_p0015.
    *endloop.
    Create a deduction wage type in 0015 for the employee
    break-point.
    CLEAR RETURN.
    CALL FUNCTION 'BAPI_EMPLOYEET_ENQUEUE'
      EXPORTING
        NUMBER              = REF_PERNR
        VALIDITYBEGIN       = '18000101'
    IMPORTING
       RETURN              = return
    if not return is initial.
    message E000(000) with
    'Referred Employee could not be locked for referal  payment deducation,
    please try after some time'.
    endif.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
      EXPORTING
        INFTY                  = '0015'
        NUMBER                 = REF_PERNR
       SUBTYPE                = 'M120'
      OBJECTID               =
      LOCKINDICATOR          =
       VALIDITYEND            = SY-DATUM
       VALIDITYBEGIN          = SY-DATUM
      RECORDNUMBER           =
        RECORD                 = deduction_p0015
        OPERATION              = 'COPY'
      TCLAS                  = 'A'
       DIALOG_MODE            = '2'
      NOCOMMIT               =
      VIEW_IDENTIFIER        =
      SECONDARY_RECORD       =
    IMPORTING
       RETURN                 = return
       KEY                    = key
    break-point.
    COMMIT WORK.
    if not return is initial.
    *return-TYPE
    *ID
    *NUMBER
    *MESSAGE
    message I000(000) with return-MESSAGE.
    endif.
    CALL FUNCTION 'BAPI_EMPLOYEET_DEQUEUE'
      EXPORTING
        NUMBER              = REF_PERNR
        VALIDITYBEGIN       = '18000101'
    IMPORTING
       RETURN              = return
    xxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxx
    Thanks and regards
    -Senthil Bala
    Message was edited by: senthil bala

    Hi Senthil
    Why at all U want a subroutine to create a record in IT0015 through Dynamic action.There are some standard codes available to update infotypes.
    Let me give U an example
    14     9CON     BETRG     4     2     I     INS,0015 This will create a record in IT0015 when IT0014 is updated with Wagetype 9CON
    14     9CON     BETRG     4     3     W     P0015-LGART='5400' Set wagetype for IT0015(Here U can use a subroutine call to set the wagetype)
    14     9CON     BETRG     4     4     W     P0015-BETRG=P0014-BETRG set amount for IT0015(Here U can use a subroutine call to get the amount)
    14     9CON     BETRG     4     5     W     P0015-BEGDA=P0014-ENDDA set the dates(Here U can use a subroutine call to set the dates)
    Hope this will help U.
    Please award points if helpful

  • Navigation is cached - even when navigation cache is disabled?!

    I seem to have a problem clearing the navigation cache. Whenever I change a role of workset in the PCD, the change is not visible until some time has passed (perhaps 100 minutes, I will try to verify that).
    If I change a page (like inserting a new iView) the change is visible immediatly.
    This sounds like a fairly standard "flush the navigation cache" problem, but that does not solve the problem. I have disabled all the caches in "System Administration -> Navigation -> Navigation cache" and have also cleared all of them just for good measure.
    I have used Firebug in firefox to verify that this is not a browser cache problem. For example I have a folder in the role that contains two pages. I add a third page, flush all browser caches, close the browser and reload the page. In firebug I can see that I get a "200 OK" response that only includes the original two pages - not the new third page.
    I have also tried clearing the PCD cache in "System Administration -> Support -> Portal Content Directory -> PCD Administration -> Release cache". When I do that I can see (again with firebug) that the request is taking slightly longer the first time (around 300ms instead of the usual ~70ms). However, the new page is still not visible.
    The only thing that help (besides waiting) is to restart the entire portal. The changes are then visible immediatly.
    I have even tried clearing the HTTP cache, which also does not help.
    What other caches could there be besides the navigation cache, the PCD cache, the HTTP cache or the browser cache? How can I debug this problem further?
    Thanks in advance.
    Best regards,
    Ole Hyldahl Tolshave
    P.S. We use SEP EP 7.00 SP21
    Edited by: Ole Hyldahl Tolshave on Jun 17, 2010 10:21 AM

    Hi Tobias,
    I tried clearing the DB cache (by using /irj/servlet/prt/portal/prtroot/com.sap.portal.prt.cache.PRTRegionDBClear). No change (change to role is still being cached).
    I used the PCD Inspector and verified that the contents are identical to what I see in Content Administration -> Portal Content (which is different from what is rendered in the top navigation and detailed navigation).
    We only have one server node running.
    I tried deploying the .PAR-file from SAP support (and restarted). This made no changes so now I am waiting for them to get back to me.
    But thank you again for trying to help.
    Best regards,
    Ole Hyldahl Tolshave

  • How to Cache a Web Template in RRI scenario

    Hi,
    We have used RRI functionality to one of our requirements where in user can look at Territory wise info first and can drill down to any specific territory for Dealer wise info. We have used Control Query to cache Dealer info based on all the territories. However, when user drills down from Territory to Dealer, system is not using the cache alreay created by the control query and resulting into slow response time.
    Any thoughts on how to cache the Dealer info in this scenario? Any valuable input is appreciated.

    Hi Arun,
    web template have a variable, that is Profit Center
    Now user wants to give on web, only Region = Europe, not Profit Center. (Region is an attribute of PC)
    Then he wants to have for each Profitcenters in Europa (let say 50 PCs) a seperate printout.
    Now he should call the report 50 times for each profit center should click on Print Button...
    Cheers

  • How to hide folder region in a dynamic page application

    I am using a dynamic page with the following code to render a published portlet in a dynamic page. I can then control how the portlet displays when added the portlet to a custom page by an end user. I wanted to know if there is way to hide some of the portlet regions in the code. (example) Hide news and sub-folders.
    <ORACLE>DECLARE
    l_portlet_record portal30.wwpro_api_provider.portlet_runtime_record;
    BEGIN
    l_portlet_record.provider_id := 41325216;
    l_portlet_record.portlet_id := 56937;
    l_portlet_record.exec_mode := 1;
    l_portlet_record.has_title_region := FALSE;
    l_portlet_record.has_border := FALSE;
    portal30.wwpro_api_provider.show_portlet(l_portlet_record);
    END;
    </ORACLE>

    Moderator advice: Please don't post in threads that are long dead and don't hijack another poster's thread. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    Moderator action: Locking this thread.
    Moreover, your question is answered in this thread. Didn't you at least read it before resurrecting it?
    db

Maybe you are looking for

  • Replaced hard drive, but can't access Time Machine backups of old drive

    My internal hard drive was failing so I replaced it. I told the people that replaced it that I could install the System myself and that I had backups of my data. So, I got the machine home, booted up from the Snow Leopard Install DVD and selected Res

  • Error SAI_MAPPING 107 in BPM

    Dear all, In PI 7.11 I am designing an integration process doing a split mapping via XSLT. When I test the IP it fails in the mapping step with message SAI_MAPPING 107, No interface specified for parameter 2. However I did not configure any parameter

  • Bug in Report Buider (anybody solve it?)

    We are facing a problem with Oracle Developer Report Builder 6.0.5.28.0 . The Problem is as Follows. When we print a report from the previewer of a character mode report it is giving a GPF error and we are unable to print the Report but if the report

  • Drag and Drop Listbox - Help

    Hello! I am back to doing some LabVIEW programming and ran into a problem that I cannot seem to solve. I am trying to use dag and drop on a listbox. I have it set to move only and it works fine. The problem is that if I have a drop event the item mov

  • Dreamweaver

    I have blue boxes around all my links and I want to remove them. It shows up on PC but now on Mac The links are images and once I link them up a blue bounding box apears and shifts everyting over. Can you help???? Thanks, Christina Lynn