Application Development 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: 

BAPI to park document in FV50 and FV50L

Former Member
0 Kudos

Is there any BAPI or Funtion Module to park document in FV50 and FV60L.

Thanks in advance

10 REPLIES 10

Former Member
0 Kudos

Hi

There isn't trx FV60L in my system, but try to use BAPI_ACC_GL_POSTING_POST for FV50

Max

Former Member
0 Kudos

BAPI_ACC_DOCUMENT_POST is the standard BAPI for any FI document posting.

Former Member
0 Kudos

Hi ravindar,

Try this

You can use the FM 'AC_DOCUMENT_GENERATE' for parking the accounting document followed by a function call to 'PRELIMINARY_POSTING_DOC_WRITE'.

For posting the parked document you can use the FM 'PRELIMINARY_POSTING_POST_ALL' .

or else

go for BDC

Former Member
0 Kudos

I tried using BAPI_ACC_GL_POSTING_POST , but could not find a field where in I can select Debit or Credit (i.e )Posting key and also for Tax code where do I pass tax code. I am using FV50 to park a doucment.

0 Kudos

FV60: BAPI_INCOMINGINVOICE_PARK

BAPI_ACC_GL_POSTING_POST debit/credit problem: you can't use posting keys in these BAPIs, just add the amount with positive and negative signs. positive values will be debit entries (posting key 40 for G/L), negative ones credit entries (posting key 50 for G/L)

Former Member
0 Kudos

Q 1. I tried using BAPI_ACC_GL_POSTING_POST , but could not find a field where in I can pass Tax code. I am using FV50 to park a Document.

Q 2. I need to park a document in FV50L, which has a additional field Ledger group what is the field name for it.

Q 3. I am using the same BAPI for FV50 & FV50L so is there any field which can differentiate between these two transaction codes ?

0 Kudos

Hi Ravindar,

Am in search of the same bapi to park the document, can you please let me know the same, your help will be highly appreciated, Thanks.

Former Member
0 Kudos

Answered

0 Kudos

Hi,

I too have the same requirement.Can you tell me the BAPI name for FV50 parking.

Thanks.

0 Kudos

Dear all,

I know this not correct time to give answer for this post, but i had a same requirement and i got solution, so i want share this. I hope this one will helpful for upcoming viewers.

We can use "BAPI_ACC_DOCUMENT_POST" to park a FI document, for that we have to implement below notes.

SAP Note No. 1282005

SAP Note No. 1157017

After implementing this notes we have to implement BADI "ACC_DOCUMENT" and change the value of C_ACCHD-STATUS_NEW as 2 or 3.

Please refer this link: below link for more details.

http://scn.sap.com/thread/3222250