Create YFM_RFC_PRACTICE_102

<< Click to Display Table of Contents >>

Navigation:  All About ABAP Technique > English > Function Module for RFC >

Create YFM_RFC_PRACTICE_102

Objective

Create Structure

Create Function

Test Run

Transaction Code

SE11 - ABAP Dictionary

SE37 - Function Builder

Support

 

 

Create Structure

Create new Structure of "YST_RANGE_MATKL"

Display Steps

 

Create new Structure of "YST_RANGE_MATNR"

Display Steps

 

Create Function

1.Open t-Code "SE37"

2.Copy Function "YFM_RFC_PRACTICE_101" to "YFM_RFC_PRACTICE_102"

rfc0024

3.Click "rfc0037"

4.Fill to Function module with "YFM_RFC_PRACTICE_102"

rfc0038

5.Click "rfc0039" to copy and save function

6.Click "abap_tutorial0026" to change function

7.Edit the Short text with "RFC Practice 102"

rfc0040

 

8.Delete import variable like this screen capture bellow

Before

rfc0027

 

After

rfc0041

 

9.Add tables variable like this screen capture bellow

rfc0050

 

10.Add new Source Code, Copy and paste this source code bellow to "Source Code" tab

View Source Code without using "UP TO gv_max_row ROWS"

View Source Code using "UP TO gv_max_row ROWS"

11.Save and activate the function

 

Test Run

Input

rfc0051

rfc0052

 

 

Output

rfc0053

 

rfc0054