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

Table maitenance through selection screen

Former Member
0 Likes
472

Hi,

Can any one help me out in this,

I have requirement wher in i need to display the table maitanance from the selection screen where the user enters table name as input in the selection screen.

Regards,

naveen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
451

hi,

use the function module "VIEW_MAINTENANCE_CALL"

and pass

ACTION : S for Display

U for maintain

T for transport

VIEW_NAME : table name

cheers!!

reward points if helpful

gautam

3 REPLIES 3
Read only

Former Member
0 Likes
451

First create the Tablemaintenance , and then create the Trasnaction Code to the Table maintenance

You need to use the Function module to maintain the view using the program.

VIEW_MAINTENANCE_CALL

Read only

Former Member
0 Likes
451

Sample program for testing purpose..

REPORT  ZTEST_MAINTAIN.

parameters: p_view(30).

call function 'VIEW_MAINTENANCE_CALL'
         exporting
              action                       = 'S'
              view_name                    = p_view
         exceptions
              client_reference             = 1
              foreign_lock                 = 2
              invalid_action               = 3
              no_clientindependent_auth    = 4
              no_database_function         = 5
              no_editor_function           = 6
              no_show_auth                 = 7
              no_tvdir_entry               = 8
              no_upd_auth                  = 9
              only_show_allowed            = 10
              system_failure               = 11
              unknown_field_in_dba_sellist = 12
              view_not_found               = 13
              others                       = 14.
    if sy-subrc <> 0.

    endif.

Regards

Vijay Babu Dudla

Read only

Former Member
0 Likes
452

hi,

use the function module "VIEW_MAINTENANCE_CALL"

and pass

ACTION : S for Display

U for maintain

T for transport

VIEW_NAME : table name

cheers!!

reward points if helpful

gautam