Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

Re: msaccess vba to download table VBAP or VBAK

$
0
0

Thank you, the reason is the Buffer.

I've tryed your hta but it as the same problem. I changed my code to insert the error handling and it's true, it return "DATA BUFFER EXCEEDED"

 

 

 

After a web search i've found the workaround here: http://rfcconnector.com/documentation/kb/0007/

 

The solution is copy RFC_READ_TABLE in new module ZRFC_READ_TABLE trought SE37 transaction

Then edit the ZRFC_READ_TABLE source code to this:

DATA:BEGIN OF WORK, BUFFER(30000),END OF WORK.

 

FIELD-SYMBOLS:<WA>TYPEANY,<COMP>TYPEANY.

" --- begin of modification

" ASSIGN WORK TO <WA> CASTING TYPE (QUERY_TABLE).

DATA: tab_ref TYPEREF TO data.

CREATE DATA tab_ref TYPE(query_table).

ASSIGN  tab_ref->*TO<wa>.

" --- end of modification

IF ROWCOUNT >0.

   ROWCOUNT = ROWCOUNT + ROWSKIPS.

ENDIF.

 

SELECT*FROM(QUERY_TABLE)INTO<WA>WHERE(OPTIONS).

Save and active the module. (look the link to more details)

 

Unfortunatly i don't have the "development" privilegies then i am trying to limit the row and columns with selected Field.


Viewing all articles
Browse latest Browse all 3125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>