F-28 User Exit / BTE / Enhancement Point
We are currently trying to do a profit centre substitution when we are posting a Payment on F-28 for a billing document.
We are using the the item text field BSEG-SGTXT to store a reference number that is needed to do a lookup for the profit centre.
The problem I am having is getting a BTE / User Exit / Enhancement Point on F-28 where I have the billing document record as well as the new posting record that is being build while either doing a simulation or a posting.
I am already using BTE 00001120 but that does not have the billing document and neither does BTE 00001140. I have also tried BADI_ACC_DOCUMENT and BADI ACC_DOCUMENT but they do not get called when simulating the documents.
Has anyone done this before or know of an exit that can be used to retrieve data of the billing document in order to change something on your payment postings?
I am sure it must be possible!