sap 服务器信息,SAP服务器常用端口

wert772010-11-02 14:52

l老白: 请教个问题,我用BAPI_PO_CHANGE 修改外协采购订单时,把交货计划拆分为分批交货,可是第二行、第三行的组件需求数据无法写入,试了很多办法,都不行,帮忙看看,我的传值代码如下:

WA_BAPIMEPOSCHEDULE-PO_ITEM = WA_ZMMT306-EBELP.

WA_BAPIMEPOSCHEDULE-SCHED_LINE = LW_SLINE.

WA_BAPIMEPOSCHEDULE-QUANTITY = WA_ZMMT306-MENGE.

WA_BAPIMEPOSCHEDULE-DELIVERY_DATE = WA_ZMMT306-EINDT.

WA_BAPIMEPOSCHEDULE-DELIV_TIME = WA_ZMMT306-UZEIT.

APPEND WA_BAPIMEPOSCHEDULE TO TD_BAPIMEPOSCHEDULE.

WA_BAPIMEPOSCHEDULEX-PO_ITEM = WA_ZMMT306-EBELP.

WA_BAPIMEPOSCHEDULEX-SCHED_LINE = LW_SLINE.

WA_BAPIMEPOSCHEDULEX-PO_ITEMX = 'X'.

WA_BAPIMEPOSCHEDULEX-SCHED_LINEX = 'X'.

WA_BAPIMEPOSCHEDULEX-DEL_DATCAT_EXT = 'X'.

WA_BAPIMEPOSCHEDULEX-DELIVERY_DATE = 'X'.

WA_BAPIMEPOSCHEDULEX-QUANTITY = 'X'.

WA_BAPIMEPOSCHEDULEX-DELIV_TIME = 'X'.

APPEND WA_BAPIMEPOSCHEDULEX TO TD_BAPIMEPOSCHEDULEX.

WA_BAPIMEPOCOMPONENT-PO_ITEM = WA_ZMMT306-EBELP.

WA_BAPIMEPOCOMPONENT-SCHED_LINE = LW_SLINE.

WA_BAPIMEPOCOMPONENT-ITEM_NO = LW_SLINE.

WA_BAPIMEPOCOMPONENT-MATERIAL = '100000'.

WA_BAPIMEPOCOMPONENT-ENTRY_QUANTITY = WA_ZMMT306-MENGE.

WA_BAPIMEPOCOMPONENT-ENTRY_UOM = 'PC'.

APPEND WA_BAPIMEPOCOMPONENT TO TD_BAPIMEPOCOMPONENT.

WA_BAPIMEPOCOMPONENTX-PO_ITEM = WA_ZMMT306-EBELP.

WA_BAPIMEPOCOMPONENTX-SCHED_LINE = LW_SLINE.

WA_BAPIMEPOCOMPONENTX-ITEM_NO = LW_SLINE.

WA_BAPIMEPOCOMPONENTX-MATERIAL = 'X'.

WA_BAPIMEPOCOMPONENTX-ENTRY_QUANTITY = 'X'.

WA_BAPIMEPOCOMPONENTX-ENTRY_UOM = 'X'.

APPEND WA_BAPIMEPOCOMPONENTX TO TD_BAPIMEPOCOMPONENTX.

你可能感兴趣的:(sap,服务器信息)