02-18-2008 1:04 PM
Hi all,
I created an ALV field catlog.
I am passing the parameters from a perform.
I referred the output table field as below.
PERFORM fieldcat USING:
'T_final' 'WITH_ITEM' 'WITHT' ' ' ' ' ' '.
Then i got an error in SLIN saying character strings without text elements cant be translated.
Even after creating a text element , the same error raised.
Can you please suggest how to solve this?
Regards,
Kaavya.
02-18-2008 1:19 PM
Did you created the text element and replace those text element with the constants on the screen??
02-18-2008 1:23 PM
Hi Amith,
Yes i created the text element and used it in perform.
But still i got the same error.
Regards,
Kaavya
03-03-2008 12:02 PM
Got to correct the error, the name of internal table for output should be given in Caps
03-04-2008 10:00 AM
Hi Kavya,
Usually this error or warning we get while using a constant value in code with space in between or small letters. Those values should be replaced with a text element. Activate text elements and remove the constant declaration fully.
Hope this will help u!
11-05-2014 5:53 AM
Hi kavya,
If you are passing the parameters to form routine with the blank spaces or small letters in between the string then you will get this error:
For eg.
PERFORM field_cat_creation USING : 'MSGID' 'Message ID',
'LIFNR' 'Vendor No',
'BUKRS' 'Company Code'.
In above example the string 'Message ID', 'Vendor No' and 'Company code' are containing the space in between so it will give the error.
For correcting the same you need to use the text elements and replace the strings with text element in your program.
Or If you do not want to use text elements then simply avoid the in between spaces and small characters.
for eg:
you can use the underscore '_' for avoiding the spaces.
PERFORM field_cat_creation USING : 'MSGID' 'Message_ID',
'LIFNR' 'Vendor_No',
'BUKRS' 'Company_Code'.