Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

write statement

Hi,

<u><i>I have a code snipplet as follows</i></u>:

write:

SY-VLINE, (9) I_OUTPUT-MENGE1 decimals 0 right-justified,

SY-VLINE, I_OUTPUT-MEINS1,

SY-VLINE, (9) I_OUTPUT-MENGE2 decimals 0 right-justified,

SY-VLINE, I_OUTPUT-MEINS2,

SY-VLINE, (8) G_Difference decimals 0 right-justified,

The digits in brackets signifies output length or column position?

Tags:
Former Member
Former Member replied

Debarshi just in abap editor write the statement write and press F1 It will show you the documentation.

By the way the thing I am pasting here that is from SAP help example.

DATA: WORD(16), VALUE '0123456789ABCDEF',

COL TYPE I VALUE 5,

LEN TYPE I VALUE 10.

WRITE AT / WORD. "new line

WRITE AT 5 WORD. "column 5

WRITE AT (10) WORD. "output length 10

WRITE AT /5(10) WORD. "new line, column 5, length 10

WRITE AT COL WORD. "column = contents of COL

WRITE AT (LEN) WORD. "output length = contents of LEN

WRITE AT /COL(LEN) WORD. "new line, column = contents of COL

"output length = contents of LEN

Hope you are clear now.

regards

shiba dutta

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question