12-12-2008 2:44 PM
Hi,
I am passing the programs to the EXTENDED_PROGRAM_CHECK, when it gets a program with no selection screen it is stopping, but when I give same program name to slin tcode, it is giving me the results perfectly, what should I do to avoid this.
Thanks and Regards,
V
12-12-2008 2:50 PM
Did Pass = 'X' for all these below optional parameters:
TEST_ALL
TEST_BRE
TEST_CAL
TEST_DAT
TEST_DYC
TEST_GES
TEST_MES
TEST_OPF
TEST_PER
TEST_PFS
TEST_UNR
TEST_STE
TEST_WRN
TEST_TXT
TEST_SUB
TEST_AUT
TEST_LOA
TEST_MLS
TEST_PAC
12-12-2008 3:01 PM
12-12-2008 3:07 PM
Sorry, I missed in my above reply:
only passing
TEST_ALL X
Is enough.
Can i take Glimpse of your FM please?
And What result you get Table "Result"?
12-12-2008 3:10 PM
Hi, here this is what I am passing.
CALL FUNCTION 'EXTENDED_PROGRAM_CHECK'
EXPORTING
program = l_prognam
test_all = 'X'
IMPORTING
obj_refs = t_obj_refs
RESULT = t_result
result_stat = t_result_stat
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.
12-12-2008 3:14 PM
CALL_CNTX S "Add this
CACHE_USE A "Also this
PROGRAM ZPAYROLL "This is my program
TEST_FLAGS
TEST_ALL X
12-12-2008 3:44 PM
Thank you, this solved my problem, even I have to mass check the custom Function Modules created and also the Includes, how can we do this.
12-12-2008 4:54 PM
You have to pass Your Main program in FM itself,As Extended Check would be take place in main program including all includes also :
CALL_CNTX S
CACHE_USE A
PROGRAM YFBI0200 "This is my main program Which includes YFBI0200_TOP .
TEST_FLAGS
TEST_ALL X
12-13-2008 4:55 AM
Yes, but I have to separetly check all the includes and display the errors I just wanted to check if we have seperate tcode which will check includes, function modules and Dictionary elements( other than SPDD and SPAU).