‎2007 Apr 14 2:05 AM
Hello,
Could anyone please tell me know that how to set an automatic variant, when users call a transaction code then at selection screen the default variant will be automatic selected by system w/o be selected by users.
Thanks in advance.
Regards,
Tiwa Noitawee.
Message was edited by:
Tiwa Noitawee
‎2007 Apr 14 2:50 AM
When you are creating the transaction code in SE93, there is an option to put a variant in the field 'Start With Variant'. Enter the variant name there.
‎2007 Apr 14 3:47 AM
Hello Srinivas Adavi, DanielY
Thanks for your reply.
I have already tried to you SE93 as your recommened it's worked but I have a question.
For example :
There are 3 variants in a program:
- var1 created by user1
- var2 created by user1
- var3 created by user2
How to set an automatic variant specific var2 for user1 and var3 for user2?
If it's possible, Can user do or IT have to set?
Regards,
Tiwa Noitawee.
Message was edited by:
Tiwa Noitawee
‎2007 Apr 14 2:50 AM
Hi, you can use se93 and create a report transaction and enter a default variant there for your selection screen.
‎2007 Apr 14 11:13 AM
Hai Tiwa,
pass i_save as A or U for this function. it will take as user specific.
and in the report save ur own layout.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = 'A' / 'U'
CHANGING
cs_variant = ls_variant.