• WMS函数组: 4.公用子过程


    FUNCTION ZRFC_WMS_COMM.
    *"----------------------------------------------------------------------
    *"*"LOCAL INTERFACE:
    *"----------------------------------------------------------------------
    WRITE 'ZRFC_WMS_COMM'.
    ENDFUNCTION.
    INCLUDE BDCRECXY.
    *&---------------------------------------------------------------------*
    *&      FORM  F_ADD_ZERO
    *&---------------------------------------------------------------------*
    *       TEXT
    *----------------------------------------------------------------------*
    *      -->VI_INPUT   TEXT
    *----------------------------------------------------------------------*
    FORM F_ADD_ZERO  USING VI_INPUT.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    INPUT  = VI_INPUT
    IMPORTING
    OUTPUT = VI_INPUT.
    ENDFORM.                    " F_ADD_ZERO
    *&---------------------------------------------------------------------*
    *&      FORM  F_CUT_ZERO
    *&---------------------------------------------------------------------*
    *       TEXT
    *----------------------------------------------------------------------*
    *      -->VI_OUTPUT  TEXT
    *----------------------------------------------------------------------*
    FORM F_CUT_ZERO  USING VI_OUTPUT .
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
    EXPORTING
    INPUT  = VI_OUTPUT
    IMPORTING
    OUTPUT = VI_OUTPUT.
    ENDFORM.                    "F_CUT_ZERO
    *&---------------------------------------------------------------------*
    *&      FORM  F_UNIT_IN
    *&---------------------------------------------------------------------*
    *       TEXT
    *----------------------------------------------------------------------*
    *      -->UNIT_IN    TEXT
    *      -->UNIT_OU    TEXT
    *----------------------------------------------------------------------*
    FORM F_UNIT_IN  USING  UNIT_IN  CHANGING   UNIT_OUT.
    CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'
    EXPORTING
    INPUT          = UNIT_IN
    LANGUAGE       = SY-LANGU
    IMPORTING
    OUTPUT         = UNIT_OUT
    EXCEPTIONS
          UNIT_NOT_FOUND = 1
    OTHERS         = 2.
    ENDFORM.                    " F_UNIT_IN

  • 相关阅读:
    旧题复习{6}
    CF219D. Choosing Capital for Treeland [树形DP]
    POJ1947 Rebuilding Roads[树形背包]

    洛谷P1280 尼克的任务[DP]
    NOIP2003pj栈[卡特兰数]
    NOIP2001统计单词个数[序列DP]
    洛谷P1415 拆分数列[序列DP 状态 打印]
    POJ2828 Buy Tickets[树状数组第k小值 倒序]
    CF380C. Sereja and Brackets[线段树 区间合并]
  • 原文地址:https://www.cnblogs.com/twttafku/p/14301086.html
Copyright © 2020-2023  润新知