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: 

Adding maintenance transaction for a Z table

Former Member
0 Kudos

Hello All,

Can anyone tell how to add a maintenance transaction for a Z table.

Thanks in advance.

Best Regards,

Sasidhar Reddy Matli.

1 ACCEPTED SOLUTION

Former Member

Hi

Check this:

able maintennace generator is used to create screen to maintain values in a table. Once you create maint generator you can goto transaction SM30 and add data to table . In SAP it is more relevant to customizing data.

Create a table maintance program for a z table :

In transaction SE11, in the attribute tab of your z table check table maintenance check box. Go to SM30 transaction, enter the ztable name and click on maintain button. Here you can enter new entries into the ztable .

Or

You can create a PARAMETER TRANSACTION for the transaction for SM30 .

Follow these steps :

1. go to transaction SE93 , give your own transaction code say ztran_tab, for maintaining your ztable.

2. Click on create button and check the radio button Transaction with parameters (PARAMETER TRANSACTION) and click on the tick button.

3. In the next screen enter default values:

transaction : SM30

check the check box skip initial screen

4. Scroll down you will find a table control for default values

Name of the screen field | value

VIEWNAME | your ztable name

SHOW | X

Save your work.

Now as you have created a custom transaction for maintaining your ztable this transaction can be called from any program with CALL transaction 'XXX'.

Regards,

Vishwa.

3 REPLIES 3

Former Member

Hi

Check this:

able maintennace generator is used to create screen to maintain values in a table. Once you create maint generator you can goto transaction SM30 and add data to table . In SAP it is more relevant to customizing data.

Create a table maintance program for a z table :

In transaction SE11, in the attribute tab of your z table check table maintenance check box. Go to SM30 transaction, enter the ztable name and click on maintain button. Here you can enter new entries into the ztable .

Or

You can create a PARAMETER TRANSACTION for the transaction for SM30 .

Follow these steps :

1. go to transaction SE93 , give your own transaction code say ztran_tab, for maintaining your ztable.

2. Click on create button and check the radio button Transaction with parameters (PARAMETER TRANSACTION) and click on the tick button.

3. In the next screen enter default values:

transaction : SM30

check the check box skip initial screen

4. Scroll down you will find a table control for default values

Name of the screen field | value

VIEWNAME | your ztable name

SHOW | X

Save your work.

Now as you have created a custom transaction for maintaining your ztable this transaction can be called from any program with CALL transaction 'XXX'.

Regards,

Vishwa.

0 Kudos

i need to edit few fields only is there way to achieve this

Former Member
0 Kudos

Hello Sasidhar,

first you need to activate the Ztable. then goto UTILITIES in the menu bar and say table maintenance generator. It gives you a screen asking for function group and authorisation group.

Specify Authorization group: &NC&

Function group : Ztable name

select the radio button one step and then there is a push button at the top which says 'Find Screen Numbers'. Click on that. Then Create this entire thing using create button beside 'Find Screen Numbers' Button.Then save the entire thing. This way you can create table maintenance for a Ztable.

Now go to Tcode SM30. Give your table name and say Maintain. then new entries.

Regards,

Shailaja