此乃外向交货单(outbound delivery)确认过账的bapi
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC' "BAPI for Outbound Delivery Confirmation from a Decentralized System EXPORTING header_data = " bapiobdlvhdrcon Header Data header_control = " bapiobdlvhdrctrlcon Control Data Confirmation Header Data delivery = " bapiobdlvhdrcon-deliv_numb Outbound Delivery Number * techn_control = " bapidlvcontrol Technical Control Data * header_data_spl = " /spe/bapiobdlvhdrconf Confirmation Outbound Del. Picking Data Header Level * header_control_spl = " /spe/bapiobdlvhdrctrlcon Control Data Outbound Del. Header Level TABLES * header_partner = " bapidlvpartnerchg Delivery: Partner Change * header_partner_addr = " bapidlvpartnaddrchg Delivery: Address Change for Partner * header_deadlines = " bapidlvdeadln Header Deadlines * item_data = " bapiobdlvitemcon Item Data * item_control = " bapiobdlvitemctrlcon Control Data Confirmation Item Data * item_coding_block = " bapidlvcoblitem BAPI Delivery Acct Assignment Data Item * item_serial_no = " bapidlvitmserno BAPI Delivery Serial Numbers Item * supplier_cons_data = " bapiobdlvitemsupcon Vendor Consignment Goods Data * handling_unit_header = " bapidlvhdunhdr Handling Unit Header Data * handling_unit_item = " bapidlvhdunitm Handling Unit Item Data * handling_unit_header_epc = " /spe/bapi_hu_header_epc Structure for Handling Unit EPC Data * handling_unit_items_epc = " /spe/bapi_hu_items_epc Struct. for Handling Unit Items EPCs * handling_unit_serno = " bapidlvhdunserno Handling Unit Serial Numbers * extension1 = " bapiextc Data Container (Unstructured) * extension2 = " bapiext Data Container (Structured) return = " bapiret2 Return Parameters * tokenreference = " bapitokenreference Reference of CSL Token * handling_unit_header_cross = " bapidlvhdunhdr Handling Unit Header Data * item_data_spl = " /spe/bapiobdlvitemconf Confirmation Outbound Delivery Picking Data Item Level (SPE) * handling_unit_identifiers = " /spe/bapidlvhdunid Handling Unit IDs * handling_unit_item_spl = " /spe/bapidlvhdunitm Handling Unit Item * item_data_docu_batch = " /spe/docubatch_dlv_item_sty Assigned Documentary Batches per Delivery Item * new_item_data = " bapiobdlvitem Outbound Delivery Item * new_item_data_spl = " /spe/bapiobdlvitm Outbound Del. Item Fields / Service Parts Management * new_item_org = " bapiobdlvitemorg Outbound Delivery Item Organizational Units * text_header = " bapidlvtxthdr Delivery Text Header * text_lines = " bapidlvtxtitem Delivery Text Lines . " BAPI_OUTB_DELIVERY_CONFIRM_DEC
功能作用:你可以通过此bapi将一个外向交货单从WM(仓库管理)系统反馈到erp系统。
返回的信息主要包括:a。交货单头部,必须的信息
b。交货行项,只需反馈发生变更的交货单行项,未反馈的行项将当作未变更来确认过账