cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying 10 characters for a feild in a smartforms

Former Member
0 Kudos

Hi all,

I have this feild in smartform &L_CARGO_TYPE(C)& the requirement is to make it accept 10 characters only. Can you help me please. Thanks in advance

Accepted Solutions (0)

Answers (4)

Answers (4)

satyajit_mohapatra
Active Contributor
0 Kudos

Create a PROGRAM LINE just before using the variable with the code....

L_CARGO_TYPE = L_CARGO_TYPE(10).

Now, print your varibale in text element as &L_CARGO_TYPE(C)& .

former_member536879
Active Contributor
0 Kudos

Hi,

Please post this Quey in the Form Printing.

With Regards,

Sumodh.P

matt
Active Contributor
0 Kudos

Moderator message Please post SmartForm and SapScript questions in THIS forum

Message moved.

Former Member
0 Kudos

Any ideas please, i tried to &L_CARGO_TYPE(C)(10)& I get an error saying invalid symbol can you help please

Former Member
0 Kudos

define a variable with ten character and assign your field to this variable before you display it. and instead of displaying L_CARGO_TYPE, display the new variable with ten char.

Former Member
0 Kudos

can i have the code of it please