Application Development 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: 

Reg: Transaction Variant for a custom report

Former Member
0 Kudos

Hello All,

I created a Report Program.

The report program has a transaction name say TCODE1.

Now I've a Check-box in the SSSCRN of my report .

When this checkbox is selected the output of this report varies from that of the output when the checkbox is not selected.

For this I need to create one more Transasction say TCODE2.

  • In TCODE1 I need to create a Transaction Variant wherein the checkbox will be unchecked and invisible

  • In TCODE2 I need to create a Transaction Variant wherein the checkbox will be checked and invisible.

I tried to create a transaction variant but I'm not getting the screen for the confirmation after I make changes to the Selection-Screen.

Can we create Transasction Variant for a Report Program ?

If yes then how should I do for my scenario ?

Regards,

Deepu.K

.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

you have 2 possibilities.

- Create 2 Selection-screens dynpros for the report and each transaction starts with a different dynpro

- Work with at selection-screen and ask for the startet transaction (both are defined equal) and change the screen and the fields inside.

I would previor the first option.

Regards

Nicole

4 REPLIES 4

Former Member
0 Kudos

Hi,

you have 2 possibilities.

- Create 2 Selection-screens dynpros for the report and each transaction starts with a different dynpro

- Work with at selection-screen and ask for the startet transaction (both are defined equal) and change the screen and the fields inside.

I would previor the first option.

Regards

Nicole

0 Kudos

Hello Nicole,

I proceeded as per ur advice and it's working now !

Thanks a lot.

Regards,

Deepu.K

Former Member
0 Kudos

Hi Deepu,

You cannot create transaction variant for a screen type "Selection screen".

For reference see the following link.

[http://help.sap.com/saphelp_nw04s/helpdata/en/67/232037ebf1cc09e10000009b38f889/frameset.htm]

Thanks.

Reward if useful.

0 Kudos

Hello Nicole & Surya,

Thanks for your reply.

As Nicole said ......I'm creating Dynpros for the 2 Transactions and i'll try to work with them.

I'll get back to u if I hav any other problem.

Thanks and regards,

Deepu.K