BAPI or FM or Class for Customer open items CLEAR (F-32)

Hi Everyone,
Is there any BAPI or FM to CLEAR customer open items (F-32).
Thanks,
NK

Hi,
For clearing open items you can use BAPI_ACC_DOCUMENT_POST.
but need to write extra code in BTE
check this function module SAMPLE_INTERFACE_RWBAPI01.
need to update below four fields of table accit.
REBZG (document no against u want to clear)
REBZJ (fiscal year)
REBZZ (line item)
REBZT
to update these field use BTE.
Thanks,
Avadhut.

Similar Messages

  • Customer Open Item clearing Line Layout

    Hi
    the user uses F-32 for customer open item clearing and the following are the fields are available in the line layout.
    Assignment, reference, Doc no, doc type,posting period, doc date, posting date,gross amt,  cash discount, cash Discount %.
    Along with above fields, our business user wants to view the "document header text"  in the line layout.
    How to bring the "Document Header text " in the clearing line layout.
    Pl advise,
    Venkat

    Hi,
    you follow these steps to display "Document Header text " in F-32 :
    <b>1-</b> go to : SPRO>Financial Accounting>AR & AP>Business transactions>Openm item clearing>Make settings for open item processing>Choose selection fields.
    2- select "D" as "account type"
    3- click on "insert after"
    4- enter SGTXT in the "field name"
    5- you will show "SGTXT" and "Text" in the list of fields, click on <b>save</b>
    6- then go to F-32 and go to Menu>settings>change line layout
    7- then go to Menu>Edit>Choose
    8- then click on "insert after" above
    9- in the list you will find "text" as field, so choose it
    10- Save that (check customer or/and vendor)
    11- then click Save and return to the table of F-32, you will find Text in the displaying fields
    hope this helps
    assign points if useful
    let me know
    regards

  • Customer Open Item clearing Line Layout (O7F4)

    Hi Dear ABAP experts,
    I am the FICO consultant and I got the below issue. I am trying my level best to solve this issue. But i need some help. So I am posting this issue in forum. Pl check this issue and give me ur valuable suggestion.
    the user uses F-32 for customer open item clearing and the following are the fields are available in the line layout.
    Assignment, reference, Doc no, doc type,posting period, doc date, posting date,gross amt, cash discount, cash Discount %.
    Along with above fields, our business user wants to view the "document header text" in the line layout.
    How to bring the "Document Header text " in the clearing line layout.
    Pl advise,
    Venkat

    Dear ABAPERS,
    I hope this time I will get the solution from you.
    The same messge i have put in SAP Financials and the conversation between he and melike below:
    He
    SPRO>Financial Accounting>AR & AP>Business transactions>Open item clearing>Make settings for open item processing
    Me
    Thanks for the response. SGTXT (line item text) is the field available at the line item level and we have already added in the line layout. What we are looking for is the field BKTXT (document header text) which is available at the document header level. We wish to include this field in the line layout.BKPF - Document Header text
    He
    It is not possible to add "BKTXT" in the list generated by SPRO (not existed).
    But if you post an invoice with FB70, in the header text, click F1 and after click F9, you will find SGTXT as field name knowing that is a document header text, so i think to show header text you choose only text in F-32.
    Me???????
    So pl provide the solution for above issue
    Rgds,
    Venkat

  • 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>

  • Customer Open Item Clearing F-28 / FBZ1

    Dear Friends,
    My query is regarding Customer Open Items Clearing using Transaction Codes F-28 / FBZ1.
    We are implementing SAP for Healthcare Industry with IS-H.. We are using ECC6 EHP5.
    Client submits insurance claims relating to patient revenue to the insurance companies and in turn receives remittance from insurance companies.
    The remittance file received from insurance company contains all the data that can be reconciled with the open items.
    Now, I want to know whether we can upload the details directly into the transaction f-28 / fbz1.
    Please suggest if i can do it in any other way.
    Thank you
    Sivaram

    Hi Atif,
    My requirement is :
    1) My client is into Healthcare.. For each patient with insurance cover we are debiting insurance company for the amount due towards his services provided by the client.
    2) on periodic basis client submits claim file to insurance company.
    3) insurance company does the remittance to the client and sends an xml file.
    4) This xml file contains individual patients records which are remitted by insurance company.
    5) I want to clear these open items.. Please let me know the best method of doing it..
    6) Is there any method of automating this process.
    Thanks
    Sivaram

  • Report for customer open item exclude vat

    Dear Experts,
    Is there a report in SAP which can extract the customer open items with VAT amount excluded?
    Thank you

    You have to customize a report. There is no standard report for this.

  • Table for customer open items

    Hi,what is table name where we can see customer open items
    BR.AJ

    Hi,.
    I am not sure of the table name..
    U may use this transaction code to find the open items of a customer... S_ALR_87012173
    See if this is of any help to you...
    FAGL_S_RFDEPL00_LIST1
    POINTS PLZ
    Cheers
    Raghu

  • Customer open item clearing based on the customer PO no in Sales order

    Hi,
    Is it possible to clear customer open item based on teh customer PO number eneterd in the sales order BSTKD.
    Points will assigned for any useful answer.
    Thanks
    Vamsi

    Hi this i spossible and cleared.Thanks

  • Customer Open Item Clearing

    Hello,
    I have a billing document with Installment Payment term. Hence the billing related accounting document has 'N' number of split lines due to installments, each falling due on different dates.
    During Clearing, I have configured OB74 for Open Item clearing on XBLNR and WRBTR fields.
    A receipt is received from customer clearing line item 1 of the accounting document as it is earliest due and hence paid.
    System does not clear the Receipt V/s Billing Accounting document line item 1. F.13 does not report any errors as well.
    How to achieve auto clearing. Please clarify.
    Thanks
    Bala

    Hi, I am having exactly the same situation in my current project.... did you find some work around for this?
    my assumption is that SAP uses the content of XBLNR and WRBTR fields to find the accounting document in SAP, and since the accounting document is for the total amount (not only the first line item) the item remains uncleared, the system will clear only if the amount in accounting document and payment.
    Please let me know if what you did to fix this, any feedback will be highly appreciated,
    thanks!

  • Drill down report for due date analysis for customer open items

    Hi, in transaction FDI0 i am using report 0SAPDUEAN-01 Due Date Analysis for Open Items .The reason i am using this is that s_alr_87012178 caters for only 6 intervals. With this report , i get 8 intervals:
    daily intervals Due Not Due Total OI
    0 - 30 0,00 0,00 0,00
    31 - 60 67.000,00- 0,00 67.000,00-
    61 - 90 0,00 0,00 0,00
    91 - 120 20.020,86 0,00 20.020,86
    121 - 150 3.270,00 0,00 3.270,00
    151 - 180 0,00 0,00 0,00
    181 - 210 0,00 0,00 0,00
    211 - 99999 0,00 0,00 0,00
    Total open items 43.709,14- 0,00 43.709,14-
    Is it possible to change the intervals through custo? i need intervals:
    0 - 30
    31 - 60
    91-120
    121-150
    151-365
    >365

    Hi AA
    refer this link where in I have given the screen shots
    http://img233.imageshack.us/g/86081486.jpg/
    The 1st screen shot is COPY of the Std Form
    The 2nd scren shot shows how to add new interval
    Br, Ajay M

  • Re Credit block for customer open item

    Hi All,
    My requirement is that the crdit block in delivery should be activated when there are more than 3 open items in customer ledger.
    System should allsow to create delivery if there are 3 open overdue items in customer ledger.
    Regards
    Sahoo

    Hi..
    Try user exits LVKMPTZZ,LVKMPFZ1, LVKMPFZ2 ,LVKMPFZ3.
    Take help from your abap person
    Regds
    MM

  • T.code for GL Open Items clearing

    Hi all,,
    Can anyone give the the tcode for clearing the Open items of a GL which is maintained in OIM...!?
    BR..AJ

    Dear,
    You can use following T.code :
    F-03 - Clear GL Account Header data.
    F-04 - Post with Clearing.
    For both detail screen will be same.
    In F-03 you have to direct enter GL account.
    In F-04 you can get the option of
    1.     Outgoing payment
    2.     Incoming payment
    3.     Credit memo
    4.     Transfer posting with clearing.
    Hope above will useful for you.
    GOPAN

  • Customer Open Item Clearing through F.13

    Hi
    In our scenario we need to clear customer account by using f.13 standard functionality due to several debit and credit postings.
    The scenario is,  first there will be a credit posting to a customer line item with special gl indicator as 'A'.   Again there will be a debit posting (normal) to the customer line item with a separate document.  In both the cases the amount is same and we are populating the same object in assignment field and reference field also in both the documents.
    Now when we try to clear through f.13 by selecting customer accounts, special gl transactions and special gl indicator 'A' it is not able to clear.  It simpy shows "Category 'W' special G/L transactions were not selected".
    But when we do it as a normal item in both the cases it is able to clear but in case of special gl and normal it is not.
    Can you help me out in fixing the issue.
    Regards
    Brahma

    Hi Sunny,
    Please see the following :
    1. Down Payment Received (2500 INR.) F-29
    2. Customer Invoice Posted (2500 INR.) FB70
    3. Clear Down Payment (2500 INR) F-39
    4. Now Run Automatic Clearing (F.13)
    And then check the Customer line item report in FBL5N. It will clear both line items.
    Hope this helps.
    Kind Regards,
    Prakash Kumar

  • Default Sorting in Customer open item clearing ( F-32, F-28)

    Is it possible to make a user specific default sorting key in F-32 or F-28 other than the sort key in customer master?

    Hi,
    Create your own sorting format and tell the user assin it in editing options of tcode f-32 and f-28 or Directly FB00.
    Regards,
    Azeem

  • Clear_document FM not working to clear customer open item.

    Hi Experts,
    1) I need to develop a report to clear the customer open items, the report has to display whether the Customer open items cleared or not?
         As we do f-30 transaction to clear documents.
       I have developed the report in this ways but its not clearing.
        a) First I have posted the document  through   'BAPI_ACC_DOCUMENT_POST
        I have filled the document in the below way. The Bapi returning OBJ_KEY value also.
    LOOP AT it_data INTO wa_data.
    ****Fill  DOCUMENTHEADER
        wa_docmentheader-doc_type     = 'DA'.   "doc type
        wa_docmentheader-doc_date    =  wa_data-bldat.   "doc. date
        wa_docmentheader-pstng_date  =  wa_data-budat.   "posting date
        wa_docmentheader-comp_code   =  wa_data-bukrs.   "company code
        wa_docmentheader-ref_doc_no  =  wa_data-belnr.   "Reference
        wa_docmentheader-header_txt  =  wa_data-bktxt .  "Header Text
        wa_docmentheader-username    =  sy-uname.        "user name
    ****Fill  ACCOUNTGL Table
        wa_gl-itemno_acc = l_no.
        wa_gl-gl_account = 2909509----" which i marked in the screen second red color(ACCount).
        wa_gl-alloc_nmbr = wa_data-xref2.
        APPEND wa_gl TO it_gl.
        CLEAR wa_gl.
    ****Fill  ACCOUNTRECEIVABLE
        wa_receivable-itemno_acc = l_no + 1.
        wa_receivable-customer = wa_data-kunnr.
        wa_receivable-gl_account = wa_data-saknr.
        wa_receivable-alloc_nmbr  = wa_data-xref2.
        APPEND wa_receivable TO it_receivable.
        CLEAR wa_receivable.
    ****Fill CURRENCYAMOUNT
        wa_currencyamount-itemno_acc = l_no.
        wa_currencyamount-currency = wa_data-waers.
        wa_currencyamount-amt_doccur = wa_data-dmbtr.
        APPEND wa_currencyamount TO it_currencyamount.
        CLEAR  wa_currencyamount.
        wa_currencyamount-itemno_acc = l_no + 1.
        wa_currencyamount-currency = wa_data-waers.
        wa_currencyamount-amt_doccur = wa_data-dmbtr.
        wa_currencyamount-amt_doccur = wa_currencyamount-amt_doccur * -1.
        APPEND wa_currencyamount TO it_currencyamount.
        CLEAR wa_currencyamount.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
    EXPORTING
    documentheader
    = wa_docmentheader
    IMPORTING
    OBJ_TYPE     
    =
    obj_key      
    = lv_obj_key
    OBJ_SYS      
    =
    TABLES
    accountgl    
    = it_gl
    accountreceivable = it_receivable
    ACCOUNTPAYABLE
    =
    ACCOUNTTAX   
    =
    currencyamount
    = it_currencyamount
    return       
    = it_return.
    EXTENSION2   
    =
    endloop.
    2) After posting the document am using Clear_document to clear the document
       am filling the Clear_Document in the below way.
    1. a)get belnr, bukrs, gjahr & buzei from bsid table for invoice and append to T_AUSZ1
        b)T_AUSZ1-BUKRS, 'A', OBJ_KEY+0(10)(which you get from BAPI_ACC_DOCUMENT_POST bapi), posting date, posting date year pass it to T_AUSZ2-BUKRS, T_AUSZ2-AKTIO, T_AUSZ2-AUGBL, T_AUSZ2-AUGDT & T_AUSZ2-AUGGJ and append it.
    2. a)get BELNR, BUKRS, GJAHR, BLART & BUDAT  from bkpf where awkey = OBJ_KEY(which you get from BAPI_ACC_DOCUMENT_POST bapi)
    b) get belnr, bukrs, gjahr & buzei from bsid table where BELNR EQ bkpf-BELNR AND
                          ZUONR EQbkpf-BELNR AND
                          BLART EQ bkpf-BLART AND
                          GJAHR EQ bkpf-GJAHR AND
                          BUDAT EQ bkpf-BUDAT
    and append to T_AUSZ1
    c) T_AUSZ1-BUKRS, 'A', OBJ_KEY+0(10)(which you get from BAPI_ACC_DOCUMENT_POST bapi), posting date, posting date year pass it to T_AUSZ2-BUKRS, T_AUSZ2-AKTIO, T_AUSZ2-AUGBL, T_AUSZ2-AUGDT & T_AUSZ2-AUGGJ and append it.
    delete duplicates from T_AUSZ2.
    3) but am not able to clear the document using Clear_document Function Module
    4)I am able to post the document  through BAPI_ACC_DCUMENT_POST
    5)Please tell me how to clear the document.

    Hi Sunny,
    Please see the following :
    1. Down Payment Received (2500 INR.) F-29
    2. Customer Invoice Posted (2500 INR.) FB70
    3. Clear Down Payment (2500 INR) F-39
    4. Now Run Automatic Clearing (F.13)
    And then check the Customer line item report in FBL5N. It will clear both line items.
    Hope this helps.
    Kind Regards,
    Prakash Kumar

Maybe you are looking for

  • How do I use my internet via airport and my printers in windowsXP.

    Boot Camp works well but Now in widows I can not connect to the internet using my already established wireless internet. My printers are set up via airport as well and I can't get that to work. The windows recognizes there is a signal to use and it s

  • Problem with GUI_DOWNLOAD fm in Background

    Hi Friends In my Report I am using the FM: GUI_DOWNLOAD and while running the report in foreground, I am getting the proper results. But while running the same in Background I am getting the error: CONTROL_FLUSH_ERROR . As my understanding ,to resolv

  • PL/SQL function in datamodel query

    Hi All, I have the following problem: I have a query Q1 returning a few rows. In the group G1 using this query Q1 i have a computed field returning a number NUM_1. select col_1, col_2 from table_1; So the output looks like: row 1 col_1 col_2 NUM_1_1

  • Time for a new PC?

    Two question I am frequently asked are: "What computer is right for me?" and  "Do you accept immediate trade-ins?"  The first answer is more a matter of personal choice and need.  In other words, how do you currently use a computer? How will you grow

  • How to configure Integration B2B to request and process AS2 Sync MDN

    Hi, Is it possible to configure B2B to request and process sync MDN in Custom Document Over Internet scenario? I have set up the TP Delivery Channel's Acknowledgement mode to Sync but It does not work for outgoing documents. Our trading partner sends