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 creation for Ztable

Former Member
0 Likes
542

Hi,

I got a requirement that to create a transaction ZAM0007_D for table zam007

a.Authorization object: S_TCODE with transaction ZAM0007_D

b.Use Query generated as program name

how can i add these requirements to the ztable .Please let me know

2 REPLIES 2
Read only

Former Member
0 Likes
441

Hi,

I think your requirement is to populate the Ztables. If yes then Tcodes will not be created you need to create Table Maintenance generator (Tcode - SE54).

Reward points if helpful.

Ashvender

Read only

Former Member
0 Likes
441

Hi,

Follow below steps.

1. Create the table maintanance generator for your table.

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

Regards,

kishore