‎2008 Jun 24 4:36 AM
All Experts:
I want to call a transaction with a variant, this is a screen variant I set in that transaction? can I do this? how to do that? please kindly give me an example for reference, thanks.
T-code A, Report A
T-code B, Report B
variant 1 is set in the screen of Report, I want to call T-code B with vartiant 1 in the T-code A.
Thanks in advance.
‎2008 Jun 24 4:59 AM
Hi,
you can't use call transaction with variant.
1. in SE93, create a transaction with variant type. so that without varianet you can't execute the transaction.
2. try to use Submit Statement.
Examples:
*Submit report and return to current program afterwards
SUBMIT zreport AND RETURN.
*Submit report via its own selection screen
SUBMIT zreport VIA SELECTION-SCREEN.
*Submit report using selection screen variant
SUBMIT zreport USING SELECTION-SET 'VARIANT1'.
*Submit report but export resultant list to memory, rather than
*it being displayed on screen
SUBMIT zreport EXPORTING LIST TO MEMORY.
Reward if found helpful
Regards,
SB
‎2008 Jun 24 4:59 AM
‎2008 Jun 24 5:01 AM
Hi,
Use transaction SHD0 to create transaction/screen variant
Cheers.
Reward if useful