‎2010 May 25 6:56 PM
Hi gurus,
I have a requirement to create FIDocuments based on a Vendor InputFile data. The file contains FI Doc header detailslike CompanyCode , Posting Date, Docuemnt Date, Translation Date , AccountType, PostingPeriod . And Line item details for
each such header are item_no,GL acccount, CostCenter , Order Number , AllocationNumber etc.
No where posting key is coming from the file .can i use the BAPI : BAPI_ACC_GL_POSTING_POST to create the financial documents? Can anybody guide in this.
Thanks
trina
‎2010 May 25 7:35 PM
As its name suggests and the documentation says, this is for GL postings, not vendor invoices. A better choice might be BAPI_ACC_DOCUMENT_POST . But read its documentation.
Rob
‎2010 May 25 8:05 PM
well i checked the documentation .
It eventually posts document but its return parameter doenot provide an Accounting Document Number .
The accounting Doucmnet number generation ismore importamnt . Therefore i was checking with BAPI_GL ACCount_posting.
According to the documentation there is a paremter for generating Accounting Doc number (required for further processing).
Therefore my question was how do i understand that which posting key is being Used by BAPI_ACC_GL_POSTING_POST?
I have tried analysing the BAPI and it also interns call up another function :FI_GET_POSTINGKEYs :executing whichdoesnot
give me much information.
If anybody have the information regarding the use of Posting keys by theis BAPI : BAPI_ACC_GL_POSTING_POST.then plz let me know.
Thanks
Trina
‎2010 May 25 8:14 PM
The question of posting keys for accounting BAPIs has been asked and answered many times before in the forum. The reason I didn't lock it earlier was because I believe you are looking at the wrong BAPI.
Please search the forum to answer your question.
Thread locked.
Rob