Skip to Content
0
Former Member
Sep 15, 2005 at 07:23 AM

Simulation of FB01/F-43 (Before posting) available?

942 Views

Hi All,

I'm uploading a file to post vendor documents via FM "POSTING_INTERFACE_DOCUMENT". This is called from a custom program. In short, the logic is to loop at file data and call this FM in the loop to post vendor documents. Every line of the file is one FI document.

Now before I execute this loop, I want to simulate FB01/F-43 on the same data before its actually posted to check if every line of the file will post a document or not. The requirement is that if one line is in error, do not post any documents at all for that particular file. The business then goes back and corrects the file and sends it back again. As the file contains a lot of fields, I find it impossible to validate each & every field for numerous scenarios. SAP might throw something out even if I validate as many data validations I can think of! I don't want to go into unforseen scenarios.

I searched the system and could not find any simulation FM/BAPI with regards to FI document. Can this be done at all? I know this is possible in case of SD sales orders. Any input is highly appreciated. Cheers all.

Thanks and regards.