‎2006 Oct 10 3:24 PM
Hi all
I create a list of program where I list all my Includes of Function modules.
FROM trdir
WHERE name LIKE 'LZ%'
AND subc EQ 'I'
MOVE-CORRESPONDING trdir TO zt.
APPEND zt.
CLEAR zt.
ENDSELECT.
No I need to find the list of request order created for this objects. For the objects subc = '1' I found in the tables E070 and E071. But in the case above (I) they are not in this tables..
Any idea ?
Many thanks in advance.
Cristina
‎2006 Oct 10 3:26 PM
‎2006 Oct 10 4:36 PM
Eswar
Thanks for ur msg, but what I really need is to know the tables that the request are stored for the subrc = 'I'
Many thanks.
Cristina
‎2006 Oct 10 4:44 PM
U can find the requests details from E071 using the search on the object name.
SELECT * from E071
where obj_name = zt-name.
‎2006 Oct 10 6:29 PM
Hi all
Thank you all for the replies. I know the table E070 n E071 and how to acess but it doesnt solve my problem once what I need is not there.
What I need is to know the table where Request Order of the includes of FM are stored !? Any ideia ? Or theres no Request Order for includes of FM!?
Many thanks again.
Br.
Cristina
‎2006 Oct 10 6:41 PM
Use the FM <b>SVRS_GET_VERSION_DIRECTORY_46</b> to get all the request created for an object.
Here pass the destination/client from which u want to see that request, in object name pass the objname and pass the object type in objtype.
object type will be like this:
WHEN 'TTYP'.
limu_type = 'TTYD'. "Tabel Type
WHEN 'DOMA'.
limu_type = 'DOMD'. "Domain
WHEN 'DTEL'.
limu_type = 'DTED'. "Data Element
WHEN 'TYPE'.
limu_type = 'TYPD'. "Type
WHEN 'SHLP'.
limu_type = 'SHLD'. "Search Help
WHEN 'MCID'.
limu_type = 'MCID'. "Matchcode ID
WHEN 'ENQU'.
limu_type = 'ENQD'. "Lock Object
WHEN 'MCOB'.
limu_type = 'MCOD'. "Matchcode object
WHEN 'INDX'.
limu_type = 'INDX'. "Index
WHEN 'SQLT'.
limu_type = 'SQLD'. "Table Pool / Table cluster
WHEN 'TABL'.
limu_type = 'TABD'. "Structure / Table
WHEN 'VIEW'.
limu_type = 'VIED'. "View
WHEN 'PROG'.
limu_type = 'REPS'. "Report/Program/Includes
WHEN 'FUGR'.
limu_type = 'FUNC'. "Function Group
WHEN 'CLAS'.
limu_type = 'CLSD'.
WHEN 'REPT'.
limu_type = 'REPT'. "Report Text
WHEN 'CUAD'.
limu_type = 'CUAD'. "Report GUI STATUS
WHEN 'DYNP'.
limu_type = 'DYNP'. "Report Screens
CALL FUNCTION 'SVRS_GET_VERSION_DIRECTORY_46'
EXPORTING
destination = lws_dest
objname = lws_obj_name
objtype = lws_obj_type
TABLES
lversno_list = li_verno
version_list = li_verlist
EXCEPTIONS
no_entry = 1
communication_failure_ = 2
system_failure = 3
OTHERS = 4.
IF sy-subrc <> 0.
ENDIF.
Also for getting the includes for the funtion module use the FM GET_INCLUDETAB.
Select the main program of the Function Module
SELECT SINGLE pname INTO ws_prg_name FROM tfdir
WHERE funcname = wa_func_module-funcname.
CALL FUNCTION 'GET_INCLUDETAB'
EXPORTING
progname = p_prg_name
TABLES
incltab = li_include_tab.
Regards,
Prakash.
‎2006 Oct 10 7:52 PM
HI Prakash
You answer is very useful but I still have one problem: I havent got the obj type for my FM include ! My include is on trdir but not in the tadir where I normally get the objtype of my programs !
I hope you understand what I mean.
Many Thanks.
Cristina
‎2006 Oct 12 4:28 PM
Include is nothing but a program so u can pass the obj_type = 'REPS'.
Check the list of object which i sent you.
WHEN 'PROG'.
limu_type = 'REPS'. "Report/Program/Includes
Regards,
Prakash.
‎2006 Oct 10 4:39 PM
Hi,
You should find them in E071
Please pass the include name to field <b>OBJ_NAME</b> in table E071 and you will get the request number.
But the Includes of the Function Module will not be found there, you will only find the Transport Request for the Function Group of the Function Module
Message was edited by: Dominic Pappaly