BAPI_ACC_DOCUMENT_POST for Clearing (F-30)

How can we use BAPI_ACC_DOCUMENT_POST for Account posting with Clearing(F-30). I am able to do it for normal GL postings(FB01).I want to use this BAPI for clearing the Open items for a given customer...
Thanks
Rajesh

I don't think BAPI_ACC_DOCUMENT_POST is designed to perform a "Post with clearing".  However, function module POSTING_INTERFACE_CLEARING will allow you to access the functionality of transaction FB05 (F-30 is really calling FB05 with BKPF-BLART = 'DA').  The FM documentation contains the following:
<i>Post with clearing (FB05) using internal posting interface
Function module 'POSTING_INTERFACE_CLEARING' creates a batch input transaction (or Call Transaction ... Using ...) for a document to be posted using transaction FB05.
The document header data and the data for the bank postings are transferred to table FTPOST. The rules for filling table FTPOST are described in the documentation for function module 'POSTING_INTERFACE_DOCUMENT'.
</i>
Best of luck!
Regards,
James Gaddis

Similar Messages

  • Can i use BAPI_ACC_DOCUMENT_POST for clearing open items of credit memo

    Can i use BAPI_ACC_DOCUMENT_POST for clearing open items of credit memo
    If yes kindly let me know the import parameters and what this BAPI returns

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

  • Can i use BAPI_ACC_DOCUMENT_POST for clearing open iyems of credit memo

    Can i use BAPI_ACC_DOCUMENT_POST for clearing open items of credit memo
    If yes what are the values i need to pass yo this BAPI.
    If not kindly suggest one with the values to be passed.

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

  • BAPI _ACC_DOCUMENT_POST for clearing open items

    Hi,
    I am using BAPI_ACC_DOCUMENT_POST for clearing open items.
    When i post the same in F.13 (automatic clearance ) there is no error log,when i do in BAPI_ACC_DOCUMENT_POST
    its returns two errors.
    609 Error in document: IDOC 010000008410012009 CKDCLNT140
    702 Balance in transaction currency
    Header details are given as per certain sdn suggestions.
    note: i have changed the G/L account as automatic account (if i am using original G/L account its throwing an error msg
    such as direct posting not possible).
    Can any one help to get through this??
    Edited by: sangeearvind on Dec 16, 2009 12:24 PM

    Hi
    The first problem is you're using the wrong BAPI: BAPI ACCDOCUMENT_POST is to post account document, not to clear open item.
    I don't think there's a BAPI to do it
    Max

  • Document splitting: Items for clearing 0010/100062508/2010/001 not found

    HI Gurus,
    I hava issue with FC valuation. I have done configurtin for FC Valuation of GL A/c i.e, Long Term loan paybles which is created as Open Item management.
    It is working fine post the entries at the end of May and reversed  the same on 01.06.2010 in development system. i have moved saem request to Acceptance client and testing the same scenario.  But i am getting the following error.
    "Document splitting: Items for clearing 0010/100062508/2010/001 not found
    Message no. GLT0002
    Diagnosis
    Document splitting cannot perform clearing because it was not possible to find complete splitting information on the items to be cleared (company code 0010, document number 100062508, fiscal year 2010, item 001).
    System Response
    Clearing cannot be performed and the document cannot be posted.
    Procedure
    Exclude the affected item from clearing.
    It may be that this item was not posted with active document splitting. In this case, this item or document would have to be migrated."
    I have checked the docuemnt splitting config . In two systems it was same and doc.splitting was configurated very long back.
    Could any one help on the above error
    Thanks in advance
    PAVAN

    Hi Pavan,
    Please note the following, the error GLT0002 is normally caused by a change done in your customizing for splitting. Since you mentioned that this is happening for one company code, it seems to be that one change was made only for this company code in your SPRO settings.
    For example if you have activated open item managment subsequently on account or another example would be that you posted document prior to activation of document splitting.
    Please see section 5 of note 891144:
    Items posted while open item management was still inactive in G/L account master data cannot be cleared after open item management has been activated subequently if New G/L document splitting is active.
    Therefore, if document splitting is active, open item management should never be activated subsequently on accounts to which documents had already been posted with inactive open item management.
    Review note 891144 in full. I believe that this will help you resolve the issue.
    Best Regards,
    Vanessa.

  • Document splitting: Items for clearing not found

    Dear All,
    I have created bank gl without tick of open item management now i have activate OIM &  Transcation exisit for the same
    I have done it as given below:
    1) I have made GL balance Zero by posting an additional entry by F-02 (document type SA)
    2) Block the GL for posting
    3) though help of programe RFSEPA02 i have done the same.
    Now the GL is OIM
    Now i have to reverse the additonal entry pass to make GL balance zero
    At the time of reverse through FB08 system gives an error massage
    *" Document splitting: Items for clearing not found"*
    Please any one help to resolve the issue
    Thanks
    Vijay

    Dear Gladys xing
    Thanks for your reply,
    I have also done the same thing by passing one more entry to create the same balance.
    When i am trying to clear open item for the both the extra entry system gives an same error
    "Re: Document splitting: Items for clearing not found"
    is this possible to clear that open item through F-03
    Thanks
    Vijay

  • Custom FM for clearing

    Dear Experts,
    I want to develop a custom FM for clearing (with the interface of FKK_SAMPLE_TFK115). Basically I want to assign clearing amount available to different items in table T_FKKCL_E115.
    What should I do to define a fixed amount to some line item in table fkkcl
    Say I have 2 open items in account
    Amount       Main Transaction      Sub transaction
    100          6000               0010
    200          6000               0020
    Say consumer makes a payment of 100 and I want it to clear the amounts above by 50(i.e equally between open items) then  as per the documentation of the FM  FKK_SAMPLE_TFK115 i should do this
    Loop at t_fkkcl_e115 where betrw > 0
    E_AUGBW_E115 = u201850u2019
    E_XAKTP_E115 = u2018Xu2019
    Endloop
    But this code is not working. The system posts a credit open.
    What could be the reason?

    Also, when I set an external debugger on the custom FM for clearing and put this custom FM in step 2 of my variant, the system doesnu2019t seem to execute the custom FM when I make the payment. However, if I put the FM in step 1 it does execute the FM.
    I also tried another scenario. I made a payment in such a way that a credit open was posted. Then I ran account maintenance(behind which I had put the same clearing variant as the one mentioned above). Even if the FM has been put in step 1, the system doesnu2019t execute the FM!
    Its strange but for some reasons this is how the system is behaving. If there is any confusion and you guys are not clear about whats happening then please do tell. I would elaborate the issue.
    And guys please try to answer the first post. Would really appreciate. 
    Thanks in advance!

  • Open items excluded for clearing in FP05

    Hi colleaugues,
    At a customer we are trying to setup clearing for payments in the payment lot using clearing variants. Most of this works fine except for one situation. I have found different solutions to tackle the problem in event FKK_SAMPLE_0950 (or a copy that we are currently using).
    I was hoping however that there is some other way to do this using customizing.
    The problem occurs when a customer pays with a payment form reference (VVKKFAPOS-RFZAS) that has already been used for clearing an open item. The document in DFKKOP connected to the payment form reference is no longer open and can therefor not be cleared.
    We wanted to setup clearing steps in a clearing variant that first checks if a document can be clearerd using the payment form refrence and if not succesfull be cleared against other open items on the contract that is connected to the Original item from the reference. However it is directly put in the clarification worklist for the payment lot although next to the reference also the contract reference is posted in the payment lot item. The payment lot however only seems to consider open items for the narrowest match on selection criteria, the payment form refrence and the contract.
    Is there an easy way to make SAP also consider other open items on the contract or should I built in a check on open items that discards the payment form refrence and only keeps the contract when the Original item for the payment form reference has already been cleared?
    Regards,
    A. B.

    Hi All, already found it myself. In the details for a payment in the payment lot I can enter different lines with selection criteria for a single payment. One with the contract and one with the reference.
    Sorry for answering this myself....Hope it might be helpfull someday for someone else.

  • Cleared/Open Item Symbol not Green for Cleared Items

    F.13 process for clearing GR/IR matched items runs to tag documents as cleared. For some reason the Cleared/Open Item Indicator is still showing the status as "Red" for the items which are actually cleared, means the items are shown as "Open" while should be cleared and shown as "closed", this indicator should be "Green".
    Any idea in what instance it can happen?

    When I run the FBL3n, and pull the report for Open Items, I see these items as open while matching entry has been done manually through MR11 to clear the items. The balance shows up as zero. But for some reason the clearing document field alongwith the clearing date field is not being displayed when I display the line item. It looks like the clearing document is not being created at all. Let me know if you have some idea on that. It is GR/IR account so the account is managed as open item.

  • Trx F-53, The difference is too large for clearing Message no. F5263

    Hi,
    I created a PO, then I posted the goods receipt, the invoice and I was trying to
    post the payment by F-53 trx.
    When I select an open item from the list and I try to simulate the posting by the menu (Document, simulate), system replies by:
    "*The difference is too large for clearing
    Message no. F5263*"
    Cannot understand why it is not possible to post the outgoing payment
    Regards

    Dear Sappione,
    did You check the tolerances?
    Check in transaction OBY6 the indicator 'No forex rate diff. when
    clearing in LC' is not set the amount is converted with the exchange
    rate valid at clearing date, in case You're clearing in LC a foreign document.
    When you post a clearing transaction with rounding
    differences, those differences are posted to an additional line item
    GL accounts. This account determination is customized as follows :
    FBKP - Exchange rate differences -
    Exchange rate difference in open items - KDF -a/c XXXXXXXXX
    (Realized gain exchange rate difference)
    The accounts used for rounding differences when clearing
    are the realized gain/loss exchange rate accounts.
    please check all the 3 suggestions.
    Mauri

  • Error while posting Invoice IDOC (The difference is too large for clearing)

    Hi All,
    While posting Invoice IDOC to Remittance Advice IDOC get fails with status 51 &  message ' The difference is too large for clearing'.
    Please suggest any solution or reason to fail IDOC.
    Thanks & Regards,
    Ajay
    Moderator message: please search for information and try to find out yourself before asking, this will be a functional problem anyway that should be asked in the appropriate forum, e.g. ERP Financials.
    locked by: Thomas Zloch on Aug 20, 2010 1:59 PM

    Pls check the tolerance amounts limits:
    SPRO--- F/A --AR/AP -
    Business transactions -Open item clearing--- Clearing differance---- Define / Assign tolerance groups for emp -
    Where you need to change the limits of max amounts with the %
    Let me know for any info.
    Regards
    Suresh

  • Nil balance for cleared document

    Hello Experts,
    I want o/p like :
    Debit     Credit     Balance     Clearing document No
    200000               1200000
         200000-     Nil     1200000
    100000               
         50000-          
         25000-     25000
    Can anyone plz tel me how to calculate balance so that i can print "Nil" for cleared documents.
    Thanks,
    Manisha
    Edited by: PATIL MANISHA on Aug 5, 2010 8:57 AM
    Edited by: PATIL MANISHA on Aug 5, 2010 10:57 AM

    Hi,
    Please confirm the key field for which you are doing the report. for instance, in your case hope you are considering the document number.
    Just sum up the debit & credit value. If it is 0, then assign -nil- to the balance. Otherwise, the amount. In your case -
    200000               1200000
         200000-     Nil     1200000
    200000 + (-200000) = 0 & hence -NIL.
    Regards,
    Selva K.

  • Transaction Codes used for clearing Open Items

    Hi Gurus,
    I want to know all the T.Codes used for clearing normal transactions and Open Items. Please tell me when to use which code (viz., while clearing vendors, customers, WH Tax, etc)
    Your earliest reply will be of great help. and naturally i will award you
    Thank you

    Hi,
    F-03     Clear G/L Account
    F-04     Post with Clearing
    F-30     Post with Clearing
    F-32     Clear Customer
    F-39     Clear Customer Down Payment
    F-44     Clear Vendor
    F-51     Post with Clearing
    F-54     Clear Vendor Down Payment
    F-91     Asset Acquis. Posted w/Clearing Acct
    F.13     Automatic Clearing without Currency
    F.19     G/L: Goods/Invoice Received Clearing
    F13E     Automatic Clearing With Currency
    F13L     Autom. Clearing Spec. to Ledger Grp
    Regards,
    Eli

  • Why don't invoices appear in F-44 for clearing?

    Hi all. I have a problem where some invoices entered through MIRO do not appear in F-44 for clearing.
    I have investigated and:
    The invoices have been properly and fully matched against goods receipts for the relevant PO.
    There is no payment block or lock on them.
    They appear in FBL1N for the correct Vendor as open items.
    They are overdue for payment
    There is no block on the Vendor in Vendor Master Data
    Other open debit and credit items for the same Vendor do appear in F-44
    All of the information in the invoices appears to be correct and they posted without a problem when created.
    The correct information e.g. currency etc is entered in the F-44 selection screen
    The invoices do not have any special GL or other setting that appears in that list
    Any suggestions will be greatly appreciated!
    David

    Hi,
    Check some table fields in the missing documents using Transaction SE16. The following conditions must exist:
    BSIS-XOPVW = X      (Indicator: Open item management, only for G/L                     accounts)
    BSEG-XOPVW = X      (Indicator: Open item management)
    BSEG-AUGBL = space  (clearing document number)
    BSEG-DISBN = space  (discount document number)
    BKPF-BSTAT = space  (document status)
    BKPF-XSTOV = space  (indicator reversal flag)
    REGUS/REGUP -> see below
    Should one or more conditions exist, items would not appear in F-44.
    Rgds.

  • Currency "Difference is too large for clearing" when using t-code F-32

    AR Business process is as follows: Invoices are issued.  When payment is received, it is posted using F-26, with reference to customer but no specific invoice. F-32 is then used to match payments against invoices, and clear them.  When trying to clear foreign currency customer items in local currency we receive error message F5263 "Difference is too large for clearing."  We have set tolerance levels at the highest possible amount in OBA4.  Please advise.

    The forum [FPM - General|Enterprise Performance Management (SAP EPM); in which you originally posted your question deals mainly with the financial performance applications otherwise known as Enterprise Performance Management (EPM) carrying the BusinessObjects brand.   Your question pertains to SAP [ERP Financials|SAP ERP Financials; which is covered by another forum.  Therefore your message has been moved.  Please adjust any bookmarks you might have and post to the appropriate area in the future, that way you are assured you will have the right audience reading your posts.
    Thanks and best regards,
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP Labs, LLC
    BusinessObjects Division
    Americas Customer Solutions Adoption (CSA) team

Maybe you are looking for

  • Iphone & airport express

    me and my iphone were out of town last week, and i found myself in a hotel room with free wired internet and for-pay wireless. being too cheap to pay data roaming fees and/or hotel wireless fees, i wished that i could just connect to the perfectly go

  • Strange clients cant talk to OD master problem

    Hi, I'm running here into a really strange behavior of my OD clients, maybe you can help me to find out whats going on. I have an 10.4 OD master running and multiple clients connecting to it. On the clients I did a bind to the OD. I didn't get an err

  • Arrow property in dynamic HtmlCommandSortHeader?

    Hello everyone I am using MyFaces 1.09. In my app, I create a few dynamic columns which are added to my x:datatable in run-time. My problem is this: while entering a new sort column into the table, I manage to use it fully and see it in my table. How

  • Duplicate albums

    iTunes downloaded different tracks from the same album onto two different iTunes albums; I can't find a way to merge the two iTunes albums into one. I don't understand why it created two albums. Any suggestions?

  • Help! Driver for HP dv9560eg QuickLaunc​h Buttons: OS Windows 7 Profession​al

    Hello I´m looking for driver to controll the QuickLaunch Buttons. The volume mute will not change its colour to red. HP doesn´t support my modell with drivers to the Win7 OS. Thanks for your help. Greetings Marcus