销售订单的 状态 变更

      CALL FUNCTION 'I_CHANGE_STATUS'
        EXPORTING
          OBJNR          = GS_DIS-OBJNR
          ESTAT_INACTIVE = 'I00' 
          ESTAT_ACTIVE   = 'I00'  
*         STSMA          =
*       EXCEPTIONS
*         CANNOT_UPDATE  = 1
*         OTHERS         = 2
        .

生成一个随机码

  CALL FUNCTION 'GUID_CREATE'
    IMPORTING
      EV_GUID_16 = LV_GUID
*     EV_GUID_22 =
*     EV_GUID_32 =
    .

 

posted @ 2017-04-24 10:46  明大叔  阅读(727)  评论(0编辑  收藏  举报