Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FI Interface posting into SAP

Former Member
0 Likes
488

What approach do you generally take to post accounting documents (via FB01) from an inbound text file?

I've been asked to prevalidate all fields in the file before posting. Is this realistic? I mean prevalidate against how many scenarios? For e.g. a cost centre does not exist or a cost centre is blocked for posting...the checks could go on forever especially that there are so many fields involved! I could use BAPI_ACC_DOCUMENT_CHECK and/or BAPI_ACC_DOCUMENT_POST but problem with these that they do not return the row numbers/error field name etc. and also they do not list all the errors in a single document; the BAPIs abort further processing after first error is encountered! The users want a detailed error list with the errors like row no. on inbound file, fieldname, value etc....

Any ideas/suggestions on how to approach this kind of interface where error handling needs to be so detailed?

Cheers.

1 REPLY 1
Read only

Former Member
0 Likes
329

Anyone? Any thoughts??