How to Increase Buffer in RFC_READ_TABLE  Function

<< Click to Display Table of Contents >>

Navigation:  All About ABAP Technique > English > Tips and Tricks ABAP >

How to Increase Buffer in RFC_READ_TABLE  Function

Objective

Increase Buffer in RFC_READ_TABLE Function

Support

 

Contributor

Albertus Reinandang ( reinandang@yahoo.com )

 

Step 1. Create a New Structure

1.Open T-Code SE11

ibrfc0001

 

2.Click Copy Button to start to copied Structure from “TAB512” to “YTAB”

ibrfc0002

 

3.Save to Local File if you wantn’t transport to Production Server

ibrfc0003

 

4.Click Change

ibrfc0004

 

5.Click “Maint. in orig. language”

ibrfc0005

 

6.Delete the Component type of WA field

ibrfc0006

 

7.Click “Built-in-type” and Fill Data Type with : “CHAR” and Length “5000” .

You can increase or deacrease the length as you wanted.

ibrfc0007

 

8.Finally, click “Activate” button to activate the Structure

 

9.Follow Step 2.

 

Step 2. Create a YRFC_READ_TABLE  from RFC_READ_TABLE  Function

1.Open T-Code SE37

2.Click Menu Goto > Function groups > Create group

If you don’t have any Function Group, you must create at least 1 group.

ibrfc0008

 

3.Click Save button to create a Function Group

Example : YABAP08

ibrfc0009

 

4.Write “RFC_READ_TABLE”    

ibrfc0010

 

5.Click Copy Button to start to copied function from “RFC_READ_TABLE”  into to “YRFC_READ_TABLE” with “YABAP08” as Function Group

ibrfc0011

 

6.Open “YRFC_READ_TABLE” Function, and activate the Table tab.

ibrfc0012

 

7.Change TAB512 into YTAB

ibrfc0013

 

10.Finally, click “Activate” button to activate the Function

 

 

If you are using SAP RFC Pro, you must change the RFC in Form RFC, like this screen capture bellow :

ibrfc0014

 

If you are using MIL_READ_TABLE, you must implement all 2 step and change default function name.