转自http://blog.sina.com.cn/s/blog_1647b3eff0102wi32.html 1.创建销售订单使用的BAPI BAPI_SALESORDER_CREATEFROMDAT2 但是 BUSINESS OBJECT限制为 BUS2032 使用FM: DATA LV_OBJTYPE TYPE OJ_NAME . LS_HEADER-SD_DOC_CAT为销售订单类型,即类型为:VBAK-VBTYP CALL FUNCTION 'SD_OBJECT_…
BAPI_ACC_DOCUMENT_POST *---BAPI_ACC_DOCUMENT_POST 所需要的参数 DATA: OBJ_TYPE LIKE BAPIACHE09-OBJ_TYPE, OBJ_KEY LIKE BAPIACHE09-OBJ_KEY, OBJ_SYS LIKE BAPIACHE09-OBJ_SYS, DOCUMENTHEADER LIKE BAPIACHE09. DATA: ACCOUNTGL LIKE BAPIACGL09…
这个例子是在合同号中新增项目号: 1.先要读取该合同号的信息用一个BAPI BAPI_CONTRACT_GETDETAIL 2.调用修改合同号的BAPI. 代码如下: REPORT ztest_class. DATA: lv_docnumber TYPE bapimeoutheader-number, lt_item_condition TYPE TABLE OF bapimeoutcondition, lt_item_conditionc TYPE TABLE OF bapimeoutcond…
总帐会计: (比较简单全部测试通过,关帐时使用) Line item of document for ledger with summary table GL F: BAPI_GLX_GETDOCITEMS Closing balance of G/L account for chosen year F: BAPI_GL_GETGLACCBALANCE Closing balance of G/L account for current year F: BAPI_GL_GETGLACCCURR…
全BADI一览 List of BAPI's BAPI WG Component Function module name Description Description Obj. Type Object name Method name Release Message type 1 RW TR BAPI_SECURITYPRICE_GETDETAIL Security price Import a single security price BUS1099 SecurityP…
需求:在报表里面添加可用数量字段,数据来源于MD04. 使用到的bapi:MD_STOCK_REQUIREMENTS_LIST_API 这个bapi可以查看到MRP信息以及可用数量. bapi需要的参数只有2个:物料和工厂 "获取物料的可用数量data: lt_mdez type table of mdez, l_line_number type i. loop at it_tab assigning field-symbol(<wa_tab>). call function 'MD…
BAPI Explorer 原文:http://www.cnblogs.com/qiangsheng/archive/2007/12/24/1012110.html Tool for developing and managing BAPIs. The BAPI Explorer is an integrated programming environment for developing and maintaining BAPIs. The BAPI Explorer allows appli…
BAPI (Business Application Programming Interface) 原文:http://www.cnblogs.com/qiangsheng/archive/2007/12/22/1010333.html Business Application Programming Interfaces or BAPIs are interfaces within the business framework to link SA´Ps components to one a…
一开始badi.BAPI.LSMW关系极其混乱,好像都是传输数据, just transfer data from SAP system to non-SAP system or transfer data from SAP system to SAP system.......confused. 他们仿佛都是异曲同工之妙,但是既生瑜何生亮.So, 经过一番对混乱的信息来源进行筛选后,我还是得从概念入手: 在SAP系统中,批处理操作有多种方法.如果是对一个事物码(TCODE)进行批处理操作,常用…
功能块代码 F-59开发类 FIBP事务说明 支付请求 事物:FBP1Screen 0BKPF-BLART = AB________________________________________从程序:SAPMF05A Package: FIBP 回答一.hi, TCODES BAPI where you can find all the BAPIs existing Suppose you want to find the bapi for creating a sales order, y…