Q

Analyzing a document without posting it

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.

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.


This was first published in October 2002

Dig deeper on SAP ABAP

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close