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

T-Code for table maintenance generator with a Selection Screen.

Former Member
0 Likes
4,289

Hi Experts ,

I have the following requirement :

I have to make a t-code for table Maintainance Generator, but i need the selection screen of maintain of SM30 before it actully goes to SM30 so the user can delete or modify records.

Tcode should have following screen sequence:

1) In SM30 , when i click on radio button " enter condition " and then Maintain , i want that screen ito be displayed

2) Next screen should be the detail screen of SM30.

Please help !!

Regards,

Piyush Rajesh

4 REPLIES 4
Read only

Former Member
0 Likes
1,796

Hi,

try the below steps

Pass the below things in the Deafult avleus in the SE93 tranaction with Parameters.

transaction --> SM30

name of the screen Field Value

VIEWNAME = >Table Name

UPDATE => 'X"

VIMDYNFLDS-LTD_DTA_AR => 'X"

Prabhudas

Read only

Former Member
0 Likes
1,796

Hi Piyush

You do not need a transaction code for this case. What you can do is to have a report with the necessary selection screen parameters on which you want to filter your table records. Next you can call the FM "VIEW_MAINTENANCE_CALL" passing the table name and the filtering condition to the paramater DBA_SELLIST.

Regards

Ranganath

Read only

Former Member
0 Likes
1,796

You create a t-code without the SM30 selection screen that goes straight to a custom selection screen you define.  This selection screen will then call the table maintenance dialog you mentioned.

Hope this helps!

Eric

Read only

Former Member
0 Likes
1,796

hi,

Create report and design a selection screen as per your requirement.

1)VIEW_RANGETAB_TO_SELLIST use this Fm to make selection criteria for TMG.

2)VIEW_MAINTENANCE_CALL  use this Fm to call  TMG view (sm30).

pls check this link  http://http://www.saphub.com/abap-dictionary/sap-abap-tmg-selection-screen/http://www.saphub.com/abap-dictionary/sap-abap-tmg-selection-screen/