Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Query Language max retrieve size 512 bytes?

john_pawski
Participant
0 Likes
1,829

Hello,

Does anyone know if there is a 512 byte limit on retrieves from a table when using SAP Query Language? In other words the length of all the fields in the retrieve can't exceed 512 bytes?

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,688

If you mean Open SQL (SAP's version of SQL), then no. There is no limit of 512 bytes. You can retrieve MBs and even GBs of data back from an Open SQL statement.

Hello,

Does anyone know if there is a 512 byte limit on retrieves from a table when using SAP Query Language? In other words the length of all the fields in the retrieve can't exceed 512 bytes?

Thanks

9 REPLIES 9
Read only

former_member194669
Active Contributor
0 Likes
1,688

Hi,

Are you using fm RFC_READ_TABLE to query to SAP table?

Read only

0 Likes
1,688

It is functionality as part of the WebSphere SAP adapter. I believe it uses RFC_READ_Function. Do you know if that has the 512 byte limit?

Read only

0 Likes
1,688

Sorry, I meant the adapter does use RFC_READ_TABLE

Read only

Former Member
0 Likes
1,689

If you mean Open SQL (SAP's version of SQL), then no. There is no limit of 512 bytes. You can retrieve MBs and even GBs of data back from an Open SQL statement.

Read only

0 Likes
1,688

It is functionality as part of the WebSphere SAP adapter. I believe it uses RFC_READ_Function. Do you know if that has the 512 byte limit? This is the length of all fields.

Read only

0 Likes
1,688

Hi,

The RFC_READ_TABLE have a limitation of 512 char length.

Read only

0 Likes
1,688

Hi,

And also you need check this thread

May this will help you out.

Read only

0 Likes
1,688

Link not not show up.

I found out that the adapter uses RFC_TABLE_READ function module. Which I believe does have the 512 byte limitation.

Read only

0 Likes
1,688

Yes.

The RFC have output table length of 512.