How can I link RSEG table into BSEG or RBKP to BSEG?

家住魔仙堡 提交于 2019-12-13 03:01:34

问题


I already browse the web but i find no answer that can solve my problem.

I tried the concatenation of RBKP-BELNR and RBKP-GJAHR into BKPF-AWKEY to get the BKPF-BELNR then BKPF-BELNR to BSEG-BELNR, but always show no records.

I need to link to the RSEG to BSEG or RBKP to BSEG .

Need some help! thanks!

Edit: I made the parked document in Tcode MIR7

I found this, but can't enter to VBSEGS table.

UPDATE: these are the details I want to get. but can't find the other details


回答1:


Concatenate BELNR & GJAHR from RSEG and pass it to the AWKEY field of BKPF table and you will get Accounting document number "BELNR", year "GJAHR" & Company Code "BUKRS". Pass these fields to BSEG and you will get the other details. Did you try it exactly this way? You should check your belnr has left padding '0' you can check it with double click on the record in SE16n tcode.

Actually, you can directly link these table. Last option, If these are still not working for you, then you can link: However, it will kill the performance, I believe.

RSEG-EBELN = BSEG-EBELN
RSEG-EBELP = BSEG-EBELP
RSEG-MATNR = BSEG-MATNR



回答2:


I think is this:

RSEG-LFBNR = BSEG-BELNR
RSEG-LFGJA = BSEG-GJAHR
RSEG-LFPOS = BSEG-BUZEI


来源:https://stackoverflow.com/questions/50346420/how-can-i-link-rseg-table-into-bseg-or-rbkp-to-bseg

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!