cancel
Showing results for 
Search instead for 
Did you mean: 

Create tcode for the ztable

Former Member
0 Kudos

Hi all

I want to create the Tr. code for the zTable.

For this i followed this navigation.

From Se11

Given the table name

Clicked on change

Clicked on Utilities

Clicked on Table maintainence Generator

Clicked on Environment

Then It showing Transaction code in diabled mode

How i can enable?

Is it possibel to create the tcode for the table or not >

If yes, How ? Plz clarify.

Message was edited by: Prashanth Konda

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Prashant,

Its not possible to have Tcode for ur table..

U can have Z-Tcode for table maintaince SM30 where u defined viewname as ur table value..

This would just skip first screen n take u to table maintence generator..

However, i would suggest u to go for editable ALV grid..

Write a program to display editable ALV displaying the contents of the table..

u can define T-code for that program..

Regards,

Tanveer.

<b>Please mark helpful answers</b>

Former Member
0 Kudos

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 Prashanth,

If your purpose is to provide a T-code for entering values directly in to table without going to SE11 , create entries like that. Then What Sravathi suggested is the right approach . This is the standard approach to provide table maintenanance to the users who require it like Functional people and end users .

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 .

<i>Hope This Info Helps YOU.</i>

Regards,

Raghav

Former Member
0 Kudos

Hi Sravanthi

Thanks for reply

when i am going for table maintainence with my ztable

using tcode se54. But it is giving that Table ZTESTKPK has no transportable package and The maintenance object description has no transportable package

Please Clarify.

Former Member
0 Kudos

Hi Prashant,

Is the table having a transportable development class?

Cheers

VJ

Former Member
0 Kudos

Have you used SE54 instead of SM30 while creating the transaction code for your ztable??

Any reason why you are using SE54 ?? In SE54, which radiobutton have you selected?? ABAP Dict, Gen objs, Auth gps or Ass auth gp??

Simha_
Employee
Employee
0 Kudos

Hi,

It is not possible to create T-Code for Ztabels.

As far i know it is not possible.

If there is any way, post the solution.

Regards,

Simha.