How to display 10 times ' linktoaction '  text in view ?

HI,
Experts,
I want to display 10 times " LinktoAction " ui element in a view for that how to write the code and in which method we have to write the code.
thanks in advance,
Shabeer ahmed.

hi,
To display LinkToAction :
One option would be to create 10 LinktoAction UI in the layout. All would have differeent actions available to which you can write the logic as per required.
If you want to dynamically add LinkToAction on a button event or so , then you can use RowRepeater UI and inside this place LinkToAction. On every action of button , add one more LinkToACtion. This would be good if you dont know the number of UI at design time but as you know that you want 10 LinkToAction, create UI and make them invisible by default . When required , make the LinkToAction Visible.
Refer SAP Online help on LinkToAction UI : http://help.sap.com/saphelp_nw2004s/helpdata/en/0f/e8884118aa1709e10000000a155106/content.htm

Similar Messages

  • How to display the time 00:00:00 as blank?

    Dear Friends,
    I have created a new field GDF_9000_CREATED_AT in the normal screen (dynpro), the format is TIMS, however, when there is no value for it, is always display like "00:00:00" on the screen.
    So how to display the time 00:00:00 as blank in the normal screen (dynpro) when there is no value for it?
    Thanks a lot!!

    In screen PBO module:
            LOOP AT SCREEN.
              if screen-name EQ 'my_time' AND my_time EQ time_zero.
                screen-invisible = 'X'.
                screen-active = 0.
                MODIFY SCREEN.
              endif.
            ENDLOOP.
    I don't try this, but i think is true...
    Edited by: Marco Modenese on May 7, 2009 10:36 AM
    Edited by: Marco Modenese on May 7, 2009 10:36 AM

  • How to display the time length of video (current time/ total time) ?

    Hi,everyone. I would like to ask how to display the time length of the video which show only in system example: it show the current time and total time? using AS 3.0.
    It there any information or solution to solve it? .
    I appreciate it any of you able to answer it. ^^
    Thank you.

    Hi,
    Actually I have this requirement for MAC OS 10.5. With the code you provided, I got the output as "6289375". When I changed the URL to point to my file (file:///Users/VPKVL/Desktop/MyRecord/tempAudio.wav), I am getting the below mentioned Exception:
    Exception in thread "main" javax.sound.sampled.LineUnavailableException: Failed to allocate clip data: Requested buffer too large.
         at com.sun.media.sound.MixerClip.implOpen(MixerClip.java:561)
         at com.sun.media.sound.MixerClip.open(MixerClip.java:165)
         at com.sun.media.sound.MixerClip.open(MixerClip.java:256)
         at TestWavLength.main(TestWavLength.java:13)The "tempAudio.wav" file is created by using java sound API. I am using the SSB USB Headphone Set to record the audio with the following settings for AudioFormat object:
    AudioFormat audioFormat = new AudioFormat(
              AudioFormat.Encoding.PCM_SIGNED, // the audio encoding
                                                            // technique
              48000.0F,// sampleRate the number of samples per second
              16, // sampleSizeInBits the number of bits in each sample
              2, // channels the number of channels (1 for mono, 2 for
                            // stereo, and so on)
              4, // frameSize the number of bytes in each frame
              48000.0F,// frameRate the number of frames per second
              false); // bigEndian indicates whether the data for a single
                            // sample is stored in big-endian byte order
                            // (false means little-endian)Can you please suggest where I am going wrong ?

  • How to display the time & battery % in home screen

    How to display the time & battery % in home screen

    Try resetting your device.
    Hold down the Home and Sleep/Power Buttons until the Apple Logo shows up.
    Ignore the red slider if it appears.
    This will reboot the phone, no data should be lost.

  • COGI : how to display the time of  a goods movement?

    Hello,
    through COGI, I get the good movements with error per material.
    When I open the errors list for a material, I get the posting date for each good movements but not the time! 
    Could you please let me know how to do for displaying error time or posting time in this screen?
    Thank you for your help!
    François

    Deleted

  • How to display system time

    in sql we use sysdate in dual to display the system date like wise how to display the system time since i am a beginner i need ur help please.

    In Oracle Date Data Type save time information, all you need to do is using to_char function or NLS_DATE_FORMAT to display it,
    SELECT TO_CHAR(sysdate, 'DD-MON-YYYY HH24:MI:SS') FROM DUAL;
    or
    alter session set NLS_DATE_FORMAT='DD-MON-YYYY HH24:MI:SS';
    select sysdate from dual;

  • How to display different Time Statement forms in ITS service PZ04

    Hi all,
    I am working on a underlyinge R/3 4.7 system and are working with standalone ITS and ESS 50.4. I am posting this question to find out if any of you has experience with my problem.
    The business wishes to use the ITS transation PZ04 standard and wish to be able to display different Time Statement forms in the transaction through customized variants for the report(RPTEDT00) that the PZ04 transaction executes. In the IMG it is posted that one variant has to be created called HRESS_TEDT00 and this works, but restricts the PZ04 transaction to always be called with this variant and therebye the same Time Statement form every time.
    I then by debugging found that the underlying ABAP code processed from SAP standard has a variable VARIANT that is hardcode to = HRESS_TEDT00.
    The question is: Is there anyway to setup the PZ04 transaction so that it can be dynamic decided which variant should be used, f.ex. from persons subarea from infotype 0001?
    Looking forward to here if anybody can help.
    Regards,
    Allan Brauer

    hi allan,
    cud u plz help me how to sort out this problem actually in mu company the same scenario is here need to be display pe51 form instead of standard hrforms.....
    plz help me how will i replace this "hrforms with pe51"..

  • How to display the time in Swing jtable

    I need to display the time in jTable.
    The time is a date field in ORACLE database (connected via
    Oracle Thin drivers).
    Im totally stuck. Please help.
    TIA.

    Thanks for your reply.
    My problem is that I have to display time. This time is a DATE field
    in ORACLE database.
    Im using FORTE (UI). What the jTable display is the DATE (1900-01-01) which is not what I want. I want the time to appear in the jTable (hh.mm.ss a).
    What I did was to use the TO_CHAR function of ORACLE to format the
    date to display the correct time in the VIEW before mapping this view
    to be used as a MODEL by the jTable.
    It works now.
    Much appreciate all your help. Thanks.

  • How to display multiple lines of texts in a single rows in ALV

    Hi,
    I have a unique requirement in which i have to display multiple lines if texts for a single rows in ALV Grid. Right now in my output it is coming in single line which is not visible fully because that text is more than 255 character. So i want to display the test by splitting into multiple lines and show it on output. Please suggest some solution for this if this is possible in ALV.
    Thanks,
    Raghav

    Hi Raghavendra,
    Its not possible to display multiple line in one row of an alv, but i think you can acheive it by splitting the whole text into multiple sub-text.
    For example, if your requirement is as below:
    Field #1          Field #2
    1                    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(200 characters)
    2                    yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy(220 character)
    then you can break Field#2 value into say 50 character and then populate the internal table with repetative entries of Field#1 and the finally sort it by Field#1 value... as a result of which you output will be somewhat as below:
    Field#1          Field#2
    1                   xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    2                   yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyy           
    Hope it will help you in meeting your requirement.
    Regards,
    Shradha

  • How to display a IE page in a view ,not popup  ?

    Hi! All
    Question 1st:
    I have create a html page by webdynpro,
    I want display this page in a view ,
    but when run this code,
    the IE page popup ,
    can you help me set the IE page in current view ?
    public void wdDoInit()
       //@@begin wdDoInit()
       String text = "<html><head></head><body>this is my test</body><html>";
       try
           IWDCachedWebResource resource = WDWebResource.getWebResource
             text.getBytes("UTF-8"), WDWebResourceType.UNKNOWN
            resource.setResourceName("test.html");
            IWDWindow window =
    wdComponentAPI.getWindowManage().createNonModalExternalWindow(
            resource.getUrl(WDFileDownloadBehaviour.OPEN_INPLACE.ordinal()), 
            resource.getResourceName());
            window.show();
        catch(Exception ex)
            wdComponentAPI.getMessageManager().reportException( new WDNonFatalException(ex), false );
    Question 2nd:
      I have create a value context attribute under context.
      it's  name is "mywindow"
      it's  type is "com.sap.tc.webdynpro.services.session.api.IWDWindow"
      Do you know how to display  "mywindow" in a view ?
      I try to put mywindow in a InputField or a IFrame,
      but all failed !
    Thanks!

    Hi,
    This is the code to open up a window
        IWDWindow win = wdComponentAPI.getWindowManager().createModalWindow(wdThis.wdGetAPI().getComponentInfo().findInWindows(<window_name>));
        wdContext.currentContextElement().set<window_context>(win);
        win.setWindowPosition(WDWindowPos.CENTER);
        win.setWindowSize(250,150);
        win.setTitle("New Window");
        win.show();
    This will open up as a pop-up. If you want to open a html page on the same window then put an iframe in your view and set its source property correspondingly.
    Regards,
    Murtuza

  • How to display an error message in maintenace view

    Hi,
    I have following requirement.
    I have a table. In the table, there is a field named REPORT which keeps an executable report name. When adding an entry i need to fill the field with an report name, which should exist in the system. The report name should not be include objects.
    Then I use search help HELP_TRDIR with import parameter SUBC = 1.  I also create a maintenance view for the table.
    Then my question is how to display a warning message if the report I input in REPORT field doesn't exist in the system. If I need to modify the generated objects of the maintenance view, how to do it.
    The reason i don't use foreign key is that it seems filter functionality is not availabe in the case with import parameter SUBC = 1.
    Thanks in advance,
    Best Regards, Johnney.

    Hi,
    You need to add your validation in the table maintenance events:
    Use the event : 01 - Before saving data to the databse table... for this purpose
    1) Go to Menu-> Utilities->Table mainatenace generator
    2) On the table maintenance screen->Menu->Enviroement-> Modifications->Events
    3) select an event 01 and give some subroutine/form name.
    4) Add your validation in the form(Note this form should be in the Func Group of the table maintanance genetaor)
    Regarrds
    Shiva

  • How to display differnt time fields in a single column?

    Hello Sir,
    I am trying to display the records which show the table with 3 columns filename,Date,status using jsp.
    I am fetching the records from the DB and displaying them using jsp ,connection,resultset, <table> etc.
    what i wanted to display is just 3 colms(filename,date,status)
    here based on the status it should display the date,becaz table contains different date fieldcolumn for each status value.
    here is my code:
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Content Dash Board</title>
    </head>
    <body>
    <%@ page import="java.sql.*" %>
    <%@ page import="java.text.*" %>
    <% Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();%>
    <%
    int current = 1;
    if(request.getParameter("current") != null) {
    current = Integer.parseInt(request.getParameter("current"));
    int skip = 5;
    String action = "";
    if(request.getParameter("action") != null) {
    action = request.getParameter("action");
    if ( action.equals("next") ) {
    current += skip;
    if ( action.equals("prev") ) {
    current -= skip;
    %>
    <p> </p>
    <p> </p>
    <p>    </p>
    <HTML>
    <HEAD>
    <TITLE>Content Dash Board </TITLE>
    </HEAD>
    <FORM NAME="form1" ACTION="dashboard.jsp" METHOD="POST">
    <p> </p>
    <%
    Connection conn = DriverManager.getConnection
    ("jdbc:microsoft:sqlserver://localhost:1433;databaseName=trax;selectMethod=cursor","sa","iso*help");
    Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
    ResultSet resultset =
    stmt.executeQuery("select * from ContentBatches");
    resultset.last();
    int rows = resultset.getRow();
    if ( current >= rows ) current = rows-skip;
    if ( current < 0 ) current = 1;
    resultset.absolute(current);
    %>
    <TABLE BORDER="1">
    <TR>
    <TH bgcolor=#C6C3C6>File/BatchName</TH>
    <TH bgcolor=#C6C3C6>Date</TH>
    <TH bgcolor=#C6C3C6>Status</TH>
    </TR>
    <%
    int i=0;
    boolean next = false;
    java.text.SimpleDateFormat fmt= new java.text.SimpleDateFormat("EEE, MMM d, yyyy K:mm a ");
    DecimalFormat df = new DecimalFormat( "###,###,###,000,000" );
    String filename=null;
    String status=null;
    do{
    i++;
    filename=resultset.getString(2);
    status=resultset.getString(8);
    %>
    <TR>
    <TD> <%= filename %> </TD>
    <%
         if(status.equals("Received"))
              out.println("status is:"+status+"time stamp is :"+fmt.format(resultset.getTimestamp(7)));
    %>
              <TD><%= fmt.format(resultset.getTimestamp(7)) %></TD>
    <%
         else if(status.equals("Validated"))
    %>
              <TD><%= fmt.format(resultset.getTimestamp(5)) %> </TD>
    <%
         else if(status.equals("Published"))
    %>
              <TD><%= fmt.format(resultset.getTimestamp(4)) %> </TD>
    <%
         else if(status.equals("Uploaded"))
    %>
              <TD><%= fmt.format(resultset.getTimestamp(6)) %> </TD>
    <%
         else
    %>     
              <TD>No data for this option</TD>
    <%
    %>
    <TD> <%= status%></TD>
    <td><a href="edit.jsp?BatchId=<%=resultset.getString(2)%>&DateTimeStampPublished=<%=resultset.getString(4)%>&Status=<%=resultset.getString(8)%>">Edit</a></td>
    </TR>
    <%
    while((next=resultset.next()) && i<skip);
    %>
    </TABLE>
    <p>
    <BR>
    <INPUT TYPE="HIDDEN" NAME="current" VALUE="<%=current%>">
    <INPUT TYPE="HIDDEN" NAME="action" VALUE="next">
    <%
    if(next) {
    %>                                         
    <INPUT TYPE="BUTTON" VALUE="Next Record" ONCLICK="moveNext()">
    <%
    if(current > 0) {
    %>
    <INPUT TYPE="BUTTON" VALUE="Previous Record" ONCLICK="movePrevious()">
    <%
    %>
    </p>
    </FORM>
    <SCRIPT LANGUAGE="JavaScript">
    function moveNext()
    form1.action.value = 'next';
    form1.submit()
    function movePrevious()
    form1.action.value = 'prev';
    form1.submit()
    </SCRIPT>
    </body>
    </html>

    i am very new to jsp sir, i haven't worked on servlet
    , how do i implement the same code in servlet
    could you provide me the steps , putting jar files
    and all ?I'm not here to tutor you. You can read this:
    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets.html
    Servlets aren't difficult, and actually JSPs are nothing but servlets with a different syntax either.

  • Display system time in text field

    hi all,
    I want to diplay the current system time (format: hh:mm) in a text field on screen
    ... and update the displayed time every minute.
    How would I implement it ?
    Thanks for your assistance.

    run the code above in a thread that is activated after every 1 min to update the timeYou should not create a thread to do this. Swing components should be updated in the event thread. It is better to use a Swing Timer. This thread deals with this issue. Replies 1 & 4 are the most relevant:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=374524

  • How to display the time stamp in a data log table

    Hello,
         I want to display data during the data acquisition process. How do I  add the time stamp as one of the column in the 'Result Table' located at bottom left of the example code?
    Thanks,
    Ryan
    Solved!
    Go to Solution.
    Attachments:
    Cycle Analysis.vi ‏229 KB

     I inserted the portion you added to my program and it worked but not exactly the way I want. It added the time and date when I start the data acquision. But I want the time stamp to be shown on every single row. Please see attached image.Thanks.
    Attachments:
    Result.JPG ‏54 KB

  • How to display the multiple lines text in a single - String, StringBuffer

    Hi,
    I have a textarea field named Decription which contains more than one line seperated by new line.I need to display those five lines in a single text without breaking. Is it possible? I am getting ArrayIndexOutOfBoundsException while i reached to the end of the line. Plz help me how to align the below code so that i can display the lines as a single line in my excel sheet.
                        if(op.getDescription()!=null)
                            String[] oppDescs = op.getDescription().split("\n");
                            StringBuffer sb = new StringBuffer();
                            for(int i1=0; i<=oppDescs.length-1;++i1)
                                *writeFile(sb.append(oppDescs[i1]), valueWriter);*
                         } else {
                            writeFile(op.getDescription(), valueWriter);
    private void writeFile(java.lang.Object value,PrintWriter valueWriter)
            if(value!=null)
                valueWriter.print(value);   
        }Thanks and Regards

    previous was java1.5
    heres a 1.1 - 1.4 version
    String[] oppDescs = op.getDescription().split("\n");
    StringBuffer sb = new StringBuffer();
    for(int i = 0; i < oppDescs.length : i++){
      sb.append(oppDescs);
    sb.append( '\t' );
    writeFile(sb.toString(), valueWriter );Edited by: simon_orange on 31-Oct-2008 13:02                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for