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

T-code for table

Former Member
0 Likes
796

Hi Guys,

I have the following requirement.

I have a ztable.Now I need to create a t-code for that table.When I enter that t-code in the command field,I should get the table maintenac screen.How to do this.

Regards,

Madhu.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
750

Hi

What is the need of a special Tcode? after creating the Table maintenance you can striaght away enter the values from <b>SM30</b> tcode

use it and enter values into the table

Regards

Anji

5 REPLIES 5
Read only

Former Member
0 Likes
751

Hi

What is the need of a special Tcode? after creating the Table maintenance you can striaght away enter the values from <b>SM30</b> tcode

use it and enter values into the table

Regards

Anji

Read only

0 Likes
750

Hi,

You need to create a "Parameter Transaction".

What this means is that you will have a transaction (let's call it "ZMAINT") which calls "SM30" and passes in your table name.

Go to transaction SE93 and enter your new transaction code. Enter in the Tcode description and choose "Transaction with Parameters" (it shouldbe the last radio button).

Enter in the default transaction "SM30" and tick the "Skip Initial Screen" check box. Hit Enter.

Now scroll to the bottom of the screen and you will see a Table Control where you will need to enter in the values to the SM30 selection screen.

Because you hit ENTER, the program will have loaded in the Selection Screen parameters into it's memory. Hit the drop down for "Name of Screen Field" and select "VIEWNAME" and then enter in your Z Table in the "Value" column.

Now go to the next line and hit the drop down and select "UPDATE" in the "Name of Screen Field". Enter in a "X" in the value column.

Message was edited by:

Raghu Reddy

Read only

Former Member
0 Likes
750

go to se11 and type the table what you want.

utilities, table maintenance generator.

you config the options that you need.

press F6 and go to sm30.

its only this.

Regards

Read only

Former Member
0 Likes
750

Hi,

Yes, you need to create the table maintanence first ...

You need to create a Parameter transaction - In SE93 while creating the tcode, specify the last option (Transaction with Parameters or Parameter Transaction).

In the subsequent screen, under the Defaults block, specify the transaction as SM31 and select the check-box 'Skip initial screen'.

At the bottom of this screen, in the list you would specify the following-

Name of screen field -


Values

UPDATE -


X

VIEWNAME -


Name of your table

Save all these.

http://www.sap-img.com/abap/create-a-table-maintance-program-for-a-z-table.htm

Read only

Former Member
0 Likes
750

Hi,

Go to SE93.

Give the Transaction name of your choice

Select the transaction with parameters ( last radio button )

Give SM30 in the Transaction

Check the 'SKIP INITIAL Screen' check box

Come down

In default values

Name of screen field <table name>

UPDATE 'X'

Save this.

Now you can use the transaction to maintain it.

Regards,

Satya