SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

Передача параметров в CALL TRANSCTION 'SM30'



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP
View previous topic :: View next topic  
Author Message
Лазарев
Участник
Участник



Joined: 26 Sep 2007
Posts: 22

PostPosted: Tue Oct 19, 2010 3:05 pm    Post subject: Передача параметров в CALL TRANSCTION 'SM30' Reply with quote

Как запустить транзакцию sm30 без первого экрана и сразу передать имя редакируемой таблицы?
Back to top
View user's profile Send private message
Fami4
Специалист
Специалист


Age: 42
Joined: 04 Aug 2009
Posts: 62
Location: UA

PostPosted: Tue Oct 19, 2010 3:51 pm    Post subject: Reply with quote

И вам добрый день)

создаете свою транзакцию (SE93)
в параметрах по умолчанию указываете SM30 , галка "пропустить первый экран"
и указываете свою таблицу.
Back to top
View user's profile Send private message
Armann
Модератор
Модератор



Joined: 01 Jan 2008
Posts: 422
Location: Moscow

PostPosted: Tue Oct 19, 2010 3:53 pm    Post subject: Reply with quote

1. В SE93 создать Транзакцию параметра
2. В поле Транзакция - SM30
3. Установить галку 'Пропустить первый экран'
4. Имя поля экрана VIEWNAME, значение - редактируемая таблица или ракурс
5. Имя поля экрана UPDATE, значение - 'X', если хотите сразу в режим редактирования
6. Имя поля экрана SHOW, значение - 'X', если хотите сразу в режим просмотра
Back to top
View user's profile Send private message Blog
vga
Мастер
Мастер


Age: 70
Joined: 04 Oct 2007
Posts: 1218
Location: Санкт-Петербург

PostPosted: Tue Oct 19, 2010 5:31 pm    Post subject: Reply with quote

Если вы из свой программы хотите вызвать sm30, то можно использовать FM

Code:
      CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
        EXPORTING
          action                       = 'U'
          view_name                    = 'ZERU_MY_TABLE'
          check_ddic_mainflag          = ''
        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
          maintenance_prohibited       = 14.

_________________
Молитва - это запрос разработчику на изменение кода программы.
Back to top
View user's profile Send private message Blog Visit poster's website
Dmitriy
Аналитик
Аналитик


Age: 47
Joined: 14 Nov 2008
Posts: 300
Location: Russia

PostPosted: Wed Oct 20, 2010 3:06 pm    Post subject: Reply with quote

До кучи: http://sapforum.biz/index.php/topic,858.msg5193.html#msg5193. Wink
_________________
ABAP/4 You
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG.
Every effort is made to ensure content integrity. Use information on this site at your own risk.