Display predefined text in a 'textview' in BSP

Hi All,
Am using a textview in BSP to get user inputs and storing in a table. I want to display a standard text in a text box which is a htmlb: textview for getting user inputs. The user can even delete this text. The text needs to be displayed just as information.
This is how textview is used :
<htmlb:textEdit id       = "purpose"
                  disabled = "<%= disabled %>"
                  cols     = "100"
                  rows     = "3"
                  text     = "//model/purpose"
                  wrapping = "HARD" />
Thanks,
Gomathi
Edited by: Gomathi M on Oct 14, 2008 1:55 PM
Edited by: Gomathi M on Oct 14, 2008 1:56 PM

Hi Garry - It doesn't work in the "vertical report look 1" that I am using. I now see that it works with the "look 2" version.
I would need to change the look of that page that has many vertical reports on it so I went with something similar to your suggestion about the link to a form (I got the email but you must have edited your reply on the forum).
I added a column link that opens a new window with a form that displays that field for that particular record.
Thanks for your time on this.
Matt

Similar Messages

  • CS4 Custom Metadata Panels : "Generic" : Ability to display block of predefined text in panels ?

    I am in the process of converting a number of CS3 custom metadata panels to the Adobe CS4 Suite using the "Generic" panel included with the current SDK. After reading though the documentation on the "Generic" panel, it seems that there is no easy way to define a block of predefined, non-editable text (a legal disclaimer for example) within a CS4 "Generic" panel.
    Note that this is text that is not actually embedded into an image or editable, but rather a block of predefined text that simply displays within the panel itself.
    When creating CS3 custom panels, a predefined text block was easily displayed using a combination of the "width:", "height:" and "static_text:" parameters.
    Has anyone been able to replicate this using the CS4 "Generic" panel?
    Thanks in advance for your time and effort...

    James,
    Alternative: XMP FileInfo SDK page 40, the attribute description= displays static text as a mouse-over tooltip operation on a single field.
    This applies to custom XMP properties in a custom namespace. The standard in-the-box XMP properties description= cannot be modified via a custom .xml schema definition as far as I can determine. (I tried, and mine were ignored.)
    Regards,
    Carl Rambert

  • Display colored text

    Hi,
    this might sound too easy, but I would like to ask this anyway.
    What's the preferred way to display colored text on a BSP page?
    Regards,
    Daniel

    Hi Daniel,
    If its a plain text in html....then...its the normal html tag...
    <font>
    eg.
    <font face="Arial" color="GREEN">Colored text</font>
    And for textView, try using this...
    First set the attribute <b>encode</b> to <b>FALSE</b>.
    Then use HTML tag as text...
    eg :
    <htmlb:textView id = "TxV1"
                  encode = "FALSE"
                   text = "<font face="Verdana" color="GREEN">Colored text</font>" />
    I think this works...!
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.

  • Imitating the Predefined Text Item Details of Purchase Order in AddOn Form

    Hello Experts,
    I want to know if it is possible to imitate the Item Details features of SAP Purchase Order Form in my customised Form.
    Means :-
    In Purchase Order Form , when we enable the Item Details Column and while entering the data we double click on that column
    then a Row Details Text window appears and we can enter the Summary Details or even we can select the Predefined Text
    in the column .
    The same feature i want to use in my customised AddOn .
    How to do this one ??????
    Thanks ,
    Amit

    Hi Amit ,
    You can achive this by creating the UDO(User Defined Objects)
    Link: [url]  http://wiki.sdn.sap.com/wiki/display/B1/FAQ_sdk#FAQ_sdk-UDOTutorial
    Link: [url] Creating scrrens with ou UDO
    Thanks
    Shafi

  • When the user of my form clicks a box/radio button, a predefined text will appear elsewhere in the form.  How do I do this?

    I am creating a form for a hospital.  I have a form with Yes/No checkboxes.  I want the results of these checkboxes to trigger the display of predefined texts in textboxes on the same document.  For example, if it says: "Neck Pain?  Y  N" and they click "Y", I want a message to be entered in an "Instructions" box on the form.  I've got the form made, I just need direction on the if/then for all the clicking.  i.e., "if they click YES on this, type out THIS in this other field..."etc.

    Use this as the mouse up script for the checkbox:
    if (event.target.value!="No") {  //If checkbox is ticked
    this.getField("Textbox1").value = "Instructions for Neck Pain Go Here";  //Replace Textbox1 with the name of your field
    else this.getField("Textbox1").value = "";   //Clear the text field if checkbox is not ticked

  • My iPhone 5 won't display smart text options.

    My iPhone 5 won't display smart text. It did when I initially downloaded the new OS, now those options don't appear at all. Did I click something to make them disappear?
    I went into Settings to see if there was a component of it within Messages. I don't see anything.
    Thoughts please.....
    Thanks much
    Ginger

    Awwww......that's it....the dash! I tapped it. Tried to drag it up/down and it didn't move. Now I swiped and it's back!
    So I need to remember to drag up/down and now swipe.....
    Thanks much!
    Ginger

  • Is there any possible to display the text in big font in screen painter

    HI all!
    i want to display the text in the large size in the text field in the screen painter in the odule pool programing.Is there any possible.What i have to do in the screen painter to display the text in the large size.Also is there any possible to put the color for the text.Give me reply

    HI
    CALL METHOD o_dyndoc_id->initialize_document
          EXPORTING
            background_color = cl_dd_area=>col_tree_level1.
        DATA : dl_text(255) TYPE c.  "Text
        CALL METHOD o_dyndoc_id->add_text
          EXPORTING
            text         = 'Flight Details'
            sap_style    = cl_dd_area=>heading
            sap_fontsize = cl_dd_area=>large
            sap_color    = cl_dd_area=>list_heading_int.
    * Display document
        CALL METHOD o_dyndoc_id->display_document
          EXPORTING
            reuse_control      = 'X'
            parent             = cont
          EXCEPTIONS
            html_display_error = 1.
        IF sy-subrc NE 0.
        ENDIF.
    by using these methods you can achieve i hope..
    have a good day.
    regards
    sarves

  • How to display help text for Region in a page having more than one region

    Hi all,
    I want to display help text for each region in my page. I have 5 regions in my page.
    I have a big help text for each of my region so can any easy way is there to put the help text for each region more than 10 lines .I tried lot by searching forums but not able to implement. any document is there then please let me know.
    Thanks in advance,
    Amit

    i mean either if we click the region title name it should display some help text of near about 10 lines in a popup window.
    Or on moseover whenever we will put the cursor into the region title then it should displat the help text message of line 10.
    Hope you will get my qustion well.
    Thanks,
    Amit

  • How to display the  text in a classical report before top-of-page?

    Hi all,
    I am developing a classical report with top-of-page because i want to display the texts of cloumns  even users scroll down the output.
    But here the problem is i have to display a text and selection screen values in the ouput ,Before this top-of-page. But i couldn't find the way to do it.
    Please help me on solving this problem?
    Thanks,
    Vamshi.

    Hi Vamsi,
    whenever there is write statement and you are going to display some thing the system checks for the TOP-OF-PAGE and we are helpless here
    so declare your heading in the TOP-OF-PAGE only
    THIS is SAP provided way of the SYSTEM bahaviour
    Regards
    ramchander Rao.k

  • HOW TO DISPLAY THE TEXT ON A PARTICULAR PAGE IN SAPSCRIPTS

    HI,
       HOW TO DISPLAY THE TEXT ON A PARTICULAR PAGE IN SAPSCRIPTS?

    in ur script main window
    /: IF &TTXSY-PAGE& = 15.              
    ur text or standard text           
    /: ENDIF.                             
    use this.
    hope it helps if any issues revert back

  • How to display long text in smartforms

    Hi experts,
    Iam trying to display long text into smartforms.I got the long text into ITAB frm database
    in the abap program.In the form interface how to define the variable?In the long text i have 6 lines.
    points guaranteed
    cheers
    kaki

    Kaki,
    Delcare a table and getting the LONG TEXT is not the right way of doing this.
    You create a TEXT object and change the TYPE to INCLUDE TEXT. Once that is done all you have to do specify the parameters of your long text - TEXT ID, TEXT OBJECT and TEXT NAME. These are the same parameters that you use for READ_TEXT funciton. You don't have to fetch the text manually, it happens automatically.
    Make sure this is a part of the main window as this might run into multiple pages.
    Regards,
    Ravi
    Note : Please reward the posts that help you.

  • How to display Long text in a JLabel with multiline??

    Hi,
    Suppose I have a label that displays a long text....
    ""This is an example label that displays long text, how to break the line????.........""
    how to display it like below with one label?
    ""This is an example label
    that displays long text, how
    to break the line????.........""
    Thanks

    so basically do this
    JLabel myLabel = new JLabel();
    String theText = "<html>This is an example label<br>
                                  that displays long text, how<br>
                                  to break the line????.........</html>";
    myLabel.setText(theText);Obivously, u dont have to use a separate string, u could just call setText or pass it into the JLabel constructor, i just separated it to make it easier to see what your supposed to do.
    GOod Luck

  • How to display Long text in alv output

    Hi,
    I have developed an ALV report.It is displaying the output.
    There is another requirment for alv output text field as below
    From the long text fields show only the first 20 characters and afterwards the long text icon. If the icon is clicked open the long text display screen.
    Please give your suggestion how to work on this requirement.
    Thanks in advance

    Hi,
    Create a hotspot for the long text column of ALV.
    When user clicks on the hotspot, handle the event to display long text screen.
    You may refer sample program of hotspot ALV :
    Goto SE38
    Type BCALV*
    Click F4
    search for HOTSPOT or EVENTS & you will get a sample program.
    Best regards,
    Prashant

  • How to display long text in alv

    Hi ,
    I need to display the long text of particular object on ALV, with 30 char each line .
    I have long text in one internal table, master table have one to maany relation with longtext table and long text contains 120 character in each line.
    i need to display long text using 30 char in each line on alv. could you please suggest the soution ????
    format is like
    ponumber date         longtext 
        1234    03/04/05   this is PO is created
                                  for materail which have
                                  shortage in plant.

    hope u r expecting this..
    optimize = 'X'
    if u use OUTPUTLEN it is fixed size for that specific field, and also it reflects for next fields, to avoid that again have to mention OUTPUTLEN = 'X' for next field.
    With OPTIMIZE = 'X'  it will adjust based on the size.
    regards...
    santhosh reddy
    Message was edited by:
            Santhosh Reddy

  • How to display Formatted text in adobe form

    In adobe form, I want to display the text which is inputed by formatted text edit in WD ABAP application.
    It is always displayed as plain text like '<p>this is test text.</p>'. I have set the attribute Data Format to XHTML, Field Format to Rich Text for the Text Field in adobe form. But it doesn't work.
    How to display these formatted text?
    Thanks and Best Regards,
    Jun

    Hi Juergen,
    I found Your blog and found it  really interesting... though I was not able to use it: I (like Jun Li is asking, I guess) need to use a dynamic text, containing formatting informations (according the xhtml syntax).
    I tried to pass it to the form by an ABAP-dictionary based interface and by means of the context (in a webdynpro page), but both tries failed.
    Some suggestion will be greatly appreciated.
    Thankyou
    Simone

Maybe you are looking for