I would like to "simulate" a document to see if it is out of balance, using BDCdata and tx FB01, without posting it. I have not found any function that will analyze a bdc table and return edit errors without trying to post. I will be reading a file of data from another system and want to check SAP against it to check the tax amount calculated by SAP vs. the file, the outcome will drive what I do. If it is different I will add a document line to write-off the difference then post it, otherwise I'll just post it as found.
The technique of using BDC to simulate a transaction can only work if all the validation is done before clicking on the 'SAVE' or 'POST' button, because then you can click on cancel safely. If validation is done on clicking on POST or SAVE, it is not possible to use this technique.
Dig Deeper on SAP ABAP
Related Q&A from Matthew Billingham
An SAP user needs information on how to change the password on several SAP user accounts from a central location. Continue Reading
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header. Continue Reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order. Continue Reading