1

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

IMAGE HERE

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Dumbest666
  • 47
  • 3
  • 13
  • Parked Invoice don't generate BSEG registers, this will be generate when you efective the document. – I.B.N. May 17 '18 at 11:16
  • But do you have any idea on how the simulate button display all the data in the table control, or at least the flow? Is it possible to replicate the flow and get all the records same with data diplayed on simulate? – Dumbest666 May 18 '18 at 00:37
  • `can't enter to RSEG table` what means you can't enter? [In my answer](https://stackoverflow.com/a/49747750/911419) I described how to find BKPF number from RBKP, and RSEG is nothing but item table for RBKP. It's quite trivial. – Suncatcher May 20 '18 at 10:35
  • @Suncatcher sorry VBSEGS table, not RSEG. My mistake. I'll edit it. – Dumbest666 May 22 '18 at 00:35

2 Answers2

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.enter image description here

Actually, you can directly link these table. enter image description here 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
Oguz
  • 1,867
  • 1
  • 17
  • 24
0

I think is this:

RSEG-LFBNR = BSEG-BELNR
RSEG-LFGJA = BSEG-GJAHR
RSEG-LFPOS = BSEG-BUZEI
I.B.N.
  • 992
  • 4
  • 15