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: 

Is it possible to transport the layouts of an alv-grid?

Former Member
0 Kudos

Hello,

is it possible to transport the layouts of an alv-grid and does anybody know how to do this?

Regards, Lars.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Yes you can!

Run your program and while the output is beeing shown, go to Setting->Layout->Manage: here choose your layout by checkbox and then Layout->Transport

Max

6 REPLIES 6

FredericGirod
Active Contributor
0 Kudos

Hi,

what do you mean with "Transport the layout" ?

Frederic

Former Member
0 Kudos

Hi

Yes you can!

Run your program and while the output is beeing shown, go to Setting->Layout->Manage: here choose your layout by checkbox and then Layout->Transport

Max

former_member188685
Active Contributor
0 Kudos

Hi

LS_VARI TYPE DISVARIANT.

  LS_VARI-REPORT      = SY-REPID.
  LS_VARI-HANDLE      = SPACE.
  LS_VARI-LOG_GROUP   = SPACE.
  LS_VARI-USERNAME    = SPACE.
  LS_VARI-VARIANT     = SPACE.
  LS_VARI-TEXT        = SPACE.
  LS_VARI-DEPENDVARS  = SPACE.
CALL METHOD G_GRID->SET_TABLE_FOR_FIRST_DISPLAY
    EXPORTING
      IT_TOOLBAR_EXCLUDING = LT_EXCLUDE
<b>      IS_VARIANT           = LS_VARI</b>
      IS_LAYOUT            = GS_LAYOUT
<b>      I_SAVE               = 'A'</b>
    CHANGING
      IT_FIELDCATALOG      = IT_FIELDCAT
      IT_OUTTAB            = IT_FINAL[].

try this

regards

vijay

Former Member
0 Kudos

Yes if you save the ALV layout with as a standard layout ( name starting with a "/") . In the ALV screen first save the layout ( giving a name , make sure user specific is not checked ). Then from menu option - Setting -> Layout -> Administartion. In this screen choose the layout you want to transport . Then from menu Layout -> Transport . It will prompt for a transport request . You can either give an existing one or create a new.

Cheers.

Sanjay

Former Member
0 Kudos

Hello,

thanks for your help. Regards, Lars.