‎2005 Nov 15 11:41 PM
Hi,
I hope this is the right forum, since there is no specific forum for SAPScript.
I'm producing an RDI and the first variable printed in the main window only has the first characters displayed.
I suspect this is the result of support pack and just want to make sure if anyone encounter this problem and how to fix it.
The work around for me is to create a dummy text element and make sure this element is called first.
Any pointers would greatly be appreciated. By the way my system is 620 support pack 54.
Regards,
Iwan
‎2005 Nov 16 12:50 AM
So then, it just stopped working after applying a support pack? Its only printing the first characters are only showing in print preview? or when printed out also? Is the variable long enough in the print program? Is there any formatting done in the SAPscript itself?
BTW, yes this is the right forum.
Regards,
Rich Heilman
‎2005 Nov 16 1:31 AM
Hi Rich,
Thanks for the response. I think so, Just notified by the user that they are missing the rest of the data except the first characters when we move this to production.
If it is normal printing/preview it prints the whole thing, but when i change into RDI format, it prints only 1 characters.
The variable is long, for sure... i use the same variable twice in the same element, the first one is only the 1st character and the second one is the whole value.
in the sapscript in MAIN window:
/E TEST_DUMMY
P1 &MYVARIABLE&
P1 &MYVARIABLE&
I assigned MYVARIABLE to 'THIS IS A TEST'
if i set the SAPScript for normal printing/preview I see:
THIS IS A TEST
THIS IS A TEST
but then i set as RDI file, I got:
H640....
S
MAIN XXTESTDUMMY MYVARIABLE 001T
MAIN TESTDUMMY MYVARIABLE 014THIS IS A TEST
Strange, very strange.... any idea?