问题
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