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

Transaction code for Table Maitainence for table

Former Member
0 Likes
1,355

Hi all,

I have create table , to that i have created a transaction Code.

While creating a transaction code i have selected the option

Transaction with Parameters.

There i have given in the transaction SM30.

in the down

view name : ztable

Update = 'X'.

Its created when i run the transaction it coming to the SM30 there is showing two lines with dots and X.

Is there is any option to remove that fields.

Note i need the Sm30 without skip first screen.

Regards,

Madhavi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,008

Hi Madhavi,

After performing all the steps what you performed earlier check the check box skip initial screen which is under transaction.then you will automatically get the data entry screen.

we have another way called transaction variant to satisfy your requirement.

1)Go to SHD0.

2)Enter Transactioncode as SM30 and TransactionVariant as ZSM30.

3)click on create and give the necessary data and then save.

4)now go to se93 ,create a transaction by selecting the fourthoption Transactionvariant and give the transaction as SM30 and TransactionVariant as ZSM30.

now execute the Transaction you created.

7 REPLIES 7
Read only

Former Member
0 Likes
1,008

Hi

To create a trx for SM30 without to set the flag to SKIP the first screen doesn't make a sense, if you need to call trx SM30 where the field table/view is filled with your Z-TABLE, u should create a report where:

- Set the parameter id DVI with the name of your table;

- Call the trx SM30

Max

Read only

0 Likes
1,008

hi,

I need to do through transaction code SE93 not through Program.

Regards,

Madhavi

Read only

0 Likes
1,008

Follow these steps

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

Read only

0 Likes
1,008

HI

No that's not possible, because the output flag fields (UPDATE, SHOW,....) are hidden programatically only if SM30 is called directly.

Max

Read only

Former Member
0 Likes
1,008

or else try with this Function VIEW_MAINTENANCE_CALL

Read only

Former Member
0 Likes
1,009

Hi Madhavi,

After performing all the steps what you performed earlier check the check box skip initial screen which is under transaction.then you will automatically get the data entry screen.

we have another way called transaction variant to satisfy your requirement.

1)Go to SHD0.

2)Enter Transactioncode as SM30 and TransactionVariant as ZSM30.

3)click on create and give the necessary data and then save.

4)now go to se93 ,create a transaction by selecting the fourthoption Transactionvariant and give the transaction as SM30 and TransactionVariant as ZSM30.

now execute the Transaction you created.

Read only

0 Likes
1,008

Hi Karthik,

Thank you for very helpful answer.

But will you let me know what are the minimum fields i need to fill there.

When i am checking it is showing inconsistencies.

so while createing Transaction code it displaying Error.

Will you let me know what fields i need to fill up.

Regards,

Madhavi