Hi All, We want the functionality of updating 2 customer specific fields in table EKPO while creating PO with BAPI_PO_CREATE1. The documentation for the BAPI says that
bapi_te_mepoitem-po_item = '00010'. bapi_te_mepoitem-zzinvers = 'X'. MOVE 'BAPI_TE_MEPOITEM' TO l_extensionin-structure. MOVE bapi_te_mepoitem TO l_extensionin-valuepart1. APPEND l_extensionin. CALL FUNCTION 'BAPI_PO_CREATE1' EXPORTING poheader = l_poheader poheaderx = l_po...
7、 BAPI_PR_CREATE 创建PR 8、 BAPI_PO_CREATE1 创建PO 9、 BAPI_PO_CHANGE 修改PO和删除PO 10、WS_REVERSE_GOODS_ISSUE 冲销交货单的过账发货 11、BAPI_RESERVATION_CREATE1 创建预留 如果要检查ATP,必须使用 BAPI_RESERVATION_CREATE 12、BAPI_RESERVATION_CHANGE 修改和删除预留 13、PRICES_CHANGE PRICES_POS...
lt_poitemx-po_item = lv_item. lt_poitemx-item_cat = 'X'. lt_poitemx-material_long = 'X'. lt_poitemx-plant = 'X'. lt_poitemx-stge_loc = 'X'. lt_poitemx-quantity = 'X'. lt_poitemx-net_price = 'X'. lt_poitemx-tax_code = 'X'."税代码 * lt_poitemx-ret_ite...
lt_potextitem TYPE TABLE OF bapimepotext WITH HEADER LINE, lt_extensionin LIKE TABLE OF bapiparex WITH HEADER LINE. DATA: bapi_te_mepoitem LIKE bapi_te_mepoitem, bapi_te_mepoitemx LIKE bapi_te_mepoitemx, bapi_te_mepoheader LIKE bapi_te_mepoheader, ...
Solved: Hello, In EXTENSIONIN of the BAPI_PO_CREATE1 there are 4 components, value parts 1 to 4 with total of 960 characters (4 x 240).I counted the number of characters
根据BAPI_PO_CREATE1创建采购订单,REPORT zlm_test_026.DATA:BEGINOFgt_dataOCCURS0, bsartTYPEstring,"采购凭证类型 lifnr TYPEstring,"供应商帐户号 ekorgTYPEstring,"采购组织 ekgrpTYPEstring,"采购组
APPEND T_EXTENSIONIN.WA_BAPI_TE_MARAX-MATERIAL = ITAB_UP-MATNR.T_EXTENSIONINX-STRUCTURE = 'BAPI_TE_MARAX'.T_EXTENSIONINX-VALUEPART1 = WA_BAPI_TE_MARAX.APPEND T_EXTENSIONINX.2、 BAPI_OBJCL_CREATE 分类视图的创建3、 BAPI_OBJCL_GETCLASSES 分类视图得到详细信息4、 BAPI_MATERIAL_SAVEREPLICA 物料...
8、 BAPI_PO_CREATE1 创建PO 9、 BAPI_PO_CHANGE 修改PO和删除PO 10、WS_REVERSE_GOODS_ISSUE 冲销交货单的过账发货 11、BAPI_RESERVATION_CREATE1 创建预留 如果要检查ATP,必须使用 BAPI_RESERVATION_CREATE 12、BAPI_RESERVATION_CHANGE 修改和删除预留 13、PRICES_CHANGE PRICES_POST 更改物料移动平均价或者标准...
MOVET_BAPI_TE_MEPOHEADERTOT_EXTENSIONIN-VALUEPART1. APPENDT_EXTENSIONIN. MOVE'BAPI_TE_MEPOHEADERX'TOT_EXTENSIONIN-STRUCTURE. *CLEART_BAPI_TE_PO_HEADER-PO_NUMBER. MOVE-CORRESPONDINGT_CUSTDATA_INXTOT_BAPI_TE_MEPOHEADERX. MOVET_BAPI_TE_MEPOHEADERXTOT_EXTENSIONIN-VALUEPART1. APPENDT_EXTENSIONIN. ...