Hi all, i trying to set up an Outbound scenario for Accounting documents.The idea is to send to an external system the idoc ACC_DOCUMENT03 that is associated to message
We are using idoc ACC_DOCUMENT03 to post data available in a 3rd party system into SAP The 3rd party system does not have a corresponding accounting document which can be used in the reference key of the header record (awkey or obj_key). We are using the following details for the ...
Hi Gurus , I want to debug the idoc Acc_document02 and message type is Acc_document in Inbound function module in we19 . In the dialogue box i click the function module
LT_CURRENCYAMOUNT-AMT_DOCCUR = P_WS_COS-ZMOJZ."凭证货币金额LT_CURRENCYAMOUNT-CURR_TYPE ='00'. LT_CURRENCYAMOUNT-CURRENCY ='CNY'.APPENDLT_CURRENCYAMOUNT.CLEARLT_CURRENCYAMOUNT."添加记账码LW_ZFIDOCEXT-ITEMNO_ACC = LD_ITEM."Item NoLW_ZFIDOCEXT-BSCHL ='40'."记帐码*是否创建预制凭证,否则...
2024.12.04 经过进一步测试,发现有些凭证可以通过BAPI:BAPI_ACC_DOCUMENT_REV_POST冲销,冲销方式为REVERSAL-OBJ_KEY给BKPF-AWKEY并且OBJ_TYPE从IDOC改成BKPFF即可,而部分凭证不行,猜测估计跟凭证类型有关,总账凭证可以,其他(比如交货等)凭证类型不可以
这些数据是保存在bsed表的。 而BAPI_ACC_DOCUMENT_POST 并没有提供这些字段。所以需要走增强。 首先肯定是想到的extension2 字段 AI检测代码解析 "创建凭证 CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST' EXPORTING documentheader = gs_bkpf TABLES accountgl = gt_account ...
BAPI_ACC_DOCUMENT_POST 解决原因代码输入问题-利用BADI,(1)复制函数SAMPLE_INTERFACE_RWBAPI01为ZSAMPLE_INTERFACE_RWBAPI01只是测试,所以我只针对我的用户有效。(2)FIBF业务交易事件设置菜单栏设置-》处理函数模块-》SAP的一个应用程序修改视图每处理界面的应用函数模块
else. write: / 'IDoc created'. "#EC NOTEXT endif. endif. else. call function 'BAPI_ACC_DOCUMENT_REV_CHECK' exporting reversal = rev bus_act = gd_documentheader-bus_act tables return = it_return. endif. write: / 'Result of Reversal Posting:'. "#EC NOTEXT perform show_messages. ...
Idoc Tcodes Bom Tcodes Customer Tcodes Display Cost Center Tcodes Material Master Tcodes Customer Master Tcodes Display Material Document Tcodes Inventory Tcodes Contract Tcodes Info Record Tcodes WBS Element Tcodes Display Document Tcodes Spool Tcodes SE16 Tcodes Exchange Rate Tcodes Outbound Del...
跨公司销售自动生成IDOC财务凭证过账日期的确定 在由多个公司组成的企业集团中,通常会有公司间的业务。一般来说,涉及到公司间的业务有两类,分别是跨公司销售和公司间采购。还有一类库存调拨(一步法/两步法),可用于公司间采购,也可用于公司内调拨。 跨公司销售指销售单据中,发货工厂对应的公司和销售组织对应的公司为...