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 for table maintenance generator

Former Member
53,009

Hi all,

Can anybody give me the steps to create a Transaction Code for Table maintenance view created in SM30 because the end user doesnt have access to SM30.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
31,735

1) Start transaction SE93

2) Enter a variant name -> Create

3) Select radiobutton 'Transaction with parameteres (parameter transaction)'

4) Enter transaction text

5) Enter Transaction = SM30

6) Check the checkbox for Skip Initial screen and 'Inherit GUI attributes.

7) In the defalut values section create foll 2 entries

VIEWNAME <table name>

UPDATE X

😎 Save and run the transaction

5 REPLIES 5
Read only

Former Member
0 Likes
31,735

Hi Harshu,

Create a report and assign a transaction to it.

The report should contain a parameter.

Use call transaction 'SM30' in source code of the report.

Regards

Sourabh Verma

Read only

Former Member
0 Likes
31,735

Below steps to create Table Maintenance generator.

1) go to se11 check table maintanance check box under

attributes tab

2) utilities-table maintanance Generator->

create function group and assign it under

function group input box.

also assign authorization group default &NC& .

3)

select standard recording routine radio in table

table mainitainence generator to move table

contents to quality and production by assigning

it to request.

4) select maintaience type as single step.

5) maintainence screen as system generated numbers

this dialog box appears when you click on create

button

6) save and activate table

One step, two step in Table Maintenance Generator

Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.

Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.

Creating a T-code of that.

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

Hope this helps.

Regards

Vinayak

Read only

Former Member
0 Likes
31,736

1) Start transaction SE93

2) Enter a variant name -> Create

3) Select radiobutton 'Transaction with parameteres (parameter transaction)'

4) Enter transaction text

5) Enter Transaction = SM30

6) Check the checkbox for Skip Initial screen and 'Inherit GUI attributes.

7) In the defalut values section create foll 2 entries

VIEWNAME <table name>

UPDATE X

😎 Save and run the transaction

Read only

Former Member
0 Likes
31,735

Hi,

1) First u should create table using Tcode SE11.

2) Afetr that u should go to Tcode SE38. here u want to create report.

3) I have give below the sample code for table maintance.

start-of-selection.

call function 'RS_TOOL_ACCESS'

exporting

operation = 'TAB_ADD'

object_name = 'ZSWBT'

object_type = 'TABL'

  • ENCLOSING_OBJECT =

  • POSITION = ' '

  • DEVCLASS =

  • INCLUDE =

  • VERSION = ' '

  • MONITOR_ACTIVATION = 'X'

  • WB_MANAGER =

  • IN_NEW_WINDOW =

  • WITH_OBJECTLIST = ' '

  • WITH_WORKLIST = ' '

  • IMPORTING

  • NEW_NAME =

  • WB_TODO_REQUEST =

  • TABLES

  • OBJLIST =

  • CHANGING

  • P_REQUEST = ' '

exceptions

not_executed = 1

invalid_object_type = 2

others = 3.

Regards,

S.Nehru.

Read only

Former Member
0 Likes
31,735

Hi,

Refer the below PDf

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc]

It will help you.

regards

Sandipan