Create YFM_RFC_PRACTICE_101

<< Click to Display Table of Contents >>

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

Create YFM_RFC_PRACTICE_101

Objective

Create Structure

Create Function

Test Run

Transaction Code

SE11 - ABAP Dictionary

SE37 - Function Builder

Support

 

 

Create Structure

Create new Structure of "YST_HEADER_101"

Display Steps

 

Create Function

1.Open t-Code "SE37"

2.Enter new Function "YFM_RFC_PRACTICE_101"

rfc0024

3.Click "rfc0002"

4.Fill Function group with "YFG_MIL" and Short text with "RFC Practice 101"

rfc0025

 

5.Click "rfc0014" to save function

6.Edit and set the Processing type to "Remote-enabled module"

rfc0026

 

7.Add import variable like this screen capture bellow

rfc0027

 

8.Add tables variable like this screen capture bellow

rfc0028

 

9.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"

10.Save and activate the function

 

Test Run

Input

rfc0032

Output

rfc0033

 

rfc0034