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


Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ALV Grid / ALV Tree / ALV List
View previous topic :: View next topic  
Author Message

Joined: 01 Sep 2007
Posts: 1639

PostPosted: Sun Sep 02, 2007 4:46 am    Post subject: FAQ Reply with quote

Official SAP documentation: ALV Grid Control (BC-SRV-ALV)

An Easy Reference for ALV Grid Control и дока по пользованию ресурса ALV Report Generator

Получить ссылку на объектный грид -GET_GLOBALS_FROM_SLVC_FULLSCR

Очистить внутрений кеш - BALVBUFDEL

Note: Чтобы проверить и увидеть содержимое внутренних таблиц ALV, включить трассировку, держа клавиши CTRL+SHIFT щёлкните двойным шелчком в пустом месте ALV(к примеру рядом с самым правым столбцом) правой кнопкой мышкой.

This part is giving the links to most popular ALV topics. ALV List Viewer represents a way to build your lists that have nicer look than classic ABAP lists. It has built-in interactivity, sorting/grouping, (sub)totals, input and many features to make your users happy. Surprisingly, SAP provides a lot of comprehensive examples, just browse the development class SLIS in SE80. For you impatient ones, FAQs are below.

1. Please give me general info on ALV. - this one discusses which way should you use - ABAP Objects calls or simple function modules.

2. How do I program double click in ALV?

3. How do I add subtotals (I have problem to add them)...

4. How to add list heading like top-of-page in ABAP lists?

5. How to print page number / total number of pages X/XX in ALV? (no direct solution)

6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.

7. How can I set the cell color in ALV?

8. How do I print a logo/graphics in ALV?

9. How do I create and use input-enabled fields in ALV?

10. How can I use ALV for reports that are going to be run in background?

11. How can I display an icon in ALV? (Common requirement is traffic light icon).

12. How can I display a checkbox in ALV?[/url]

Q. Как запретить удаление строк в ALV клавишей Delete?
Rokhay wrote:
Устанавливаете управление видом строк с помощью стилей:
layout-stylefname = 'CELLTAB'.
В каждой строчке запрещаете удаление:
l_wa_cell-style = cl_gui_alv_grid=>mc_style_no_delete_row.
insert l_wa_cell into table l_wa_tab-celltab.

BoBkA wrote:
Лишние кнопки(те что локальные) лучше удалить через layout ALV, поставив no_rowins = 'X'. Тем самым решится ваша проблема.
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 -> ALV Grid / ALV Tree / ALV List 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.