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: 

tcode with parameters

Former Member
0 Kudos

hi,

i want to create atcode with the last option i.e with paarmeters. in this i have set a default value but when i execeute it. the value is not passsed.

plz guide me as to where i may b goin wrng.

thns & rgds

kavita joshi

3 REPLIES 3

Former Member
0 Kudos

are you talking about seting a parameter id, and calling a transaction?

if so here is one example

.....

set parameter ID 'PER' field xxx (your value for parameter the).

CALL TRANSACTION 'PA20'.

....

Former Member
0 Kudos

hi kavitha,

Have u followed the same procedure.

Follow these steps :

1. go to transaction SE93 , give your own transaction code say ztran_tab.

2. Click on create button and check the radio button Transaction with parameters (PARAMETER TRANSACTION) and click on the tick button.

3. In the next screen enter default values:

transaction : <some value>

check the check box skip initial screen

4. Scroll down you will find a table control for default values

-


Name of the screen field | value

-


VIEWNAME | <value>

SHOW | X

Save your work.

Now as you have created a custom transactionthis transaction can be called from any program with CALL transaction 'XXX'.

Regards,

Sailaja.

Former Member
0 Kudos

Hi,

While creating a custom transaction (parameter transaction), do fill the default values for the screen fields.

These screen fields will be occuring on the screen you mention under section 'Default values for'... Screen and Module pool...

Once you run your custom transaction, it will populate these default values in those fields...

Regards,

Raj