data:goodsmvt_code type bapi2017_gm_code. data:materialdocument type bapi2017_gm_head_ret-mat_doc. data:matdocumentyear type bapi2017_gm_head_ret-doc_year. data:goodsmvt_item type table of bapi2017_gm_item_create with header line. data:return type table of bapiret2 WITH HEADER LINE. DAT...
lwa_return TYPE bapiret2, "bapireturn lit_movsLIKESTANDARDTABLEOFbapi2017_gm_item_create,"mat doc item lwa_movs TYPE bapi2017_gm_item_create, "mat doc item lwa_headerLIKEbapi2017_gm_head_01,"mat doc hdr lwa_code LIKE bapi2017_gm_code, "mmim code lwa_header_retTYPEbapi2017_gm_head_re...
因为涉及系统之间的传输,所以并不能完整给出代码,但是主体处理是没有问题的,部分参数我也写死了,根据自己需要改写即可 DATA: ls_header LIKE bapi2017_gm_head_01, lv_code LIKE bapi2017_gm_code VALUE '01', lv_doc TYPE bapi2017_gm_head_ret-mat_doc, lv_year TYPE bapi2017_gm_head_ret-doc_year...
GMCODE Table T158G - 01 - MB01 - Goods Receipts for Purchase Order * 02 - MB31 - Goods Receipts for Prod Order * 03 - MB1A - Goods Issue * 04 - MB1B - Transfer Posting * 05 - MB1C - Enter Other Goods Receipt * 06 - MB11 * 07 - MB04 事物代码MBST凭证冲销 BAPI BAPI_GOODSMVT...
程序实现库存批次自动确定,不弹出下述窗口 代码如下: FORM FRM_CHARG_DETEMINE TABLES LT_GOODMVT_POST STRUCTURE BAPI2017_GM_ITEM_CREATE ... 查看原文 SAP 免费交货 :gm_headerTYPEbapi2017_gm_head_01.DATA:gm_codeTYPEbapi2017_gm_code.DATA:gm_headretTYPEbapi2017_gm_head_ret.DATA:gm_itemTYPETABLEOF...
MB01 is a Post GR for PO transaction, it is an equivalent of GM_Code 01 in MIGO or BAPI_GOODSMVT_CREATE. MIGO transaction is a modern successor for obsolete MB01. So, as per the BAPI_GOODSMVT_CREATE documentation for GM_Code 01 the following fields are mandatory: Purchase order Purchase...
关键字出口Kewo Exis在BAP/4字典中的关键字数据元素添加文档.结果是你在使用这些数据元素的字段处按F1后会出现你自定义的说明文档使用的方法是:首先定义(TCode:CMD)一个项目roject(以管理你的增强,这里的项目和PS模块的项目可是两回事),把你要使用的系统增加ncement分配给这个项目,编辑系统增强中的用户出口对象。
OPCODE 是Operation Code 的缩写,意识是通过这个参数来控制FM:BP_JOB_READ所返回的信息是什么信息.你设定成20,那意味着所有的关于JOB的信息都将被读出来.如果是19,那么意思是只将Job的header信息读取出来.
对主体订单下的某一类物料通过MRP控制者的判断,可以对此类物料进行自动创建生产订单,自动下达,报工、收货,最后对主体订单投料。 1、新增加一个MRP控制者:泵送钢管类物料的MRP控制者必须设置为168. 2、根据输入条件读取主体订单(剔除CLSD、TECO、DLT)的OBOM清单,挑取MRP控制者为钢管(168)胶管(170)(泵送钢管订单、...
DATA:gmhead LIKE bapi2017_gm_head_01.DATA: BEGIN OF gmcode.INCLUDE STRUCTURE bapi2017_gm_code. DATA: END OF gmcode.DATA: BEGIN OF mthead.INCLUDE STRUCTURE bapi2017_gm_head_ret. DATA: END OF mthead.DATA: BEGIN OF itab OCCURS 100.INCLUDE STRUCTURE bapi2017_gm_item_create. DATA: END ...