I need to write a program to read open items(posts) for which money is not paid to the vendor.
I decided to select things from the table BSIK.so far fine.
But when I cancelled a document, I could find this document not in BSIK but in BSEG.
(the cancelled and the cancelling document).
If I look into the transaction FBL1n(which does the same job of reading open items), for open posts it shows me all the documents(The cancelled documents as well).
So my question is instead of me acessing both the tables BSIK and BSEK to get the open items,Is there a function module which could be used to get the open items.
Should I access both the tables.