on 12-09-2005 4:20 AM
Technical Gurus,
Can anyone help me in finding out the table name/FM that holds the query definition? I have found RSRREPDIR that holds the query header information, but I am mainly after the table that holds Characteristics details.
Any help is highly appreciated.
_RJA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try FM RSZ_P_WHERE_USED_COMPLIST_GET
check following program :
REPORT Z_QUERY_IO .
tables: RSZELTTXT,
rszeltdir,
rszeltxref,
rszrange,
RSZSELECT.
data : begin of it_result occurs 0,
iobjnm like rszselect-iobjnm,
end of it_result,
lv_iobjnm like rszselect-iobjnm.
select-options:
s_query for rszeltdir-mapname.
start-of-selection.
----
select * from rszeltdir where mapname in s_query
and objvers = 'A'.
select single * from RSZELTTXT where eltuid = rszeltdir-eltuid
and objvers = 'A' and langu = 'N'.
write: / rszeltdir-mapname, rszelttxt-txtlg.
refresh it_result.
select * from rszeltxref where seltuid = rszeltdir-eltuid
and objvers = 'A'.
*characteristics
select iobjnm into lv_iobjnm
from RSZSELECT where eltuid = rszeltxref-teltuid and objvers = 'A'
and iobjnm <> '1KYFNM'.
it_result-iobjnm = lv_iobjnm.
append it_result.
endselect.
*keyfigures
select low into lv_iobjnm
from rszrange where eltuid = rszeltxref-teltuid and objvers = 'A'
and iobjnm = '1KYFNM'.
it_result-iobjnm = lv_iobjnm.
append it_result.
endselect.
endselect.
sort it_result by IOBJNM.
delete adjacent duplicates from it_result comparing mapname IOBJNM.
loop at it_result.
write: / it_result-IOBJNM.
endloop.
uline.
endselect.
Message was edited by: A.H.P
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.