最近有点无聊。。。。随便找点东西填了。。。
自从系统上线,经常出现程序的的文本丢失,然后选择界面就变成英文的了。。。。一直在出现,就是解决不了,不知道到底是哪里的问题
严重怀疑是服务器上文件丢失。。。系统上没做过任何改动,开发系统都没变。。。
FORM MOD_SEL_TEXT USING P_REPID KIND PARAMETER TEXT .
DATA SEL TYPE RSSELTEXTS OCCURS WITH HEADER LINE.
REFRESH SEL.
SEL-NAME = PARAMETER.
SEL-KIND = KIND.
SEL-TEXT = TEXT.
APPEND SEL.
CALL FUNCTION 'SELECTION_TEXTS_MODIFY'
EXPORTING
PROGRAM = P_REPID
TABLES
SELTEXTS = SEL
EXCEPTIONS
PROGRAM_NOT_FOUND =
PROGRAM_CANNOT_BE_GENERATED =
OTHERS = .
IF SY-SUBRC <> .
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.
然后在INITIALIZATION.处设置
PERFORM MOD_SEL_TEXT USING SY-REPID 'S' 'S_VBELN' '交货单号'.
PERFORM MOD_SEL_TEXT USING SY-REPID 'S' 'S_VKBUR' '销售部门'.
PERFORM MOD_SEL_TEXT USING SY-REPID 'S' 'S_VKGRP' '销售组'.
PERFORM MOD_SEL_TEXT USING SY-REPID 'S' 'S_VTWEG' '分销渠道'.
PERFORM MOD_SEL_TEXT USING SY-REPID 'S' 'S_SPART' '产品组'.
PERFORM MOD_SEL_TEXT USING SY-REPID 'S' 'S_PRCTR' '利润中心'.
PERFORM MOD_SEL_TEXT USING SY-REPID 'S' 'S_WADAT' '过账日期'.