* data that is in both BKPF and BSEG. These secondary index tables * that have an 'i' in the third character of the name contain open * items. Those with an 'a' contain cleared items. In practice, you * may only one or the other. In this program I am retrieving both. * * Her...
INTO TABLE TAB_BSEG“存放检索结果的内部表 FOR ALL ENTRIES IN TAB_KEY“存放主键项目的内部表 WHERE BUKRS = TAB_KEY-BUKRS.“公司代码 AND GJAHR = TAB_KEY-GJAHR“财务凭证编号 AND BELNR = TAB_KEY-BELNR“会计年度 AND BUZEI = TAB_KEY-BUZEI.“会计凭证中的行项目 4)这么处理之所以能够提高效率...
DATA: ekpo_int TYPE TABLE OF ekpo_type, ekpo_wa TYPE ekpo_type. DATA: ekbe_int TYPE TABLE OF ekbe_type, ekbe_wa TYPE ekbe_type. DATA: vapma_int TYPE TABLE OF vapma_type, vapma_wa TYPE vapma_type. DATA: v_reference TYPE bkpf-awtyp, "Reference procedure v_objectkey TYPE bkpf-aw...
从BSEG检索出相应的明细行项SELECTBSCHLKOARTUMSKZSHKZG借方/贷方HKONT腌勘定元幅GSBER事域DMBTR,国内通K额WRBTR云票通K额ZUONR7-卜丰一SGTXT明余田丰久ZFBDT期日ZTERM吱条件丰ZLSCH支方法ZLSPR支保留丰HBKID取引金艮行 GBVTYP取引先金艮行FROMBSEGINTOTABLETAB_BSE存放检索结果的内部表FORALLENTRIESINTAB_KEY...
INTOTABLE TAB_KEY“存放主键项目的内部表 WHERE VBEL2 = 'XXXXXXXXXX'“销售凭证编号 AND POSN2 = 'YYYYYY'.“销售凭证明细编号 2)再根据销售凭证编号和明细编号,从BSAD中检索出已清帐明细行项目。 SELECT BURKS“公司代码 BELNR“财务凭证编号 GJAHR“会计年度 BUZEL“会计凭证中的行项目 FROM BSAD APPEND TA...
SAP Managed Tags: ABAP Development, SAP S/4HANA Finance Dear all, I am new on S4H and I would to use ACDOCA table in a program to update in mass FI documents (field ZUONR). We want to use ACDOCA because we have needed informations that we we are unable to find using BSEG. At...
The FI-GL table BSEG, which is one of our biggest PR1 tables, is an example of a clustered table. At the database-level, there is no table called BSEG, but instead RFBLG is being used for the BSEG data. Most of the fields known in BSEG are not known in the database table RFBLG...
访问此表最佳的是包含所有的索引字段,但在实际应用是很少能达到的。但要有好的性能根据经验必须要有公司和凭证号作为查询条件。为了达到这一点,我可以根据条件不同而使用不同sap的其他表,先查出公司和凭证号,再去读取BSEG表。 代码如下: 注意:该程序包含了各种条件的查询,程序员可以根据自己应用需求选择对应一个的...
SAP Managed Tags: ABAP Development Dear all I need to update function area in bseg table for existing records. How can i modify for that particular field without using update command. Is any BAPI is there for update document no. I have Lakhs records. So is any other way to modify that...
将ADT(Abap开发工具)安装到Eclipse或Hana Studio中 步骤01–下载和阅读SAP note2240878– MM-IM:将客户包括CI_COBL添加到MATDOC 阅读此SAP注释非常重要,因为每个S / 4版本都有解决问题的不同方法。在这里,我将讨论S / 4HANA1709SP 01。 步骤02–运行Eclipse ...