Skip to Content
0
Former Member
Jul 28, 2010 at 09:40 PM

LE-TRM: Error message LTRM023 when executing LROUT

28 Views

Dear all,

When executing the transaction LROUT, I get the error message LTRM023 "Site is not defined". I checked table LROUT and it is actually empty.

However, I created appropriate settings in maintenance views V_T340DT, V_T347A, V_LLOCT and all other SPRO entries related to my TRM site. Futhermore, I implemented all OSS notes related to LROUT or TRM route.

Then, I activated debug mode.

> Issue 1:

Main program SAPLLTRM

Source code LLTRMU09

Function LTRM_LLOCT_READ

IF ss_lloct IS INITIAL

OR ss_lloct-locat <> i_locat.

SELECT SINGLE * FROM lloct INTO ss_lloct

WHERE locat = i_locat.

The issue is that settings of table LLOCT are not red. I had to manually set i_locat = "site" to process further.

> Issue 2:

Main program SAPLLTRS_SERVICES

Source code LLTRS_SERVICESU08

Function LTRS_LRSTY_READ

SELECT * FROM lrsty INTO TABLE it_lrsty

WHERE locat = i_locat.

IF sy-subrc <> 0.

RAISE table_lrsty_not_maintained.

ENDIF.

But sy-subrc = 4..., so system raise error message table_lrsty_not_maintained. However, table LRSTY is maintened.

Did you already have this issue? How did you solve it?

In advance, thx a lot for your help.

PS: I play with ECC 5.0, Release 500, SP SAPKGPAC05. With nearly equivalent settings in ECC 6.0, Release 604, SP SAPK-60402INEADFPS, I don't have any trouble running LROUT...