2006 Jun 23 9:50 AM
Hello experts,
I am currently modifying a sapcript program that prints cheques. Now, the text in the name field of a check
(the pay to the order of) is always shorter. for example, the complete text must be:
THE BOARD OF TRUSTEES OF PRIVATE EDUCATION RETIREMENT ANNUITY ASS'N.
But instead we get
THE BOARD OF TRUSTEES OF PRIVATE EDUCATION RETIREMENT.
We checked the code in the form and I pasted it below. I debugged it and it gets the complete text
but how come when we print it lacks some of the text?
<B>&NAME1&</><B> </>&NAME2&
Again, thank you guys and take care!
Message was edited by: viraylab
2006 Jun 23 10:12 AM
Hi Viraylab,
From you input I could figure out that you are using two variables to print your text.
Name1 = THE BOARD OF TRUSTEES OF PRIVATE EDUCATION RETIREMENT.
Name2 = ANNUITY ASS'N.
From the text Only the fist variable is printing.
What you can do is, concatenate both the variables in a single variable and display it.
Or check the length of the window u r dispalying cause if the window length is small it wont print.
<B>&NAME1&</><B> </>&NAME2& ---> it has to be changed to
<B>&NAME1&</><B>&NAME2&</> to print everything in bold.
Can you plz reply back what u r getting.
Regards,
Tushar
Hello experts,
I am currently modifying a sapcript program that prints cheques. Now, the text in the name field of a check
(the pay to the order of) is always shorter. for example, the complete text must be:
THE BOARD OF TRUSTEES OF PRIVATE EDUCATION RETIREMENT ANNUITY ASS'N.
But instead we get
THE BOARD OF TRUSTEES OF PRIVATE EDUCATION RETIREMENT.
We checked the code in the form and I pasted it below. I debugged it and it gets the complete text
but how come when we print it lacks some of the text?
<B>&NAME1&</><B> </>&NAME2&
Again, thank you guys and take care!
Message was edited by: viraylab
2006 Jun 23 9:55 AM
Hi Viray,
while printing u have given like this..
<B>&NAME1&</><B> </>&NAME2&
change this to
<b><B>&NAME1&</><B>&NAME2&</></b>
Cheers,
Simha.
2006 Jun 23 9:57 AM
hi
Check the size of the window. I think in your case the window size is less and thus cannot accumulate the complete text.
Regards,
Richa
2006 Jun 23 10:12 AM
Hi Viraylab,
From you input I could figure out that you are using two variables to print your text.
Name1 = THE BOARD OF TRUSTEES OF PRIVATE EDUCATION RETIREMENT.
Name2 = ANNUITY ASS'N.
From the text Only the fist variable is printing.
What you can do is, concatenate both the variables in a single variable and display it.
Or check the length of the window u r dispalying cause if the window length is small it wont print.
<B>&NAME1&</><B> </>&NAME2& ---> it has to be changed to
<B>&NAME1&</><B>&NAME2&</> to print everything in bold.
Can you plz reply back what u r getting.
Regards,
Tushar
2006 Jun 23 10:36 AM
Hi guys,
Name1 = THE BOARD OF TRUSTEES OF PRIVATE
Name2 = EDUCATION RETIREMENT ANNUITY ASS'N
I checked and they both have 40 characters so all in all 80 chars combined. I checked the width of the window w/c is CHECKADD and its width is 45.67 CH. Is this the reason?
Thanks again guys!
2006 Jun 23 10:55 AM
Hi,
Just increase the window size in which u are printing the text.
or try to print the second text in the below line to test whether it contains data or not??
If it prints the data, then the problem is with the window width...
Get back if not solved..
Cheers,
SImha.
2006 Jun 23 11:04 AM
Hi Viraylab,
Don't use two variables to display the hardcoded text. It might cause some problem when you are trying to download it to RDI. You can solve this problem by concatenating both the hard coded text into one variable of lenght 100 and display it.
Regarding the width of the window, CH refers to "Characters", change that to CM which will be "Centimeters" and give the width of the window to the entire width of what you desire. Think this is the problem for your truncation of the text, coz it will display only 45 characters which you have mentioned. Change that, activate and display. You will be able to get the entire text.
Reply back if you have any changes.
Regards,
Tushar
Message was edited by: Tushar Marshall Dass
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |