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

TABLEVIEW



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



Joined: 18 Dec 2007
Posts: 33

PostPosted: Thu Oct 02, 2008 3:33 pm    Post subject: TABLEVIEW Reply with quote

Использую TABLEVIEW для бывода и обработки информации. В процессе работы некоторые строки удаляются по событию (At chain-request). Как обновить TABLEVIEW, во вредя выполнения?
Back to top
View user's profile Send private message Send e-mail
Lord
Профессионал
Профессионал



Joined: 10 Sep 2007
Posts: 168

PostPosted: Fri Oct 03, 2008 9:11 am    Post subject: Reply with quote

Попробуйте

Code:
controls: CTRL_NAM type tableview using screen 0100.
refresh control 'CTRL_NAM' from screen '0100'.
Back to top
View user's profile Send private message
andrej_s
Участник
Участник



Joined: 18 Dec 2007
Posts: 33

PostPosted: Fri Oct 03, 2008 10:56 am    Post subject: Reply with quote

К сожалению не помогло Sad
Back to top
View user's profile Send private message Send e-mail
John Doe
Модератор
Модератор


Age: 45
Joined: 05 Nov 2007
Posts: 725
Location: КраснАдар

PostPosted: Fri Oct 03, 2008 11:45 am    Post subject: Reply with quote

Вам необходимо в PAI экрана обновить внутреннюю таблицу данными из TABLEVIEW. Естественно, что удаленные строки в TABLEVIEW в цикле и передаче данных с экрана участвовать не будут.

1. Можно после этого цикла добавить модуль с собственным циклом по внутренней таблице и читать из него данные TABLEVIEW. Запись, не определенная в экранной таблице должна быть удалена.

2. Для примера, посмотрите на программу DEMO_DYNPRO_TABCONT_LOOP_AT и обработку команды DELETE. В этом примере, сразу же удаляют запись из внутренней таблицы.
Back to top
View user's profile Send private message Blog
andrej_s
Участник
Участник



Joined: 18 Dec 2007
Posts: 33

PostPosted: Wed Oct 29, 2008 3:46 pm    Post subject: Ещё вопрос на ту-же тему Reply with quote

1. Как запретить пользователю менять местами столбцы? Пользователь может мышкой переносить их. Думаю есть в Screen Painter'e галочка где-то, но он у меня на немецком языке. и не могу разобраться

2. Можно ли как-то быделять поля другим цветом? Или можно только с помощью intensified?
Back to top
View user's profile Send private message Send e-mail
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.