Skip to Content

BAPI for Park Document -> F-65 or FV50

Hi,

I would like to know the BAPI for Park Document (F-65 or FV50) for Vendor.

I had used BAPI_ACC_GL_POSTING_POST and BAPI_ACC_DOCUMENT_POST for Vendor, but it is getting Posted instead of Parking. Is there any indicator which specifies to create a Park document in the above BAPI's or Please let me know the exact BAPI for creating a Park Document.

When I use the above BAPI's, the data is getting stored in BKPF and BSEG table. Instead if I create a document usinf F-65, the data is getting stored in BKPF and VBSEGS etc.

Thanks,

Ravi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 22, 2009 at 02:56 PM

    Hi

    To park the document using FM BAPI_ACC_DOCUMENT_POST or FM BAPI_ACC_GL_POSTING_POST.

    you must use the value '2' to C_ACCHD-STATUS_NEW ( C_ACCHD-STATUS_NEW = '2') by which it should actually park the document.

    Hope this helps

    Cheers

    VJ

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 24, 2010 at 05:48 PM

    Alternative to the solution suggested here since it did not work for me. Hope it helps someone.

    SAP does not provide with any Standard BAPI to park an accounting document instead we have function module PRELIMINARY_POSTING_FB01 which parks the document.

    I have used Following fields in my case, some fields may not be required.

    BKPF table:

    BUKRS GJAHR BLART BLDAT BUDAT MONAT CPUDT WWERT USNAM TCODE GLVOR HWAER HWAE2 BASW2 UMRD2 CURT2

    KUTY2 AUSBK

    BSEG table :

    BUKRS GJAHR BUZEI BSCHL KOART SHKZG DMBTR WRBTR KZBTR PSWBT PSWSL VALUT VORGN KOKRS XKRES HKONT

    XBILK PAOBJNR PASUBNR

    Other issue i faced is that i wanted to POST to COPA too for which we had to generated PAOBJNR number. I made use of function module COPA_PROFITABILITY_SEGMENT.

    Following fields were passed in I_COBL structure :

    GLVOR VORGN BUDAT BLDAT BUKRS HKONT KOART KOKRS GJAHR BLART BSCHL WWERT WAERS DMBTR SHKZG WRBTR DMBE2 VTWEG KUNNR PAPH1

    any extra fields can be populated using IT_COPA internal table.

    I hope this answers everyone's question who have been looking to PARK accounting document .

    Thanks.

    Saurabh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Saraub,

      We are facing similar issue. Can you explain how you updated the COPA fields? Did you COPA_PROFITABILITY_SEGMENT to update the fields, or just to assign the PAOBJNR value? I've tried numouers was with this, to no avail.

      Thank you,

      Jim