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

Former Member
0 Kudos

Hi,

Can anyone explain how to create Tcode for a table.

Regards.,

G Kumari

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Kumari,

Follow these steps :

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

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 : SM30

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 | your ztable name

SHOW | X

Save your work.

Now as you have created a custom transaction for maintaining your ztable this transaction can be called from any program with CALL transaction 'XXX'.

Hope this information will help you.

Regards,

Nikita.

3 REPLIES 3

Former Member
0 Kudos

Hi,

You need to create Parameter Transaction.

When you create a tcode from SE93, select parameter transaction radiobutton.

Give SM30 as the tcode.

Press Enter.

Now, go to the table control.

press F4, Select Viewname ... and assign your table control name on the right side of the table control.

If you want to have display, than select DISPLAY from the F4 help and set the value 'X'.

Regards,

Omkaram.

Former Member
0 Kudos

Hi.

[Search In SCN|;

anirban

Former Member
0 Kudos

Hi Kumari,

Follow these steps :

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

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 : SM30

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 | your ztable name

SHOW | X

Save your work.

Now as you have created a custom transaction for maintaining your ztable this transaction can be called from any program with CALL transaction 'XXX'.

Hope this information will help you.

Regards,

Nikita.