Home > Default > Control of Text box in Dialog programming

Control of Text box in Dialog programming

October 11Hits:1
Advertisement
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.

Answers

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

Read other 4 answers

Tags:

Related Articles

  • Control of Text box in Dialog programmingOctober 11

    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 a

  • Pop-up box in dialog programmingNovember 30

    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>FL

  • Handle  text  using list box in dialog programNovember 30

    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 bo

  • How to provide text editor in dialog programOctober 11

    i have a requirement to enter upto 300 words in a dialog box how to provide text editor in dialog programyou can use the custom controls for the same check this below link may be useful for you......... http://help.sap.com/saphelp_nw04/helpdata/en/2a

  • How do i control 2 text boxes with 1 scroll bar? (CS4)October 11

    I want to control 2 Dynamic Text boxs with the 1 scroll bar component? I want them to scroll simultaneously with the user only needing to use the one component. Thank you in advance for your helpThe textfields should have the same number of lines.  Y

  • List box in dialog programmingNovember 30

    Hi Frnds,               i am working on a complex scenario, i want to print 3 list box. first one i can show but the problem is with second one and third one. first list box have three fields suppose program events movies when user will select either

  • Question Related to Check-box in Dialog ProgramNovember 30

    Hi All- I desgined check box in Table Control... In my Internal table I have 41 records, When user click on Select all button it selects only first 14 records from the table control...When the user uses page-down, then click on Select all, selects re

  • Modal Dialog box in Dialog ProgrameNovember 30

    I have create one Modal Dialog Box in Module Pool. when i click on the 'X' on the top right side of that screen the Dialog box is not closed. Can any one help on this?For the Modal Dialog box you need to create the Status, while creating the status C

  • Values not populating in list box in dialog programing.October 11

    hi, i am facing a problem i.e. i am having a listbox on screen , in pbo i am filling that listbox with some values in an internal table. But i am not able to populate the values i.e. while i am debugging the pai ......the list box is containing nothi

  • Dynamic header text in table control - Dialog programmingOctober 11

    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

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 2.574 s.