01-16-2007 10:38 AM
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
01-16-2007 10:47 AM
HEllo,
USe this FM
RPY_FUNCTIONMODULE_READ
Input is the fuc mod name and the output given as per ur requirement.
Vasanth
01-16-2007 10:55 AM
Hi
use any of these FMs:
FUNC_GET_OBJECT
RPY_FUNCTIONMODULE_READ
Hope this will help u.
Thanks
Shiva
01-16-2007 10:59 AM
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