Skip to Content

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

draw the line in report

Hi All,

iam trying to drwa the lines in btween data, but when i use SY-VLINE , data is not displaying the o/p ,

when i delete sy-vline iam getting , what is the problem?

and my code is

SY-VLINE , 2 IT_PLANT-MATNR COLOR COL_KEY,

21 SY-VLINE , 22 IT_PLANT-WERKS COLOR COL_KEY,

27 SY-VLINE ,28 IT_PLANT-PSTAT COLOR COL_NORMAL,

43 SY-VLINE ,44 IT_PLANT-EKGRP COLOR COL_NORMAL.

any body tell me pls what's wrong in this?

Regards,

pandu.

Tags:
replied

Hi

Refer this sample code which has been given in sap help.

TABLES spfli.

SKIP.
ULINE AT /(62).

SELECT *
FROM spfli
WHERE connid GE 0017 AND connid LE 0400.
 WRITE:
   / sy-vline,
     spfli-connid,
     sy-vline,(15) spfli-cityfrom, 26 sy-vline,
         31 spfli-cityto, 51 sy-vline, 62 sy-vline,
         / sy-vline, 8 sy-vline,
         spfli-deptime UNDER spfli-cityfrom, 26 sy-vline,
         spfli-arrtime UNDER spfli-cityto,   51 sy-vline,
         spfli-fltime, 62 sy-vline.
  ULINE AT /(62).
ENDSELECT.

Regards,

Sravanthi

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