Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8843

Re: Smartforms: Strange behaviour of the symbol with length specification

$
0
0

Hi Vijay,

 

I think we should not mix apples and oranges. ABAP reports are one thing and SAP Script is a bit different. In ABAP, for example, you would not be able to specify an offset beyond the length of the text, but in SAP Script you can, it will not complain, just output nothing. The thing is, that you can use text symbols not only in Smartforms. You create a standard text with text symbols, and you would expect it's behaviour in programs and Smartforms will be the same, but it is not in the case above. Furthemore, if you specify in standard text something like "&SYMBOL(200)&" and your symbol just has 10 chars, Smartform will not print 190 spaces, as you would expect, it will simply move your closing static quote to the next line. The result will be the same if you line is 20 or 30 or 40 chars. It is smell like an error for me. Simple check of the actual length will fix that.

 

Cheers,

Anton.


Viewing all articles
Browse latest Browse all 8843

Trending Articles