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

BAPI_ACC_GL_POSTING_POST

Former Member
0 Likes
513

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

3 REPLIES 3
Read only

Former Member
0 Likes
462

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

Read only

0 Likes
462

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

Read only

0 Likes
462

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