Function Module for clearing customer open line items?

Hi,
Can anyone suggest me, the FM for clearing the customer open line items/
Manually we can do by f-32.....but, i need an FM for this?
Thanks in Advance,
Manju.

Hi. I just found a good way of doing this from a program. It sort of uses BDC but in such a way that you don't get all the problems you normally get with BDC.
First create a custom program with an internal table called YBSID of type BSID, and select into it from BSID the items you want to clear, 1 customer at a time. You must call your internal table YBSID.
Then you need to populate a BDC table with very basic data, the easiest way to do it is to set a break-point in form "CALL_TRANSACTION" of include F124_MERGE, then run F.13, it will break at this point and you can copy the contents of BDCDTAB.
Then in your custom program put the same statement as the include "EXPORT YBSID TO MEMORY ID '%F124%'." then call transaction 'FB1D' using the BDC table.
What this does is clear exactly whatever data you put in YBSID. It uses the transaction FB1D but all the clearing data is already populated from YBSID. If you call a transaction normally it is very hard to select the right items to clear, using YBSID you only enter 1 screen and do not have to select anything.
You can also use this same method to clear vendor line items using YBSIK and transaction FB1K and G/L line items using YBSIS and FB1S.
I hope this helps.
Regards,
Dave.

Similar Messages

  • Function module to clear customer open items

    Hi ,
    I have a requirement in FI module to clear the customer open items through Function Modules.  The standard functionality is done through the tcode f-28 / f-32.
    Please let me know if there is any program or Function Module to clear the customer open items.(without using BDC).
    Thanks in advance.

    Function Module for GL open Items
    how to clear customer open items by another  customer open item
    Function Module for GL Open Items
    Reward points..

  • Function module for BOM Update all line items at a time

    Hi,
    Please enlightenn us, which FM is do the update for BOM item datas. ( current FM is updated line item one item then come out and log in again updating another line item , thus cause more error are facing.)
    we want a FM to update one time all the line time and come out from the screen.
    Thx
    Sathiya

    HI,
    As suggested above use CEWB or if you want to manage it via a Z program then use:
    CSAP_MAT_BOM_MAINTAIN
    or
    CSAP_MAT_BOM_OPEN
    CSAP_BOM_ITEM_MAINTAIN (Use these 3 in sequence, refer to the help file on the FM)
    CSAP_MAT_BOM_CLOSE
    Hope it answers your query.
    Regards,
    Vivek

  • Function module for GL account open items at a key date

    Is there a function module for "GL account open items at a key date" similar to following for customer and vendor accounts?
    BAPI_AR_ACC_GETOPENITEMS Customer account open items at a key date
    BAPI_AP_ACC_GETOPENITEMS Vendor account open items at a key date
    If not, please suggest any alternatives. I am looking to capture the output of FBL3N (GL account line item display) in a program.
    Thank you in advance.
    Prasanna Pujari

    hi,
    please go through the below link i think it will help u.
    http://sapfunctional.com/FI/GL/Balance.
    Regard
    Abhishek Tripathi

  • Function Module to Change / Update BOM Line Items

    Hi,
    I need a Function Module to Change / Update BOM Line Items.
    Please help.
    Thanks.

    Try this FM - CSAP_MAT_BOM_MAINTAIN

  • In which table could i find customer open line items

    I can see open line items in FBL5n, i need a table where i can get these entreis. i know these entries will defintely be there in BSEG, but i need some other table where i can find entries only for customers.
    please suggest.

    Hi
    Customer Open item
    BSID - for customer open item
    BSAD - For Customer Cleared item
    If any query revert back
    Regards
    Roobal

  • Clearing of open line items in Exchange Vendor account

    Hi Friends,
    We have an issue related with the clearing of open items from the exchange vendor account. Details of issue are as follows,
    We have two open line items in an exchange vendor account (T-code FBL1N) pertaining to the Logistics purchase invoice and a credit memo. These documents are very old documents posted in the year 2005. When user tries to clear or net these documents using T-code FB1K( using the current period), SAP generates the clearing document, i.e. it gives only a clearing document number and sends an email to user stating that update has been terminated. When we try to view the clearing document so generated using T-code FB03, system do not finds it, i.e. it is actually not in system / tables. Also most important thing these open items continues to appear in the vendor account, i.e. they are not getting cleared.
    Some of our observations about the related exchange Purchase Order is that, this PO has document date 03/31/2004 having qty. 5659 GA. The very first GR and related invoice is also having qty 5659 GA and posting date of 03/31/2004. After this user had again created above mentioned documents that are in question i.e. invoice and credit memo. These documents were posted on 04/12/2005 for the qty of 22592 GA (Even though the PO qty is 5659 GA).
    Now we would like to know what would be the probable reason for these open items not getting cleared from the vendor account. Please note user also tried to clear these documents using F-44 T-code but no luck.
    Thanks,
    Ritesh/Ninad

    Hi
    Have you tried by changing the Base line date while cleaing the vendor account. ?
    Satish

  • Not able to clear an open line item using F-44

    Hi Experts,
                     I am trying to clear  open line items of a document using F-44. But I am getting message "No appropriate line item is contained in this document". The open line item document is available in BSIK table also. Please help me out here.
    Regards
    Amit kumar

    - Check some table fields in the missing documents using Transaction SE16. The following conditions must exist for the missing document numbers in question -
    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
    - Check Note 136754 - F-03, F-32, F-44, F-28 missing open items (link below)
    Note 136754
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=136754]
    Rgds.

  • Function module for getting the open qty

    HI experts,
                      I have a PO quantity(EKPO_MENGE).against same PO and item item(EBELN and EBELP) if Goods receipt has happened (MSEG_ERFMG) then i need to calculate the open qty.and also by netting the open quantity if multiple GRs has done against the same PO and item.
    Can you suggest any function module to get this open PO quantity.

    Hello,
    Hope this link can help you.
    [Po Open Quantity;
    Thanks
    Jayant

  • How can i clear the vendor and customer open line items at a time same vendor as a customer of the company (same vendor same customer and equal invoices )

    my vendor and customer are same . purchase invoice due100000 and sales invoice amount is also 100000 at a time with any manual action , have any setting for cleared both vendor and customer line items at a time ...........

    X Ltd. will be Vendor & Customer.
    Purchase Invoice is booked under Vendor SAP number & Sales Invoice is booked under Customer SAP number. Then you can transfer amount from Vendor to Customer or vice versa with T-code F-04.
    Then if you have transferred amount from customer to Vendor (F-04), Vendor account will have two entries Debit & Credit. Then go for clearance with T-code F-44 clear Vendor.

  • Transfer of Customer Open Line Item to other Company Code.

    Hi Experts,
    I have a scenario where my client want to tranfer the Customer Line item(open item) to other company code? How can i do that?
    i.e : My client are having two company codes 1000 and 2000.  they are having same customer in both company code, now they want to transfer customer line item from company code 1000 to company code 2000.   Please tell me how can i do that without using cross company code transaction. because my client dont want to use cross company code transaction here....please suggest alternate way to do that?
    Regards,
    Sam.

    Hi
    you can use the system make the transfer posting with or without clearing.
    To do so, choose Document entry-> Other -> Intern.transf.psting -> With clearing or Without clearing from the Accounts
    Receivable menu:
    From the Accounts Receivable screen, select Document entry and then the accounting transaction.
    Enter and post the document as usual.
    Please check by testing.
    Reg
    Suresh

  • How to create function module for getting customer name

    Hi Experts,
                   How to create function module?  when in import parameter kunnr values to be passed it must give name1 details according to the customer number...
    how to write the logic in source code....
    Regards,
    Thiru. R

    1. First of all create function group.
    2. Create function module using this function group.
    3. If only one kunnr is needed at a time, create import parameter for it. But if many kunnr to be entered at a time,use table.
    4. Fetch name1 for each kunnr from KNA1 table.
    "->> if many kunnr
    if not t_kunnr[] is initial.
    select kunnr as kunnr name1 as name1
    into table t_kunnr_name1
    from kna1
    for all entried in table t_kunnr
    where kunnr = t_kunnr-kunnr.
    endif.       
    sort t_kunnr_name1 by kunnr name1.
    delete adjacent duplicates from t_kunnr_name1 comparing kunnr name1.
    table t_kunnr_name1 will contain kunnr and its name1.
    I hope logic is clear for you now.
    Regards,
    Aparna

  • Function Module for Installment Customer Payments

    Hello,
    I am trying to create a payment due report for our customers. We use installment payment terms for our customers. Therefore, when run at the end of September 2011 this report has to only show the invoice amount, tax and discount that is due as of that date. Is there a function module that I can use to get the split based on these installment terms?
    The only other option is to do the calculation manually within the program i.e. read the installment percentage from the table T052S and calculate the values per invoice. However, it seems as if there would be a easier way to do this. Can someone please suggest any function modules that can be used to calculate the net due, discount and tax amounts per installment period?
    Thanks,
    Rugmani

    Hi Suresh,
    You have a standard IDOC function module to create the customer Master for Message Type DEBMAS is IDOC_INPUT_DEBITOR and the process code is DEBM.
    You can use that combination and you can create customer master with the IDOC's in your system.
    Thanks,
    Mahesh.

  • Function module for displaying customer address changes detail

    Hi ,
    Can anyone tell me any code or function module which gives me customer addresses before changes or after changes customer address.
    Regards,
    Gaurav T.

    GT,
    First check acustomer in 'XD04' which has got some change doc history. See all changes in XD04 for that customer.
    Then go to CDHDR table,
    OBJECTCLAS = 'DEBI'.
    OBJECTID      = Customer Number (10 digit with 0 padding).
    UDATE           = Update/change date (Take from XD04).
    Run the table & put the same values in CDPOS along with the CDHDR-CHANGENR & get the field wise changes in Customer with new & old values.
    Try this out or else call me.
    Regards,
    SP.

  • Cheque print out for vendor multiple open line items

    HI experts,
                      I want to print a cheque using f-58 for vendor payment.The problem is when i click the vendor open items(vendor invoice) for a single line item  its getting displayed.But when i click for  vendor multiple  open items(invoices) its not getting displayed in the script out put.Its displaying only with single document number(posting).

    thank you..its solved

Maybe you are looking for

  • MS. Exchange Server 2007 Integration

    I want to integrate MS. Exchange Server 2007 with my WebCenter portal application. I read that I can do this with WebCenter Interaction. I have following questions:- 1. Is the license of WebCenter Interaction is convered under the license of WebCente

  • JAVA  File handling. ( Urgent  Response Appreciated)

    Hi I'm pretty new to Java. I would appreciate if any one could write programme for me for the below scenario: Write a Java program which accepts the name of a text file, reads in that file, and prints out the following information about the file: 1.

  • Quick windows update question

    I searched and couldn't find exactly what I was looking for. So I installed windows xp SP3, and so far it's going good. My question is will any of the normal windows updates mess up anything at this point.

  • Another subfolder bug (or JSF flow?)...

    1. Create new project 2. On the Page1 place any image from the Samples directory such as navbar.jpg 3. Create subfolder 4. Create a new page Test.jsp in the subfolder 5. Place a button on Page1 to point to test/Test.jsp 6. Place a button on Test.jsp

  • Social media...

    hello, I was just wondering if it is possible to use this product as a "start up" for a social networking site? 2nd can you edit the source code of flash media server? And when i mean can you use it for social networking development i mean , low qual