cancel
Showing results for 
Search instead for 
Did you mean: 

SAP DB lookup.

Former Member
0 Kudos

Hello Friends,

Is it possible to do the SAP DB lookup from the Message Mapping?

Thanks for your time,

Pranav.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Pranav ,

You want to do lookup in External DB or in SAP R3 or in SAP XI itself..

Regards,

justin_santhanam
Active Contributor
0 Kudos

Pranav,

You mean u want to look up the SAP Tables? If yes, then you can use lookup's using RFC. You need to use RFC_READ_TABLE FM in order to read data from the SAP tables.

raj.

Former Member
0 Kudos

HI Raj,

Thanks for your response.

I am getting following error message :

Exception DATA_BUFFER_EXCEEDED

Do you know how to increase the buffer size for the function module ?

Thanks,

Pranav.

Former Member
0 Kudos

Hi,

There is a limitiation when ur using the rfc -> read table

<b> DATA_BUFFER_EXCEEDED</b>

The function RFC_READ_TABLE reads table records into a table with the structure TAB512. As the

name somewhat indicates, this table has a single field with the length of 512 characters. This means you

are limited to reading a combination of fields from your table that does not exceed 512 characters in width.

In most cases, if you are limiting your call to the specific fields you need, this should not be a problem.

However, you should be aware of this limitation. Exceeding 512 characters in width will result in an

exception of DATA_BUFFER_EXCEEDED.

<b>Cheers,

*RAJ*</b>