Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SLIN- Error message char strings without text elements cant be translated

Former Member
0 Kudos

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.

5 REPLIES 5

amit_khare
Active Contributor
0 Kudos

Did you created the text element and replace those text element with the constants on the screen??

0 Kudos

Hi Amith,

Yes i created the text element and used it in perform.

But still i got the same error.

Regards,

Kaavya

Former Member
0 Kudos

Got to correct the error, the name of internal table for output should be given in Caps

Former Member
0 Kudos

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!

former_member184367
Active Participant
0 Kudos

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'.