on 08-24-2007 10:33 AM
hi experts,
i am trying to print a text and i declared a character variable of length
TEXT (65) type c,
when i pass this to form attributes via function module.
in smartforms the <b>associated type</b> i gave it as <b>char 65</b> it doesn't doesn't allowed me..
but if i decrale it as <b>char50</b> it allows.....!
so i tried to take the input from selection screen and copied that text to a string type variable.and copied the text from char in to string variable and passed it to
call function and i declared in associated type as <b>STRING</b>
as it is allowing but....
i am getting a type mismatch error.
please suggest me how to print a string of length 65 characters by taking input from selection screen.
Regards
Sivaram Arigela
Hi,
Defiene any string with char type.
u CAN define like ....
Name type char80
Address type char100 like that.
Rewards points if it is useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are passing this variable through driver program to smartforms. as venkatesh suggested declare two variables and break the text into two parts a(50) and a+51(15). send it to smartforms. Declare two variables suppose A of type char50 and B of type char15. then print them side by side as suggested by Venkatesh. If it works out award points to Venkatesh.
Regards,
mallick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if possible you can use the
<b>tline-tdline</b> ( which is a character type and lenght 132 )
thanks & regards,
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if the variable declared in the smartform is not taking more length
then declare two variables of length 50 and 50
take the value of the variable from the selection screen
and split at 50th postion and put in first variable of lenght 50
and the remaining in the next 50
and pass these two values to the smartform
and while printing give the two variables side by side
i did in the same fashion for the scripts
thanks & regards,
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.