How to code commet box in the dialouge programming

Hi friends,
             My reqirement is i need add a commet fieds in dialouge programming, i have a standered function module popup_to_confirm ,i have everything in this like title bar ,yes and no buttons,but after the buttons i need to write comments in commet box so how can i do this please help me.

For comment use textedit control like in below program:
REPORT z_textedit_fm.
DATA: it_str TYPE TABLE OF char72.
CALL SCREEN 100.
MODULE pbo_0100 OUTPUT.
  SET PF-STATUS space.
  CALL FUNCTION 'RH_EDITOR_SET'
    EXPORTING
      repid          = sy-repid
      dynnr          = '0100'
      controlname    = 'CONTAINER'
      max_cols       = 72
      max_lines      = 20
    TABLES
      lines          = it_str
    EXCEPTIONS
      create_error   = 1
      internal_error = 2
      OTHERS         = 3.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
ENDMODULE.                    "pbo_0100 OUTPUT
MODULE pai_0100 INPUT.
  IF sy-ucomm = 'BACK' OR
     sy-ucomm = '%EX'  OR
     sy-ucomm = 'RW'.
    LEAVE TO SCREEN 0.
  ENDIF.
  CALL FUNCTION 'RH_EDITOR_GET'
    EXPORTING
      controlname    = 'CONTAINER'
      col_width      = 72
    TABLES
      lines          = it_str
    EXCEPTIONS
      internal_error = 1
      OTHERS         = 2.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
ENDMODULE.                    "pai_0100 INPUT
...or see this demo program SAPTEXTEDIT_DEMO_1 for textedit control by means of cl_gui_textedit class.
Regards
Marcin

Similar Messages

  • How to populate list box in module pool program

    How to populate list box in module pool program.
    Please give me reply as soon as posible
    regards,
    Venu.

    hi,
    go thrugh the folling code .
    TABLES sdyn_conn.
    DATA   ok_code TYPE sy-ucomm.
    Global data
    TYPES: BEGIN OF type_carrid,
             carrid type spfli-carrid,
             carrname type scarr-carrname,
           END OF type_carrid.
    DATA itab_carrid TYPE STANDARD TABLE OF type_carrid.
    *& Processing Blocks called by the Runtime Environment                 *
    Event Block START-OF-SELECTION
    START-OF-SELECTION.
      CALL SCREEN 100.
    Dialog Module PBO
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    Dialog Modules PAI
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'SELECTED'.
          MESSAGE i888(sabapdocu) WITH sdyn_conn-carrid.
      ENDCASE.
    ENDMODULE.
    Dialog Module POV
    MODULE create_dropdown_box INPUT.
      SELECT carrid carrname
                    FROM scarr
                    INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'CARRID'
                value_org       = 'S'
           TABLES
                value_tab       = itab_carrid
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc <> 0.
      ENDIF.
    ENDMODULE.
    the following code should be included in flow logic of screen
    process on value-request.
      field scarr-carrname  module create_dropdown_box.
    in module pool select list box.
    hope it is useful.
    regards,
    sreelakshmi.

  • How to set time out in the abap program?

    Hi,
    I want to set the execution time in the IN_UPDATE block of a BADI, could you tell me how to code that?
    When the specified execution time reaches, and the badi is still running, then pop up a window and tell the end user the time out message.
    Does SAP have any function regarding this? Thanks in advance.

    You can have the INPUT be a number of seconds, then calculate the max endtime = SY-UZEIT + INPUT. Have checks throughout the program that returns an error as OUTPUT if exittime >= SY-UZEIT(current time).
    There may be an easier way but this is all I can think of as a user set timeout option.

  • How to make Excel, Word, Powerpoint the Default programs?

    Hey guys,
    Just got my new MBP, and I need to know how to make Excel, Word, Powerpoint the default programs when opening one of their files? Currently, the trial version of Iwork opens the programs which drives me crazy.....
    So, for example, for an Excel file, I want Excel to open it, NOT Numbers......etc....
    Thanks In advance.
    JW

    Select a file of that type in the Finder, choose Get Info from the File menu, change the Open With entry for it to the desired application, click on Change All, and confirm the action.
    (47808)

  • How to Prepopulate check boxes in the process form

    Hi All,
    I need to prepopulate "Change Password at next login" in the AD Process Form. i.e. if some one select this check box in the user creation form and create a user, i need to prepopulate it in the AD process Form. Currently, it is not prepopulated. So, it is not updated on the Active Directory. I'm using AD Connector pack 9.1.1 .
    I need to prepopulate the "User must change the password at next logon" check box in the AD Process Form. I have done the prepopulate on text fields. They are working fine.
    But, stuck with this check box prepopulation.....
    Can anyone help me on this issue....
    Regards,
    Chaturanga
    Edited by: chaturanga on Sep 9, 2009 2:35 PM

    Even if you get the checkbox right it is not entirely clear that the connector will read the box correctly. It all depends on how the connector code was written.
    An alternative is to set the LDAP attribute through a custom connector. Email me if you want example code for this.
    Best regards
    -Martin

  • How to add check box to the forms in scripts

    Hello experts,
             i got one requirement. to add a check box to the form. how can we add a check box in form. is it possible to adda check box in scripts?
    thanks in advance.

    Hi Pammi,
    In a window go for text elements & then go for change editor & use the following:
    Insert->Characters->SAP symbols->SYM_CHECKBOX
    It will not show checkbox in print preview. Take a printout.
    Ashven

  • How to implement Check box in the Rtf based on the value from XML datafield

    Hello All ,
    It would be great if any one can help me in implementing check box in the rtf based on the data filed value from the XML data.
    I need to get in the out put checked boxes like what we say Radio button Yes or No ( If Yes it should be marked ).
    If any one worked on this please help us...
    Thanks in Advance...

    Did you check the user guide,
    we have a section over there :)
    http://blogs.oracle.com/xmlpublisher/2007/05/22

  • How to paste text box into the same position

    when I used
    adobe acrobat 6.0, I can paste the text box in the same position in the next page, it is very useful for editing files with similiar information. after I use acrobat 9.0, I found that I can not paste the text box in the same position in the next page. do you know whether the 9.0 can realize the function of "paste in the same position"?

    I am using adobe acrobat 9.0, when I use object select tool " the arrow pointing 11 clock", I can not find Duplicate command. Mr./Ms. try67, can you realize the function of paste in the same position? very thanks for your reply and help.

  • How to hide search box in the search region for the attachments (table)

    Dear,
    I have attachments region on the page with Render Search Region property set to true. What I want is to hide the text box in the search region? Is it possible? If I set this property to false the whole region goes away. I want the search region to stay, just get rid of the search box.
    And one more question - what property (of the attachment image) governs 'Publish to Catalog' behaviour?
    Thank you.
    Anatoliy

    I dont think that its possible to change the image.
    Are you trying to disable the document search ? Is the entire region disappearing when you tried disabling the search through personalization, walking the page hierarchy ? Is it for Document catalog ? If so, then it is a bug
    Thanks

  • How to create a fill in the blank program?

    Hey everyone,
    So I am working on a new program that requires a fill in the blank section. I am loading the data via xml as a paragraph, but what I am wondering is how to take this data and make a simple fill in the blank section where if it is right, it turns green, if its wrong, it turns red. Any ideas? All help is greatly appreciated!

    Hi Linda,
    I will try this.
    I tried too.
    I started with a blank Page Layout document in Pages (File > New From Template Chooser... > Page Layout > Blank > Blank Canvas.
    I added four Text Boxes to that blank canvas:
    In my example, the Text Boxes all have black outlines for clarity in that screen shot (select the Text Boxes, then in Inspector > Graphic > Stroke > Line and set the line style, colour and width).
    Then File > Print...
    and on the bottom left of the Print dialogue:
    Save with a suitable document name in a convenient location.
    Then open that PDF in Preview and type the word DoubleClick in each user field:
    Double clicking will select that "word" and it will act as the Place Holder Text that Peter referred to. The user can begin typing to replace that "word".
    Please be aware that this PDF is not a locked form with fields that users can enter data. Here, I show how to select (and possibly vandalise) the Name box:
    It all depends upon how well you can trust your users!
    Regards,
    Ian.

  • Question: how to use JAVAEE to run the WAP program of mobile phone  on web?

    I want to develop a web program by JAVAEE. It uses the simulator of mobile phone to run the WAP program of mobile phone on web. You can operate the program on the page just as do on mobile phone. tell me how to develop on details soon. show the code, please.

    Haha, there's no way in hell you can do that. And nobody in their right mind would write the code for you, at least for free.
    Jesus with you people these days..."Java_Researcher". I bet you've never written a single line of Java.

  • How to add VB porgram in the Concurrent Program Source type

    Hi Everybody,
    We have lot of Scheduled programs in VB. For example fetching data from prod and insert those into data warehouse related table. Similarly we have lot of VB programs
    This is already written in VB and working fine. These are all in the Standalone system. Now the Management wants them to be as a part of the application, so that they can get rid of the stand alone processing.
    They asked me to create a concurrent program and schedule it for each and every scheduled VB programs. We are using oracle apps 11.5.10 and db 9i. I have a little experience in concurrent programme executable and defn for the reports, SQL, PL/SQL and host. I don't have any idea for the VB programs. What type of execution method I can use for my problem.
    Please give me any idea/suggestions.
    Thanks,
    Vimal

    I do not think you can register a VB program as concurrent program -- Re: How can we register a VB Script into Oracle Application as concurrent P
    You may log a SR and confirm this with Oracle Support.
    Thanks,
    Hussein

  • Show a message box after the concurrent program completes normal

    Hi,
    I have a requirement to show a message box with some message once the concurrent program is COMPLETED NORMAL.
    Can we do this through form customization or is there any other way??
    Thanks in advance
    Thanks,
    Venkat

    This will be difficult since concurrent program is running in the background, not from the form. So there's no event where you can capture this concurrent program status, well unless you refresh the view request every time, but that's very a manual way.
    The most possible way is to send an email rather than put up a message box.

  • Please Help! How do i make MS OFFICE the default programs for opening files

    Hey,
    Someone please tell me how to make MS OFFICE the default for opening up excel, word and pp files....Ever since i migrated all my stuff to my new 24in everything opens up in iwork instead of office, which is really annoying.
    Thanks in advance,
    JW

    Hi skymedic: Quite easy to set the default program actually. Find a file you need to open, single click. then Right Click and select "Get Info". When this window opens, select the program to be used then click "Change All'. Please note you will need to do this for all file types you want to open with Office. EG: .DOC .PPS .PPT .XLS etc..
    Good Luck
    Stedman

  • Urgent ! how to put check box in the smartform

    <b>can anyone tell me how to display a check box (unselected) in the smartform.....</b>

    Hi,
    Try this.
    Change the editor to 'PC Editor' and take the menu.
    Include -> Characters -> SAP Symbols
    Check this also.
    Re: How to create checkbox in smartforms??
    Message was edited by: Jayanthi Jayaraman

Maybe you are looking for

  • Has a life on his own

    My iPad has a problem that comeback and goes, it has a life on his own. Think that you use your finger, and click like a maniac on the screen, fast as lightning, opening programs, edit settings, surf internet, writing etc etc.... I just let it have a

  • Sending instruction directly to Siebel Communications Session Manager

    Hi. I am working on doing performance testing the Siebel CTI toolbar. I realise that the information to the CTI toolbar is coming from the Siebel Communications Session manager, which receives the information from the a CTI Middleware server. I want

  • WORD doc x files show lettering changed from black to white with black background, colors have black background

    WORD doc x files received open with black lettering changed to white with black backgrounds. Color images have black backgrounds. There is no issue for non MAC users. How can I open the document as sent? Thank you.

  • Local radius question?

    Hi, I was just taking a look at the local radius functionality on a router. I've found a strange problem which doesn't make sense to me and I was wondering if someone could explain what I'm seeing. As a basic lab to learn the ropes with local radius

  • Oracle dataguard 11g

    hi all , i need the estimated price for oracle datagurad for oracle 11g G only esimated??? thanks