Long Text Box in a dialog program

Hi
I have a requirement to have a long text box ( which can typically hold 1000 characters ) on a dialog screen. I do not want to use table control .Is there any other way we can have a long text box .
Thank you
Krish

Check this standard program. saptextedit_demo_3
this will explain how to create and use the TextEdit Control
regards
Muthu

Similar Messages

  • Long Text box in Selection Screen

    Hi,
    How to create a long text box in the selection screen.
    Is there any example/demo program in standard??
    Regards
    Jiku.

    erm, what do you want to achieve with this?
    should your users be able to search for long texts?
    That will probably fail since there are differences between the input and the long text you are searching for.
    Or do you have users making no faults?

  • Dynamic header text in table control - Dialog programming

    Hi All,
    I have a table control on one of my dialog screens.  I need to dynamically change the column header texts on this control in my PBO.  Does anyone know how to do this?  I have found all kinds of ways to modify the other characteristics of the fields at run time in the PBO (active, input/output, invisible, etc.) - but not to change the header text!  Any help is appreciated.
    thanks,
    Matt

    Hi Hymavathi,
    I appreciate your help!  This didn't solve the issue, however,...I have used the method you'd mentioned before (many times) for setting it inside the loop at screen:
    %_<screenname>_%_APP_%-TEXT = <text something>.
    - but only in ABAP reports.  It doesn't seem to recogize it (the table control column header text) within a dialog program.  I keep getting a compile error. (saying that the %_<screenname>_%_APP_%-TEXT doesn't exist.
    I tried the suggestion that you stated below (from lateesh) - yet it only let me place i/o field in title text area (not the column header text).  Am still searching...

  • How to get longer text boxes into iMovie

    I'm hoping to input longer quotes and text into iMovie HD 6. I thought I got around this problem by creating a ppt with the appropriate text, saving the slides as jpgs, moving them to iPhoto, and then importing them into my movie (long process!). Unfortunately, the text comes out blurry.
    How can I simply write the text into iMovie when it's longer than a sentence? Or else how can I create some image with the text that I can import and it will show up clearly?

    I have the same problem - I want to have a ticker-style text scrolling at the bottom, but for texts longer than 200 words the font becomes blurrier and harder to read, and by the time the text reaches 500 words it's completely illegible. This does not seem to be affected by how long the ticker-box lasts (same problem for when it's 7 minutes as 2 minutes), though splitting a 4 minute, 400 word string into two 2 min, 200 word strings helps if you put them into two seperate "ticker" instances. But then you have an unwanted gap in the middle between when one ticker ends and the other starts.
    So, why is the text quality so ******?

  • Handle  text  using list box in dialog program

    hi,
      I am  working  on  dialog program  , Created  two fileds , one is list  box type  I/O field and another is  i/O  field  which displays  text  based  on  value  selected in list box.
    Please  provide  any  inf  how  to Handle  text  using list box value in dialog program.
    thanks

    Hi,
    <li>Check the screen to know how to set I/O field to set as listbox.[ dropdown box picture|http://2.bp.blogspot.com/_O5f8iAlgdNQ/Sm7RBrqfjcI/AAAAAAAAFaU/RateViiVqrU/s1600-h/drop_down-754481.JPG]
    <li>in the above screen we need to set FctCode  for the dropdown box field so that when you select value from the dropdown box PAI event is triggered.
    <li>screen flow logic like below
    PROCESS BEFORE OUTPUT.
    MODULE values_into_dropdown.
    FIELD g_bukrs.
    FIELD g_text.
    PROCESS AFTER INPUT.
    FIELD g_bukrs.
    FIELD g_text MODULE get_bukrs_txt.
    <li>Logic to fill Dropdown field with values.
      PROGRAM  sapmztest_dropdown.
    DATA: g_bukrs TYPE t001-bukrs.
    *&      Module  VALUES_INTO_DROPDOWN  OUTPUT
    MODULE values_into_dropdown OUTPUT.
    TYPE-POOLS:vrm.
    DATA:
           field     TYPE  vrm_id,
           it_values TYPE  vrm_values,
           wa_values LIKE LINE OF it_values.
    DATA: t001 TYPE t001 OCCURS 0 WITH HEADER LINE.
    IF it_values[] Is INITIAL.
       SELECT * FROM t001 INTO TABLE t001 UP TO 10 ROWS.
       LOOP AT t001.
         wa_values-key  = t001-bukrs.
         wa_values-text = t001-butxt.
         APPEND wa_values TO it_values.
         CLEAR  wa_values.
       ENDLOOP.
    ENDIF.
    field = 'G_BUKRS'.
    CALL FUNCTION 'VRM_SET_VALUES'
       EXPORTING
         ID     = FIELD
         values = it_values.
    ENDMODULE.                 " VALUES_INTO_DROPDOWN  OUTPUT
    *&      Module  get_bukrs_txt  INPUT
    MODULE get_bukrs_txt INPUT.
    read table it_t100 into wa_t100 with key bukrs = g_bukrs.
    g_text = t001-butxt.
    ENDMODULE.                 " VALUES_INTO_DROPDOWN  INPUT
    I hope that it helps you.
    Thanks
    Venkat.O

  • Pop-up box in dialog programming

    Hi,
    Is it possible to add a pop-up box inside dialog programs?..if so can someone show me how?
    thanks!

    hi,
    it is possible to display popup box inside the dialog programs.
    follow this sample program, it clearly explains the logic.......
    <u><b>FLOW-LOGIC CODE.</b></u>
    PROCESS ON VALUE-REQUEST.
        FIELD SFLIGHT-CONNID MODULE HELP-FOR-CONNID.
    <u><b>CODE FOR MODULE POOL PROGRAM.</b></u>
    MODULE HELP-FOR-CONNID INPUT.
        DATA: begin of it_itab occurs 0,
                       connid1(45),
                  end of it_itab.
                  refresh it_itab.
                  it_itab-connid1 = 'possible vales for connectionid'.
                  append it_itab.
                select * from sflight.
                      it_itab-connid1 = sflight-connid.
                      append it_itab.
               endselect.
          ****here call FM to display pop-up box
             call function 'popup_with_table_display'
                               exporting
                                           endpos_col = 45
                                           endpos_row = 25
                                           startpos_col = 10
                                           startpos_row = 1
                                           titiletext        = 'text'
                               tables
                                           valuetab = it_itab.
    the above program display the list of possible values for the field connid in popup-box.
    regards,
    Ashok Reddy

  • CS4 Linking Text Boxes Together in Anchored Objects?

    Hi. Using InDesign CS4 I have a Anchored Object that I would like to link part of it to the next one in the text frame. Example: I have grouped together a text box, a box with a placed UPC from Illustrator and another text box stacked on top of each other, all lined up. I group this and place it in a text box so I can set these at different places along a 29" document. When I have overset text, in the top box for example, I see the + sign but can't grab it to try to link the text to the next text box in the Anchored or grouped object. All I can do it change the size of the box - even when holding down the command key on the Mac with the text too enabled. I am setting it up this way so all three boxes stay together when positioning on pages. I have multiple rows of these so it makes it easier to modify. If I take the grouped set out of the text box so it's by itself I can grab the overset text. I am trying to link text boxes so it's easier and faster to flow in text from another program. Thanks.
    Pat

    OK, I will try to get the whole page later. I want to keep what you see in the screen shot - one of the grouped objects - together as it goes across the page. So the 9232554 text and all bellow that would stay grouped together when I tab it over to line up to a certain spot on the page. This is placed in a text box that runs horizonal on the page, about 28"  across. I also wanted to link the 9232554 box to the 9232729 box which is just a duplicate of the group of text and UPC code before it. But from what you say, and what I tried to do, I can't. Even when all the anchored object groups are in the same long text thread. I tried not grouping  each section - the UPC code sandwiched by the text boxes, but could not place them in the long text box when not grouped togther.
    I wanted to flow in the text to all 14 of these grouped or anchored objects, say all top boxes, in one 'paste' instead of doing each one at a time but keeping the 3 elements you see togther at all times.
    Pat

  • How to open "change long text" editor on a button click

    Hi,
    I have 4 long text boxes alligned vertically and a button beside them on a screen.
    My client has the following requirement:
    -- When this button is clicked, a "change long text" editor should open, the user will make his changes here and when back button is clicked, all the information in the editor should get transferred to the 4 text boxes.
       (the functionality should to similar to the big custom control box and the "Create Text" button beside it (in the Subject block) in IW52 transaction except that the custom control should be replaced with the 4 Text boxes).
    Please help, How could I achieve this?

    Cheacked the SAP given programs / pakages and solved the problem.
    Thanks.

  • Copy long text from PROJ to WBS

    When creating a new project (CJ01) I create new WBS and populate its fields from project automatically.
    I use enhancement and everything is copying ok except the long text.
    I do READ_TEXT and it get long text from project (TEXT_HEADER-TDNAME D99999999)
    Then i do SAVE_TEXT and not getting any error  (TEXT_HEADER-TDNAME E99999999)
    But the long text of WBS is empty.
    How should i copy long text right?
    I traced program and found out that after my enhancement is passed,
    WBS element is not activated and rewrited by initial data from PRPS-POST1
    How should i activate wbs then?
    Thank you for help!

    Hello,
    That code can help you If the text not exist.
    be carreful, that code have not declaration
    Thierry
    CALL FUNCTION 'NUMBER_GET_NEXT'
                EXPORTING
                  nr_range_nr = '01'
                  object      = 'PSTX'
                IMPORTING
                  number      = wl_name.
              ws_prtx-prmandt = sy-mandt.
              ws_prtx-probtyp = 'E'.
              ws_prtx-prpspnr = wv_posnr.
              ws_prtx-prtxtky = wl_name.
              APPEND ws_prtx TO wt_prtx.
              CALL FUNCTION 'CJVB_PRTX_POST'
                TABLES
                  tinsert = wt_prtx
                  tdelete = wt_d_prtx
                  tupdate = wt_u_prtx.
              ws_pstx-psmandt = sy-mandt.
              ws_pstx-pstxtky = wl_name.
              ws_pstx-pstxtar = '03'.
              ws_pstx-pstxtti = 'COMMENTAIRES'.
              ws_pstx-pstxthu = p_uname.
              ws_pstx-pstxthd = sy-datum.
              ws_pstx-pstxtau = p_uname.
              ws_pstx-pstxtad = sy-datum.
              ws_pstx-psformat = ''.
              APPEND ws_pstx TO wt_pstx.
              CALL FUNCTION 'CJVB_PSTX_POST'
                TABLES
                  tdelete = wt_d_pstx
                  tinsert = wt_pstx
                  tupdate = wt_u_pstx.
              IF sy-subrc = 0.
                wl_object = wc_obtxt.
                wl_id = wc_idtxt.
                wl_spras = sy-langu.
                ws_head-tdobject = wl_object.
                ws_head-tdname = wl_name.
                ws_head-tdid = wl_id.
                ws_head-tdspras = wl_spras.
                CALL FUNCTION 'SAVE_TEXT'
                  EXPORTING
                    client          = sy-mandt
                    header          = ws_head
                    insert          = ' '
                    savemode_direct = 'X'
                  TABLES
                    lines           = wt_tline
                  EXCEPTIONS
                    OTHERS          = 1.

  • Standard LSMW to load Routing Long text

    We are migrating data to sap for Routings. We are using SAP best practices to load the data into sap using idocs. But we dont have idoc structure to load Long Text.
    Do you know a LSMW standard direct input to upload the routing long text.
    Please help me out.

    Yes, you can upload long texts to pretty much any application, routings, boms, material masters, etc.
    In LSMW select the following direct input method:
    Object               0001   Long texts
    Method               0001   (No selection)
    Program Name         /SAPDMC/SAP_LSMW_IMP
    Program Type         D   Direct Input
    You can define the following as constants in field mapping and conversion rule.
    TDOBJECT C(010) Text: 'ROUTING'
    TDID C(004) Text ID : 'PLKO'           <<< if you're uploading to header
    TDSPRAS C(001) Language : 'EN'
    TDFORMAT C(002) Paragraph format for text line : '*'
    If you want upload to operations etc look at the following table
    ROUTING     PLFH     Long Text
    ROUTING     PLFL     Long Text
    ROUTING     PLFT     Long text
    ROUTING     PLFV     Long Text
    ROUTING     PLKO     Long Text
    ROUTING     PLPH     Long text
    ROUTING     PLPO     Long Text
    internally SAP stores, routing group with zeros padded on the left. For example if your routing group is 200 it will be stored as 00000200 so in your flat file either you have to pad the zeros or in the LSMW you need to use the conversion exit function module.
    You can following link below if you want to deeper understanding on this subject.
    Re: LSMW : Long text not visible after the import of data

  • Line on top of text box

    I got a nice photo book printed out but on top of any page with a long text box there is a horizontal line atop the heading for that text panel.... I thought it was just a visual anomoly in the app but it actually PRINTED that way and now I've got a book with weird elements all over the place (see attached).

    Interesting. Indeed, it relies less heavily on internals, so should be more portable across versions.
    The drawback is the "whole container painting" side, so one might need to crop the image to the wanted portion, which is a minor issue.
    I hope JavaFX will offer some day a fromFXNode() function, to avoid any hack. And it was [proved it might accelerate a script|http://piliq.com/javafx/?p=1108] to use an image out of lot of nodes instead of trying to manipulate all the nodes, so it is useful beyond saving/transmitting the image.

  • Passing Text From Class to Main Program

    I am trying to write three separate strings from the class
    file into three separate TEXT boxes within the main program. It
    works using three separate functions. Is there a way to change the
    code so it all can happen from within but one and the same function
    in the class file.
    package Edit
    public class Texter
    public var i:int;
    public static var result:String;
    public function Greeter()
    public function sayHello():String
    result = "This is the first idea I have. ";
    return result;
    public function sayGoodbye():String
    result = "Here is the second idea, like. ";
    return result;
    public function sayHi):String
    result = "Here is the third city disco. ";
    return result;
    Thanks,
    BudHud

    You can use a parametrized function which will display the
    information according to your given data
    like
    public function saySomething(data:String):String
    return data;
    }

  • Long Text Upload for TaskList ( txn IA05/IA06)

    Hi,
    We need to upload long texts for task list operations (Txt object: ROUTING, Txt ID: PLPO).
    We have tried the following approaches:
    1.) LSMW with via Direct Input :
    Object                    0001   Long texts
    Method                   0001   (No selection)
    Program                 SAPDMC/SAP_LSMW_IMPORT_TEXTS
    Program Type         D   Direct Input
    This menthod is able to save the text and we can read the text using FM READ_TEXT but I am not able to see the text in txn IA05/IA06.
    2.) LSMW via direct Input :
    Object               0490   Gen.task list
    Method               0000
    Program Name         IBIP
    Program Type         B   Batch Input
    Using this LSMW I am able to save the text for transaction IA05 but this does not work for IA06.
    3.) I tried using the FM SAVE_TEXT, CRETE_TEXT , INTTAB_SAVE_TEXT , INTTAB_COMMIT_TEXT but these also does not seems to be working.
    Can anyone suggest me how to upload text for General Task List Operation. This is bit urgent and your quick response would be highly appreciated.
    Awards points are assured for the right answer.
    Regards,
    Lalit Kabra

    Hi Lalit,
    Please check following threads:
    Re: Help on uploading long text for task operation in PM modul
    Upload Task List Operation long Text using SAVE_TEXT-Urgent
    Help on uploading long text for task operation in PM modul
    Lonf text update in Transcation

  • Customer Specific long text object to be create

    Hi all,
    I have to create and maintain Long text in my module pool program , just like some std. transaction have it at header.
    I know new text object can be created at SE75 with textid. But don't know how to call MS-editor create, save and display
    long text , just like most of std. transaction in SAP.
    Please help me with some sample codes and steps in this regards.
    Thanks in advance,
    Vinit

    hi Vineet,
    Not sure this wud wrk or not but give it a try...
    Use some message no of a message class created in txn se91 if that message gets display where u need to show the long text. Just remove the tick from the checkbox which says self explainatory goto longtext and write the remarks over there
    I hope i am clear..

  • Control of Text box in Dialog programming

    Hai Friends
    i am having problem in controlling the Text box in PAI of Screen. For eg. if it is command button with the use of Function name i can able to check or do validation in PAI.
    As in the case of Textbox how to give the name for the text box and how to handle it in PAI for Validation.
    Please
    Badhri.

    Are you talking about a text editor?  IF so,  what is the validation that you want to perform.  Do you want to check to make sure that the user has entered something in the text editor?
    If so, then just get the text from the text editor into an internal table, and check that internal table to make sure that something is in it.
        call method editor->get_text_as_r3table
           exporting
                 only_when_modified = c_textedit_control=>false
           importing
                 table              = textlines
           exceptions
                 others             = 1.
    <b>    if textlines[] is initial.
          message e014.
        endif.</b>
    Regards,
    Rich Heilman

Maybe you are looking for

  • 5GHz Wi-Fi working with iPhone 5s (iOS 8.1)?

    Hi All, Since iOS 8, I cannot connect to my Wi-Fi using 5GHz Wireless band. I was hoping iOS 8.1 would resolve this. In iOS 8.0.2 it would sometimes connect but have repeated dropouts. Now in iOS 8.1 it attempts for longer to connect but fails. Anyon

  • Uneven alignment of print document

    After clearing a paper jam, print is uneven. Most of the print document is clear exact every inch the print is blurred/ shadowed /doubled image.

  • Flash Builder 4.5 SOAP call for images using Base64 Encoding

    I am trying to load some image meta data in a flash builder mobile application by making a SOAP call to .Net service. I am able to test the web service successfully using a .Net console application. However when I make the call from flash builder mob

  • My Creative Labs won't respond once turned

    Today I turned on my Creative labs 20GB player and initially it played the track selections from the last time I used it. However, when I attempted to add a new album to the playlist I found that none of the buttons (including touchpad) responded. I

  • How to call a web that I made

    I want to call a web that I have made.Just like this: there is a butttom that if I impress it ,a web will be called.The web can be a user mannual or something else. And how to solve this problem? Thanks best regards!