04-18-2018 11:22 AM
Hello guys,
I'm using BAPI_INCOMINGINVOICE_CHANGE to change account assignment in invoices. My problem now is that I have parked invoice with one position and one account assignment. With custom program I want to change this one position to a multi-accounting position, means e.g. 3 rows account assignment for one position. This works fine with the named bapi.
I also want to change the text SGTXT of the accounting position. Now I know that SGTXT is text field of invoice position. But when I change it in foreground in transaction MIR7, I am able to give a text for every account assignment row (see screenshot). But with BAPI I do not have the SGTXT field available in accounting tab, only in position tab, where I canot differentiate the accountings.
So what to do?
Regards
Michael