Post with Clearing: BAPI for clearing open items

Hi,
I'm looking for a way to use the logic of transaction F-30 (Post with Clearing) in an external application. I want to clear open items. Is there a BAPI or something else for it? While debugging transaction F-30 I found the function module POST_DOCUMENT together with function module FI_DOCUMENT_PROCESS which are used to actually clear the selected open items. But there is lot more coding around these function modules that might be needed/important. So, is there a BAPI that puts all together? Or what's the best way to do it at all?
Regards,
Robert

Hi,
BAPI_CR_ACC_GETOLDESTOPENITEM BAPI/BUS1010: Determine Oldest Open Item .... BAPI_AR_ACC_GETBALANCEDITEMS Customer account clearing transactions
thanks
abdul

Similar Messages

  • How to calculate with holding tax for the open item

    Dera all,
    Can you tel me how to simulate with holding tax for the open item? i will try do it using FI_WT_F110_CALCULATE FM  but it dosnt work. plz help me
    regard
    nawa

    Hi Sushil,
    can you please elaborate on how you resolved it. we are facing the same issue with BAPI not calculating the withholding tax data.
    Thanks,
    Sanket

  • Clearing problem for vendor open item

    while clearing open item of vendor through T-code F-44 i am facing the problem following problem
    Document splitting :-Item for clearing 1000/100020603/2006/005 not found,
    Daignosis as given in error:-document splittting cannot be performed clearing because it was not possible to find complete splitting information items to be cleared(company code 1000, doc. no.100020603, item 005). procedure as provided by the error massage is that the item  was not posted  with active document splitting. In this case this item or document would have to be migrated

    Dear Sweta,
    I think there is no such a table, as you expect, existing in SAP. As I know here are the
    most popular table about Accounting documents.
        Accounting documents
        BKPF                Accounting documents
        BSEG               item level
        BSID                 Accounting: Secondary index for customers         
        BSIK                 Accounting: Secondary index for vendors           
        BSIM                 Secondary Index, Documents for Material           
        BSIP                 Index for vendor validation of double documents   
        BSIS                 Accounting: Secondary index for G/L accounts
        BSAD               Accounting: Index for customers (cleared items) 
        BSAK                Accounting: Index for vendors (cleared items)   
        BSAS                Accounting: Index for G/L accounts (cleared items)
    If you need information about open line items of a certain day, you have to use ABAP.
    Regards.
    Maxielight.

  • Vendor posting with discount base larger than open items amount

    Hello,
    I'm trying to do the following post:
    Vendor (Debit) 500 u20AC
    Cost Account (Debit): 1250 u20AC
    Bank Account  (Credit) : 2000 u20AC
    VAT (Debit) 250 u20AC
    And I got the following warning message: "Items rel. to cash disc. Total 750 larger than open items amounts total of 500u20AC".
    This is because system is calculating a discount base for vendor of 750u20AC [ 500u20AC  from vendor + 250u20AC from VAT).
    This shouldn't happen because I have in customizing (company code global data) selected the option "Discount base is net value" so system should calculate the discount base without the VAT amount.
    Do you know why is this happening?
    Best Regards

    So you want discount to be automatically populated when the open item is eligibile for discount?
    There is automatic account assignment for this. Goto OBXI- give the gl account and posting key here.
    This should take care.

  • BAPI for clear open item in FI module

    Hiu2026
    Anybody knows if there is a BAPI for clear open item in FI module?
    Manually we can use F-03 or F-04 for clearing open item.

    http://www.se80.co.uk/sapfms/b/bapi/bapi_ctraccontractaccount_clr.htm

  • Bapi for clearing reversed items of invoices

    Hi,
    Is there a BAPI for clearing invoice against its reversed item and down payment against its invoice.
    I know we can do it using BDC but was looking for a BAPI.
    I greatly appreciate feedback.

    Hi,
        Use this
    BAPI_PAYIT_POST_CLEARING
    <b>Reward points</b>
    Regards

  • Do F-32 Clear Customer and Process Open Items just do BKPF/BSEG adds/chgs ?

    !uestion 1:
    When a user executes F-32 in  "clear customer" and "process open items" modalities, are BKPF and BSEG the only tables that actually get changed via adds or updates?
    Or are there other tables affected as well?
    Question 2:
    If BKPF and BSEG are the only affected tables, can I safely emulate the effect of the F-32 Clear Customer and Process Open Items Modalities by:
    1) examining the BKPF/BSEG records added or changed;
    2) using the appropriate BAPI(s) to accomplish these adds/changes (like BAPI_ACC_DOCUMENT_POST)
    Question 3:
    If BKPF and BSEG are NOT the only tables affected by F-32 Clear Customer and Process Open Items, can I emulate these modalities of F-32 thru an appropriate combinaton of BAPIs ?
    Note:
    The reason Im asking these questions the way I am is because a search  of SDN turns up no really good answer to the question of whether the Clear Customer and Process Open Items modlaities of F-32 can be emulated by one BAPI or a combination of BAPI's.
    So by formulating questions (1-3) the way I have, I'm hoping that someone will provide SDN with a clear and definitive answer to the "F-32 BAPI Emulation" question.
    Thanks for any expert advice anyone can provide.
    Best
    djh

    Actually, the "right" answer in this case is to call CLEAR_DOCUMENTS and model the call after the call in PRELIMINARY_POSTING_ZANF_CLEAR

  • F-03 Clearing of GL Accounts open items

    Hi SAP Gurus,
    We are doing f-03 <Clearing of GL accounts open items>  There are about 50,000 plus open items that needs to be cleared.  In order to clear each item,  i guess you need to double click each...but it consist of 50,000 plus.
    I there any other way instead of double clicking the items specially if it consist of thousand of items?
    Please help.
    Moderator: use T-code F.13 and avoid asking basic questions

    Hi,
    My user is clearing the bank gl account after uloading the statements thru MT940.
    But when we clear the account by putting the clearing date 30.09.2007 the system should clear the document by defining the date 30.09.2007 But system is showing the clearing date as 01.10.2007 in that particular gl acct.
    What can be the issue for this?
    regards
    M

  • Cannot Clear G/L Account Open Items (F-03)

    Hi Expert,
    During perform Clear G/L Account Open Items (F-03), there is error message "There are no open items managed in account 2309001".  Checked the G/L at FS00 - Control data tab (Open item management) is not ticked.  Only line item display was ticked.
    This G/L under Account group = General A/L Accounts, Field status group = ZB50 (Balance Sheet-others).
    When we run the FBL3N to check the open item for this G/L, found that the G/L still have 2 lines item is open, the rest of items had been cleared.  How can we perform clearing for the entire open line item in this G/L ?
    thanks.
    rgds,
    tee

    Hi Expert,
    The problem now is why only 2 items cannot be clear,
    but the rest of items can be clear, some more all of these items is refer to same document type (SA & KR).
    I'm trying to ticked the check box as Open item management, but system prompt out msg "Open item management is not defined for reconciliation accounts"  What does it means ?
    thanks.
    rgsd,
    tee

  • Clear Huge Volume of Open Items

    Hi Experts.
    I need your help to identify a way to Clear Huge Amounts of Open Items. After my initial analysis i have ~50 Million Open Items in only one Company Code and only in One Account.
    The tools available are shortdumping due to huge amounts of data (average per month is ~700 000 OI.
    Is there any alternate way to clear those Open items via custom ABAPs or advance SAP tools?
    Thanks

    Hi All thanks for the tip on F.13. I also moved an OB74 rule to clear the data.
    but once the Items are being selected i am receiving the followin error. I know documents only expect 999 lines. Is there any custom or something to check this?
    SAPMF05A 0131 S F5 074 798,131 items were selected
    SAPMF05A 0700 E F5 734 Item 1000 should be created; a maximum of
    999 items are allowed.
    The example was for only one month.

  • Who does know which bapi for Clearing,sucu as F-32 F-44  ,thank you!

    i want to find a bapi for Clearing,such as F-32 F-44 ,
    but i can't find it ,i don't kown whether have such bapi,
    who can tell me ,thank you very much!

    You can use the report RFBIBL00.
    Please read the documentation of this report to have a better idea.
    Generally, this report can post all type of FI douments like document creation, clearing of the documents. So, I think this will solve your purpose.
    Regards,
    Naimesh Patel

  • Customer Tolerance for all open item selected in an incoming payment.

    Hi Experts
    I have set a tolerance of 5 $ in OBA3 to be written off to Bad Debts account. This  settings are working fine when an incoming payment is entered in F-28.
    My requirement is, in F-28 I enter the Document Date, Posting Date, Company Code, Currency, REF, Doc.Header Text in the document header & enter the Bank Account, Amount and Text, then instead of entering the customer account in open item selection, I selet the process open items and Select the Reference as the selection criteria and enter a list of references (for clearing a Batch of open items for different customers).
    Standard tolerance functionality will check if the complete incoming document meets the specified tolerance limits set in OBA3. But I want the tolerance of 5 $ specified to be applied for all the open items selected to be cleared with the incoming payment.
    I understand that tolerance will be applied when the amount entered and amount of the open items (total) is within the specified tolerance.
    But is there any option which will check if each of the open item selected for processing short of 5 $ and then write off to the bad debt account specified in OBXL.
    Do we have any user exit, or BADi or can we use any of the BTE functionality to achieve this.
    Kindly give your valuable inputs..
    Thanks in Advance.
    KIM Khan.

    Kim,
    Did you get answer to this question? If so can you please share with me?
    Thanks

  • Function module for customer open item aging report

    Hi all,
    Please let me know the FM for customer open item aging or which FM is used in tcode S_ALR_87012178 to get the age wise open item of customer.
    Thanks in advance
    Regards
    Puneet

    <b><u>Part4</u></b><br />
    <br />
    <pre class="jive-pre"><code class="jive-code jive-java"><font color="red">&quot;&#38;----</font>
    <font color="red">&quot;*&#38;      Form  process_data</font>
    <font color="red">&quot;&#38;----</font>
    FORM PROCESS_DATA .
      DATA : L_TOTAL_TMP(15). <font color="red">&quot; LIKE BSID-DMBTR. </font>
      CLEAR :  L_TOTAL,LPD_TOTALS.
    <font color="red">&quot;* As per Customer accumulate the amount.</font>
    <font color="red">&quot;* For overdue items.</font>
      CLEAR : L_TOTAL_TMP.
      LOOP AT L_OPENDUE_LT.
      CONDENSE L_OPENDUE_LT-DMBTR NO-GAPS.
      L_TOTAL_TMP = L_TOTAL_TMP + L_OPENDUE_LT-DMBTR.
        AT END OF KUNNR.
          LPD_TOTALS-KUNNR = L_OPENDUE_LT-KUNNR.
          LPD_TOTALS-LPD_TOTAL = L_TOTAL_TMP.
          APPEND LPD_TOTALS.
          CLEAR : L_TOTAL_TMP.
        ENDAT.
      ENDLOOP.
      CLEAR :  L_TOTAL,LOA_TOTALS.
    <font color="red">&quot;* As per Customer accumulate the amount.</font>
    <font color="red">&quot;* For Open Items.</font>
      CLEAR : L_TOTAL_TMP.
      LOOP AT L_OPENDUE_LE.
        CONDENSE L_OPENDUE_LE-DMBTR NO-GAPS.
        L_TOTAL_TMP = L_TOTAL_TMP + L_OPENDUE_LE-DMBTR.
        AT END OF KUNNR.
          LOA_TOTALS-KUNNR = L_OPENDUE_LE-KUNNR.
          LOA_TOTALS-LOA_TOTAL = L_TOTAL_TMP.
          APPEND LOA_TOTALS.
          CLEAR : L_TOTAL_TMP.
        ENDAT.
      ENDLOOP.
    <font color="red">&quot;* Get ageing data based slabs, and duedate.</font>
      PERFORM AGEING_DATA.
      LOOP AT L_BSID.
    <font color="red">&quot;* Move the data to final internal table.</font>
        MOVE L_BSID-KUNNR TO FINAL_DATA-KUNNR.
        MOVE L_LANDX TO FINAL_DATA-LANDX.
        MOVE L_PSTLZ TO FINAL_DATA-PSTLZ.
        MOVE L_NAME TO FINAL_DATA-NAME1.
        MOVE L_PHONE TO FINAL_DATA-PHONE.
        MOVE L_SORTL TO FINAL_DATA-SORTL.
        MOVE L_BSID-ZTERM TO FINAL_DATA-ZTERM.  
        MOVE L_BUSAB TO FINAL_DATA-BUSAB.        
        READ TABLE LPD_TOTALS WITH KEY KUNNR = L_BSID-KUNNR.
        IF SY-SUBRC EQ 0.
          MOVE LPD_TOTALS-LPD_TOTAL TO FINAL_DATA-LPD_TOTAL.
        ENDIF.
        READ TABLE LOA_TOTALS WITH KEY KUNNR = L_BSID-KUNNR.
        IF SY-SUBRC EQ 0.
          MOVE LOA_TOTALS-LOA_TOTAL TO FINAL_DATA-LOA_TOTAL.
        ENDIF.
        READ TABLE AGE_DATA WITH KEY KUNNR = L_BSID-KUNNR.
        IF SY-SUBRC EQ 0.
          MOVE AGE_DATA-CURAMT TO FINAL_DATA-CURAMT.
          MOVE AGE_DATA-AMT1 TO FINAL_DATA-AMT1.
          MOVE AGE_DATA-AMT2 TO FINAL_DATA-AMT2.
          MOVE AGE_DATA-AMT3 TO FINAL_DATA-AMT3.
          MOVE AGE_DATA-AMT4 TO FINAL_DATA-AMT4.
          MOVE AGE_DATA-AMT5 TO FINAL_DATA-AMT5.
          MOVE AGE_DATA-AMT6 TO FINAL_DATA-AMT6.
        ENDIF.
        ENDIF.
        APPEND FINAL_DATA.
        CLEAR: FINAL_DATA.
      ENDLOOP.
    ENDFORM.                    <font color="red">&quot; process_data</font>
    </code></pre>

  • How to create ABAP Query for vendor open items

    HI,
    My client has requested me to create ABAP Query for vendor open items . So that it will be usefull for the users . Could anyone help me with this. I will assign you points.Thanks in advance.

    Hello,
    Use Table BSIK <Open Items of AP > & BSAK <AP Cleared items>......
    For Query you can use SQ01.
    USE BSID & BSAD for AR open/clear items...
    LFA1, LFB1 are vendor master data tables
    This is FYI
    Hope this helps.
    Rgds
    Rajendra

  • How to Prepare Flat File for Vendor Open Items for RFBIBL00

    Hi Experts,
    I have to prepare a flat file structure for vendor open items to use in RFBIBL00.
    I tried to take structure from the structures BBKPF and BBSEG structures.
    I have 59 fields in my file and I need to map these fields with the structures BBKPF and BBSEG to prepare the structures for
    Header and Items for vendor open items.
    Can any body help me how to prepare the flat file structures.
    Thanks & Regards,
    Sudheer
    Edited by: sudheer kumar on Dec 4, 2009 11:09 AM

    RFBIBL00 has a documentation please check it

Maybe you are looking for

  • Select Multiple refinements of a facet at a time

    Hi, Could anyone suggest me to implement selecting multiple refinements of a facet at a time( it should be function as OR). In documentation, i see it is buit in functionality in ATG 9 version with PIPE symbol ( eg Blue |Green) . But i am using ATG 2

  • Disappearing user settings

    Last year I set up a mini for my wife and added it to a small network connected to my iMac. To speed things I went through the mini installation as if I were the only user and she has been operating the mini ever since. Last week I was helping her or

  • How to deliver EJB to iPlanet6.5

    My IDE is Jdeveloper903 ,how to deliver EJB to iPlanet6.5 iAs?

  • Acrobat XI 11.0.06 update fails during install

    acrobat XI 11.0.06 update fails during install. Any advice or help? Here is the installer log contents: Jan 17 00:32:34 fox.local installd[5955]: PackageKit: ----- Begin install ----- Jan 17 00:33:44 fox.local installd[5955]: PackageKit: Install Fail

  • Callmanager upgrade fails

    guys have a cm ver 6.1(1) which wont upgrade, have tried to upgrade to a few diff vers, anyone ever seen this type of error before