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."需求者/请求者姓名 poitem-tax_code= gt_dat...
ls_poitemx-po_unit = 'X'. ls_poitemx-plant = 'X'. ls_poitemx-stge_loc = 'X'. if ls_poitem-suppl_stloc is not initial. ls_poitemx-suppl_stloc = 'X'. endif. ls_poitemx-batch = 'X'. ls_poitemx-ret_item = 'X'. * ls_poitemx-INFO_UPD = 'X'. "去掉更新采购信息...
bstaeTYPEstring,"确认控制ENDOFgt_data.DATA:BEGINOFgt_outOCCURS0,text(255),ENDOFgt_out.DATA:poheaderLIKETABLEOFbapimepoheaderWITHHEADERLINE,"采购订单抬头数据 poheaderxLIKETABLEOFbapimepoheaderxWITHHEADERLINE,returnLIKETABLEOFbapiret2WITHHEADERLINE,poitemLIKETABLEOFbapimepoitemWITHHEADERLINE,"采购订单...
FORM create_po . LOOP AT gt_data. AT NEW ihrez. CLEAR lifnr. lifnr = gt_data-lifnr. CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = lifnr IMPORTING output = lifnr. poheader-doc_type = gt_data-bsart. poheader-vendor = lifnr. poheader-purch_org = gt_data-ekorg. pohe...
根据BAPI_PO_CREATE1创建采购订单,REPORTzlm_test_026.DATA:BEGINOFgt_dataOCCURS0,bsartTYPEstring,"采购凭证类型lifnrTYPEstring,"供应商帐户号ekorgTYPEstring,"采购组织ekgrpTYPEstring,"采购组...
MIGO过账 BAPI_GOODSMVT_CREATE 创建采购订单 BAPI_PO_CREATE1 创建修改物料主数据 BAPI_MATERIAL_SAVEDATA 创建批次 BAPI_BATCH_CREATE 获取批次属性信息 BAPI_OBJCL_GETDETAIL 创建批次特性值 BAPI_OBJCL_CREATE 修改批次特性值 BAPI_OBJCL_CHANGE 创建客户主数据 RFC_CVI_EI_INBOUND_MAIN 给客户 主数据写入税号 BAP...
调用BAPI创建采购..我调用BAPI_PO_CREATE1 和 BAPI_PO_CREATE 2个BAPI创建采购订单。但是都会报我的数量值为0000.但是我在传入BAPI的结构里面看到了确实数量是有的、不存在没有值的情况
ME11创建采购咨询记录:1、ME_DIRECT_INPUT_INFORECORD 2、ME_POST_INFORECORD 3、ME_UPDATE_INFORECORD_COND ME12修改采购咨询记录:ME_INFORECORD_MAINTAIN ME21N创建采购订单:BAPI_PO_CREATE1 ME22N修改采购订单:BAPI_PO_CHANGE SELECT SINGLE frgc1 frgc2 INTO ( l_frgc1,l_frgc2 ) FROM t16fs ...
gw_item-price_unit =1. gw_item-preq_no ='0010001627'. gw_item-preq_item =10.*gw_item-batch = 'HS'.APPENDgw_itemTOgt_item.CLEAR:gw_item. gw_itemx-po_item =10. gw_itemx-material ='X'. gw_itemx-item_cat ='X'. gw_itemx-plant ='X'.*gw_item-STGE_LOC = '8380'.gw_it...
REPORT ydm_po_create. *-- Input File Declaration TYPES: BEGIN OF ty_input_file, column1 TYPE char50, column2 TYPE char50, column3 TYPE char50, column4 TYPE char50, column5 TYPE char50, column6 TYPE char50, column7 TYPE char50, column8 TYPE char50, column9 TYPE char50, column10 ...