‎2008 Jan 17 1:36 PM
Hi guys,
I have a situation in which user has created so many personal layouts on alv report. now we need to move it to other user.
Is there a standard way to transfer variants between users? I mean all the variants that a user created can they be mass copies to a different user?
I have idea about moving variants cross clients.
But no idea about making available user specfic variant to other user.
please give me some useful advise.
its really urgent.
Regards,
Azad.
‎2008 Jan 17 1:43 PM
Hi Azad,
The ALV layouts which are created are stored in a table called LTDX.
The layouts which are user-specific can be used only by that user. But the standard layouts can be used by all users.
The table may be copied to other systems which includes both the types of layouts
Thanks & Regards
Santhosh
‎2008 Jan 17 1:43 PM
Hi Azad,
The ALV layouts which are created are stored in a table called LTDX.
The layouts which are user-specific can be used only by that user. But the standard layouts can be used by all users.
The table may be copied to other systems which includes both the types of layouts
Thanks & Regards
Santhosh
‎2009 Nov 23 11:17 AM
Hi,
Try This Program
report copy_layout.
data : lt_ltdx like ltdx occurs 0 with header line.
data : lt_ltdxt like ltdxt occurs 0 with header line.
parameters report like ltdx-report obligatory.
parameters report2 like ltdx-report obligatory.
"copy layout of report to report2.
start-of-selection.
select * into table lt_ltdx from ltdx
where report = report.
select * into table lt_ltdxt from ltdxt
where report = report.
loop at lt_ltdx.
lt_ltdx-report = report2.
modify ltdx from lt_ltdx..
endloop.
loop at lt_ltdxt.
lt_ltdxt-report = report2.
modify ltdxt from lt_ltdxt..
endloop.
message 'Copy Complete.' type 'I'.