cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms "Literals that take up more than one line are not permitte"

michael_hhnle
Discoverer
0 Kudos

Hello,

i have one question create a "smartform" form. If i press the "check" button in the "SAP R/3 Enterprise" there is no error.

But inthe new SAP System "SAP ECC 6.0"; there is following error "Liiterals that take up more than one line are not permitted."

What can i do?

Thanks

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Please go through the SAP note 1882491

regards

Fedalis

Former Member
0 Kudos

Same situation I also faced.

I was doing BDC recording and storing that into Function module.

In FM all the recorded things will come as Defalt value for Import parameteres.

Actually this default parameter texts length were long ,i deleted those and

issue got solved.

So this "Literals that take up more than one line are not permitted" will come due to long text.

Regard,

amit

Former Member
0 Kudos

You can check in SE38=>Utilities=>Settings=>ABAP Editor=>Editor=> Downwards -Comp.Line Length(72).

The checkbox which defines lenght 72 must be clicked so the error is coming.

You can remove the checkbox or use strings to concatenate as below.

eg: if u want to print 'This is the new world' & it is exceeding the lenght.

data: a type string value 'This is the new',

b type string value 'world',

c type string.

concatenate a b into c.

write : c.

Former Member
0 Kudos

Hi,

This errors means you have hardcoded a string somewhere in your smartform which is wrapping up to the next line. So try to make that text come in a single line or use concatenate to assign it as two substrings.

Regards

Karthik D

Former Member
0 Kudos

Hi,

In that case please click on the error line so that it would take you to the location of the error node.

Then let us know what exactly is the node containing means whether it is a standard text or something else.

Regards,

Ram