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?