‎2007 Jul 27 10:07 AM
Hi all,
Is there any way to find which variant programming is using while running?
thanks in advance...
‎2007 Jul 27 10:11 AM
Hi,
Check the system field.
SY-SLSET
This will give the variant name.
Reward if helpful.
‎2007 Jul 27 10:10 AM
Hi,
Variants allow you to save sets of input values for programs that you often start with the same selections. You can use them for any programs except subroutine pools (type S).
Variants are an interface between the user and the selection screen. They can be used both in dialog and in background mode, although their uses are slightly different.
If you often run the same program with the same set of selections (for example, to create a monthly statistical report), you can save the values in a selection set called a variant.
You can also use variants to change the appearance of the selection screen by hiding selection criteria. This is particularly useful when you are working with large selection screens on which not all of the fields are relevant
variants plays an importent role while a program executing under background mode
for detailed information on variants follow this link.
http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c0/98037ae58611d194cc00a0c94260a5/content.htm
http://help.sap.com/saphelp_webas620/helpdata/en/eb/5fab41d79b11d296190000e82de14a/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/132f9803d76f40e10000000a422035/content.htm
http://www.sapgenie.com/abap/tvar.htm
<b>Reward points if useful</b>
Regards
Ashu
‎2007 Jul 27 10:10 AM
Hi,
Please check out table VARI. This will give you the connections between report program names and variant names.
Simply do a query using SE16
Regards
‎2007 Jul 27 10:11 AM
‎2007 Jul 27 10:11 AM
Hi,
Check the system field.
SY-SLSET
This will give the variant name.
Reward if helpful.
‎2007 Jul 27 10:12 AM
I found solution ..
SY-SLSET is storing the name of variant.....any way thank you all...