REPORT zsdi003 .TABLES: likp,lips,ekpo,t001l .DATA: header_data LIKE bapiobdlvhdrcon,header_control LIKE bapiobdlvhdrctrlcon,delivery LIKE bapiobdlvhdrcon-deliv_numb,bapidlvcontrol LIKE bapidlvcontrol.DATA: datum(8),uzeit(6),timestamp(15),flag,rate(7) TYPE p DECIMALS 3, ...
前面说过,可以使用 WS_DELIVERY_UPDATE 进行外向交货单的发货过账,当然,这个可实现的很多,过账,冲销,删除都可以 但是这个不是bapi,是个函数,则会缺少bapi自带的那些校验 为了更安全,其实建议是使用 BAPI_OUTB_DELIVERY_CONFIRM_DEC 但同时遇到一个问题,就是使用BAPI_OUTB_DELIVERY_CONFIRM_DEC发货过账,不能冲销 提示...
WS_DELIVERY_UPDATE 可以填写过账日期等 BAPI_OUTB_DELIVERY_CONFIRM_DEC 不能传过账日期,冲销需要更新字段,后面有具体增强方法 取过账的物料凭证 select max( vbeln ) into @data(lv_vbeln) from vbfa where vbelv = @uv_vbeln and vbtyp_n = 'R' and rfmng > 0. DEMO1 form frm_dn_post using uv...
lt_item_data_spl-stge_loc = '3001'. "库存地点 APPEND lt_item_data_spl. CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC' "交货单过账 EXPORTING header_data = ls_header_data header_control = ls_header_control delivery = lv_vbeln TABLES header_deadlines = lt_header_deadlines item_data = lt...
gt_return.***创建交货单CALLFUNCTION'BAPI_OUTB_DELIVERY_CREATE_SLS'IMPORTINGdelivery=lv_deliveryTABLESsales_order_items=lt_sales_order_items*SERIAL_NUMBERS =*EXTENSION_IN =*DELIVERIES =*CREATED_ITEMS =*EXTENSION_OUT =return =gt_return.IFlv_deliveryISNOTINITIAL.CALLFUNCTION'BAPI_TRANSACTION_COMMIT'...
交货单过账可以使用 WS_DELIVERY_UPDATE 进行外向交货单的发货过账,当然,这个可实现的很多,过账,冲销,删除都可以 但是这个不是bapi,是个函数,则会缺少bapi自带的那些校验 为了更安全,其实建议是使用 BAPI_OUTB_DELIVERY_CONFIRM_DEC 但同时遇到一个问题,就是使用BAPI_OUTB_DELIVERY_CONFIRM_DEC发货过账,不能冲销 ...
Has anyone used BAPI_OUTB_DELIVERY_CONFIRM_DEC? I'm trying to update a field of a HU (VEKP-INHALT). I can't seem to get this function module to update. Here is my code: select single * from vekp where venum eq i_venum. if sy-subrc eq 0. data: HEADER_DATA like BAPIOBDLVHDR...
Solved: Hello gurus I am using the BAPI 'BAPI_OUTB_DELIVERY_CONFIRM_DEC' to update the quantity like in VL02N. And users can update the quantity to any value with the
VL02N交货单过账发货: BAPI_OUTB_DELIVERY_CONFIRM_DEC、WS_DELIVERY_UPDATE VL02N修改交货单:BAPI_OUTB_DELIVERY_CHANGE MM模块: ME11创建采购咨询记录:1、ME_DIRECT_INPUT_INFORECORD 2、ME_POST_INFORECORD 3、ME_UPDATE_INFORECORD_COND ME12修改采购咨询记录:ME_INFORECORD_MAINTAIN ...
0 Kudos 2,174 SAP Managed Tags: ABAP Development HI, CAN I USE THIS BAPI(BAPI_OUTB_DELIVERY_CONFIRM_DEC) FOR CREATING PROOF OF DELIVERY regards GuruReply 1 ACCEPTED SOLUTION Former Member 2006 Oct 16 6:23 AM 0 Kudos 1,277 SAP Managed Tags: ABAP Development HI Guru, Check...