pocondLIKE TABLE OF bapimepocondWITH HEADER LINE, pocondxLIKE TABLE OF bapimepocondxWITH HEADER LINE, potextitemLIKE TABLE OF bapimepotextWITH HEADER LINE. DATA: epo LIKE bapimepoheader-po_number. DATA: l_return LIKE return. DATA: lv_message(255). ...
pocond LIKE TABLE OF bapimepocond WITH HEADER LINE, pocondx LIKE TABLE OF bapimepocondx WITH HEADER LINE, potextitem LIKE TABLE OF bapimepotext WITH HEADER LINE. DATA: epo LIKE bapimepoheader-po_number. DATA: l_return LIKE return. ...
You create a purchase order with BAPI_PO_CREATE1. The system determines a price (condition type PB00) of 90 EUR for item 10. You want to change the 90 EUR to 100 EUR. To do this, fill tables POCOND and POCONDX with the following values: ...
原因:没有填 pocomponents-item_no 删除自动从bom带出来的外协组件的方法:参考 lg zflg_po_create pocond-change_id = 'U'.更新价格,I表示新增价格(I新增价格时先加一行D删除采购信息记录的价格) pocondx-change_id = 'X'. 3. ls_poheader-item_intvl = 'X'. "项目编号间隔 ...
POCONDHEADERX是用来指定POCONDHEADER里面的字段要不要修改(change-relevant)
pocond LIKE TABLE OF bapimepocond WITH HEADER LINE, pocondx LIKE TABLE OF bapimepocondx WITH HEADER LINE, potextitem LIKE TABLE OF bapimepotext WITH HEADER LINE. DATA: epo LIKE bapimepoheader-po_number. DATA: l_return LIKE return. DATA: lv_message(255). CONSTANTS: con VALUE 'X'. D...
I created the PO through BAPI_PO_CREAE1 according to the below code. In that PO which i created default condition type "PBXX".But i want condition Type "PB00".so in my BAPI condtion table POCOND i gave "U" [ POCOND-change_id = 'U' (update) ].But the default "PBXX" is again...
Solved: Hello All, i am using the bapi_po_create1.. i have created PO's from PR's now i have to also add a pricing condition type for Freight. the problem i am having is
call function 'BAPI_PO_CREATE1' exporting poheader = pohead poheaderx = poheadx testrun = ' ' importing exppurchaseorder = ex_po_number expheader = exp_head tables return = return poitem = poitem poitemx = poitemx poschedule = posched poschedulex = poschedx. call function 'BAPI_...
ls_poitemx-po_unit = 'X' . "采购订单的计量单位 ls_poitemx-plant = 'X'. "工厂 ls_poitemx-stge_loc = 'X'. "库存地点 *&退货单 * ls_poitemx-ret_item = 'X'. append ls_poitemx to lt_poitemx. clear lt_pocond[]. ...