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

Adding a text field in a custom infotype

Former Member
0 Likes
484

Hi,

I have a custom infotype which deals with sickness data of the employee

My requirement is that the user will enter an explaianation for his sickness...etc. Thus I need to incorporate a text field in my infotype.

What I am planning is to give a button on the screen of infotype, so when user clicks it a text editor will open and and he can insert or update his sickness text data.

Please tell me how do i do that and also if there is any alternate better approach.

Regards,

Neha

Hi,

I have a custom infotype which deals with sickness data of the employee

My requirement is that the user will enter an explaianation for his sickness...etc. Thus I need to incorporate a text field in my infotype.

What I am planning is to give a button on the screen of infotype, so when user clicks it a text editor will open and and he can insert or update his sickness text data.

Please tell me how do i do that and also if there is any alternate better approach.

Regards,

Neha

1 REPLY 1
Read only

Former Member
0 Likes
391

you need to make a custom container on which you have to put editor

use class cl_gui_custom_container, cl_gui_text_editor, first define instances in top include then create objects. if you want this to be done when you click on any button then put this coding in the function code of that button.

aditya