2008 Jun 03 5:16 PM
Hi,
I need to call some standard transaction ( which are nothing but report, assigned a T code) with defaulting an existed variant.
how can i acheive this.
Thanks in advance,
Sudheer. A
Hi,
I need to call some standard transaction ( which are nothing but report, assigned a T code) with defaulting an existed variant.
how can i acheive this.
Thanks in advance,
Sudheer. A
2008 Jun 03 5:20 PM
Sudheer,
You can create a Standard Transaction Variant for any standard transaction using transaction SHD0. Once you have created a standard variant and activated it, the next time you call the standard transaction it would be always called with the variant you created.
Regards,
Gajendra
2008 Jun 03 6:21 PM
Hi gajendra
Thanks for your reply. but I may have multiple variants based on some condition i want to pick the variant.
Thanks,
sudheer. A
2008 Jun 03 6:34 PM
Hi sudheer, you have a table TVAR* which hold all the variant names for a given object.. check that.. you might find a solution...
You said its a report program so.. why dont you use SUBMIT statement and use the selection-screen.
2008 Jun 03 8:14 PM
Hi Sudhir,
You have mentioned you want to call a standard transaction with specific variant based on a condition: What is the condition for which you want to call the transaction and where is it being called from? If it is a custom developed program then best way to do this create variant transactions for different transaction variants and then call the relevant transaction based upon conditions.
Regards,
Gajendra
2008 Jun 03 7:25 PM
Hi,
Give a diff. transaction code in SE93 in create mode.
In the Default value for Transaction, put 'START_REPORT' and
check skip initial screen field.
At the bottom of screen in the default values section
Put 'D_SREPOVARI-REPORT' in the name of screen field and assign your 'report name' in the value.
In next row, put 'D_SREPOVARI-VARIANT' in the name of screen field and assign your 'variant name' in the value.
and hit 'SAVE' button.
You can use transaction code with the given variant for the program now.
Cheers,
Vikram
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |