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: 

SLIN --Function Module

Former Member
0 Kudos

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

8 REPLIES 8

former_member181995
Active Contributor
0 Kudos

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

0 Kudos

Yes, I have passed all the parameters.

0 Kudos

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"?

0 Kudos

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.

0 Kudos
CALL_CNTX                       S   "Add this     
CACHE_USE                       A        "Also this
PROGRAM                         ZPAYROLL "This is my program
TEST_FLAGS                               
TEST_ALL                        X

0 Kudos

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.

0 Kudos

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

0 Kudos

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).