I am abaper developing purchase register. I have a technical problem in understanding table link.
The case is:
I have one MIRO document with 3 line items with different materials. From this 3 items in invoice there are two debit notes and all having tax data.
I have to print each line for invoice as well as debit notes. The problem here is to link the debit note item with the particular invoice line item to print the invoice item data for debit note.
The tables i used is RBKP, RSEG, BSEG, RSET etc. Not able find direct link between debit note item and invoice item.