Application Development 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: 

Function Module Parameters

Former Member
0 Kudos

Hi Abapers,

My requirement is in the selection screen i will input the funtion module name and the output should display all the parameters used in the function module with the type of parameter ( import or export or changing or tables), parameter data type and its length . Is there any Function module to achieve this. Suitable answers will be rewarded.

Regards,

Kasi S

3 REPLIES 3

Former Member
0 Kudos

HEllo,

USe this FM

RPY_FUNCTIONMODULE_READ

Input is the fuc mod name and the output given as per ur requirement.

Vasanth

Former Member
0 Kudos

Hi

use any of these FMs:

FUNC_GET_OBJECT

RPY_FUNCTIONMODULE_READ

Hope this will help u.

Thanks

Shiva

Former Member
0 Kudos

check this...

REPORT ZRAMESHTEST.

data: it_imp like rsimp occurs 0,

it_cha like rscha occurs 0,

it_exp like rsexp occurs 0,

it_tbl like rstbl occurs 0,

it_exc like rsexc occurs 0,

it_fdo like rsfdo occurs 0,

it_src like rssource occurs 0,

func like rs38l-name.

CALL FUNCTION 'RPY_FUNCTIONMODULE_READ'

EXPORTING

FUNCTIONNAME = func

TABLES

IMPORT_PARAMETER = it_imp

CHANGING_PARAMETER = it_cha

EXPORT_PARAMETER = it_exp

TABLES_PARAMETER = it_tbl

EXCEPTION_LIST = it_exc

DOCUMENTATION = it_fdo

SOURCE = it_src

EXCEPTIONS

ERROR_MESSAGE = 1

FUNCTION_NOT_FOUND = 2

INVALID_NAME = 3

OTHERS = 4.

Message was edited by:

Ramesh Babu Chirumamilla