30.1.11

SAP Note 19641 - OMET: Descriptions disappear

Symptom:

If you maintain descriptions in transaction OMET (function authorizations), the descriptions disappear the next time the transaction is called (they are in table T160E, but with language key ' '!)

Cause and prerequisites

Program error.

Solution
See the correction numbers listed in this note.
The following advance correction is possible:
Program L0MEKF00, FORM DB_UPD_V_T160D:

SELECT SINGLE FOR UPDATE * FROM T160E WHERE
EFUBE = T160D-EFUBU AND
SPRAS = SY-LANGU .
IF SY-SUBRC <> 0. "insert preprocessing: init WA
CLEAR T160E.
T160E-EFUBE = T160D-EFUBU .
T160E-SPRAS = SY-LANGU .
ENDIF.
* T160E-SPRAS = V_T160D-SPRAS . "<- deactivate
T160E-EFUBT = V_T160D-EFUBT .

Programm L0MEKF00, FORM COMPL_V_T160D:

T160E-EFUBE = T160D-EFUBU .
T160E-SPRAS = SY-LANGU .
* T160E-SPRAS = V_T160D-SPRAS . "<- deactivate
T160E-EFUBT = V_T160D-EFUBT .

No comments:

Post a Comment