Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 07 at 08:49 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • May 07 at 11:30 AM

    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

    Add comment
    10|10000 characters needed characters exceeded