Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

LAYOUT option in classical report

Former Member
0 Kudos
143

HI all,

Is it possible to provide SORT options, LAYOUT options (CHANGE layout, SAVE layout) in classical report as similar to those options in ALV? If so, how to display those icons at the top of the report as similar to ALV?

Regards,

Shanthi

3 REPLIES 3

former_member416164
Participant
0 Kudos
73

Hi,

In classical report ? You mean using WRITE, ULINE, FORMAT COLOR etc... ? It's possible but you have to code it by managing field sequence, sort option in an database table....

It's possible, but it will be quite long to implement

Jean-Michel

Former Member
0 Kudos
73

Hi Shanthi

It can be done but will take more time.

For example.

just check this.

data: tcode(10) type c.

START-OF-SELECTION.

FORMAT COLOR COL_HEADING.
ULINE.
WRITE:/ '***********************The following are the transaction'.
WRITE:'codes in BPS ************************'.
FORMAT COLOR COL_HEADING OFF.
ULINE.

SKIP .
FORMAT COLOR COL_HEADING.
ULINE.
WRITE:/ 'Please select the report/program by double clicking on the'.
WRITE:'line'.

ULINE.

FORMAT COLOR COL_HEADING OFF.

SKIP.
FORMAT COLOR COL_POSITIVE.
ULINE.
tcode = 'ZCUS1'.
WRITE:/ '1.Version Utility program - ZCUS1 .', 75 tcode.
HIDE tcode.
ULINE.

Former Member
0 Kudos
73

Hi,

Sorting can be made, but manually !!! Evrything has to be done at the internal table with write statements.

Changing the layout or saving it too is possible, but no one would dare to try that. Its like rediscovering ALV concept.

One solution i can suggest is to use ALV list display(in case u have more no of recs in ur output) else go for grid.

Thanks,

Saravanan Rajan