Skip to Content
0

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

May 07 at 07:39 AM

34

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Rajkumar Narasimman May 07 at 08:49 AM
1

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0
Rajkumar Narasimman May 07 at 11:30 AM
0

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


Share
10 |10000 characters needed characters left characters exceeded