Function Module to Determine Split Invoice

Hi,
Is there any function module to determine if the delivery orders will result into a split invoice?
Regards,
Mawi

Hi ,
Look at the following FM.
FI_INVOICE_SPLIT
FM_PPA_SPLIT_INVOICE          
FI_WT_ACI_INVOICE_SPLIT
FI_WT_INVOICE_SPLIT
FI_WT_INVOICE_SPLIT_CIFPP
Thanks
Shambhu

Similar Messages

  • Function module to display offsetting invoice of incoming payment

    Hi all,
    I would like to print the customer statement of accounts through sap correspondence. 
    Is there any function module where it will display out the offsetting invoice numbers of the incoming payment that I can use in the sapscript? 
    Eg:
    Incoming payment:  1,000.00
    Offset against
    Invoice A: 500.00
    Invoice B: 300.00
    Invoice C: 200.00
    Thanks.
    Rgds,

    Hi,
    When you do the clearing, these invoices are stored in BSAD Table under the field BELNR and the link between the incoming payment and the invoice is the clearing document number. You dont need any function module to determine the invoice.
    You can also get this link in the table BSE_CLR.
    Regards
    Mahendra

  • Is there any function module which gives open invoices &open amount?

    Hello All,
    I want to use function module which gives open invoices with open amount.
    I know 'CUSTOMER_OPEN_ITEMS'  'BAPI_AR_ACC_GETOPENITEMS' function which gives open invoices but does not give open amount.
    Can anyone help me to find such function?

    From this BAPI ,
    BAPI_AR_ACC_GETOPENITEMS, You got amount for items in lc_amount field of lineitems table parameter.
    I hope, it will helpful to you.
    by
    Prasad GVK.

  • Function module  to determine the credit balance or if there is an open ite

    Hi All ,
    Can anyone please let me is there any function module  to determine the credit balance orr if there is an open standing request / open standing request /paid but not yet refunded security deposit .
    Requirement :
    Purpose -This report shows a list of u201Cinactiveu201D contract accounts and the amounts to be refunded (credit balance, paid security deposit) to customers.  This report also shows any open standing requests in customersu2019 contract accounts.
    Note:  SAP does not have a concept of u201Cinactiveu201D contract accounts.  All contract accounts are active in SAP.   
    We do have customers who pay several months in advance (when they are out of town and donu2019t want to have their services disconnected). 
    Logic to retrieve the u201Cinactiveu201D accounts:
    The inactive accounts can be identified by the Move-In/Out dunning procedure. If the mov-in/out dunning procedure is not empty, that means this account has moved out and the account is inactive.
    Business Logic and Flow
    For each contract account
    Go through each installation and check if it is disconnected
         If (one is active)
    move to the next contract account
    else (all is disconnected)
         check to see if there is a credit balance or if there is an open standing request
         If (credit balance)
    {Display contract account, customer number and information, and credit balance for refund}
    If (open standing request)
    {Display contract account, customer number and information, standing request number to be closed}
    If (paid but not yet refunded security deposit)
    {Display contract account, customer number and information, current balance and security deposit amount}
    Thanks in advance
    Rahul

    Hi Rahul,
    To find out the credit balance relating to security deposits you can use BAPI_ACCOUNT_GETBALANCES. On execution of this BAPI with BP and Contract Account Number, it will return the net balance with different segments like open, due, credit and likewise security deposit amount.
    To find out if there is any open standing request standing against the customer you can use BAPI_CTRACCONTRACTACCOUNT_GOI. You have to execute this BAPI by providing BP or Contract Account number in Main Selections  table and Main and Sub Transaction of Security Deposit Request transaction in Value Selection table. This BAPI will fetch all open items with the main and sub transactions specified and display.
    Thanks
    Ganesh

  • Function Module to determine the number of pages in a pdf file

    Hi All,
    Is there any standard function module to determine the number of pages in a pdf file?
    Thanks,
    Sai

    Hi unk2,
    There's no functionality in the Acrobat.com online services to do a character count. But, you could use ExportPDF to convert your PDF file to Word format, and then do your character count in Word.
    Please let us know if you need additional assistance.
    Best,
    Sara

  • Function module to determine the date for the nth weekday of the mth month

    Hey folks,
    Is there a function module which determines the date for the mth weekday of the nth month in the pth year.
    For instance, if I input 2nd thursday of the 4th month in 2008, it should return me, 04/10/2008  (MM/DD/YYYY).
    Thanks and Best Regards,
    Puja.

    Hi Ravi,
    Hadn't been able to work on this lately...You solution was quite close, but did not work for a few scenarios....I tweaked the logic a bit to take care of them as well...
    So here goes the code:
    ================================================
      DATA first_day_of_month TYPE datum.
      DATA day TYPE p.
      CONCATENATE year month '01' INTO first_day_of_month.
      CALL FUNCTION 'DAY_IN_WEEK'
        EXPORTING
          datum = first_day_of_month
        IMPORTING
          wotnr = day.
      DATA day_number TYPE numc2.
      IF day = weekday.
        IF recur = 1.
          DATA ls_date(10) TYPE c.
          CONCATENATE month '/01/' year INTO ls_date.
          CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
            EXPORTING
              date_external                  = ls_date
           IMPORTING
             date_internal                  = date.
        ELSE.
          day_number =  ( ( recur - 1 ) * 7 )  + 1.
        ENDIF.
      ELSEIF day < weekday.
        day_number = ( ( recur - 1 ) * 7 ) + ( weekday - day ) + 1.
      ELSE.
        day_number = ( ( recur - 1 ) * 7 ) + ( 7 - day ) + weekday + 1.
      ENDIF.
      IF date IS INITIAL.
        CONCATENATE year month day_number INTO date.
      ENDIF.
    ====================================
    There still could be some loopholes in this....am not sure....but it sure did seem to work for a couple of random checks that I performed.
    Brownie points to you for giving me a direction.
    Thanks,
    Puja.

  • Function Module to determine due date in BI form Payment Terms

    Hi to all,
    Can any one tell me what is the Function Module to determine due date in BI, form ZTERM ( Payment Terms ).
    I am working on Accounts Receivable (AR). and need to calculate Due date.
    I shall be thankful to you for this.
    Regards
    Pavneet Rana

    Thanks For reply,
    I have to do aging for Receivables and report format is like that.
                    1 - 10      11 - 30        31 - 60         61 - 90       > 90     Notoverdue   Overdue
    North
    East
    south
    West
    According to client requirement in first 5 bucket i need to display Receivables according to aging
    and for  Notoverdue   Overdue  bucket condition is like that.
    if sy-datum - vbrk-fkdat  > 0NETDUEDATE then it is under Overdue bucket
    if sy-datum - vbrk-fkdat  < 0NETDUEDATE then it is under notOverdue bucket
    there i have created 2 DSO , one for sales which have North,East,south,West and vbrk-fkdat using 2LIS_13_VDHDR,2LIS_13_VDITM
    and other  DSO which will have 0NETDUEDATE from 0FI_AR_4 .
    for Notoverdue   Overdue how i will calculate aging at query level.
    also is 0p_keydt is variable for 0CALDAY which will take user entery and should i applied offcet, to get firts 5 bucket Receivables data for aging.
    i shall be thankful to you for this.
    Regards
    Pavneet Rana

  • Function Module to find Fully Invoice PO

    Hi all,
           Is there any function module to find Fully Invoice PO?
           Or
          Tell me the tables from where can i get the details of Fully Invoiced PO?

    Hi,
       My requirement is like this.
    I have a company code on selection screen.
    I have to take PO's based on company code.
    Then I need to check whether that PO is fully invoiced or not.
    Initial i was checking EKKO table. But I found that is not the correct table to find out.

  • Functional module for determining the sales tax code

    Dear all,
    Kindly help me is there any Functional module to determine the sales tax code?
    My Requirement is Based on the Country, Sales Org and Tax code Pricing should pick up automatically.
    I tried adding the same fields in the table and inserted in the access sequence and created the condition record for the same.
    Created the order but system is not able to get  the Tax code while determining the price?
    Please help ...
    Regards,
    SK

    My Requirement is Based on the Country, Sales Org and
         Tax code Pricing should pick up automatically
    but system is not able to get the Tax code while determining the price?
    Your both the above comments are contradict to each other. In the first statement, you say pricing should pick up automatically whereas, in the next statement, you say tax code is not determining.   Please indicate the requirement clearly.
    thanks
    G. Lakshmipathi

  • Function module to Print Customer Invoice as PDF and to Printer

    Hi,
    I am writing a program to create a document through FB01. After that I also need to a PRINT the customer invoice for Same document. I need to print Invoice as PDF and Report and print to a Printer. Which Function Modules can I use for these purposes.
    Thanks.
    FS
    Moderator Message: SDN is not here to do your job for you. There are plenty of good developers who work at CSC who can help you out. Thread locked.
    Edited by: Neil Gardiner on Oct 5, 2010 6:38 PM

    Hi,
    please see the given link,It may help you.
    Re: Regarding Print Problem in ALV
    Regards,
    Shamma

  • BAPI or Function module to park FI Invoice

    Hi All,
    I have been trying hard to find a Function Module or a BAPI to park a vendor Invoice. Do rememeber that I am using the transaction FV60 for this purpose and not MIRO. For MIRO you have the BAPI_INCOMINGINVOICE_CREATE. But for the FI vendor invoice I am finding hard to find a function module. I have as of now using a BDC but the customer needs to upload 500 invoices and it is very slow. The reason why I need a banckground process is because there is a report in conjunction with the upload program which actually gives the status of all the Invoices and to whom it has been assigned to for processing.
    I have a workflow running behind this and report is about the workflow.
    I would appreciate if somebody could help me out here
    Cheers,
    Sudhi

    Hi All,
    Thanks a lot to all for providing me the inputs but all the Function modules that are mentioned are for the MM Invoice that you create through transaction MIRO or MIR7. I need a functin module that can park an invoice through transaction FV60. Any inputs will be appreciated.
    Cheers,
    Sudhi

  • Function Module For Customer Receivable Invoice Document Wise

    Dear All,
    Is there a standard Function Module / BAPI available for calculating Customer Receivable amount invoice document wise? I will explain the scenario in greater detail:
    1) Invoice is booked against customer (FB70 / SD Interface)
    2) Receipt is made (F-28 )
    3) Matching of invoice is done at the time of receipt (either partial or residual)
    4) Customer Account Clearing is done (F-32)
    We have explored tables BSID,BSAD,BSEG and BSE_CLR, but are unable to decipher the exact logic by which the System is storing the cleared amount, invoice document wise. We have tried referring to BSEG-REBZG (Invoice Reference) and BSE_CLR for finding out the clearing document and thus arriving at the invoice document balance, but the table entries are not similar in case of partial and residual payment and hence it is creating problem in deducing the actual invoice wise open balance. Can anyone refer to some FM / API / Logic for deducing the same?
    Your inputs will be sincerely appreciated.
    Thanks and Sincere Regards,
    Amitabha

    Hi People,
    Any ideas?
    Thanks and Sincere regards,
    Amitabha

  • BAPI/Function module for BATCH SPLIT

    Hi,
    is there a BAPI/Function module to enter BATCH SPLIT data in an outbound delivery. I used tcode VL02N to create an Outbound delivery(FOR an STO). I can use 'BAPI_DELIVERYPROCESSING_EXEC' to creat an Outbound delivery, but need to know what to use to add BATCH SPLIT data.
    Thanks
    Raj

    Hi Raj,
    Check this thread..
    Re: Inserting Batch Split Items in Delivery
    Cheers
    VJ

  • Need a functional module to compute the invoice balance

    Hi,
    I need to know if there is a functional module which we can use to compute the invoice balance by deducting the credit notes and the payments.

    This was not answered

  • Function module to determine last consumption material

    Hi,
    In transaction MC46 the no. of days since last consumption is calculated. I am looking for a function module or abap to calculate this myself. Does anyone know if there is something available for this ?
    Your support is more than welcome,
    MArtijn

    Hi ,
    Look at the following FM.
    FI_INVOICE_SPLIT
    FM_PPA_SPLIT_INVOICE          
    FI_WT_ACI_INVOICE_SPLIT
    FI_WT_INVOICE_SPLIT
    FI_WT_INVOICE_SPLIT_CIFPP
    Thanks
    Shambhu

Maybe you are looking for