Error in BAPI for salary account posting

Dear Experts,
    I am developing and report for salary account posting whrere i am using a bapi called BAPI_ACC_DOCUMENT_POSTING. Which require RFC destinetion of the target system where the document should post in its import parameters.But m not passing anything thr and its automatically taking an rfc destinatin.But while i try to run this report document is not posted and in its return table 2 error msgs comes
1. Error in document: BKPFF $ CLNTD11320
2. FI/COinterface: Line item entered several times
   Pls provive me input if any one has come across this error.

Line item passed to the vendor and gl tables of the bapi cannot be if vendor table contains 3 entry with line item 1,2,3 gl should contain line item starting from 4.Line item field cannbe field manually using a count variable.

Similar Messages

  • Require standard BAPI for GL Account Posting

    We are creating a GL Account Posting in Transaction F-02.
    We are giving Document date Document type Posting Date, Currency type , Company code, Posting Key AccountNo, Amount.
    Click on Save Button . A screen appears.  Then the Document is Parked. A document No is generated.
    i want a standard BAPI which does this Process

    Check the BAPI's


    please any body tell me how to insert BAPI for transaction code F-43/FB01.
    I want to map data from external software.
    I am using insert BAPI using tables BSEG,BKPF,LFA1.
    data is not displaying in FB03.
    Kindly reply me as soon as possible.....
    Waiting for a reply....

    Make sure that you call BAPI_TRANSACTION_COMMIT after your BAPI call.

  • Report for list of invoce for that accounting posting is due

    Is there is any report to see the list of invoice for that accounting posting has not done.Please reply ASAP.

    Go to T code VF05n and check open Billing documents and execute. System gives you the list which are pending for posting to FI.

  • BAPI for goods reciept posting

         Can Any one provide me BAPI for goods reciept posting.
    Moderator message: please try finding out yourself before asking.
    locked by: Thomas Zloch on Aug 17, 2010 10:55 AM

         Have a look at
    Moderator message: please do not encourage laziness by replying to such questions!
    Edited by: Thomas Zloch on Aug 17, 2010 11:00 AM

  • Is there any bapi for salary

    hi all,
    is there any bapi for salary

    BAPI_ACC_EMPLOYEE_PAY_CHECK    Accounting: Check Vendor Acct Assignment for HR Posting
    BAPI_ACC_EMPLOYEE_PAY_POST     Accounting: Post Vendor Acct Assignment for HR Posting

  • BAPI for Picking and Post Goods Issue ?

    Hi All,
    Is there any BAPI for doing Picking and Post Goods Issue in VL02N ? I don't think we can use BAPI_OUTB_DELIVERY_CHANGE.
    Is it advisable to use BAPI or BDC ( if no BAPI exist ).  Thanks in Advance.

    BAPI for picking in VL02N
    BAPI for posting Goods Issue
    For reference:

  • BAPI for transfer with posting -FB05 (transaction f-04)

    We are running R/3 4.7.
    Does anyone know if there is a BAPI that will do a transfer with clearing for GL accounts? The SAP transaction for GL transfer with clearing is F-04. If so could you let me know the name of the BAPI.
    Thank you

    Hi Christopher,
    Have a glance at the link below, here you can find list of BAPI's

  • BAPI for TOCE : FF68 - Posting Incoming Payments from Customers

    Can anybody provide me if there is any BAPI for the transaction FF68 : Posting Incoming Payments from Customers?
    Yash K

    OBZT just controls the display of the various tax codes in the drop down list if MIRO/ FB60 etc.
    You need to maintain the atx coe correctly in FBZP. Go to FBZP and in this tax code and check whether the tax rates etc. have been defined correctly for it.

  • BAPI for GL Account doc parking

    Hi All,
    Is there any BAPI for the GL Account Doc parking in SAP R/3.
    Pls let me know at the earliest.
    Thanks in advance.

    I've tried several FMs and non seem to work but try the following:
    All credit for Rteve Sowan
    se24 create class ZCL_FI_UTILS
    Create Class, Static method ACC_DOCUMENT_POST
    with the following import params:
    IP_BKPF     Importing     Type     FM_BKPF_TAB
    IP_BSEG     Importing     Type     FM_BSEG_TAB
    IP_BSEC     Importing     Type     FM_BSEC_TAB
    IP_BSET     Importing     Type     FM_BSET
    IP_BSEZ     Importing     Type     ZFM_BSEZ_TAB (your table type of BSEZ)
    Method Code (you could call the function direct, but at least this informs other developer that the method is intended for parking GL Account docs):
        t_bkpf                 = ip_bkpf
        t_bseg                 = ip_bseg
        t_bsec                 = ip_bsec
        t_bset                 = ip_bset
        t_bsez                 = ip_bsez
    Within your program populate Header BKPF
    Accounting Document Header
    gs_bkpf-bukrs                         = '1000'.
    gs_bkpf-gjahr                         = '2007'.
    gs_bkpf-blart                         = 'SA'.
    gs_bkpf-bldat                         = sy-datum.
    gs_bkpf-budat                         = sy-datum.
    gs_bkpf-monat                         = '12'.
    gs_bkpf-wwert                         = sy-datum.
    gs_bkpf-usnam                         = sy-uname.
    gs_bkpf-tcode                         = sy-tcode.
    gs_bkpf-waers                         = 'GBP'.
    gs_bkpf-glvor                         = 'RFBU'.
    gs_bkpf-hwaer                         = 'GBP'.
    APPEND gs_bkpf TO gt_bkpf.
    Populate the Item
    Accounting Document Segment
    gs_bseg-bukrs                         = '1000'.
    gs_bseg-gjahr                         = '2007'.
    gs_bseg-buzei                         = '001'.
    gs_bseg-bschl                         = '40'.
    gs_bseg-koart                         = 'S'.
    gs_bseg-shkzg                         = 'S'.
    gs_bseg-wrbtr                         = '1'.
    gs_bseg-pswsl                         = 'GBP'.
    gs_bseg-vorgn                         = 'RFBU'.
    gs_bseg-kokrs                         = 'N999'.
    gs_bseg-kostl                         = '1000E021'.
    gs_bseg-xkres                         = 'X'.
    gs_bseg-hkont                         = '221001101'.
    Format the Account Doc
        input  = gs_bseg-hkont
        output = gs_bseg-hkont.
    APPEND gs_bseg TO gt_bseg.
    Call the Class Method previously created
    CALL METHOD zcl_fi_utils=>acc_document_park
        ip_bkpf = gt_bkpf
        ip_bseg = gt_bseg
        ip_bsec = gt_bsec
        ip_bset = gt_bset
        ip_bsez = gt_bsez
    So long as GT_BKPF and GT_BSEG are populated (minimum) the document will park.
    The other tables need to be passed as empty tables.
    Have a play

  • Error while using BAPI for F-47 posting.

    I am using the BAPI - 'BAPI_ACC_DOCUMENT_POST' to do a Down Payment Request Posting (F-47).
    Since this is a single line posting, BTE RWBAPI01 was implemented as given in the below link.
    [Re: BAPI or Function Module for F-47 (Down payment request)]
    Inside the BAPI i have passed details in tables :account payable , currency amount & extension1.
    However i get the error " Balance in transaction currency".
    Please let me know if i need to pass any other details. Also what is the exact data that needs to be passed to extension table?

    hi ,
    check this threads
    Check these threads
    Balance in transaction currency 
    Balance in Transaction Currency
    error in Balance in transaction currency
    error in Balance in transaction currency
    Balance in Transaction Currency
    Balance in transaction currency
    if this could help .
    Edited by: Deepak Dhamat on Oct 19, 2010 11:21 AM

  • Error in BAPI for MIRO

    While using BAPI_INCOMINGINVOICE_CREATE to post an invoice with a purchase order (MIRO), we are getting the error message
    "Balance not zero: 165.60 debits: 0.00 credits: 165.60".
    Please help us to detect where the error is.
    We are entering values in 'ITEMDATA', 'GLACCOUNTDATA' and 'HEADERDATA' segments.
    In 'ITEMDATA', we are giving the debit_creditor indicator as 'S' and in 'GLACCOUNTDATA' we are giving the debit_creditor indicator as 'H'.
    In both 'ITEMDATA' and 'GLACCOUNTDATA' we are providing the item amount as 165.60.
    In header data we have not provided a value for 'GROSS_AMOUNT'. (Even if we provide value of '165.60' in header, we get a similiar error)
    The PO has got onlly one line item.
    This is a high priority issue. Please help.

    I think we need to post debit and credit entries in the  'GLACCOUNTDATA' for the same amount.
    Kiran Bobbala

  • F-29 Customer down payment, error, system ask for vendor account

    When I enter customer down payment through F-29 I receive message F5243 'Account type K is not defined for document type DZ'.
    If I use other document type, I receive the same message. I DO NOT NEED ACCOUNT TYPE 'VENDOR' HERE. (When I choose with F4 I receive search for CUSTOMER, and special GL also for CUSTOMER.)
    If I change that (and allow acct type 'K'), system issue message F5104 'Vendor not created in CoCode'.
    If, for example I have the same number for vendor and customer (SAME NUMBER, NOT THE SAME COMPANY), system allows me to go further, but takes information for 'Vendor down payment' (made in Customizing).
    I would like to point that there is no link in master date between customer and vendor account.
    My only clue is that something is wrong with this transaction (there is no SAP note for this exact problem, and all other posts on the same subject here on SDN are not resolved)
    Maybe someone has idea about connection of this tcode with logistic...

    Hi Amina,
    For that u check weather u assign vendor special gl account to customer reconcile account in OBXR.
    Select special gl type  D in OBXR and give the reconcilation account of customer and special gl account

  • Error in BAPI for ME21N

    I have developed a Z program for ME21N by using BAPI( BAPI_PO_CREATE1). When I executive it always shows
    "Please enter items first. No instance of object type PurchaseOrder has been created. External reference: Document contains no items".
    Would you suggest how can I solve this problem
    Best Regards

    Hi mahaboob,
    Before creating Z program  , first  execute Function module itself in se37 by passing required parameters with help of functional consultant and if any errors occurs , functional consultant can easily idetifies and resolves it. After successfully execution, develop the Zprogram.
    Place the parameters what you are passing , so that i can help you if you need.

  • BAPI for F.04 (Posting with Clearing)

    Hi Experts,
    I got 2  Function Modules for F.04. T.code,
    please tell me which one is more suitable and if possible  then please provide code
    Thanks & Regards,
    Vimarsh B.

    Please find the code below:
    LOOP AT it_upload_rec.
        header-bus_act = 'RFBU'.
        header-doc_date = it_upload_rec-bldat.
        header-pstng_date = it_upload_rec-budat.               header-header_txt = 'F-02 Posting'.
        header-comp_code = 'PL10'.
        header-doc_type = 'SA'.
        header-username = sy-uname.
        APPEND header.
        CLEAR header.
        account_gl-itemno_acc = '1'.
        account_gl-gl_account = it_upload_rec-account1.
        APPEND account_gl.
        CLEAR account_gl.
        account_payable-itemno_acc = '2'.
        account_payable-vendor_no = it_upload_rec-account2.
        APPEND account_payable.
        CLEAR account_payable.
        currency_amount-itemno_acc = '1'.
        currency_amount-currency = 'INR'.
        currency_amount-amt_doccur = it_upload_rec-amount.
        APPEND currency_amount.
        CLEAR currency_amount.
          documentheader          = header
    *   CUSTOMERCPD             =
    *   CONTRACTHEADER          =
      obj_type = gv_obj_type
      obj_key = gv_obj_key
      obj_sys = gv_obj_sys
         accountgl               = account_gl
         accountpayable          = account_payable
    *   ACCOUNTTAX              =
          currencyamount          = currency_amount
    *   CRITERIA                =
    *   VALUEFIELD              =
    *   EXTENSION1              =
        return                  = it_return
    *   PAYMENTCARD             =
    *   CONTRACTITEM            =
    *   EXTENSION2              =
    *   REALESTATE              =
    KR Jaideep,

Maybe you are looking for

  • Adobe Connect 9 Add-in for Linux

    Hello, Are you planning on releasing the Linux add-in for adobe connect 9 anytime soon?. The 9 version has been released for a while now but there is no news about the Linux add-in, we have quite a few Linux users and they are already starting to com

  • Matrix Report with Fill Zero

    Hello , I created a matrix report , Outer join is using in query ,so couldn't fill "0" to blank ammount column , please help me Query is :- SELECT nvl(AAMT,0) AAMT, nvl(AHRS,0) AHRS, JOBNUM JOBNO, B.USERCCM, B.CCMNAME FROM (SELECT SUM(ACTAMT) AAMT, S

  • How to create links and display information dynamically depending on search

    hi everybody I have a search textbox in which the user has to give the search string like date of birth. For the search string , records will be retrieved from the database. The number of recordds will vary. Only the names of the corresponding person

  • TS4006 Why is the Find my Phone app showing my iPhone to be in a different location than where it is?

    I have my son's iPhone registered on my Find my Phone app. but it's showing his phone to be in a different location than it is - I know as I've just called him at his friends house on the landline but its showing him to be about 1/4 of a mile away fr

  • CRM 7 Marketing Resource Management and BI

    Hello Gurus, we want to use the scenario for marketing resource management with integrated BI. Unfortunately in customizing and SAP Help only the connection to SAP BI BPS is described. As far as I know BPS is an old tool. What about the use of BI-IP