05-07-2018 8:39 AM
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
05-07-2018 9: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
05-07-2018 12:12 PM
Hello Raj can you tell me how i will assign container to my field?
05-07-2018 12:30 PM
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