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

проблемы с выгрузкой в EXCEL



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



Joined: 18 Feb 2008
Posts: 22
Location: Казакстан

PostPosted: Thu Oct 30, 2008 7:36 am    Post subject: проблемы с выгрузкой в EXCEL Reply with quote

Доброго времени суток!
возникла проблема при выгрузке в excel.
проблема следующая, при обработке большого количества строк данные в таблицу excel не садятся, т.е. шапка и подпись есть, а данных в таблице нету.
обнаружил что ошибка происходит в следующей форме.
в форме происходит выравнивание столбцов под шапку таблицы.
если этот участок кода закоментить, то данные выгружаются, но садятся криво(таблица получается кривая).
Code:

form  format_range using c1   type string
                         c2   type string
                         pos1 type string  " v003
                         pos  type string.
  data l_str(12) type c.

  concatenate c1 pos1 ':' c2 pos into l_str.
  call method of worksheet 'range' = range2
    exporting
      #1 = l_str.
  call method of range2 'Merge'
    exporting
      #1 = 'True'.

endform.               

при этом небольшие объемы отрабатывают норамально.
пробовал сделать так что бы выравнивание шло не сразу всего столбца, а по частям, по 500 записей, но ничего не получилось, данные все равно не садятся, в чем может быть проблема?

_________________
Все есть в сети и все есть сеть.
Back to top
View user's profile Send private message Blog
vga
Мастер
Мастер


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

PostPosted: Thu Oct 30, 2008 11:07 pm    Post subject: Reply with quote

Хм, а если так
data l_str(20) type c.
Back to top
View user's profile Send private message Blog Visit poster's website
KeKS
Участник
Участник



Joined: 18 Feb 2008
Posts: 22
Location: Казакстан

PostPosted: Fri Oct 31, 2008 2:40 pm    Post subject: Reply with quote

не помогло.
видимо прийдется уговорить руководство что так и должно все работать...

_________________
Все есть в сети и все есть сеть.
Back to top
View user's profile Send private message Blog
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.