Application Development 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: 

TEXT FIELD

Former Member
0 Kudos
106

HI

CAN WE INCREASE THE LENGHT OF TEXT FIELD ? IF YES HOW ?

REGARDS

AMMAD

1 ACCEPTED SOLUTION

former_member387317
Active Contributor
0 Kudos
76

Hi Ammad Zaman,

You can achieve it using Object Oriented ABAP.

using class

CL_GUI_CUSTOM_CONTAINER and

CL_GUI_TEXTEDIT

create custom container and populate it with Text Editor

[Example|http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-Programtogetruntimeforagivencode]

Hope it will solve your problem..

Thanks & Regards

ilesh 24x7

ilesh Nandaniya

5 REPLIES 5

Former Member
0 Kudos
76

Hello,

It is Possible using the Tcode *CMOD*.

In CMOD -- goto menu path GOTO --> TEXT ENHANCEMENTS --> DATA ELEMENTS ---> CREATE NEW DE CSUT.

Its prompts popup DATA ELEMENT --- Enter the data element name which you want to modify.

But it will asks TR number.

And also it is not recommended.

Anil.

0 Kudos
76

Sorry i think i couldn't convayed my question properly... the question was regarding text field in screen painter when i placei t on screen it has fixed width. u can drag it horizantlly but u cann't change it vertically.

is it possible to increase it vertically ?

Regards

Ammad

Former Member
0 Kudos
76

Hello,

It not Possible,

SAP has not given that Provision in Screen Painter.

Anil.

former_member387317
Active Contributor
0 Kudos
77

Hi Ammad Zaman,

You can achieve it using Object Oriented ABAP.

using class

CL_GUI_CUSTOM_CONTAINER and

CL_GUI_TEXTEDIT

create custom container and populate it with Text Editor

[Example|http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-Programtogetruntimeforagivencode]

Hope it will solve your problem..

Thanks & Regards

ilesh 24x7

ilesh Nandaniya

Clemenss
Active Contributor
0 Kudos
76

Hi Ammad Zaman ,

please avoid all CAPS

please give a meaningful subject

please give a detailed sample of what you tried and what you searched.

please read [ My Home > Wiki > FAQ > Rules of Engagement |https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]

Thank you for cooperation.

Regards

Clemens