SD_WF_ORDER_REJECT SO拒绝
RV_ORDER_FLOW_INFORMATION 获得凭证流,支持OBD,SO等
call function ‘RV_ORDER_FLOW_INFORMATION’
exporting
aufbereitung = ‘2’
belegtyp = ‘C’
comwa = l_comwa ” SO.
nachfolger = ‘X’
n_stufen = ’50’
vorgaenger = ‘X’
v_stufen = ’50’
* IMPORTING
* BELEGTYP_BACK =
tables
vbfa_tab = l_itab_vbfa_temp
exceptions
no_vbfa = 1
no_vbuk_found = 2
others = 3.
BAPI_OUTB_DELIVERY_CREATE_STO STO创建OBD
BAPI_TRANSACTION_COMMIT 提交更改
BAPI_TRANSACTION_ROLLBACK 回滚
BAPI_OUTB_DELIVERY_CREATE_SLS SO创建OBD
ENQUEUE_EVVBLKE OBD上锁
DEQUEUE_EVVBLKE OBD解锁
WS_DELIVERY_UPDATE_2 OBD过账,修改
BAPI_SALESDOCUMENT_CHANGE SO更改
BAPI_GOODSMVT_CREATE 收货过账
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/18245.html