Issue with REPLACE Command

Recently i got to work in 4.6C and came across an issue with the statement
REPLACE ALL OCCURRENCES OF CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB IN WA2 WITH SPACE. . I came to know that the class CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB does not exist.
So how can i remove these tabs ?

Hi,
Please check the following:
In SAP 4.6C, REPLACE ALL OCCURENCES OF...
As per my knowledge there is no statement called REPLACE ALL OCCURENCES OF in SAP 4.6C.
Only REPLACE statement is available.
Best Regards,
Suresh

Similar Messages

  • DNS issues with replaced domain controllers

    I have slight issue I hope some one can help with.
    We recently replaced some domain controllers in our 2 core sites the process we followed is as below:-
    moved FSMO roles to different already working servers
    demoted the old domain controllers and decommissioned.
    built virtual machine replacements with the same names.
    depromo'd the servers
    ran all the tests and it reported everything was fine.
    moved the fsmo roles to the new servers.
    repeated this for the remaining servers.
    this was our 2003 domain to free up physical space but our new 2013 domain what will exist separately until all our applications our tested.
    however the problem we now have is that non domain controllers have issues registering against the new servers despite being able to do look-ups against them all (replication testing looks fine). one of our regional DC's seems to have taken over as the primary
    replica. as changes made else where disappeared but changes made there got replicated out perfectly.
    I have managed to resolve this particular issue by added the domain controllers back into several locations in DNS manually (maining forward lookup zones>my domain>_tcp )but we still experience the odd issue with servers not registering in DNS properly
    (although it's a lot better since the I did the above)
    so basically does any one have a idea on what could have caused this issue and how I can resolve?

    should the demotion not automatically remove it from sites and services automatically (it could well be this if not) the question then becomes how do we resolve the issues we have now.
    Hello,
    NO, as you can demote a DC and it still may run site-aware services like DFS and for this reason a DC is NOT automatically removed from AD sites and services during demotionprocess.
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • Issues with host command

    Hi All
    We are running Forms 10gR2 under linux. We are having issues with the host command. We use host command to call ProC* modules in the appsvr. It used to work in Forms 6i. Host commnd no longer works in forms10g. Do we need to any setup to run commands using host.
    We need to resolve this issue immediately.
    any help is appreciated.
    Rgds
    Arvind Balaraman

    Arvind has said the command needs to run on the app server so HOST is correct, not CLIENT_HOST.
    I noticed when I installed 10g (on solaris) that the default.env file has a setting for PATH which does not include /usr/bin so HOST would not be able to find standard unix commands, so I added it in:
    PATH=/usr/bin:/home/oracle/product/AS101202/bin
    Alternatively you could include the full path on any unix commands run by HOST.
    Surpisingly I have not seen this documented anywhere. Could this be the problem ?
    I have a related problem I have not solved yet. I have one particular HOST command which works OK until after I run reports from forms, then it just stops working without producing any error.

  • Issue with Replacement path  variable

    Hi all,
    I had created a formula variable with replacement path for this i had created a variable with replacement path and i had used it in the formula but i am unable to get the value of the replaced objects can any one thru some light on this.
    Regards

    yes the ref char having value. another thing do i need to include the char in the row r columns which has been replaced in the formula variable.
    regards

  • Also got an issue with MSI command center, maybe windows is to blame?

    MSI Command Center crashes every time after it's been running a little while, googling it I've noticed there have been a lot of topics about it crashing. I think someone here on this forum suggested reinstalling windows might help :/ Not too keen on that but better now than when I've installed a ton of stuff on the PC.
    Actually both MSI command center and Intel extreme tuning utility crash for me. MSI command center crashes after a while it's been running and Intel extreme tuning utility crashes every time I click on the settings menu.
    I wonder if something is still wrong with my OS, first time I installed windows 8.1 games crashed if they ran in fullscreen but ran fine in windowed mode. Later after reinstalling widows games started working fine, in fact I haven't had any crashes since (other than from these 2 programs).
    Just yesterday I decided to make a bootable USB drive for windows 8.1 and I noticed that my PCcouldn't actually create an ISO from the windows CD cause the DVD drive couldn't read it properly no matter how many times I tried. My other PC managed to read the Windows DVD just fine, so managed to make a bootable USB drive after all. Donno how it managed to install windows at all, it did struggle a bit.
    I wonder if doing a repair install or a completely fresh install of Windows now when my PC can actually read the windows installation media properly would fix these last issues.
    Is there a difference between a clean install of windows and an install where it keeps all settings and programs? Think reinstalling windows a 3rd time would help (3rd time is the charm right?) Think reinstalling windows again would help?
    Application: CommandCenter.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.ArgumentOutOfRangeException
    Stack:
       at System.ThrowHelper.ThrowArgumentOutOfRa ngeException()
       at CommandCenter.Toolkit.CPUFrequency.<Timer_AnimationShowHW>b__0()
       at System.Windows.Threading.ExceptionWrapp er.InternalRealCall(System.Delegate, System.Object, Int32)
       at MS.Internal.Threading.ExceptionFilterHe lper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
       at System.Windows.Threading.DispatcherOper ation.InvokeImpl()
       at System.Windows.Threading.DispatcherOper ation.InvokeInSecurityContext(System.Object)
       at System.Threading.ExecutionContext.RunIn ternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Windows.Threading.DispatcherOper ation.Invoke()
       at System.Windows.Threading.Dispatcher.Pro cessQueue()
       at System.Windows.Threading.Dispatcher.Wnd ProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
       at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
       at MS.Win32.HwndSubclass.DispatcherCallbac kOperation(System.Object)
       at System.Windows.Threading.ExceptionWrapp er.InternalRealCall(System.Delegate, System.Object, Int32)
       at MS.Internal.Threading.ExceptionFilterHe lper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
       at System.Windows.Threading.Dispatcher.Leg acyInvokeImpl(System.Windows.Threading.DispatcherPrio rity, System.TimeSpan, System.Delegate, System.Object, Int32)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
       at MS.Win32.UnsafeNativeMethods.DispatchMe ssage(System.Windows.Interop.MSG ByRef)
       at System.Windows.Threading.Dispatcher.Pus hFrameImpl(System.Windows.Threading.DispatcherFram e)
       at System.Windows.Threading.Dispatcher.Pus hFrame(System.Windows.Threading.DispatcherFram e)
       at System.Windows.Threading.Dispatcher.Run()
       at System.Windows.Application.RunDispatche r(System.Object)
       at System.Windows.Application.RunInternal(System.Windows.Window)
       at System.Windows.Application.Run(System.Windows.Window)
       at CommandCenter.App.Main()
    Faulting application name: CommandCenter.exe, version: 1.0.0.82, time stamp: 0x542c7911
    Faulting module name: KERNELBASE.dll, version: 6.3.9600.17055, time stamp: 0x532943a3
    Exception code: 0xe0434352
    Fault offset: 0x00011d4d
    Faulting process ID: 0x1764
    Faulting application start time: 0x01cfe0e065a99cf3
    Faulting application path: C:\Program Files (x86)\MSI\Command Center\CommandCenter.exe
    Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
    Report ID: 6fe5aaa5-4cd6-11e4-8264-448a5b9f9b8d
    Faulting package full name:
    Faulting package-relative application ID:

    This issue isn't super important but I don't like programs crashing. None of the games I've played so far crash. (after I reinstalled windows once) Windows never crashes, and the PC has never crashed either so far.
    Both MSI command center (version 1.0.0.82) and intel extreme tuning utility (version 5.1.0.23) crash. Both are kinda same type of programs it seems. MSI CC crashes sometimes immediately sometimes 15 minutes after I start it. The intel program crashes every time I click on the settings menu. MSI CC gives those errors when it crashes, the Intel program has no errors recorded in the event viewer when it crashes.
    Board: MSI Z97 Gaming 5
    Bios: Version 1.0 (Well that's what CPU-Z says it is)
    VGA: MSI GTX 970 Gaming 4g
    PSU: Asus 850W CP-850
    Intel Core i5-4670K Haswell 3.4GHz (3.8GHz Turbo Boost)
    MEM: Kingston HyperX Fury 1866Mhz DDR3
    SSD: Crucial MX100 256Gb
    HDD: Seagate Barracuda 2Tb
    COOLER: Noctua nh-d15
    OC: Everything stock (for now)
    OS: Windows 8.1 64bit
    I tried reinstalling windows by keeping all applications and settings, that didn't help at all. I could still do a fresh windows 8.1 install and remove everything, still I'd rather avoid doing that if I can. Maybe I'll just ignore the errors. Perhaps it's something related to the motherboard since both are these sort of OCing software.

  • Issues with replacing clip in Premiere with After Effects composition

    So basically, i want to track a title to a piece of footage, so i've made my ins and outs and my footage is placed on my timeline in premiere with my title over top. Now I select the two pieces in premiere (the title and the clip) and I hit replace with after effects composition, and it ADOBE does it's thing etc.
    but now in my AE project window I have two copies of my title file and two copies of my mp4 clip.
    two of them are pre loaded into my timeline and the appropriate ins/outs which is perfect but I can't seem to do anything like tracking to them,
    in my project window AE is referring to the ones that show up in the timeline as "compositions" while the extra files that aren't in the timeline are "mp4" and "psd" (the actual file types)
    now. if i just delete the two "compositions" that are masquerading as files in my timeline and drag down my mp4 / psd then my tracking becomes available and all is wonderful
    EXCEPT
    my in's and out's from premiere aren't there and I have to go about all of that all over again and it's very annoying
    any ideas?

    Copy that! Thanks for the help as it is!
    I'll likely have to do as you suggested in the interest of my turnaround but if anyone else out there has any suggestions for my original question of utilizing the dynamic link between PP and AE without the issue mentioned I'd be super stoked!

  • Cisco security manager deployment issue with invalid command

    Running CSM 3.3.1, to manage an 800 series pre-configured router.
    The router has a number of policy ACL's and class-maps configured. When the config is imported to CSM a number of warnings are seen reporting that some of the interfaces are unprotected by ACL's, which is correct, no serious errors are reported and the device is succesfully imported.
    But, when I look at the configuration within CSM non of the ACL's or the class maps are shown.
    Also, when I configure some feature on the router, during the deployment phase I get an error indicating that there is an invalid protocol under one of the class maps associated with an interface. The protocol in question is bittorrent. This error prevents depolyment of my changes. In fact this causes my client to hang, eventually if I close the application windoes reports that the issue is caused by javaw.exe faiing to respond.
    If I take out the bittorrent protocol under the class map then all seems well.
    So, I though flexconfigs would resolve this, enabling me to import the config with the unsupported command. I created a flexconfig with the class map and the invalid protocol. When I re-imported the device there is still a lot of configuration features that are on the router but are missing in CSM.
    I'm not sure how to resolve this, the router was not configured through CSM in the first place.

    Update to this, the CSM is also altering firewall configurations, if I import a configuration from an ASA running 8.0.4 code, then compare that configuration to that running on the same ASA there are quite a few differencies. Some of these are not items that CSM reports as requiring Flexconfig support, which concerns me.
    This is not the first time I've seen this occur, customer is concerned about the reliability of the way this system handles configurations, and I cannot explain why it exhibits this process.
    Anyone else seen this, and found a work around?

  • SQL*Loader issue with WHEN command

    Environment: R12.1.2
    We have a file coming in from a bank that needs to be loaded into a custom table using SQL*Loader.
    The file has multiple record formats. Each record in the file starts with a "record type", which defines the format.
    For simplicity, let me say that there is a record type of "H" with the header format, and another record type "D" has a detail record format. An "H" record may be followed by multiple "D" records until the next "H" record is encountered. Unfortunately, there is no common key, like say "Vendor Number" in both the "H" and "D" records to establish a relationship. So the plan was to use a Oracle sequence or SQL*Loader sequence to get a sequence loaded into the table as the file is being loaded. Then if consecutive "H" records had a sequence value of 100 and 112, we would know that the "D" records for the "H" 100 record are all the records with sequence value of 101 through 111.
    The issue occurs as we have to use the WHEN command in the control file to direct a certain record type to specific columns of the table. Based on the populated sequence values, with the WHEN command, it seems that all the "H" records get loaded first followed by the "D" records. The sequence becomes of no use and we cannot establish a link between the "H" and "D" records. The alternative is to not use WHEN with the sequence, but load the file into generic column names which provides for less understanding in the application.
    Is there a way (command feature) to ensure that SQL*Loader loads the records sequentially while using WHEN?
    Thanks
    Satish

    I used RECNUM parameter instead of sequence and it worked fine

  • Issue with rdcmndGotoSlide command

    Hi,
    We have developed an e-learning course in which there is one Shell Engine SWF which has all the navigation controls such as ‘Back’, ‘Forward’, ’Play’, ‘Pause’ ‘Replay’ etc. In this Shell Engine SWF we are externally loading SWF files which are exported with Captivate Version 3. As this is an e-learning course we are keeping track of the Bookmark page. We are storing Slide Number of the last visited page (captivate SWF file) in the Share Object. When learner re-launches the course then he/she will be taken to the same slide of the last visited page where he/she left off earlier. This functionality is implemented in the course with the help of Captivate command as given below.
    rdcmndGotoSlide – For jumping to slide
    rdinfoCurrentSlide – To get the slide number
    With this functionality we are able to store the slide number but when we jump to the specific bookmark slide at that time it does jump to that slide but screen remains blank till that slide is not played completely. Also audio on that slide is not playing. Can anyone help me with this?
    Ketan Bhate
    Sr Developer
    Aptara, Pune

    Hi there
    Looks like you are co-mingling Flash with Captivate?
    I'm happy to split this thread and ensure it is placed in the Advanced Captivate Users forum for you. You need the help of someone versed in Flash as well as Captivate.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Issues with replacing a clip in premiere with After Effects composition

    So basically, i want to track a title to a piece of footage, so i've made my ins and outs and my footage is placed on my timeline in premiere with my title over top. Now I select the two pieces in premiere (the title and the clip) and I hit replace with after effects composition, and it ADOBE does it's thing etc.
    but now in my AE project window I have two copies of my title file and two copies of my mp4 clip.
    two of them are pre loaded into my timeline and the appropriate ins/outs which is perfect but I can't seem to do anything like tracking to them,
    in my project window AE is referring to the ones that show up in the timeline as "compositions" while the extra files that aren't in the timeline are "mp4" and "psd" (the actual file types)
    now. if i just delete the two "compositions" that are masquerading as files in my timeline and drag down my mp4 / psd then my tracking becomes available and all is wonderful
    EXCEPT
    my in's and out's from premiere aren't there and I have to go about all of that all over again and it's very annoying
    any ideas?

    Mat,
    I'm sure you've figured it out. 
    I don't know how you got two separate source clips - you should have a sequence (comp) and the footage in the project window (bin window) for each  In your comp, the tracking can be done by selecting the layer in that comp.
    And - you've probably already figured it out that you needed those comps so they could dynamically link back to PremierePro easily.
    If you have any Ae/Pr questions - I'm going to try to be in this forum more.  I love this stuff.
    Ko

  • Security issues with action commands....

    Hi
    I have a webapplication that under its context has two diffenent
    maps, one is admin and the other one is user.
    I use an ActionRouter and has actions like list-clients.do.
    The admin map is restricted area described in web.xml.
    You have to be in AdminRole to get access.
    My problem is that if I log in as user, I can "shoot" actions commands
    like list-clients.do from the user area and Servlet maps to the proper
    jsp that is in the admin map. When I then try isUserInRole and so on
    there is only a quetstionmark. If I run from admin area the isUserInRole
    knows who is logged in.
    I put in the list-clients.do in the url like: http://myplace.com/users/list-clients.do and servlet reply with jsp from
    admin area.
    Anybody know why not the restricted area declared in the web.xml file
    works during that condition, and how to solve this?
    Im working with Tomcat 4.1 and use SingleSignOn.
    Heres my web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <filter>
    <filter-name>loginfilter</filter-name>
    <filter-class>argus.web.util.LoginFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>loginfilter</filter-name>
    <url-pattern>/admin/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>loginfilter</filter-name>
    <url-pattern>/user/*</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>argus.web.servlet.ActionServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>setup</servlet-name>
    <servlet-class>argus.web.servlet.SetupServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>0</session-timeout>
    </session-config>
    <security-constraint>
    <display-name>ArgusAdmin</display-name>
    <web-resource-collection>
    <web-resource-name>AdminAdaptor</web-resource-name>
    <url-pattern>/admin/*</url-pattern>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>ArgusAdmin</role-name>
    </auth-constraint>
    </security-constraint>
    <security-constraint>
    <display-name>ArgusUser</display-name>
    <web-resource-collection>
    <web-resource-name>UserAdaptor</web-resource-name>
    <url-pattern>/user/*</url-pattern>
    <url-pattern>/index.htm</url-pattern>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>ArgusAdmin</role-name>
    <role-name>ArgusUser</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/login.htm</form-login-page>
    <form-error-page>/loginError.htm</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <role-name>ArgusAdmin</role-name>
    </security-role>
    <security-role>
    <role-name>ArgusUser</role-name>
    </security-role>
    </web-app>
    Many Thanks
    Ben

    I found them in my firewall list on my Windows 8.1 Pro installation and posted a question on a forum as well, though I don't think it was here.  I don't believe anyone ever answered.
    It looks as though these are parts of the bundled virtual private networking clients.
    Note, for example, the "distributed by Microsoft as part of Windows 8.1" wording on this page:
    http://www.sonicwall.com/app/projects/file_downloader/document_lib.php?t=PG&id=605
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

  • Issue with FTP command while deleting a file.

    Hello All,
    I am trying to delete a file from the FTP server after the file is processed. I am able to connect to the server, I am able to pick the .csv file and place the data in an internal table, and am able to process it as required in SAP. After the processing, I need to delete that file from the FTP server. I did not change the working directory and gv_filename is the variable which is holding the filename. I am using the following code
    concatenate 'delete' gv_filename into lv_cmd separated by space.
      REFRESH mdata.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = gv_handle
          command       = lv_cmd
        TABLES
          data          = mdata[]
        EXCEPTIONS
          tcpip_error   = 1
          command_error = 2
          data_error    = 3
          OTHERS        = 4.
    When I check the mdata which returns the result of the command, I get the message 550: unable to delete <pat>\filename,
    where as the file does exist. Is there any condition where in we may not be authorized to delete the file? If so is there any way to check that?
    Thanks and Regards,
    Sachin

    Hi Sachin Dargan,
    Yes.. You need to get read and write access for the directory of FTP file server where it is located..
    Ask to BASIS or Network admin to give your authorization for it..
    Also using upper case in single quotes is better.. as sometimes it may cause problem..
    concatenate 'DELETE' gv_filename into lv_cmd separated by space.
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Issue with update command in writeback...

    I am not able to get an Update working as expected using the write back feature. Any help appreciated.
    <?xml version="1.0" encoding="utf-8" ?>
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
    <WebMessageTable lang="en-us" system="WriteBack" table="Messages">
    <WebMessage name="XXExample1">
    <XML>
         <writeBack connectionPool="ORA11_SH">
              <insert> </insert>
              <update>UPDATE sales SET update_col=@{c1} WHERE prod_id=@{c0}
              </update>
         </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    My error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27024] The EXECUTE PHYSICAL statement must specify a physical SQL statement to execute. (HY000)
    SQL Issued: EXECUTE PHYSICAL CONNECTION POOL ORA11_SH

    The template name should be same as Web message name...
    They are both XXExample1
    Make sure that the column position in criteria same as you mentioned...
    I have verified them to be as they show up in the "Results Page". I.e. co =prod_id and c1=update_col.
    Make sure that there are Update permissions for this user for that particular table..
    It is actually using a ODBC data source name, ORA11_SH and the user I am logging in is "Administrator". I think they are covered.
    Make sure that there exist * update_col* in your physical table...
    Of course.
    John:
    <update>UPDATE sales SET update_col='@{c1}' WHERE prod_id='@{c0}'</update>
    the quotes are needed only for char datatype columns in my case the columns are numeric.

  • Re: Issue with rdcmndGotoSlide command

    Hey AjitD!
    Did you came up with a solution for this? I'm stuck with the same problem (as there are always new bugs to explore in captivate ...)!
    Would be nice!
    Regards Chris

    Hi there
    I see this is your first post, so welcome to our community.
    What you posted to is a bit old. The poster is referring to version 3. Version 4 has been out for some time and version 5 is about to be released. So I'm asking what version you are using? If you say Version 4, perhaps it will help to tell us what exactly you are attempting to do?
    I ask because Version 4 introduced many capabilities that simply weren't available in earlier versions. And that opens the door to doing things in new ways that make some or many of the older workarounds obsolete.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • GetElementById issue with hidden command link

    I am having scrollable table whose rows are not editable. This table is in first half of screen. The bottom half of screen displays detail with respect to each row. So say i click on row 1 the bottom screen gets refreshed with details of row1.
    When i am clicking a row i am getting javascript error "object expected". Can anyone help me out...i am putting my piece of code below...
    <script>
    func A()
    document.form1.offerid.value = val;
    clickLink('hiddenLink');
    function clickLink(linkId)
    var fireOnThis = document.getElementById(linkId)
    fireOnThis.click()
    </script>
    <h:form id="form1">
    <input type="hidden" name="offerid" />
    <t:commandLink id="hiddenLink" forceId="true" style="display:none; visibility: hidden;" action="#{TestBean.openClickOffer}"/>
    </h:form>

    I have tried using fireOnThis.click() but it gave object expected error. The line in generated code where it is giving this error is ....
    <a href="# onclick="clear_form1();document.forms['form1'.elements['autoScroll'].value=getScrolling();document.forms['form1'].elements['form1:_link_hidden_'].value='hiddenLink';if(document.forms['form1'].onsubmit){var result=document.forms['form1'].onsubmit(); if( (typeof result == 'undefined') || result ) {document.forms['form1'].submit();}}else{document.forms['form1'].submit();}return false;" id="hiddenLink" style="display:none; visibility: hidden;"></a>
    I suspect somehow getElementById(linkId) is not recognising the anchor tag event id ie linkId.....

Maybe you are looking for

  • Need help in using SQL in a jsp file to compare date and time

    hi every one, Actually I am doing a project using JSP. I need to compare a date field in the database (MS Acess) to the current system date and time. I have to do this in a select statement. I have alredy defined a variable of type Date in the JSP fi

  • Internal error Occured mapping can not be opened - while opening interface

    Hi Gurus, I Am using ODI 11g to load data from Oracel to Oracel database using different schemas as a source to load facts. for the first time its loading sucessfully and when i try to open the same interface to see the mapping its showing the errror

  • Why can't iTunes play music from read-only external hard drive?

    I have a write-protected external hard-drive which I keep all of my iTunes media on. iTunes recognizes all of the files, including the metadata on the id3 tags, and can find the files in Windows Explorer. However, it cannot play the files while the d

  • JPG and RAW files are not grouped together.

    I am finding that my RAW and JPG files are not grouped together.  They show up on the Grid View as JPG for the JPG file and RAW + JPG for the NEF(RAW) file.  This does not seem to be consistent through out the folder.  Some of the pictures are groupe

  • Php with mysqli, mbstring and xsl extensions

    I don't understand why php isn't build with mysqli and mbstring extensions since mysql4 is installed and there are a lot of languages that need multibytes strings. Here is a PKGBUILD that enable them. I also added xsl extension to use xsl files with