12-11-2008 9:24 AM
Hi,
In my requirement I had to use the FM EXTENDED_PROGRAM_CHECK, when I have passed the program name and trying to get the result set from Resultstat, the result is being copied with zero systax errors, but when I pass same program to SLIN tcode I am having three errors in the resultstat table when I degbuged the same Function Module, do I have to call any thign more before calling this function module.
Thanks and Regards,
V.
12-11-2008 9:28 AM
Hi,
For the import parameters TEST_* , default values are SLIN_FALSE. Try checking these parameters for your program
Regards
12-11-2008 9:28 AM
Hi,
For the import parameters TEST_* , default values are SLIN_FALSE. Try checking these parameters for your program
Regards
12-11-2008 10:25 AM
12-11-2008 10:34 AM
Hi,
Use the parameter TEST_ALL = 'X'
Here is a example.
Lets say i have a program ZTEST_RAD with obsolete function module "DOWNLOAD", The code will not return any entries in the output table as parameter TEST_ALL = SLIN_FALSE. Use TEST_ALL = 'X'
TYPE-POOLS : SLIN.
DATA SLIN_RESULT TYPE SLIN_RESULT.
CALL FUNCTION 'EXTENDED_PROGRAM_CHECK'
EXPORTING
* COMMENT_FLAG = SLIN_FALSE
* LOAD_CHECK = SLIN_FALSE
* CALL_CNTX = 'S'
* CACHE_USE = SLIN_CACHE_USE-ALL
program = 'ZTEST_RAD'
* TEST_FLAGS =
* TEST_ALL = SLIN_FALSE " Use TEST_ALL = 'X'
* TEST_BRE = SLIN_FALSE
* TEST_CAL = SLIN_FALSE
* TEST_DAT = SLIN_FALSE
* TEST_DYC = SLIN_FALSE
* TEST_GES = SLIN_FALSE
* TEST_MES = SLIN_FALSE
* TEST_OPF = SLIN_FALSE
* TEST_PER = SLIN_FALSE
* TEST_PFS = SLIN_FALSE
* TEST_UNR = SLIN_FALSE
* TEST_STE = SLIN_FALSE
* TEST_WRN = SLIN_FALSE
* TEST_TXT = SLIN_FALSE
* TEST_SUB = SLIN_FALSE
* TEST_AUT = SLIN_FALSE
* TEST_LOA = SLIN_FALSE
* TEST_MLS = SLIN_FALSE
* TEST_PAC = SLIN_FALSE
IMPORTING
RESULT = SLIN_RESULT
* RESULT_STAT =
* CHANGING
* DEPENDENCIES =
* EXCEPTIONS
* FATAL_ERROR = 1
* OTHERS = 2
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
12-11-2008 10:44 AM