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

can we attach transaction code to z-table

Former Member
0 Likes
659

Hi all,

my requirement is to show the contents of the z-table using transaction code.

is it possible to create transaction code for the z-table if yes then pls let me know the procedure.

any suggestion will be rewarded.

Regards,

cnu.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
557

You need to create a table maintainance for that table through table maintanance generator.

Than you can use the SE93 to create a tcode using Parameter transaction.

Regards,

Naimesh Patel

Hi all,

my requirement is to show the contents of the z-table using transaction code.

is it possible to create transaction code for the z-table if yes then pls let me know the procedure.

any suggestion will be rewarded.

Regards,

cnu.

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
558

You need to create a table maintainance for that table through table maintanance generator.

Than you can use the SE93 to create a tcode using Parameter transaction.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
557

Hi,

You can't create transaction code for the Z-table directly.. You can do through Table Maintainence Generator .

Check the below thread.

Regards,

Maha

Read only

Former Member
0 Likes
557

Yes we can Create a Tcode to maintain the Ztable records.

Parameter Transaction can be created for Table Maintenance program of a Custom Table in SAP.

Steps:

1. Create a Z table and Activate - SE11

2. Generate the Table Maintenance using SE54

It will Generate the Function group and Screens.

3. Create a Parameter transaction to Call this Table maintenace program

Goto SE93.

Create a Tcode :

Name : ZTCODE1

Type : Parameter Transaction

In the Attributes of Parameter Transaction

Enter The Transaction SM30

Select the Checkbox : Skip first Screen

Enter the Following Fields below in the Table provide.

FieldName FieldValue

VIEWNAME <YOUR ZTABLE>

UPDATE X

Save the Parameter Transaction and execute it like ant other Tcode..

It will allow you to maintain the Table entries.

Regards,