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: 

attaching ztable to tcode

Former Member
0 Kudos

Hi all,

is it possible to attach ztable to tcode ,

if possible means pls tell me , i tried in se93 transaction

Regards

Nagendra

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

1.T-code SE93

2. Give the Tcode according your naming conventions.

3.choose Create then it will ask for the description

in the lower of the screen you can see 4 options select the last one .

4.In the Transaction Input box give SM30 and make a check mark in the below check box , skip intial screen.

5.In the end of the screen you can find subscreen lablled Default value

select VIEWNAME in the column NAME OF SCREEN FIELD and in the next column type your Z-TABLE.

If your requirement is to provide this T-CODE for inserting/modifying values then Type UPDATE in NAME OF SCREEN FIELD Column and the next column 'X'.

If your requirement is to just show the table then you can select SHOW .

Regards

Sudheer

5 REPLIES 5

Former Member
0 Kudos

hi Nagendra...

You can't create a tcode for the table directly..

Create the table maintenance generator by giving auth group(if u 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

Give a tcode and description.. and 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 ur tcode and you will see the table maintenance screeen for your ztable

Former Member
0 Kudos

Hi,

1.T-code SE93

2. Give the Tcode according your naming conventions.

3.choose Create then it will ask for the description

in the lower of the screen you can see 4 options select the last one .

4.In the Transaction Input box give SM30 and make a check mark in the below check box , skip intial screen.

5.In the end of the screen you can find subscreen lablled Default value

select VIEWNAME in the column NAME OF SCREEN FIELD and in the next column type your Z-TABLE.

If your requirement is to provide this T-CODE for inserting/modifying values then Type UPDATE in NAME OF SCREEN FIELD Column and the next column 'X'.

If your requirement is to just show the table then you can select SHOW .

Regards

Sudheer

Former Member
0 Kudos

Hi Nagendra,

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 se93

5. give custom tcode and say create

then enter description , and then

choose the radio button Transaction with parameters

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

and save it, now check the Tcode.

Thanks,

Vinay

Former Member
0 Kudos

please se this in the SE93 ...

when you press the CREATEButton there ....

Transaction Code Maintenance(Dialog Transaction)
Transaction Code Maintenance (Reports)
Transaction Code Maintenance (Parameter Transaction)
Transaction Code Maintenance (Variant Transaction)
Transaction code maintenance (object transaction)

So there is no option for directly creatin g transcation code for any dta base table...

only way is you have main the table using table maintainance generator .... that what explained already by some of the friends to you ....

Girish