Skip to Content
avatar image
Former Member

BAPI for FB50

Hi Experts,

Is there any BAPI for FB50. BDC is giving me error. When i enter more than 7 items through SHDB recording any i click on insert button, enter the record and then save, it gives me error Specify account number because when i click on insert button, the business area gets applied to all line items, then i have to manually clear the business area. Then only it gets saved. Please suggect me if there is any BAPI for FB50.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 18, 2008 at 06:12 AM

    Hi

    try this BAPI :BAPI_ACC_GL_POSTING_POST

    Regards

    Shiva

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I am using the same BAPI with tax amount also. The document gets posted but when i goto FB03 to display the document and click on tax button, it shows me tax amount as 0 instead of the tax amount. In the internal table CURRENCY_AMOUNT passed to the BAPI, i am passing the values in the fields : AMT_DOCCUR, TAX_AMT, AMT_BASE. Yet it does not show the value during the display. Do i need to pass any other parameters ?

      Any soln.

  • avatar image
    Former Member
    Dec 18, 2008 at 06:15 AM

    hi,

    plz use : BAPI_ACC_DOCUMENT_POST

    BAPI_ACC_GL_POSTING_POST

    also refer:

    bdc-for-fb50

    is-there-a-standard-bapi-in-the-bor-used-for-tcode

    is-there-a-standard-bapi-in-the-bor-used-for-tcode

    regards

    rahul

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 18, 2008 at 06:16 AM

    Hi,

    Goto Se37 and Type BAPI_ACC* then press f4 Key you will get list of BAPI's for GL Posting choose as per your requirement.

    Vikas

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 18, 2008 at 06:20 AM

    HI

    check

    BAPI_ACC_DOCUMENT_CHECK

    regards,

    Ramya

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 30, 2008 at 12:33 PM

    Hi,

    Is it possible to get the document no. generated by this BAPI???

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 27, 2009 at 05:49 AM

    We are posting vendor invoice with tax. System will calculate the tax automatically when we will give the tick on the field "calculate tax" on the t. code FB60 OR F-43. we have used the BAPI BAPI_ACC_DOCUMENT_POST. In that BAPI we have used AccountGL, CurrencyAmount, Acccount Payable. In that bapi we are not getting field calculate tax.

    Secondly we have tried to fill internal table "Account Tax" for posting the tax amount but it gives error - Line item entered Several Times. So we have removed the Internal table and we tried to post the document with tax code field in AccountGL and AccountPayable. Document gets posted by the system but wiithout calculating tax line item.

    Please suggest for a solution.

    Edited by: priti suryawanshi on Aug 28, 2009 7:05 AM

    Add comment
    10|10000 characters needed characters exceeded