2009 Aug 26 4:59 PM
Hi
I need add one big text box( around 400 char) in one custom screen for quality notification . I can add that big box on screen but where that data is stored ? any idea abt long text where stored .
Thanks
Hi
I need add one big text box( around 400 char) in one custom screen for quality notification . I can add that big box on screen but where that data is stored ? any idea abt long text where stored .
Thanks
2009 Aug 26 5:34 PM
in your program define a global variable of long formats like raw or some thing.
give the same name that of this variable to the name of the text field in the screen.
these two elements will be bound.
2009 Aug 26 5:41 PM
2009 Aug 27 1:08 AM
2009 Aug 27 4:21 AM
Hi Naren,
If you want to store long text in ur custom screen , then you can use a Custom Control object on the screen.
You have this object in your module pool screen.
Once you have put this custom control say ZQLTY_NOT :-
1) In your TOP Include declare the container as :-
DATA:container1 TYPE REF TO cl_gui_custom_container,
editor1 TYPE REF TO cl_gui_textedit.
Also declare a text field as :-
i_review_comments TYPE STANDARD TABLE OF t_line,
2) in your PBO of the screen create a container element for the same as
CREATE OBJECT:container1 EXPORTING
container_name = 'ZQLTY_NOT' ,
editor1 EXPORTING parent = container1.
And then accordingly you can code further , and fetch the data entered in the custom control using the READ_TEXT function module.
2009 Sep 01 10:41 AM
2009 Sep 03 9:47 AM
Naren so that means we can have any number of characters to the text field in custom Program.