Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

long text in custom screen

Former Member
0 Likes
2,169

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

6 REPLIES 6
Read only

Former Member
0 Likes
1,248

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.

Read only

Former Member
0 Likes
1,248

Check transaction SO10.

Read only

Former Member
0 Likes
1,248

This message was moderated.

Read only

Former Member
1,248

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.

Read only

0 Likes
1,248

thanks for help

Read only

Former Member
0 Likes
1,248

Naren so that means we can have any number of characters to the text field in custom Program.