FUNCTION ztestrfc.
*"----------------------------------------------------------------------
*"*"Local interface:
*" IMPORTING
*" VALUE(INPUT) TYPE CHAR40 OPTIONAL
*" TABLES
*" RETURN STRUCTURE TAB512 OPTIONAL
*"----------------------------------------------------------------------
DATA: output TYPE char40.
output = sy-uname .
APPEND sy-uname TO return.
CALL FUNCTION 'TH_USER_INFO'
IMPORTING
terminal = output.
IF output = '192.168.1.104' .
APPEND output TO return.
ELSE.
APPEND 'ERROR IPADDR' TO return.
ENDIF.
ENDFUNCTION.
阅读(3573) | 评论(2) | 转发(0) |