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: 

Table maintenance generator

Former Member
0 Kudos

Hi All,

Can we create a custom t-code which will execute SE16 at the background and can be limited to the defined Ztable.How?Tell me the procedure.

Pl help me out.

Thanks.

Ravi.

5 REPLIES 5

Former Member
0 Kudos

Hi....

u can achive this via transaction SE93.

Go to se93.

Then create the new T.code.

Under that select parameter Transaction.

Then give the sm30 in the t.code in default values tab.

check the checkbox skip initial screen.

in classification tab.

click checkbox inherit gui attributes..

Now below..

In the default values..

WRITE

viewname = give ur table name.

show = X

save and check it once...

now u can able to call ur table through ur new t.code...

Reward points is useful.......

Suresh......

Former Member
0 Kudos

Hi,

You can use transaction variants on tcode SE16 and can give the z-table in the table name.

Regards,

Vishnu Priya

Former Member
0 Kudos

Hi.....

Also see the following link:

Its a pdf file which gives u the exact procedure....

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20im...

Reward points if useful......

Suresh.....,.

Former Member
0 Kudos

Dear Ravi,

Since I am not an expert ABAPer, but still i have something to tell u regarding this question that u put up in this site.

1. You have given a heading 'Table maintenance generator' to ur question which can only be assigned to a particular custom table so that its maintainance can be done through SM30.

2. Your question body tells of restricting the use of SE16 in case of z-table data search. I have made a sample scenerio which might help u....

REPORT ZMOD_SE16.

PARAMETER: S_TABLE TYPE DATABROWSE-TABLENAME.

SET PARAMETER ID 'DTB' FIELD S_TABLE.

CALL TRANSACTION 'SE16' AND SKIP FIRST SCREEN.

TCODE: ztest

Transaction text test transaction for se16

Program ZMOD_SE16

Selection screen 1000

Start with variant zvar

ZVAR: Variant used for restricting table name entry in the transaction code.