09-21-2017 9:36 PM
Hi everyone.
I have a string with xml content, with this I want to generate a xml file and save it in FB03 Tcode according accounting doc. How can I do this? Are there any FM or BAPI?
09-22-2017 7:46 AM
Asked thousands of times in www/SCN. Many ways to do it. Search GOS, CL_BINARY_RELATION, SO_DOCUMENT_INSERT_API1, etc. You need to know the object type related to FB03, which is "BKPF" (same name as the transparent table). The object name will be a concatenation of company code, document number, year (I don't remember the exact order, look at the exact order of key fields in transaction code SWO1).