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: 

How to make a custom infotype field as a Text editor?

former_member554223
Participant
0 Kudos

Hello All i have created a custom infotype with 6 fields

START_DATE

ENDING_DATE

COMMENTS_1 "type char200

COMMENTS_2 "type char200

COMMENTS_3 "type char200

COMMENTS_4 "type char200

but only single line is coming as an input in the screen i want these comments fields to work as a text editor.

can you please tell me the steps that how I can make these field as a text editor in my custom infotype or refer me any helpful link?

TIA

3 REPLIES 3

rajkumarnarasimman
Active Contributor

Hi SYED SAP,

" that how I can make these field as a text editor in my custom infotype 

If you want to place the text editor in custom field in infotype, create a container and place in the custom infotype screen. Using SAVE_TEXT function module save the values in standard text(S010), to retrieve use FM READ_TEXT.

Regards

Rajkumar Narasimman

0 Kudos

Hello Raj can you tell me how i will assign container to my field?

rajkumarnarasimman
Active Contributor
0 Kudos

Hi Syed,

We are not going to assign the container to the infotype directly, instead of that the we will be showing the values on the screen.

"can you tell me how i will assign container to my field?

If we are using READ_INFOTYPE and SAVE_INFOTYPE, we required key which we will form based on the combination of Primary key valules.

But for Infotype concept, we have class CL_HRPA_TEXT_CLUSTER itself to read Text Cluster(HR), which contain READ, UPDATE and DELETE methods. While Reading and saving Pass the Employee, Infotype, Begda and Endda in structure PSKEY.

Regards

Rajkumar Narasimman