I am in need of generating an INVOICE from FB01 tcode. I have to generate the invoice according to the USER6 field in the table AUFK. The invoice amount should be totalled according to the USER6 field. It should also have a logo.
I am plannig to use the BAPI - BAPI_ACC_GL_POSTING_POST.
But it doesnot hold the USER6 field. The details for posting are enterd through a Selection-screen in a Custom Program.
Let me know how to proceed. Will the BAPI be useful in generating the invoice.
POSNR_ACC gets automaticall picks up. I think need not to send it.
If it fails to post the document, then send it as 10 , 20 , 30 for resprctive items.