Background FI Posting with clearing, posting key control, etc - How?

I have the requirement to post FI documents with clearing, with defined posting keys, where some of the fields come from file, some of them defaulted. It should happen in the background.
I used BAPI BAPI_ACC_DOCUMENT_POST. I had the posting key problem, however with Badi ACC_DOCUMENT using EXTENSION2 I managed to generate the FI docs with the right posting keys.
Now I have problem with clearing. It seems with this BAPI it's not possible to trigger clearing.
I found some threads about FM 'POSTING_INTERFACE_CLEARING', however I don't think I can have any influence on the posting key and generated line items. So it doesn't help to me.
FM BAPI_PAYM_ITEM_POST_CLEARING is for payments.
Using program RFBIBL00 would be difficult, as far as I can see it can only use file in the specific format as an input.
I should read my file and generate another file and call this program. This wouldn't be really the best approach.
In this moment the only solution I can think of is transaction recorder/call transaction approach. Unfortunately this solution would be really release-customizing dependent and not performance-optimized.
Any other idea?
Thanks in advance,
Peter

Hi Rob,
Thanks for your answer.
In one of the sap standard batch program I found FM FI_PSO_DOC_DIRECT_INPUT. I'll give a try, it might help also.
Best regards,
Peter

Similar Messages

  • Unable to clear open items through post with Clearing F-04

    Hi Experts,
    I want to clear one GL code through transaction F- 04 Post with Clearing.
    When I clear the open items throgh f-04, (Document types UA , KR , MJ ) it posts the document but again it makes a new line item as a open item with same amount.New line item shows in a list as a open item. ( I tryed F-03 as well)
    I am unable to unable to understand the exact functionality of transacion F-04.
    Can anyone explain me please ? Please advice if I am missing anthing on this.
    Thanks,
    Manasi

    Hi Manasi,
    As the name suggest, F-04 allows you to POST to one account by CLEARING another account.
    For example you have a provision account which needs to be adjusted when the actual expense is paid -  this how it will be done -
    Give the document header details, select "Transfer posting with clearing", enter the posting key (40), give the GL account (expense account as per the example) and go to the next screen.
    Give the amount and other details for the line items and then select "choose open item" from the menu. The new screen will ask you to give an account where you will give the provision account (the account from which the open item needs to be cleared).
    Press enter and you will get the list of open items for the GL account from where you can proceed like any other clearing.
    Hope this clarifies. Do revert in case of any further queries.
    Thanks and Regards,
    anit

  • TCode: F-30 (Post with Clearing)

    Hi experts,
    I faced problem when want to post thru transaction code: F-30.
    I Logon SAP with my User ID: FIN-AAA
    Transaction Code: F-30
    Document Date: 08.12.2009
    Posting Date: 08.12.2009
    Document Type: DN
    Currency: USD
    Doc Header Text: Clearing
    Clearing Text: Clearing
    Select radio button: Transfer posting with clearing
    Choose Open line item: 2 lines with same amount attached.
    Then, select Document Tab > Simulate
    Result: Prompt up error message: "Enter line items first of all or choose open items."
    But i tried another User ID: FIN-CCC
    Same step and posting:
    Result: Prompt up successful message: "2 items were selected"
    I had checked on all authority for T-Code: F-30, and attached all roles into User ID: FIN-AAA.
    But, still found same error.
    How I want to solve this issue?

    HI,
    First you need to enter Debit line item if you are clearing credit balance or credit line item if you are clearing debit blance.
    Posting keys for customer: 07 or 17
    Postking keys for Vendor: 27 or 37.
    Posting keys for GL: 40 or 50
    System is asking you want to clear againt which either gl or customer or vendor. This is the meaning of the error.

  • Post with clearing through transaction code f-04

    Hi
    While clearing the Gl account Manually with transaction code F-04 we
    are getting the Error Consolidated companies SASA and ' ' are different
    Diagnosis
    The number of the affiliated company must be clear for the selected
    document type for all line items. In this case at least two different
    companies or a company in connection with a business partner who does
    not belong to a company are stated.
    Procedure
    If you selected the correct accounts, you must enter the document with
    a document type that allows cross-company posting. Otherwise, please
    correct the entered account.
    Please help in this matter. This is bit urgent
    Regards
    Vinay Bhaskar

    Hi Manasi,
    As the name suggest, F-04 allows you to POST to one account by CLEARING another account.
    For example you have a provision account which needs to be adjusted when the actual expense is paid -  this how it will be done -
    Give the document header details, select "Transfer posting with clearing", enter the posting key (40), give the GL account (expense account as per the example) and go to the next screen.
    Give the amount and other details for the line items and then select "choose open item" from the menu. The new screen will ask you to give an account where you will give the provision account (the account from which the open item needs to be cleared).
    Press enter and you will get the list of open items for the GL account from where you can proceed like any other clearing.
    Hope this clarifies. Do revert in case of any further queries.
    Thanks and Regards,
    anit

  • IDOC to post with clearing (F-28 / F-53)

    Hello all,
    I'm wondering if anyone knows of an IDOC type that can post an FI document with clearing.  Specifically, we are looking to clear AR and AP items with FI documents generated similar to the F-28 and F-53 transactions.
    I've found the ACC_DOCUMENT and ACC_BILLING IDoc types, however I don't believe these can be used to clear items in SAP.
    Any help would be appreciated.
    Thank you,
    - Suresh

    Hello,
    I am not sure exactly what you are trying to do. If you can clarify, it is easy to explain.
    In F-04 post with clearing, you can also do the same thing like F-53. But in F-53, there is no need to give the post keys. Whereas, in F-04, you need to give the posting keys manually.
    Regards,
    Ravi
    F-04 is a very basic transaction code and I do not see any difficulty in using the same.

  • Post with Clearing F-04

    Dear Frineds,
    I am trying to clear the invoice using T Code F-04 Post with Clearing but I am unable to select the open Itme invoices.
    Can any one please guide me how to use T Code F-04.
    Thanks in advance.
    Mahendra Dev

    Hello,
    I am not sure exactly what you are trying to do. If you can clarify, it is easy to explain.
    In F-04 post with clearing, you can also do the same thing like F-53. But in F-53, there is no need to give the post keys. Whereas, in F-04, you need to give the posting keys manually.
    Regards,
    Ravi
    F-04 is a very basic transaction code and I do not see any difficulty in using the same.

  • I have a question about Configuration of Post with Clearing

    I have a question about confiruation of the post with clearing which is t-doce 'FB05'.
    When I make post with clearing on 'FB05', I can change the additional selections.
    Where can I control the confiruation of the additional selections in t-code 'FB05'
    Please, tell me the menu path.

    Hi,
    In SPRO, go to
    Financial Accounting (New) > Accounts Receivable and Accounts Payable > Business Transactions > Incoming Payments > Manual Incoming Payments > Make Settings for Processing Open Items > Choose Selection Fields
    Hope this helps.
    Thanks

  • F-30 authorisation with transfer posting with clearing only

    Dear Gurus,
    In transaction F-30(posting with clearing), I want to give a user authorisation only for transfer posting with clearing.
    that is, i do not want him to use outgoing payment, incoming payment and credit memo options but use the option posting with clearing only.
    other users can use all options.
    Pl let me know how this is possible.
    Regards,

    Hello,
    Try using Screen variant and assign to that particular user or else use a User Exit which will immediately come out of the screen if that user tries to use any other postings. And the best option would be to control through authorizations for that particular user. Check with your basis consultant.
    regards,
    radhika

  • F-04 post with clearing

    Hi,
      I have made 2 jv transaction posting in fb50 those are reflecting in fbl3n as open items but if i want to clear it through F-04 post with clearing those line items are not appearing pls suggest the solution what might be reason for the same.
    waiting for early reply.
    Regards
    Pramod

    Dear Satwik,
    ever doc. have 2 ways to clear
    1) post with clearing
    2)post with out clearing
    post with clearning : if u have a invocie and u r passing the payment for that invoice if u chose post with clearning system clear the invoice against that payment.
    2)post with out clearning: if u have a invoice and ur passing gthe payment for that invoice if u chose post with out clearning that time system is not clearing the invoice amount
    and its showing as 2 line item one is invoice and 2nd is payment line item, after that u can clear both line item against each other
    Regards
    radha

  • F-30: posting with clearing a document with special G/L indicator and tax

    Hi All,
    by t.code F-02 I've posted a document with the follow items:
    PK     SG      Account Description
    40                Bank G/L Account   u20AC 1200,00
    19      A       Customer code         u20AC 1000,00-  (1000,00 amount and 200,00 tax amount)
    50                Tax G/L Account     u20AC  200,00-
    If I launch the t.code F-30 (post with clearing), choose that customer and select the special G/L indicator "A", SAP displays
    the document I've posted with an amount equal to 1.200,00- instead of 1000,00.
    This does't allow me to clear the open Item....
    Could anyone hel me?
    Thanks
    Gandalf

    Hi
    A   payment  recorded  with   special GL indicator  is automatically set  as  locked.  This is  sap  program and cant be changed.  When  the  related invoice is  recorded ,  the   down payment  can  be cleared  with it  using  F-39, provided  the down payment relates to the same  sales / purchase order.
    For  the  difference in customer  amount,  its  difficult  to answer as    it may be due to  wrong account selection or  wrong amount entered in customer.
    Thanks
    kamala

  • Post with clearing: FB05  No open items were found

    Hi,
    I am using FB05 (have selected 'transfer posting with clearing) to clear the vendor open items and post to a GL account, but I encounter the message 'No open items were found' (Msg F5 170) eventhough the vendor has open  items and morever it is not blocked.
    Any reason why this error.
    Tks,
    SS

    There can be any number of reasons why a standard transaction does not pick up open items for your vendor account. Some possible reasons are:
    - outside date range, if you are giving a date range
    - they might be special g/l transactions, not normal line items
    - they migh not be open line items, but noted items
    - the items might not be open anymore when FB05 is being run
    Do a little more investigation into your system - we can only give suggestions from here.
    Regards
    Gulshan

  • F-04 - Post with clearing : Process open items

    Hi everyone,
    I encountered issues in T-code : F-04 - Post with clearing : Process open items.
    The document header text data is not display in F-04. It is blank.
    However, when i check in FBL3N the document header text data was there.
    Pls assist on how to make the document header text data display in f-04?
    Which configuration or any other way to do that?
    Thanks.
    Best Regards,
    Joo

    Hi,
    The words of "Document Header Text" was there.
    The data/informations for the Document header text is not there.
    Pls advice.
    Thanks.
    Regards,
    Joo

  • 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

  • Mass post with clearing

    Hello experts,
    please, is it possible in some easy way to post with clearing multiple documents at one time?
    We have 1000 documents numbers in XLS which can be cleared at one time. In F-04 or FB05 is possible just to paste 26 document numbers at one time and then press Enter and paste another 26 and so on. Is it possible somwhere to paste all 1000 document numbers at one time (like import from clipboard or somethning like that)?
    Thank you,
    Ondrej

    Hi,
    Create a BDC with recording of tcode F-04.
    Regards,
    Kira

  • Error Message while doing F-51 (Post with Clearing)

    Hi All,
    We are getting an error message as  "Consolidated companies " " & 009062 are diff" while executing F-51 (Post with Clearing).
    While executing F-51 we are using the document type as KG.
    Can you please let us know the possible reasons for such error message and how to overcome it.
    Thanks in Advance..
    Regards
    Mayank

    Hi Suma,
    First clear Down payment with using of F-54 & next you can clear normal OI.
    Rgds
    SumaMani

Maybe you are looking for

  • Can you use factime for 3 devices from one itunes account?

    I was wondering i have 3 apple devices macbook ipad2 and ipod touch 4th gen I have facebook on all of them and want to use it when i am away but it all goes through one apple id account can this still work or do i need to generate separate accounts f

  • Birthday Calendar and Other Subscriptions Sync Problems

    Is there a way for the Birthday calendar (when turned on in the prefs) to be synced to iCal on my iPod Touch? I've also noticed that my Holiday calendar subscription doesn't sync. Is it that the iPod Touch doesn't sync subscription calendar? Perhaps

  • A few questions from a novice

    Hi all My leopard was an unexpected gift from my parents for my daughter and I, I'm sure you can all imagine how delighted we have been and what an exciting new world that has begun to open up for us. However I have hit a wall a few times over certai

  • Names of the sheet

    They now follow the (inverted) norm of Excel (the formulas down, the names of the sheets up- just to do it differently apparently). But it has the same awful result than in Excel: if there are too much sheets, their names are hidden on the right. Eve

  • Samsung EX2F Raw Datei mit Aperture

    I am using Aperture 3 to organise my pictures. As a second camera I am using a Samsung EX2F. Aperture can´t import the .srw raw files from the camera. Has anybody got an idea how to manage them in Aperture?