poaccountxLIKE TABLE OF bapimepoaccountxWITH HEADER LINE, 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:...
knttp TYPE string,"科目分配类别 matnr TYPE string,"商品代码 * txz01 TYPE string,"短文本 menge TYPE string,"采购订单数量 meins TYPE string,"采购订单的计量单位 eeind TYPE string,"交货日期W netpr TYPE string,"净价 waers TYPE string,"货币 W matkl TYPE string,"物料组 werks TYPE string,"工厂...
lt_poschedulex type table of bapimeposchedulx, lt_pocond type table of bapimepocond, ls_pocond type bapimepocond, lt_pocondx type table of bapimepocondx, ls_pocondx type bapimepocondx, ls_exppurchaseorder type ebeln, lt_corder_log type table of ztmm_corder_log, ls_corder_log ty...
You create a purchase order with BAPI_PO_CREATE1. The system shoulddetermine the conditions for item 10 automatically. In addition, however, you want to calculate 3 % freight costs. You use condition type FRA1 for the freight costs. Then tables POCOND and POCONDX must be filled with the ...
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
* ls_pocond LIKE bapimepocond, * ls_pocondx LIKE bapimepocondx. data:lv_po_number like bapimepoheader-po_number. start-of-selection. clear ls_poheader. clear ls_poheaderx. ls_poheader-comp_code = p_bukrs. ls_poheader-currency = 'RMB'. ...
POCOND = POCONDX = POLIMITS = POCONTRACTLIMITS = poservices = i_services posrvaccessvalues = i_srvacc POSERVICESTEXT = EXTENSIONIN = EXTENSIONOUT = POEXPIMPITEM = POEXPIMPITEMX = POTEXTHEADER = POTEXTITEM = ALLVERSIONS = POPARTNER = . break gbpra8. LOOP AT i_return INTO wa_return....