F-32 to clear the Customer Account Balances through BDC

Dear Experts,
My requirement is that i need to clear the customer account balances . It can be cleared manually thru tcode F-32.
But i need to automate the process by writing BDC or BAPI or any FM.
Pl help me by providing some inputs on that. Also help me by suggesting how i can do that.
We have created BDC it is not giving any error but effect is not going to original documents.
It is preparing posting documents (FB03) but items are still open in open list(FBL5N).
My email: [email protected]
OR [email protected]
Can someone guide us.
Thanks in advance.
Mahendra Darwatkar

I've done something like this. The first thing you need to do is to get your functional analyst to walk you through the process he wants you to use and then do a recording (SHDB).
Rob

Similar Messages

  • Reg F-32 to clear the Customer Account Balances

    Dear experts,
    My requirement is that i need to clear the customer account balances . It can be cleared manually thru tcode F-32. But i need to automate the process by writing BDC or BAPI or any FM.
    Pl help me by providing some inputs on that. Also help me by suggesting how i can do that.
    tks in advance,
    ram

    i am also having same requirement.but the logic is becoming too complex because single document number for clearing the open items.for a customer we can have n number of invoices and n number of payments.based on the base line date,assignment and xref3.
    18.05.2010   DZ  2000
    18.05.2010   DR 1000
    18.05.2010   DR   200
    20.05.2010   DZ  2000
    20.05.2010   DR  1000
    20.05.2010  DR      200
    now we are creating 2 documents for 18.05.2010 and 20.05.2010 .but customer expects to create single document or both.
    then we have to handle table control.page down and page up.
    is the process folowing is correct or we have to create individual documents or single document

  • F-32 to clear the Customer Account Balances

    Hi,
    My requirement is that i need to clear the customer account balances . It can be cleared manually thru tcode F-32.
    But i need to automate the process by writing BDC or BAPI or any FM.
    Pl help me by providing some inputs on that. Also help me by suggesting how i can do that.
    tks in advance,
    Rajani

    I've done something like this. The first thing you need to do is to get your functional analyst to walk you through the process he wants you to use and then do a recording (SHDB).
    Rob

  • How to fetch the customer debit balances form the KNC1 database table

    Hi Experts,
    I am creating a ABAP report which would dispaly the customer credit balances for the currenct fiscal year.
    I am fetching the values form KNC1 database table.....But in this table values are stored year wise.
    But I want to display for the current fiscal year that means if teh user selects the 07/2011 as the month on the sleection screen then the debit balances from 072010 to 062011 should be dispalyed.
    Could anyone please help me out to fetch this the debit balaces form KNC1 database table in the above format.
    Or is there any other way to solve this problem?
    Awating your urgent reply.
    Many Thanks,
    Komal.

    Hi Komal,
    First, you have to compute the initial period and the final period.
    Next, you must read table KNC1 for the years comprised between these two periods.
    Last, you must read the fields of table KNC1. For that, you should compose dynamically the name of the field, and then ASSIGN it to a FIELD-SYMBOL.
    Now, just add up the values!
    Please try the following code:
    FIELD-SYMBOLS: <fs>.
    DATA: t_knc1 TYPE TABLE OF knc1 WITH HEADER LINE.
    DATA: d_debits LIKE knc1-um01s.
    PARAMETERS: p_kunnr LIKE knc1-kunnr,
                p_bukrs LIKE knc1-bukrs,
                p_spmon TYPE spmon.
    DATA: l_fieldname(20) TYPE c.
    DATA: l_date LIKE sy-datum,
          l_date_from LIKE sy-datum,
          l_date_to LIKE sy-datum.
    DATA: l_period(2) TYPE n.
    DATA: l_num_times TYPE i.
    START-OF-SELECTION.
    "Compute the initial and final periods
      CONCATENATE p_spmon '01' INTO l_date.
      CALL FUNCTION 'RE_ADD_MONTH_TO_DATE'
        EXPORTING
          months  = '-1'
          olddate = l_date
        IMPORTING
          newdate = l_date_to.
      CALL FUNCTION 'RE_ADD_MONTH_TO_DATE'
        EXPORTING
          months  = '-12'
          olddate = l_date
        IMPORTING
          newdate = l_date_from.
    "Read table KNC1
      SELECT *
        INTO CORRESPONDING FIELDS OF TABLE t_knc1
        FROM knc1
        WHERE kunnr = p_kunnr
          AND bukrs = p_bukrs
          AND gjahr BETWEEN l_date_from(4) AND l_date_to(4).
    "this will yield at most 2 records, one for present year, and another one for the previous year.
    "but if you select i.e. period '01.2012', initial_date = '01.01.2011' and final_date = '31.12.2011'
    " --> thus only one year --> one record
      CLEAR: d_debits.
      LOOP AT t_knc1.
    " If there's no year change
        IF l_date_from(4) = l_date_to(4).
          DO 16 TIMES.
            l_period = sy-index.
            CONCATENATE 'UM'      "compute dynamically the field name
                        l_period
                        'S'
              INTO l_fieldname.
            ASSIGN COMPONENT l_fieldname OF STRUCTURE t_knc1 TO <fs>.   "assign
            ADD <fs> TO d_debits.                  "and add up
          ENDDO.
        ELSE.
    " If there IS a year change
          IF t_knc1-gjahr = l_date_from+0(4).
            l_num_times = 16 - l_date_from+4(2) + 1.    "you must loop 16 - initial_period + 1 times for the first year
            DO l_num_times TIMES.
              l_period = sy-index + l_date_from+4(2) - 1.
              CONCATENATE 'UM'                "compute dynamically the field name
                          l_period
                          'S'
                INTO l_fieldname.
              ASSIGN COMPONENT l_fieldname OF STRUCTURE t_knc1 TO <fs>.    "assign
              ADD <fs> TO d_debits.              "and add up
            ENDDO.
          ELSE.
            l_num_times = l_date_to+4(2).            "you must loop final_period times for the second year
            DO l_num_times TIMES.
              l_period = sy-index.
              CONCATENATE 'UM'               "compute dynamically the field name
                          l_period
                          'S'
                INTO l_fieldname.
              ASSIGN COMPONENT l_fieldname OF STRUCTURE t_knc1 TO <fs>.     "assign
              ADD <fs> TO d_debits.        "and add up
            ENDDO.
          ENDIF.
        ENDIF.
      ENDLOOP.
    You'll have the result on variable 'd_debits'.
    I hope this helps. Kind regards,
    Alvaro

  • SAP table for customer account balances by document currency

    Hi experts,
    We have a requirement to produce a monthly customer statement by customer currency or customer's document currency. Example is that the company code local currency is USD and the customer currency is EUR. The customer will be allowed to carry over a balance to next period under a certain threshold so there will be a carry over beginning balance from the previous period which needs to appear on the statement. Transaction FD10N only displays customers balances in the local or company code currency which is USD in this example.
    Question: Does anyone know if there is an SAP table that stores period beginning balances by customer account currency or customer's document currency?   
    We have not been able to find one and want to get additional input prior to building our own custom table.
    Many thanks in advance for your assistance.
    Regards,
    NormaF

    Hi:
        Make use of BAPI_AR_ACC_GETKEYDATEBALANCE to calculate customer opening balance. You need to develop Z report using table BSID and BSAD other SD related tables . There is not SAP standard report that shows the customer opening balance as carried forward from previous month.. You can make alteration for for showing balances in document currency.
    Regards

  • Incoming payments posting without clearing the customer open item

    Hi,
    Is there a way to post an incoming payment to a customer and let it sit as an open item?
    I want to segregate the posting and clearing of AR payments.
    One user posts the payments to the customer account.
    Another user clears this payment against an open item.
    All t.codes F-26, f-52 and f-28 all go on to processing open items and don't work for me..
    Does anyone have any workaround or suggestion on how to accomplish this?
    Thanks

    I can suggest posting the cash to the customers account as an unallocated enty using F-28 - we use charge of the difference and the posting keys to mange this.
    The the other users can contra the items to the open items using F-32 clear customer.

  • Auto Clearing of Customer Account with Special G/L W

    Dear Experts,
    Currently auto clearing of customer account with norm items is running smoothly.
    When we tried to run the same for Special G/L Indicator "W' in F.13 tcode , it is not happening (Category 'W' special G/L transaction were
    not selected).
    Even we tried to change the rules in Ob74 but no luck.
    We can do manual clearing through F-32 but the volume is very high on every day.
    Since we considered Open PDC's is one of the criteria for credit control customer in our business and hence system is blocking
    all customers where documents having special g/l w even though net amount is zero in fbl5n.
    Could you please suggest me how to do auto clearing.
    Regards
    Shaik

    Hello,
    Are you trying to clear Bill Of Exchange (SGL Code W) with F.13 ?
    You have to use the remittance process (FBWE and report S_ALR_87012211).
    Regards

  • Customized Account Balance Report

    hi all,
           My Client needs customized Account Balance Report so we planned to do Crystal Report.
           1. How to bring the previous balance (ex: when i am choosing the date 05-02-2009 means  04-02-2009 balance should arrive as previous balance).
           2. In SAP Account Balance Report they bought the previous balance, when we go to PLD of Account Balance the system variable 77 is shown. Is it possible to find out the table in which the system variable 77 is stored.

    Hi Rajesweri,
    First , you can not use system vraibale they have run time value. For previus balance , you have to calculate the differce of debit and credit till the previuos year date and sum up that . for this suppose you give 02/01/2008 as a parameter on report , now u want the prev. balance which is closing balance of  02/01/2007. So use datediff function year(current parameterdate). which will give u previous year  and use this formula to find the balance and strore it in a variable .
    hope this will help you .
    Rgds,
    Premraj

  • How can I clear my apple account balance without using a credit card?

    How can I clear my apple account balance without using a credit card?

    Unless you can find an item in the store that costs the same as your balance then you will need to contact iTunes Support and ask them if they can remove the balance : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Down Payment Not affecting the party Account Balance

    Dear All,
    When I am posting any down payment invoice (A/P or A/R) then the party account is nullified after the payment is posted against it. Now for Advance payments the down payment option is used but then the BP Account Balance does not reflect the down payment balance. How to resolve this issue with a work around. I do not preffer to use the "Payment On Acount" option.
    For Example:
    Advance paid to Vendor: Down Payment Invoice: Rs 10000
    Outgoing Paymnet for the D/P invoice: Rs 10000
    A/P Invoice raised for the Vendor: Amount Rs 4000 and adjusted with the Down Payment (Rs 4000 drawn from DP)
    Now The System shows the BP Account Balance as 0 where as it should hold a debit balance of Rs 6000
    Please suggest me a work around
    Regards
    Raj

    Him
    Inorder to keep the advance amount as debit balance,you must define control account in the BP Master Data(Under Accouting tab->General tab-Control account indicated by ...->Define a account in Downpayment payables.
    Here is the differece in AP Downpayment Request and AP Downpayment Invoice
         AP Downpayment Request                                   AP Downpayment Invoice(Proforma Invoice)
    --   Must be fully paid                                                 can be partially paid
    --   No accounting transactions made                        Accounting transactins are made
    --  Track the payments paid to vendors(AP)              Issue & Receive invoice(Including tax) for advances paid or received
        or payments mad by cusotmers(AR)
    Similarities in them
    --No stock postings are made
    --Can be created from a base document
    Now in your case as i suggested to make use of AP downpayment Request for advances.The full cycle will be as follows
    1.Create PO(No acounting transactions are made)
    2.Create AP Downpayment request based on the PO(No acounting transactions are made)
    3.Create Outgoing payment by selecting the AP Downpayment request.
    AccountingTransaction
    Db-BP(Control account-Downpayment payables)
    Cr-Bank account
    4.Create a AP invoice
    AccountingTransaction
    Db-Stock
    Cr-BP Account(Sundary creditors)
    5.Apply downpayment request to the AP Invoice
    AccountingTransaction
    Db-BP Account(Sundary creditors)
    Cr-BP(Control account-Downpayment payables)
    Cr-Bank Account
    Note:Do test the full cycle in the test database and see the results and get confirmation from the clients accounting person
    Hope this method suits for your requiremet !

  • How is the address selected in the Customer Account Statement (F.27)?

    Hi expert,
    The customer account statement (transaction F.27) uses the address which is in the customer master data.
    This is the customer master data on the company code level (Street, postal code, city).
    Is it possible to select the PO address (PO box , postal code, city) in the account statepment?
    This data is also available on the company code level.
    Thank you for your feedback.
    Kind regards,
    Linda

    Hi,
    Customer Account Statement uses the below program :
    SAP13: Customer statement (single statement)
    Copy the same and change accorndingly.
    Your requirement can be done with the ABAP changes
    VVR

  • Deductions not posting to the Customer account

    Hello Everyone,
    I am doing testing for Lockbox and having issues with customer deductions. when I upload a Lockbox file into SAP it properly identifies the various line items based on the invoice numbers but our customers sometimes include deductions on the checks as well, which is a regular practice on their part.
    These deductions are listed as separate line items in the Lockbox file, the issue is instead of posting as a debit to the customer account the deductions are going to Gl # 4****00 which is a Unprocessed customer deduction account. ( This GL A/C is defined in Transaction OBXL)
    Is there a way to have these deductions go to the customer account instead of posting to the GL.
    Thank You.
    Edited by: Moiz Huseni on Jul 11, 2011 2:18 PM

    Hi,
    If the example entry like below
    Dr Bank/Cash a/c          970
    Dr Pymt Diff. a/c            30
    Cr Customer a/c                        1000     
    The difference amount is captured at both GL and Customer level right?
    Then, why in your case only it is going to a GL account
    Rgds
    Murali. N

  • Table/BAPI to get the customer overdueand balance amounts

    Hi Gurus,,
    Can some one help me in finding the Table/BAPI to get the customer overdueand balance amounts in a period of time.
    Thanks And Regards,
    Abhi....

    Hi Eli,
    Thanks for the answer, but my problem is actually related to Credit Control Management, where we define the Credit Limits and Risk Catagories.
    Again, I wanted to know the table/BAPI where I can get the information about the Overdue Amonut (the pending amount that was supposed to be paid by Customer in a fixed period) and the total amount : Outstanding Amount
    Thanks In Advance..
    Abhi...

  • Setting the custom master page through powershell is NOT working

    Hi,
     I am writing the below code to set the  custom master page through powershell.
    But its not working .when i went to site settings-->master page --> in the drodown , the  maste page set is seattle.master ONLY, though my current master page is available in the dropdown.
     Can anyone pls help, whether i am missing in the below :
          Add-PSSnapin Microsoft.SharePoint.Powershell
           $SiteURL = "http://srvr1:22307/sites/SPW5"
        $weburl= $SiteURL
        $Site= Get-SPSite $SiteURL
        $web =  $Site.OpenWeb()
    $web.CustomMasterUrl = "/_catalogs/masterpage/myMasterpage.master"
    $web.MasterUrl = "/_catalogs/masterpage/myMasterpage.master"
    $web.Update()
    Das

    Hi,
    Is it a publishing page? If yes can you try the PowerShell scripts corresponding to the following code snippet?
    var publishingWeb = PublishingWeb.GetPublishingWeb(web);
    publishingWeb.CustomMasterUrl.SetInherit(inheritFromParent, false);
    publishingWeb.CustomMasterUrl.SetValue(masterPageUrl, false);
    publishingWeb.MasterUrl.SetInherit(inheritFromParent, false);
    publishingWeb.MasterUrl.SetValue(masterPageUrl, false);
    I've noticed sometime (not sure though) that Master page doesn't get updated if the inherit property is not updated first.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Clear G/L account balance

    Hi,
    Initial balance uploaded into one G/L account(doc type TG). I was posted an expense entry to clear the balance(doc type SA) . But still G/L account showing open item. Please assist me to clear the balance.
    Moderator: Please, avoid asking basic questions

    Hi Aburose,
    Use F-03 transaction and clear the same debit and credit entry. GL must be have open item management activation in GL master data.
    Rgds
    SumaMani

Maybe you are looking for

  • It wont let me download apps

    Everytime i download an app, it asks for my password, i type it in and then it says "loading..." and then it just dissapears and i never get it. i've tried restarting my ipod, logging out and back in to my account and nothing works.

  • Apps don't work after update to 5.0.1

    after i update my ipod 4th gen from 4.3.5 to 5.0.1 the apps like angry birds don't work. it likes the app start by flash only one and then comes nothing. the screen show the start display.

  • My safari wont open when i click on it, how do i fix this?

    When i try to open up Safari, it bounces around 2-3 times and then stops. it wont open at all. I have tried finding out on how to fix this problem but found nothing. how do i fix this problem?

  • Sales Order in IC Webclient

    Hi members, I'm new to CRM so please excuse if my question is stupid. I'm trying to create a new sales order it says "Navigation isn't possible as there is no business transaction". How can i creare a new sales order?i would be very thankful if anyon

  • Invalid Input: Strip

    Hi people I install the flash cs5.5 today. And my app make a error all time in the publishing Adobe Flash Professional Invalid Input. Compilation failed while executing: strip Any one??? Please help tanks