Problem in create Hyperlink

Hi All,
I create hyperlink by finding http and www in my active document.                //Works well
But the problem is, if the url or websites contents coming twice or above then I found error   //not able to create hyperlink source with the same name
i.e., www.gmail.com (comes 2 or more time in the document, then the below code is not working fine)
var myDoc = app.activeDocument;
app.findGrepPreferences = app.changeGrepPreferences = null;
//Find http and www
app.findGrepPreferences.findWhat = "(?i)(http|www)\\S+[\\l\\u|\\d]"
var myFound1 = myDoc.findGrep();
count = 0
for(k=0; k<myFound1.length; k++)
    var myFind = myFound1[k];
    var myHyperlinkSource = app.activeDocument.hyperlinkTextSources.add(myFind)
    var myHyperlinkURLDestination = app.activeDocument.hyperlinkURLDestinations.add(myFind.contents)
    var myHyperlink = app.activeDocument.hyperlinks.add(myHyperlinkSource, myHyperlinkURLDestination, {name: myFind.contents})
//    var myHyperlink = app.activeDocument.hyperlinks.add(myHyperlinkSource, myHyperlinkURLDestination, {name: myFind.contents+count++})
Please find the screenshot for your more references.
Please help to find the solution.
Thanks in advance
Beginner_X

I solved this problem by adding an incrementing number in round brackets if a hyperlink name is already taken.
Another (simpler) solution is to put "add hyperlink" line into try-catch block, but in this case you'll have a default name if the error occurs.
Here's the function:
function MakeHyperlink(text, url) {
    if (url.match(/https?:\/\//) == null) {
        url = "http://" + url;
    url = url.replace(/\.$/, "");
    var name = text.contents;
    var oriName = name;
    if (doc.hyperlinks.itemByName(name) != null) {
        var increment = 1;
        while (doc.hyperlinks.itemByName(name) != null) {
            name = oriName + " (" + increment++ + ")";
    try {
        var dest = doc.hyperlinkURLDestinations.itemByName(name);
        if (!dest.isValid) {
            dest = doc.hyperlinkURLDestinations.add(url , {hidden: true});
        var source = doc.hyperlinkTextSources.add(text);
        var hyperlink = doc.hyperlinks.add(source, dest, {highlight: HyperlinkAppearanceHighlight.NONE, visible: false});
        try {
            hyperlink.name = name;
        catch(err) {
            //$.writeln(err.message + ", line: " + err.line);
        if (hyperlink.isValid) {
            hypCount++;
            if (set.tempColors) source.sourceText.fillColor = swatchOK;
            if (set.charStyle) source.appliedCharacterStyle = charStyle;
    catch(err) {
        errorsCount++;
        var swatchProblem = MakeSwatch("===== PROBLEM =====", {
            model : ColorModel.PROCESS,
            space : ColorSpace.RGB,
            colorValue : [255, 0, 0]
        text.fillColor = swatchProblem;
        //$.writeln("Error message: " + err.message + ", Line: " + err.line + ", URL: " + url);
        arr.push("Error message: " + err.message + ", Line: " + err.line + ", URL: " + url);       

Similar Messages

  • More problems while converting hyperlinks in word to pdf - missing first words

    I'm using Microsoft Office Word 2007 and Adobe Acrobat 9 Pro Extended (I think on Windows XP).
    If I have a word document with a working hyperlink when I convert it to PDF (using the Acrobat button in Word)I end up with a working hyperlink in the pdf file but it is missing the first word. For example :
    in Word the hyperlinked phrase will be http:/tinyurl.com/MarinaBloj but in the pdf version it will be :/tinyurl.com/MarinaBloj
    or
    in Word the hypelinked phrase will be "Sensitivity to luminance and chromaticity gradients in a complex scene." but in the pdf version it will be " to luminance and chromaticity gradients in a complex scene." with an extra blank space.
    worse, if in the word it is a single word, say "PDF" then all you get in the created pdf document is " " i.e. a blank space that is actually is a hyperlink (you can see the corresponding address if you hover the mouse).

    I am experiencing the exact problem...hyperlinks work after conversion from Word to pdf however first word is missing. I can only reproduce the problem on one computer. Other computers I have tried it on do not have that problem. Here is a work around i found....You can select the entire document (Ctrl + Shift + End from the beginning), then go to "Create PDF". Go into Options and select the "Selection" option. Then proceed to convert the document. It's a workaround but I'd like to know what the cause of the problem is.

  • Outside ads create hyperlinks in stories I'm reading

    Hello, I've been noticing lately that what seems to be outside ad companies are creating hyperlink in news stories I'm reading. This isn't happening when I use Internet Explorer.
    I checked with the editor of a site I visit (psmag.com) and he says they aren't doing it on their end, and they can't see the problem that I'm talking about. But, from their front page, in four stories there was a word that was larger font than the rest of the words, and it was a hyperlink to outside ads. This has been happening over and over for the last 2 or 3 weeks on various sites. What is going on?

    Do these links have double underlines? If so, it could be textsrv doing that. You can block textsrv.com with Adblock Plus by adding this to the Custom Filters Ad blocking rules: ||textsrv.com/*
    If that is not it, maybe you have some malware installed. Try the software listed here:
    * Malwarebytes' Anti-Malware - http://www.malwarebytes.org/mbam.php
    * SuperAntispyware - http://www.superantispyware.com/
    * Spybot Search & Destroy - http://www.safer-networking.org/en/index.html
    * AdAware - http://www.lavasoftusa.com/software/adaware/
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help:
    * http://www.spywarewarrior.com/index.php
    * http://forum.aumha.org/
    * http://www.spywareinfoforum.com/
    * http://bleepingcomputer.com/

  • Unable to create hyperlinks

    I am using iWeb 1.1.2 and had no trouble creating hyperlinks in 1.0, but now cannot. When an object or text is selected enable hyperlink checkbox and menu remain shaded. Has anyone else had this problem? Anyone solved it?

    I think I may have solved this problem. I was having the same issue intermittently. In order to bypass this issue, I simply selected the text or item that was going to serve as the click-able link, then from the INSERT menu, selected Hyperlink and chose the appropriate sub-item. This has worked for me so far. Hope it helps you.
    PowerBook G4 17   Mac OS X (10.4.9)  

  • Anyone else having problems making a hyperlink to a file in CS4?

    Anyone else having problems making a hyperlink to a file? 
    I have a document in CS4 that I'm exporting to pdf. When I create a hyperlink in CS4 to a file, I am getting the message when I click the link in the pdf ' Cannot find the file:C%5Document' etc. 
    When creating the link, File is selected, Shared Destination is unchecked & checking the link using 'Go to Destination' shows the link works. 
    In Acrobat 9 Pro, I've checked the properties of the link - when exported from CS4, the Link Properties - Actions are 'Open a web link' 'file:C:\Documents%20'etc whereas if the link is created in Acrobat the link properties are ' 'Open a file' 'file:C\Documents and Settings' etc, and it works. 
    Is this a bug or am I missing something?

    I'm only getting that to work with the catalogue & sample in the same folder. In any case from a useability standpoint using URL brings up the Security Warning & putting the catalogue pdf in the same folder as 100 sample pdfs makes it more difficult to locate.
    I'm at a loss to understand why the functionality of creating a link in InDesign cannot be the same as Acrobat; where you can select 'Open a file', browse to that file and the relative links are maintained when you burn to a disc. InDesign looks as if it will do the same but when you select File as the link & browse to the destination file but InDesign treats it as a URL & brings up the the web link cursor in the finished pdf. That still looks like a bug to me.

  • Report navigation after creating hyperlink

    Hi,
    I am using Webi rich clinet XI R3.1. I have one main report with six dashboards and associated detailed reports. I created hyperlink for each of the dashboard and linked to detailed report in infoview.
    If i need to see main report i've to close this detailed report.Now how can i make the detailed report open in same window and navigate forward and backward to the main report instead of closing.
    I would appreciate if some one could provide any work around available if possible atleast.
    Thanks,
    Eswar

    Hi
    Create two links one Back and one Next in each report.
    Drag two free standing cells in the report and use opendocument syntax to create the links.
    The thread Re: Hyperlink Back functionality may give an idea.
    Regards

  • I am having problems with creating my apple id. On the phone it is advising me that the ID is not created and then when i do it online it says that it has been created. Can you advise me on what to do please?

    I am having problems with creating my apple id. On the phone it is advising me that the ID is not created and then when i do it online it says that it has been created. Can you advise me on what to do please?

    Apple ID FAQ   http://support.apple.com/kb/HE37

  • Facing some problems in creating a custom tabs in CRMD_ORDER Transaction

    Hi Friends,
    I am facing some problems in creating a custom tabs in CRMD_ORDER Transaction code in Solution Manager of SAP.
    Actually my requirement is adding of two tabs(one is header & another is item tab) in the above Transaction, i was able to put one tab i.e header tab but i was not able to keep item tab. i found a badi CRM_CUSTOMER_I_BADI in which documentation was given & i processed in the same way.
    For information i used the Badi CRM_CUSTOMER_H_BADI for header tab which i was able to add the tab & all functions like change, save working Good.
    But i want how to add custom tab in which item details were to be attached.
    i was done with the necessary SPRO settings(or Tcode CRMV_SSV) & able to see the 2 tabs thats it, but the functionality save is not working for the second tab & not saving in table CRMD_CUSTOMER_I (in this table there is one CI include where we added our item fields).
    And also i had a doubt whether to use ALV or Table Control. And if possible can any one can sent me the screen design & the code for the above requirement in detail.
    can any one who have knoweldge in Solution Manager & in the above Badi implementation can give me a right solution which will help me a lot.
    Thanks a lot in advance.
    Thanks
    Ravi.
    can any one give the solution regarding to the above one.
    Edited by: ravikanth on Jul 23, 2008 8:13 AM

    Hello Priyanka,
    I have the same problem by using Service Ticket in SAP CRM 5.0.
    Did you already solved this issue? If so, can you please provide the solution!?
    How can I activate and check the transfer log?
    Thanks and regards
    Alex

  • Facing problem in creating socket in a method from an already deployed application exe while same method is working from another exe from same environment from same location.

    Dll Created In: - MFC VC
    6.0
    Application Exe Developed In:
    - VC 6.0, C# and VB.net (Applications which are using dll)
    OS: - Windows XP sp2 32bit
    / Windows Server 2008 64 bit
    Problem: - Facing problem in creating socket
    in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
    Description: - We have product component which
    has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting Error
    code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
    Already Attempt: - Because error is coming on
    client side so what we did, we created a driver in C# which invokes same method from same environment(on client machine) using same dll and we are astonished because it worked fine there.
    Kindly Suggest: -
    We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not working,
    actually  it is not executing Create () method,
    I will give snippet of the code for understanding the problem because we are not finding any kind solution for it.
    Kindly assist us in understanding and fixing this problem.
    Code Snippet: -
    Int Initialize (LPTSTR SiteAddress, short PortId)
    try
    CClientTSSocket *m_pJtsSockto;
    m_pJtsSockto = new CClientTSSocket;
    LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
    ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
    catch(...)
    DWORD errorCode = GetLastError();
    CString errorMessage ;
    errorMessage.Format("%lu",errorCode);
    ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
    return  IS_ERR_WINDOWS;
    Note: -
    CClientTSSocket extends CAsyncSocket
     IS_ERR_WINDOWS is a macro error code which value I found 7.
    LONG ConnectTS(CString strIP, UINT n_Port)
    ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
    if(!Create())
    ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
     n_Err = GetLastError();
     ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
    return NET_INIT;
    ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
    if(!AsyncSelect(0))
    n_Err = GetLastError();
    return NET_INIT;
    if(!Connect(strIP,n_Port))
    n_Err = GetLastError();
    ErrorLog(n_Err,0,"ConnectTS","");
    return SERVER_NOT_CONNECTED;
    Code description: -
    From
    int GETImage_MT() method we call Initialize() method and pass client machine IP and Port and there we call
    ConnectTS() method, In this method we Create() method and finally it returns the error code as mention in macro 7.
    Logs after running the program: -
    --------ConnectTS has been called ------------
    ConnectTS is calling Create [is going to call]
    Image System 
    0
    Note: - According to logs, problem is coming in Create method().
    Here 0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll
    from different exe, it is working fine and we are facing any kind of problem. While same problem application was working properly earlier but now continuously it showing problem.
     Kindly assist us to resolve the issue.

    Pointer variable was already initialized; I have mention in code; kindly assist us.
    Dll Created In: - MFC VC 6.0
    Application Exe Developed In: - VC 6.0, C# and VB.net (Applications which are using dll)
    OS: - Windows XP sp2 32bit / Windows Server 2008 64 bit
    Problem: - Facing problem in creating socket
    in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
    Description: - We have product component
    which has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting
    Error code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
    Already Attempt: - Because error is coming
    on client side so what we did, we created a driver in C# which invokes same method from same environment (on client machine) using same dll and we are astonished because it worked fine there.
    Kindly Suggest:
    - We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not
    working, actually it is not executing Create () method, I will give snippet of the code for understanding
    the problem because we are not finding any kind solution for it. Kindly assist us in understanding and fixing this problem.
    Code Snippet: -
    Int Initialize (LPTSTR SiteAddress, short PortId)
    try
    CClientTSSocket *m_pJtsSockto;
    m_pJtsSockto = new CClientTSSocket;
    LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
    ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
    catch(...)
                       DWORD errorCode = GetLastError();
                       CString errorMessage ;
                       errorMessage.Format("%lu",errorCode);
                       ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
                       return  IS_ERR_WINDOWS;
    Note: - CClientTSSocket extends CAsyncSocket
     IS_ERR_WINDOWS is a macro error code which value I found 7.
    LONG ConnectTS(CString strIP, UINT n_Port)
              ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
              if(!Create())
                       ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
              n_Err = GetLastError();
              ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
                      return NET_INIT;
              ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
              if(!AsyncSelect(0))
                       n_Err = GetLastError();
                       return NET_INIT;
              if(!Connect(strIP,n_Port))
                       n_Err = GetLastError();
                       ErrorLog(n_Err,0,"ConnectTS","");
                       return SERVER_NOT_CONNECTED;
    Code description: - From int GETImage_MT() method
    we call Initialize() method and pass client machine IP and Port and there we call ConnectTS() method, In
    this method we Create() method and finally it returns the error code as mention in macro 7.
    Logs after running the program: -
    --------ConnectTS has been called ------------
    ConnectTS is calling Create [is going to call]
    Image System  0
    Note: - According to logs, problem is coming in Create method(). Here
    0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll from different exe, it is working fine and we are facing any kind of problem.
    While same problem application was working properly earlier but now continuously it showing problem.
     Kindly assist us to resolve the issue.

  • Problem in creating a WebService

    hi ... i am having a problem in creating a web service using netbeans .. i am using net beans 6 and glass fish v2 ... when i run the clinet appllication an exception comes that is
    javax.xml.ws.WebServiceException: Provider com.sun.xml.ws.spi.ProviderImpl not found
    but i have followed right steps ... why this exception is coming ..? plz help.....

    Hi
    please try recreating the EJB , just check whether the home and remote interfaces and the business methods in the home and bean classes are defined properly  .Also check whether the ejb editor is showing all the business methods
    hope this helps ,please do ot forget to reward points
    regards
    rajeshkr

  • Problem in creating a JDBC System on VC7.1 portal ( CE7.1 SP3)

    I have a problem in creating a JDBC System on VC7.1 portal (CE7.1 SP3)
    I get the following error:
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the back-end application using the connector defined in this system object
    Results
    Default alias retrieved successfully
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
    Could you please let me know if there are any guides on SAP Library; I was not able to find any documentation nor any threads discussing this on VC7.1
    Although, I saw this thread Can Visual Composer talk to/connect to any Database?..
    which says that VC7.1 can connect to SAP backend
    and web services only, and there is no direct connection to the db.
    Help needed please.

    Hi Dharmi
    Here is a quote of Dafna's post in [another thread in this forum|Re: Copy VC controls]
    CE7.1.1 will be released at September 2008 for ramp-up customers.
    There are many improvements and new capabilities in the new release of Visual Composer for CE7.1.1. Among the new features you can find:
    The missing features from Visual Composer 7.0 (Html view, portal Eventing support (EPCM), JDBC, Undo/Redo, and more..)
    Many layout & modeling improvements
    Additional ALV table functionality - export to Excel, switch to chart, configure ALV behavior at design time
    Integration of Visual Composer in Eclipse - additional entry point to the Visual Composer models from the NWDS. This integration provides the option to add a WD component (in case of missing functionality in Visual Composer), as a black box component to the Visual Composer model. Right-clicking the component will open the Web Dynpro perspective for creating/modifying the component.
    Regards,
       Shai

  • Problem in creating a build.xml for weblogic portal application

    Team ,
    I am facing problem in creating the build.xml using weblogic.BuildXMLGEN tool .
    a) Below is the structure of my portal application
    SrcCode
    --- .metadata (eclipse plugins folder)
    --- B2BApp ( Ear Content)
    --- b2bPortal ( portal related file(controllers,jsp)
    --- b2bsrc     (java src)
    b) Now I executed below utility to generate the build.xml "
    java weblogic.BuildXMLGen -projectName B2BApp -username weblogic -file build.xml -password welcome1 F:\srcCode"
    c) Based on the above step , build.xml got generated .
    d) when I execute "ant compile" target from the command prompt , I see the below exception
    ant compile
    Buildfile: build.xml
    compile:
    +[wlcompile] [JAM] Warning: failed to resolve class AbstractJspBacking+
    +[wlcompile] [JAM] Error: unexpected exception thrown:+
    +[wlcompile] com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\b2b\dmr\Picker\PickerController.java at line 58.+
    e) I suspect , the problem is bcoz of classpath issues , as I generated build.xml donot have the references to dependent lib's.As build.xml looks like below :
    +<target name="compile" description="Only compiles B2BApp application, no appc">+
    +<wlcompile srcdir="${src.dir}" destdir="${dest.dir}">+
    +<!-- These referenced libraries were not found -->+
    +<!-- <library file="p13n-core-web-lib" /> -->+
    +<!-- <library file="jersey-web-lib" /> -->+
    +.....+
    +....+
    Please help me to reslove these issues .
    PS: I able to deploy the application using 10.3.2 weblogic workshop ( i.e inbuilt eclipse )

    i JaySen ,
    thanks for your response. As mentioned we added all the necessary library within the -librarydir but still we see the same error :
    +[JAM] Error: unexpected exception thrown:+
    com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\typeAhead\TypeAheadController.java at line 70.  Most likely, an annotation is declared whose type has not been imported.
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.getAnnotationTypeFor(JavadocTigerDelegateImpl_150.java:410)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:176)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:152)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.addAnnotations(JavadocClassBuilder.java:404)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.populate(JavadocClassBuilder.java:359)
    ===================
    a) this is a upgrade project [ upgrading from wlp 8.1.4 to 10.3.2 ]
    i.e we are using weblogic portal 10.3.2 version.
    b) Searched some sites/forums regarding the above error, and it says something related to "jwsc" ant task [ i.e while compiling a webservice(JWS) ], but we see this error while compiling a normal controller(jpf) class :(
    c) we are using "ant compile" target which internally calls wlcompile task , while executing wlcompile this error is thrown .
    Help Appreciated
    Thx,
    Sarat

  • Problem in creating table maintenance generator for 61 fields in table

    Hi Experts,
    I am facing problem in creating a table maintenance genarator for a ZTABLE which has 61 fields
    i am using below details whicle creating the TMG
    in Maintenance screen
    i am giving maintenance type as two step
    Maint screen no overview screen 2
                              single screen        3
    Dialog Data Transport details
    Recording routine    standard recording routine
    but it is giving following error
    screen SAPL<ZTABLE NAME>    0003 could not be generated
    In DYNPFIELD_ATTR mandatory field LINE has no value
    please let me know how to sort out these errors.
    Is there any limit on the number of fields for which we can create table maintenance generetor.
    Thanks a lot in advance
    Sudipto

    Hi Sudipto,
    There is not limit to the number of fields of the Table which can be used in TMG for generation. But, from the usability point of view this will horrible.
    I created a Z table and added 64 fields and was able to generate the TMG with the screens perfectly. So, I guess there should not be any problem.
    Well, have a look at the Function Group. I guess the screen numbers are already used by some other screens. You can set the system to propose freely available screen numbers from the pool.
    Also, check whether proper authorization is assigned or not.
    And if nothing is working, you can degenerate all the generated screens and then can have a new regeneration of it.
    Hope these tips will work.
    Thanks,
    Samantak

  • Problem in Creating Check boxes as a column in a table using MVC

    I am trying to display a table format using the Model view controlers, with 1st column as a checkbox. if the user chooses some check boxes and submit the screen then i need to update the information in a custome table.
    I am having a problem in creating the check boxes, also pls tell me how to catch the line items checked by the user in the table...
    Sri

    HI Srinivas
       I am not getting what the exact problem is.....
    I am giving you a work around.....to me it does not seems to be an Ideal Solution..But Probably it will solve your problem....
    Changes To be Made in Page Layout...
    In Pagelayout     
    <htmlb:tableView id   = "tvX"                           width                 = "100%"                           visibleRowCount       = "8"                           fillUpEmptyRows       = "X"                         selectedRowIndexTable = "<%= selectedRowIndexTable %>"
    <b>selectedrowindex      = "<%= selectedrowindex %>"
    onrowselection        = "select"</b>
    selectionMode   = "MULTISELECT"                           table                 = "<%= sflight %>" />
    <b>selectedindexrow is an attribute of type INT4</b>
    In Do handle event.....instead of using the previous code use this one...
    if event->id = 'SUBMIT'.  
    DATA:      WA  TYPE  INT4.     
    LOOP AT SELECTEDROWINDEXTABLE INTO WA.
    *Here you can read your table of TABLEVIEW with index *equal to WA into a workarea and then use that workarea *to update the customer table      ENDLOOP.   
    elseif event->id = 'tvX'.
    tv ?= CL_HTMLB_MANAGER=>GET_DATA( request = request                                      name    = 'tableView'                                      id      = 'tvX' ).  
    IF tv IS NOT INITIAL.    
    table_event = tv->data.   
    selectedRowIndex = table_event->SELECTEDROWINDEX.
    append selectedrowindex into SELECTEDROWINDEXTABLE.
    endif.
    ENDIF.
    Meanwhile..Let me check why that code does not work.....
    Hope it solve your problem....
    Cheers:)
    Mithlesh

  • I have a problem in creating a Process Chain(PC).

    Hi GURU's
    I have a problem in creating a Process Chain(PC). The PC should run on first 3 business days of the month for six times i,e 6am, 7am,8am, 9am,10am,11am.
    For this i have created 3 PC like BD1, BD2, BD3, and i selected the Factory calender provided workday 1, 2 , 3 and time for three chains.
    Now should i schedule it for 6times in a day.
    I tried creating a new job for one of PC's but i have to change the timings for  every month (this is not the proper solution).
    Please help me.
    Regds
    Lajwanth

    Hi Friend,
    For the days part, you can create a new factory calendar with first 3 business days of each month only as working days.
    Then in the scheduling -> Restrictions; you can mention that Factory Calendar id and select radio button for "Move job to next working day". Schedule the chain as Periodic "Hourly".
    Then for the Time part -> You can insert process type "Decision between multiple alternatives" after the start variant.
    After you insert this process type you can create a formula in it to check for system time. In the if condition check for system time i.e., whether it is between 6 - 11. If only the system time is between 6 AM to 11 AM only then the decision step would turn to green and go to the successor step in the process chain.
    Process chain would be like:
    Start variant -> Decision Step -> Rest of the chain.
    So in short the factory calendar will take care of which days the chain will run and decision step will take care of the timings.
    Regards
    Hemant Khemani

Maybe you are looking for

  • Images in Email Reply Templates

    Hi experts, I was wondering if anyone knows of a way to add/embed images into the Email Reply Templates. We are using email queues in BCM (SP4.1) on its own (no CRM integration) and need to include a company image in the reply email. If it can't be d

  • How to access LoginModule from EJB?

    Hello, I have developed a custom login module and deploying my EJB by defining to use this custom login module. Here is what I defined in orion-application.xml    <jazn-loginconfig>       <application>          <name>CVTApplication</name>            

  • Can't use templates due to some issue with "sites"

    I'm trying to create a website from a template on dreamweaver, but my computer is giving me some grief about "adding a site". I already entered the information for my site in the "configure server" box. I've entered the proper info for ftp host and h

  • Date to numbers

    Hi, I have dates in format 'DD-MON-YYYY' is there any way to show dates in number Eg: 1-jun-08 as 1 2-jul-08 as 2 4-jul-08 as 3 7-aug-08 as 4 Please suggest Thanks Sudhir

  • Cryptographic exception in sharepoint - key not valid for use

    Hi, I have created a sharepoint application page to access an active end point on ADFS and establish a fedauth session. All works well in single server. But when the page runs behind load balancer with 2 servers, it fails with key not valid for use i