06-08-2007 7:07 AM
Please tell me the diff between write & write at. Where it is aplicable .
Vighnesh.
06-08-2007 7:10 AM
Hi,
try this code,
DATA: text TYPE string VALUE '0123456789ABCDEF',
col TYPE i VALUE 25,
len TYPE i VALUE 5.
WRITE text.
WRITE /5(10) text.
WRITE AT col(len) text.
reward points if helpful
regards,
venkatesh
06-08-2007 8:01 AM
Hey vignesh ...
We use "write at (column)" (where 'column' is a variable) when we want to change the position of the text/data dynamically. Whereas, if we use "write (/5)" , the position of the text/data will be fixed.
We use "write at" when we are not sure about the length of the column values to ensure that the complete text will be displayed.