销售订单的 状态 变更
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 = .