using BAPI_PO_CREATE1 to create POs meanwhile passing the netprice instead of price from inforrecords. From 580225: 1.NO_PRICE_FROM_PO If you transfer the value 'X' in this field, no conditions are copied from the last document. This includes purchase orders, scheduling agreements, contracts...
poitem-quantity= gt_data-menge."采购订单数量 poitem-po_unit= gt_data-meins ."采购订单的计量单位 poitem-net_price= netpr."净价 poitem-matl_group= gt_data-matkl."物料组 poitem-plant= gt_data-werks."工厂 poitem-trackingno=gt_data-bednr."需求跟踪号 poitem-preq_name= gt_data-afnam...
wa_poheaderx-vat_cntry= 'X' . *po item data wa_poitem-po_item= P_POITEM. wa_poitem-MATERIAL= P_MATNER . wa_poitem-PLANT= P_PLANT. WA_POITEM-STGE_LOC= P_LOCT . wa_poitem-QUANTITY= P_QUANTI . wa_poitem-NET_PRICE= P_NETPRI . wa_poitem-PRICE_UNIT= P_PRICEU . wa_po...
可以删采购信息记录,也可以item-po_price = 2,这样就不会带采购信息记录了,但要注意,如果item里写了采购信息记录(比如先跑了testrun返回进item了),就删不掉了。 注意事项 1.创建po带过来多个重复的价格 原因:配置问题,用户参数 EVO 或no_price_from_po = 'X' 不带价格过来 2.如果物料维护了舍入值,则生...
DATA: epo LIKE bapimepoheader-po_number. DATA: l_return LIKE return. DATA: lv_message(255). CONSTANTS: con VALUE 'X'. DATA: pp_file TYPE string. DATA: lifnr TYPE elifn. DATA: netpr TYPE bprei. DATA: bstae TYPE bstae. DATA: matnr TYPE matnr. ...
Hi, I'm using BAPI_PO_CREATE1 within a loop to create a PO with multiple items - grouped by vendor, plant and delivery date. After each BAPI call I use
Hi Experts, Using BAPI_PO_CREATE1, I try to create a PO with net price $10. This line item is referencing to a Contract item with price $12. After executing the FM, PO
APPEND poitem. CLEAR poitem. poitemx-po_item = gt_data-ebelp. "采购凭证的项目编号 poitemx-acctasscat = con ."科目分配类别 poitemx-short_text = con."短文本 poitemx-quantity = con."采购订单数量 poitemx-po_unit = con ."采购订单的计量单位 poitemx-net_price = con."净价 poitem...
SAP MM BAPI_PO_CREATE1的用法 初步对BAPI_PO_CREATE1有了一点了解,下面对这个bapi做一些我的体会讲解: 下面先将程式上传,在程式中我只简单的对poheader和poitem做了一些输入,产生了一张po,并且po中只可以有一个项被采购,其实其中还有其他可以加入,例如: schedule,account,一起其他一些东西,,在这个程式中我就...
1,179 SAP Managed Tags: ABAP Development hi, BAPI_PO_CREATE1 - Create Purchase Order Functionality Function module BAPI_PO_CREATE1 enables you to create purchase orders. The BAPI uses the technology behind the Enjoy purchase order transaction ( ME21N). Alternatively, the IDoc type PORDCR1 ...