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

ALV Grid и Excel



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP
View previous topic :: View next topic  
Author Message
cbw07
Старший специалист
Старший специалист



Joined: 30 Nov 2007
Posts: 127

PostPosted: Wed Jan 30, 2008 12:16 pm    Post subject: ALV Grid и Excel Reply with quote

Имеется программа, которая выводит таблицу в виде полноэкранного ALV Grid.
Вот привожу пример картинки (взято тут: http://help.sap.com/saphelp_470/helpdata/DE/8d/e994374c9cd355e10000009b38f8cf/frameset.htm)

На картинке видна 7-ая кнопка слева - показ таблицы в виде Excel-таблицы.

Но почему-то у меня при нажатии на нее окно Excel появляется, но не заполняется данными.

В чем может быть причина?



ALV-Full.jpg
 Description:
 Filesize:  45.4 KB
 Viewed:  14584 Time(s)

ALV-Full.jpg


Back to top
View user's profile Send private message
vga
Мастер
Мастер


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

PostPosted: Wed Jan 30, 2008 12:22 pm    Post subject: Reply with quote

Проверьте, второй экземпляр Excel не запущен (и не висит в процессах) ?
Back to top
View user's profile Send private message Blog Visit poster's website
cbw07
Старший специалист
Старший специалист



Joined: 30 Nov 2007
Posts: 127

PostPosted: Wed Jan 30, 2008 12:38 pm    Post subject: Reply with quote

Да вроде нет. Только 1 экземпляр
Back to top
View user's profile Send private message
request
Участник
Участник



Joined: 25 Oct 2007
Posts: 25

PostPosted: Wed Jan 30, 2008 1:02 pm    Post subject: Reply with quote

Если не показывается во всех приложениях, ищите ноты. Например:

Note 696069 - No data when view Excel Inplace on ALV with Office 2003/XP

Quote:
Symptom
No Data is displayed when View is changed from ALV to Excel Inplace on
ALV Grid. This Happens with Office XP/2003/2007.

Other terms
Excel inplace, Excel, ALV, Office 2003, Office XP, office 2007

Reason and Prerequisites
With newer release of MS Office (XP/2003/2007) Microsoft added new security settings/options for Visual Basic project and Macros. Excel Inplace uses Visual Basic Project and macro functionality of MS Office. If the setting for Macro security is High (which automatically disables macro or if access to Visual Basic Project is suppressed then Excel Inplace doesn't show any Data in Excel.

Solution
Required settings in MS office XP and MS Office 2003:
-----------------------------------------------------
To use the Excel Inplace functionality make sure the security settings for Macro is set to Medium and the option "Trust access to Visual Basic Project" must be checked on Tools->Macro->Security->Trusted Sources tab.

Required settings in Office 2007:
---------------------------------
Please see the video file in attachments of this note.

This is required with MS Office XP, MS Office 2003, MS Office 2007.


Header Data


Release Status: Released for Customer
Released on: 22.12.2006 14:47:01
Priority: Recommendations/additional info
Category: Consulting
Primary Component: BC-FES-OFFI SAP Desktop Office Integration
Secondary Components: BC-FES-XXL XXL List Viewer/Lotus Connections


Related Notes


1067844 - Support of MS Office 2007 from SAP Office Integration (DOI)
Print Selected Notes (PDF)



Note 722513 - Desktop Office Integration: Maintenance information
Quote:
Symptom
Which combinations of Desktop Office Integration (DOI) releases and Office products have been released by SAP?
How are the maintenance periods defined for combinations of DOI and Office products?
This note explains the prerequisites for using the Desktop Office Integration interface delivered on the Presentation CD. In addition, the note lists the dates for the different maintenance periods.
Back to top
View user's profile Send private message
cbw07
Старший специалист
Старший специалист



Joined: 30 Nov 2007
Posts: 127

PostPosted: Wed Jan 30, 2008 2:19 pm    Post subject: Reply with quote

Вот, нашел решение этой проблемы до вашего сообщения. Very Happy
Описываю тут для тех, кого это может заинтересовать в дальнейшем.

1. Открываем Excel
2. Идем в Tools -> Macro -> Security
3. На вкладке Security Level ставим уровень Medium
4. На вкладке Trusted Sources ставим галочку в Trust access to Visual Basic Project
5. Сохраняем настройки и закрываем Excel
Back to top
View user's profile Send private message
inna
Участник
Участник



Joined: 25 Mar 2008
Posts: 32

PostPosted: Fri Apr 11, 2008 10:47 am    Post subject: Reply with quote

А как эту программку скачать Rolling Eyes а то я по немецки не очень Embarassed
Back to top
View user's profile Send private message
vga
Мастер
Мастер


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

PostPosted: Fri Apr 11, 2008 11:42 am    Post subject: Reply with quote

Видимо речь шла о программе BCALV_FULLSCREEN_DEMO

А в ссылке легко язык поменять, заменив DE на EN или RU
http: //help.sap.com/saphelp_470/helpdata/EN/8d/e994374c9cd355e10000009b38f8cf/frameset.htm
Back to top
View user's profile Send private message Blog Visit poster's website
inna
Участник
Участник



Joined: 25 Mar 2008
Posts: 32

PostPosted: Fri Apr 11, 2008 12:56 pm    Post subject: Reply with quote

Да, здорово!
А я все в окне искала переключатель Sad
Спасибо Smile
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.