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

When we execute transcation selection-screen should come with some values

Former Member
0 Likes
776

hi gurus,

My requirement is whenever user executes a particular transaction,

selection screen should appear with some values by default.

can you suggest me in solving this problem.

its urgent.

thanks,

Bhanu.R

hi gurus,

My requirement is whenever user executes a particular transaction,

selection screen should appear with some values by default.

can you suggest me in solving this problem.

its urgent.

thanks,

Bhanu.R

4 REPLIES 4
Read only

Former Member
0 Likes
748

Hi,

You can create transaction variants in that case.

for that create a transaction variant using t code SHD0.

There you can use the wizard to create the variant.

Else,

In the program, in top incled at the declaration of the select options, define default vales for the fields...

or if it is a report transaction, use the normal variants option..

Hope this helps..

Regards,

Renjith Michael.

Read only

Former Member
0 Likes
748

Please ellaborate the problem.

1) Use transaction variant SHD0

2) In case of executable reports, hard code the values in INITIALIZATION EVENT.

3) If you want to pick values from parameter id then set the default parameter id using SET/GET

Read only

0 Likes
748

hi gurus,

I am executing a report .

I have created transaction for this report.

we have a variant for this report ex : del count

Now,whenever user opens this transaction the selection- screen should show the values present in the variant del count.

I used the transaction SHD0.But,while using this transaction it is saying that the *transaction variant delcount doesnot exist *

Read only

0 Likes
748

Hi,

for that do like:

A transaction with a variant can have its own transaction code, which you can then use to execute the transaction with the appropriate variant.

To create a variant transaction, proceed as follows:

Choose Goto ® Create vari. trans. from the initial transaction variant maintenance screen.

Enter a transaction name and corresponding short text. Transaction type Variant transaction is already set. The following screen already contains default values for the name of the calling transaction, the variant name, and the client-specific or cross-client variant checkbox.

Save your entries.

Example:

Variant ABC has been defined for transaction Z000. We now want to create the variant transaction ZVAR.

Name of the new transaction: ZVAR

Name of the calling transaction: Z000

Name of the variant: ABC

Transaction ZVAR starts transaction Z000 with variant ABC.

If the variant specified for a variant transaction does not exist (in the current client), then the calling transaction will be started without variant.

Regards,

Renjith Michael.