Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

cal transaction using screen variant

Former Member
0 Likes
530

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.

3 REPLIES 3
Read only

Former Member
0 Likes
407

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

Read only

Former Member
0 Likes
407

Hi,

USe transaction SHD0.

Cheers.

Reward if useful

Read only

Former Member
0 Likes
407

Hi,

Use transaction SHD0 to create transaction/screen variant

Cheers.

Reward if useful