Application Development and Automation 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: 
Read only

alv grid

Former Member
0 Likes
682

hi...

i have created one alv grid n i want to move the columns after displaying the alv

means my MATNR is first and MAKTX is last and i want that near to each other after displaying the alv..

how to do that..

thnks n regds

yogesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
660

Hi,

This u can achieve by change layout also if u want after displaying the ALV.

But this can be achived by defining it in the catalog by specifying col_pos in the slis_fieldcat_alv.

Reward points if useful...

hi...

i have created one alv grid n i want to move the columns after displaying the alv

means my MATNR is first and MAKTX is last and i want that near to each other after displaying the alv..

how to do that..

thnks n regds

yogesh

6 REPLIES 6
Read only

Former Member
0 Likes
660

Hi,

set maktx column position next to matnr while creating field catelog.

L.Velu

Read only

Former Member
0 Likes
660

Hi yogesh,

In ALV output there is one option to change layout(Ctrl+F8). You can use that to change order of your outputs. You have to save taht layout.

Hope this will help you.

Reward if found helpfull.

Rakesh.

Read only

Former Member
0 Likes
660

hi,

after displaying ALV,

Goto setting > Layout>change---> display column

there u can do up and down with cursor

and save that layout and make default if u want

Message was edited by:

Dhwani shah

Read only

former_member404244
Active Contributor
0 Likes
660

Hi,

While decalring final internal table declare first material and then material description and pass that to FIELD_CATALOG_MERGE,

if u are filling maually then first give col_pos =1 for matnr and col_pos = 2 for description...

u can also do like this

In ALV output there is one option to change layout.

regards,

nagaraj

Read only

Former Member
0 Likes
660

HI,

u can drag and drop one column near to other in alv grid(after display).

rgds,

bharat.

Read only

Former Member
0 Likes
661

Hi,

This u can achieve by change layout also if u want after displaying the ALV.

But this can be achived by defining it in the catalog by specifying col_pos in the slis_fieldcat_alv.

Reward points if useful...