‎2008 May 07 5:24 AM
Hello friends,
I have created a text editor and while activating the program the error it was showing like ...
PI_TEXT_KEY MUST BE CHARACTER-TYPE FIELD (DATA TYPE C, N, D, T). "INTERFACE". BY INTERFACE........
my data declarations for PI_TEXT_KEY is like....
DATA:
BEGIN OF text_idx,
reqno TYPE yreqno,
srtf2 LIKE ZRIF-srtf2,
END OF text_idx,
pi_text_key LIKE text_idx.
Can i know what it is problem in this case.
points will be rewarded for the helpful answer.
Thks
‎2008 May 07 9:26 PM
Hi, Venkateshwar.
Probably, the error is caused by the fields you've declared on text_idx.
Possibly, the fields yreqno and srtf2 aren't Data type C, N, D, or T.
I believe that's why the error occurs. Try changing the data type, if possible.
Hope it helps,
Brian Gonsales.
‎2008 May 08 4:04 AM
Hello Brian,
My data typs for Yreqno is Numc, and srtf2 is INT1 and the data element for srtf2 is SYBIN1 its system defined.