Application Development and Automation 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: 
Read only

Request Order question

Former Member
0 Likes
988

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

8 REPLIES 8
Read only

Former Member
0 Likes
956

use the FM KCD_SENDERSTRUCTURE_TRANSPORT

Read only

0 Likes
956

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

Read only

0 Likes
956

U can find the requests details from E071 using the search on the object name.

SELECT * from E071

where obj_name = zt-name.

Read only

0 Likes
956

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

Read only

0 Likes
956

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.

Read only

0 Likes
956

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

Read only

0 Likes
956

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.

Read only

Former Member
0 Likes
956

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