‎2008 Oct 21 11:26 AM
Hi All,
I am working with text editor. Error which is displaying while i am activating the my module pool program is.
"PI_TEXT_KEY" must be a character-type field (data type C, N, D, or T) . "INTERFACE". by "INTERFACE". by "INTERFACE". "INTERFACE". by "INTERFACE". by "INTERFACE".
This is declaration that i have done for PI_TEXT_KEY.
TYPES: BEGIN OF scr_text_line,
line(line_length) TYPE c,
END OF scr_text_line.
DATA:
BEGIN OF text_idx,
reqno TYPE yreqno, "table field with NUMC and 5 as length
srtf2 LIKE yrequests-srtf2, "data element is SYBIN1
END OF text_idx,
pi_text_key LIKE text_idx.
Any suggestions how to over come from this error.
Regards.
Balu
Edited by: Balu CH on Oct 21, 2008 3:57 PM
‎2008 Oct 21 11:51 AM
Hi Balu,
u check out once dattype of yreqno & yrequests-srtf2
If it contain integer repalce it with character.
then u will get the desire output.
‎2008 Oct 21 12:06 PM
Hi Pavi thks for responding.
As i have mentioned in my previous post my field yreqno & yrequests-srtf2 properties are ..
yreqno - NUmc and length is 5 since i have to hold only numeric values.
If i change them to Char then i may not increment my request number so in this type of case how to deal with.
srtf2 - dataelement SYBIN1 is been used for which INT1 is my data type and 3 is my length.
Regards
Balu
‎2008 Oct 21 12:05 PM
Hi,
Data definition using type SYBIN1 is causing you the problem as it's an INT...
Regards
Stu
‎2008 Oct 21 12:07 PM
Hi can you suggest with which i can replace it with.
Regards
Balu
‎2008 Oct 21 1:19 PM
‎2009 Sep 16 10:42 AM