02-06-2014 11:58 AM
Hello All,
I like to know how to copy the selection screen variants of a report (RIAUFK20) from one user to another user.
Example: I have report RIAUFK20 with variant created as V1 for user John. Now i have to copy the same variant V1 as V2 to user Jack.
Since we have many variant like this to be copied between users.
any standard report or solution would be helpful.
Br,
Dsk
02-06-2014 2:37 PM
check this table VARID
also check other tables in package SLDBV
check function modules in function group SVAR
like
RS_VARIANT_ADD
RS_VARIANT_COPY --- this perticular one might be helpful to you
( i tried this , it worked but no user log when tried to select variant , i mean it will not show who created it or who last changed it .
but you can write simple modify statement and update in the table VARI AND VARID.).
02-06-2014 12:09 PM
Hi Dhandapani,
If you want to copy display variants of table control by using an existing variant of a user , you can try with this report:
RSTCX_COPY_TCVARIANT
However variants of a report aren't user defined.
Best regards
02-06-2014 1:03 PM
In the se38 i have this variant in my report.
when i use this report and give the report/ username then it tells there is no variant.
kindly advice.
Br
Satheesh kumar D
02-06-2014 12:50 PM
Copy the variant. In the new variant, set the attribute as global. (button besides the new variant name).
This variant will now be available for all users.
02-06-2014 1:03 PM
solution of copying manually works well. considering the volume we are looking for some reports
02-06-2014 1:11 PM
You can also do it programatically.
I just came across this thread. I have not tried it, but I guess it should work.
The variants are stored in table ltdx. The variant id, report name and user name all form part of the key fields.
Retrieve the corresponding variant for the respective report from this table. Change the user name and modify the table.
Check this thread.
02-06-2014 2:30 PM
02-06-2014 1:13 PM
see if this link is useful for you https://scn.sap.com/thread/427718
02-06-2014 2:30 PM
think this is for code inspector variant , list of checks to perform...
02-06-2014 2:37 PM
check this table VARID
also check other tables in package SLDBV
check function modules in function group SVAR
like
RS_VARIANT_ADD
RS_VARIANT_COPY --- this perticular one might be helpful to you
( i tried this , it worked but no user log when tried to select variant , i mean it will not show who created it or who last changed it .
but you can write simple modify statement and update in the table VARI AND VARID.).
02-10-2014 5:15 AM
Hello,
Thanks for your reply.
My core part is to copy the variant from one user to another user. that is open and looking any inputs other than a z program.
Br,
Dsk
02-14-2014 6:38 AM
Dear All,
Thanks for all your replies. But looks there is no standard way of doing this. I am now progressing on the faesibility side by technical development.
thanks for all your replies.
Br,
Dsk
05-18-2016 4:11 PM
You can copy list by following below steps.
Go to the job -> step ->
Select Program Name and click on Goto -> Variant
Here you can see the list in 'frm' Row. Scroll down slowly you can find required list.
There might be other lists also in this row but select till end of Your required list.