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

ddic_name. Работа в EXCEL по ABAP именам таблицы?



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



Joined: 08 Apr 2009
Posts: 75

PostPosted: Wed Oct 10, 2012 11:39 am    Post subject: ddic_name. Работа в EXCEL по ABAP именам таблицы? Reply with quote

Приветствую!
нашёл тут http://help.sap.com/saphelp_46c/helpdata/FR/52/cc236adb3611d1bced080009b4534c/frameset.htm ... не пойму как работает...

Передаём таблицу в EXCE.
Code:
CALL METHOD table_coll->add_table
     EXPORTING table_name   = table_name
               table_type   = table_type
               ddic_name    = ddic_name
               description  = description
               date         = date
               time         = time
               no_flush     = no_flush
     IMPORTING error        = error
               retcode      = retcode
     CHANGING  data_table   = data_table
               fields_table = fields_table
               properties   = properties.

где
Quote:
ddic_name - Link to the ABAP Dictionary

так же читаем ниже
Quote:
If you specify an internal table whose structure is defined in the ABAP Dictionary, enter the name of the structure as the parameter ddic_name. This transfers the column names to the SAPgui along with the table, so that you can address a column by its ABAP Dictionary name in a macro.

тоесть можно обращаться в VBA к полям талицы также как в ABAP, то есть по именам?
это удобнее конечно, но как это реализовать в VBA? кто-то делал? [/quote][/code]
Back to top
View user's profile Send private message
Igor_34_rus
Специалист
Специалист



Joined: 08 Apr 2009
Posts: 75

PostPosted: Wed Oct 10, 2012 11:53 am    Post subject: Reply with quote

разобрался Smile

в VBA надо обращаться так
Code:
it_wh_all(i, "bukrs")

Quote:
где i - номер строки
Code:
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.