05-18-2006 7:32 PM
Hi,
I have a need to read the detailed transport log into internal table. Any direction to solve this task is appreciated.
05-18-2006 7:38 PM
05-18-2006 7:38 PM
Try Fm
TMS_UI_SHOW_TRANSPORT_LOGS
LXE_LOG_FILL_R3_TRANSPORT
<b>Table
TMSALOG </b>
Hope thisll give you idea!!
<b>P.S award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise"
05-18-2006 7:43 PM
No need for a function module, transport logs are files on the application server. You can use DATASET to read the files.
report zrich_0001 .
data: ds type localfile value '/usr/sap/trans/log/TSTE909704.TST'.
data: itab type table of string with header line.
start-of-selection.
open dataset ds for input in text mode.
if sy-subrc = 0.
do.
read dataset ds into itab.
if sy-subrc <> 0.
exit.
endif.
append itab.
enddo.
endif.
close dataset ds.
loop at itab.
write:/ itab.
endloop.
Welcome to SDN! Please remember to award points for helpful answers and to mark you post as solved when solved completely. THanks.
Regards,
Rich Heilman
05-18-2006 7:41 PM
Try these fucntion modules in conjunction ..
RS_TREE_GET_MARKED_NODES
TRINT_TDR_USER_COMMAND
RS_WORKING_AREA_ACTIVE_CHECK
RS_TREE_EXPAND
<i><b>Please reward helpful answers</b></i>
Cheers
Nishanth
05-18-2006 7:46 PM
Hi Showry,
Please check this standard program <b>RSTMSTPL</b>.
Hope this will help.
Regards,
Ferry Lianto