2007 Aug 16 9:25 AM
Hello
How to create variants, plz tell me step by step process of creating the variants
sapman
2007 Aug 16 9:30 AM
Hi,
Variant are used to run your program with predefined inputs or to start with the same selections.
Procedure :
1. On the initial screen of the ABAP Editor, enter the name of the program that you want to run.
2. Choose Execute with Variant.
A dialog box appears, in which you can enter a variant.
3. To display a list of all variants for the program, use the possible values help.
4. Choose a variant.
5, Choose Choose to confirm your choice.
6. The selection screen of the program appears. The fields for which values exist in the variant already contain values.
To fill selection fields for a specific task using a variant you can save fixed values in table TVARV.
Regards
Padmam.
2007 Aug 16 9:28 AM
Hi Mahesh,
If you want to create a variant for the report, just execute your report.
Populate the values in the selection screen and then click on save.
Provide a name to the vairant and the next time you execute the report, you have a variant Icon near the execute button.
By clicking on it you can select your variant for execution.
The same is the process for all.
Regards,
Yogesh.
2007 Aug 16 9:28 AM
Hi,
Put the entries in selection screen & save.
it'll ask the variant name & description, give it & save.the variant is created by the name you gave.
Hope this helps.
Reward if helpful.
Regards,
Sipra
2007 Aug 16 9:29 AM
goto the desired selection screen for which you need a variant.
fill in all the values, and then press the save button (the small disc symbol).
thats almost it. now in the following screen give a name and a comment for that variant and save again.
DONE
2007 Aug 16 9:29 AM
Hi Mahesh,
go to se38..
enter your program name and select variant radio button
select change
then enter variant name
then create button
then enter values for selection-screen
save
Reward point if helpful
Murali K
2007 Aug 16 9:30 AM
Hi,
Variant are used to run your program with predefined inputs or to start with the same selections.
Procedure :
1. On the initial screen of the ABAP Editor, enter the name of the program that you want to run.
2. Choose Execute with Variant.
A dialog box appears, in which you can enter a variant.
3. To display a list of all variants for the program, use the possible values help.
4. Choose a variant.
5, Choose Choose to confirm your choice.
6. The selection screen of the program appears. The fields for which values exist in the variant already contain values.
To fill selection fields for a specific task using a variant you can save fixed values in table TVARV.
Regards
Padmam.
2007 Aug 16 9:31 AM
HI
STEPS
1) AFTER WRITING THE CODE CLICK ON EXECUTE BUTTON
2) ENTER SOME VALUES ON THE SELECTION SCREEN
3) CLICK ON SAVE
4) IT WILL ASK TO SAVE THAT VALUES UNDER ONE VARIENT NAME
5) ENTER SOME NAME AND CLICK ON SAVE
6) SO ONE VARIENT WITH THAT VALUES WILL BE CREATED
7) IF YOU WANT YOU CAN CREAT AS MANY VARIENTS YOU WANT
😎 NEXT TIME WHEN YOU EXECUTE THE PROGRAM IT WILL SHOW ONE BUTTON ON APLICATION TOOL BAR BESIDE YOU WILL FIND VARIENTS BUTTON
9) CLICK ON THAT BUTTON U WILL FIND ALL THE VARIENTS DETAILS WHAT YOU HAD CREATED
10) SO YOU CAN SELECT ANY ONE VARIENT , THAT VALUES WILL BE SHOWN ON THE SELECTION SCREEN
11) WHEN EVER UR CREATING TRANSACTION CODE IF U WANT TO PUT SOME VALUES AS DEFAULT THEN YOU CAN GIVE THAT VARIENT NAME AT CREATION OF T-CODE LEVEL
THATS ALL THE PROCEDURE TO CREAT VARIENTS
<b>
REWARD IF USEFULL</b>
2007 Aug 16 9:31 AM
Hi
after giving input values in selection-screen press save button
it opens new screen where u have to give variant name and description then press save variant gets created next time when u run it shows variant in selection-screen
Regards
sandhya