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

tcode for table

Former Member
0 Likes
723

hi to all,

how can i keep a tcode for a table which is having maintance view

thanks in advance

kiran kumar

5 REPLIES 5
Read only

Former Member
0 Likes
687

Hi,

1. you need generate the table maintenance using the Menu Utilities->Table maintenance generator

2. give the authorization group, package, function group, overview screen number etc.

3.create the table maintenance

4. now go to <b>se93</b>

5. give custom tcode and say create

then enter description , and then

choose the radio button <b>Transaction with parameters</b>

6. now enter tcode as SM30 and check the check box skip intial screen

7. Check all gui support buttons

8. now go down and enter VIEWNAME from F4 help and value as table name

9. and add UPDATE(choose it from F4) and value as 'X'.

VIEWNAME ZTABLE
UPDATE X

Erwan

Read only

0 Likes
687

hi

when in se93 when i give tcode and create and then select transaction with parameters it is saying transaction already exists

plz help

thanks in advance

kiran kumar

Read only

0 Likes
687

HI Kiran,

That means TCODE u r giving is already exits..

give another name for tcode to create

or

modify the t-code by pressing change button.

In menuitem Goto --> change transaction type --> select last radio button <b>Transaction with parameters</b>.

now enter tcode as SM30 and check the check box skip intial screen and Check all gui support buttons

scroll down and in Default values option enter VIEWNAME from F4 help and value as table name ut (ZTABLE)

and in other row UPDATE(choose it from F4) and value as 'X'.

Pls close the thread if the problem is solved and reward to all helpful answers.

Regards

SAB

Read only

ferry_lianto
Active Contributor
0 Likes
687

Hi,

Create the table maintenance generator by giving auth group (if you do not want to give any particular auth, give &NC&), function group (the function modules used to maintain the table gets created in this function group), maintenance step (either 1 or 2) and main screen no(if you have chosen maintenance step 1, give one screen no, if 2, give 2 screen nos.. give anything other than 1000 as it is reserved for SAP).

Now, go to transaction SE93 and give a tcode and description..Then select it as a Parameter transaction (last radio button). Once you press enter, enter SM30 as the transaction and check the checkbox for 'Skip Initial Screen'.

Scroll down to find the block which has Default values..

Select VIEWNAME in the screen field, and your ztable as the Value

Select UPDATE in the next row and give 'X' as the value

Now execute your tcode and you will see the table maintenance screeen for your ztable

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
687

hi kiran,

just follow the below steps

In transaction SE11, in the attribute tab of your z table check table maintenance check box. Go to SM30 transaction, enter the ztable name and click on maintain button. Here you can enter new entries into the ztable .

Or

You can create a PARAMETER TRANSACTION for the transaction for SM30 .

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'.

thanks & regards

warun