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: 

How to create t-code for a table and how to create transaction variant???

Former Member
0 Kudos

Hi,

I have created a custom table zsark.

Now my requirement is : I have to create a transaction variant zsark_var for sm30 and table zsark. I have to disable the output of the first screen. I have to assign the transaction variant to the transaction code of table zsark.

Now,

1. how to create transaction code to a table. Can any one give me the

staps??

2. how to create transaction variant for the above requirement???

Thanks & Regards,

Sarkar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Create parameter transaction (i.e. via SE93)

Give transaction name as SM30,

then in proposed values give the below details.

VIEWNAME: (table name)

UPDATE: Open table for update(X or space)

Reward points if helpful

12 REPLIES 12

former_member181962
Active Contributor
0 Kudos

For your Q1):

For your Q2), you don't need a transaction variant as your transaction is a custom one. You go for transaction variants only for standard transactions.

regards,

Ravi

0 Kudos

thanks Ravi. But for sm30, i have to create the transaction variant. isn't it??

0 Kudos

no you don't , if you follow sandeeps instructions , that's enough

0 Kudos

Hi Abhi,

NO need yaar. Poor sm30. It is completely innocent..:)

The tcode you see for your transaction has its own screen and its own program. For tables that have a table maintenance, and no tcode, you can access the table maintenance using sm30. that doesn't mean, that to modify the table maintenance for that z table, you need to tweak the program under sm30.

If there are any additional changes made to the z table, you need to regenrate the table maintenance. thats it.

Regards,

ravi

Former Member
0 Kudos

Hi

1 Goto SE93 transaction

2 Choose 5th option Transaction with parameters

3 Give transaction : SM30, Check Skip Initial Screen Press Enter

4 Goto Bottom left corner, click F4 select viewname, on right hand side give table name

5 Press one more time F4, choose update , mark it X on right side.

6 save the transaction.

Thanks

sandeep

reward if helpful

Former Member
0 Kudos

Create parameter transaction (i.e. via SE93)

Give transaction name as SM30,

then in proposed values give the below details.

VIEWNAME: (table name)

UPDATE: Open table for update(X or space)

Reward points if helpful

0 Kudos

Out of interest, have you created the maintainence dialog through SE54? You'll need this to be able to use SM30 with your table.

0 Kudos

No. You are right.I have not created the maintainence dialog through SE54. I think thats why i am not able to use sm30.

0 Kudos

in SE11 you can also go to the menu Utilitilies-> Table maintenance generator.

search for screennumbers and fill in the appopiate authorization group or &NC& if you don't know.

if you can maintain you're ztable in sm30 then you can make a T code for it as described above

Message was edited by:

A. de Smidt

0 Kudos

Hi Smidt,

In table maintenance generator. I got a maintenance screen. It has maintenance type and Maint. Screen No Field. Can you tell me what do they mean??

0 Kudos

Hi

In table maintenance generator

Give one step

Screen : 1000

Main. type : Custom level

Thanks

Sandeep

Former Member
0 Kudos

Thanks for useful help.