Function Module - Payment Term

Hi All,
In transaction FBL1n i find that the program calculates the due date for payment for a vendor invoice based on the baseline date & the payment term maintained for the vendor.
Eg: Baseline date - 15.4.2008, payment terms is 30 days
The due date shows 15.5.2008
Is there a FM which does this calculation, if so which one? I checked in the program of FBL1n (RFITEMAP) but was unable to find out the same.
If there is no standard FM, can anyone let me know how i can manage this logic? The problem is there are several payment terms & each has a different logic, so it would be helpful if there is a FM which reads this payment term & translate it into number of days atleast.
Hope my question is clear.
Vivek

Jack,
Thanks for your inputs. This FM is OK, if i have an entry of days in the table as it reads ZBD1T - ZBD3T, but my need is, to read the payment term maintained for the vendor & then translate that into days, so i can then add it to my date for net due date calculation. This is for a very specific need. I hope am clear.
Await inputs.
Vivek

Similar Messages

  • Copy function for "payment terms"

    I have payment terms setup with T-code MK01/MK02. After we changed the payment term with transaction XK02, the PO didn't pick up the new payment term while creating a new PO.
    Any idea that we can setup it up to pickup the one changed by XK02 instead of the one set by MK02?
    Thanks!
    Donald

    mk01/mk02 is maintenance of vendor master general data and purchasing org data
    xk01/xk02 is maintenance of vendor master general data, company code data and purchasing org data.
    So in general there is not difference if you maintain the payment terms in purchasing org data view with mk01/mk02 or xk01/xk02.
    But I guess you maintained payment terms at company code level in XK01/xk02 and kept the payment terms at purchasing org level unchanged.
    No the purchase order will never take the payment terms entered in company code data view, the PO will always take the payment terms from the purchasing org view.
    Maintian it equally.
    the payment terms from purchasing org data view are used in purchase process, the payment term from company code data view are used in financial process, where you dont have any PO.

  • One of worst  function module released by SAP in terms of coding standard

    Hi ,
      I have ever come across SAP function module in terms of Coding standard.
    "J_1I4_GET_ACTUAL_DUTY_IN_LIV".
    Please if any one knows SAP Quality team id please forward this function module to them.
    I do know how SAP has released this kind of function module
    Thanks
    Venkat
    Moderator message: moved to general discussions forum.
    Edited by: Thomas Zloch on Oct 4, 2011 10:42 PM

    LoL!
    [SAP Note 783224 - Rollback of the note 429073|https://service.sap.com/sap/support/notes/783224] is high priority...
    Important:
    The changes provided have to be applied MANUALLY. These changes cannot be applied via S Note or Note Assistant.
    The comments, notes about changes and some corrections to previous notes which changed the FM (manually) mention legal requirements very often...
    It is quite possible that the developer author is a lawyer
    Cheers,
    Julius

  • Payment terms - Purchase order

    Hi,
    We have a business requirement, where we are maintaining different payment terms for different company code in vendor master.
    I understand that the payment terms in the purchase org view of the vendor master takes precedence over those at the company code level during the creation of Purchase order and the payment terms of the company code level is accessed when processing an invoice NOT associated with a Purchase order.
    However, business wants to derive the payment terms from company code data of vendor master and not from purchasing view.
    Please let me know the use exit, which can be used to achieve this requirement.
    Regards,
    AG

    Hi
    Not every vendor with purchasing org data needs company code data. Not every vendor with company code data needs purchasing data.
    The payment terms at company code level are used if you post non-PO related invoices with FI transactions.
    Vendor Master Data Management
    Copy function for "payment terms"
    Payment terms in vendor  Master
    thanks..

  • Function Module to Calculate Due Date from Payment Terms?

    I'm writing an aged debtor report as the SAP standard one isn't quite right for our requirements.  Is there a function module that will calculate the payment due date if I give it the payment terms and the base line date?
    I did a search in SE37 but couldn't see one which fitted my requirements (I was searching on CALCDUEDATE and variantions of).
    Any suggestions welcome, thanks.
    Gill

    Hi,
    Use the FM FI_TERMS_OF_PAYMENT_PROPOSE for calculating the Payment due date
    call function 'FI_TERMS_OF_PAYMENT_PROPOSE'
      exporting
        i_bldat         = gv_bldat
        i_budat         = gv_budat
        i_cpudt         = sy-datum
        i_zfbdt         = gv_zfbdt
        i_zterm         = gv_terms_paym
        i_bukrs         = gv_comp_code
      importing
        e_zbd1t         = gv_zbd1t
        e_zbd1p         = gv_zbd1p
        e_zbd2t         = gv_zbd2t
        e_zbd3t         = gv_zbd3t.
    Regards,
    Dwaraka.S

  • Function module to get due date by terms of payment

    Hi,
    Is there any function module which can give me the due date when I pass
    1) Terms of payment
    2) Baseline date
    Read the terms of payment and use the properties of the terms of payment ( Like Fixed date )  to get to the due date.
    Thanks in advance.,
    Raj

    Hi,
    I had the same problem, as J_1A_SD_CI_DUEDATE_GET does not work when FI document is not created yet.
    This is the way I used and it works:
        CALL FUNCTION 'FI_TERMS_OF_PAYMENT_PROPOSE'
          EXPORTING
            i_bldat               = sy-datum        "if baseline is filled, value here is ignored
            i_budat               = sy-datum
            i_cpudt               = sy-datum
            i_zfbdt               = vbdkr-zfbdt    "baseline due date
            i_zterm               = vbdkr-zterm   "payment terms
          IMPORTING
            e_zbd1t               = lv_zbd1t
            e_zbd2t               = lv_zbd2t
            e_zbd3t               = lv_zbd3t
            e_zfbdt               = lv_zfbdt
          EXCEPTIONS
            terms_not_found       = 1
            OTHERS                = 2.
        IF sy-subrc <> 0.
        ELSE.
          CALL FUNCTION 'J_1B_FI_NETDUE'
               EXPORTING
                    zfbdt   = lv_zfbdt
                    zbd1t   = lv_zbd1t
                    zbd2t   = lv_zbd2t
                    zbd3t   = lv_zbd3t
               IMPORTING
                    duedate = z_duedate.
        ENDIF.
    Hope it helps.
    Regards,
    Fernando

  • 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 for Update Payment Terms in Vendor Master

    Hi Guys,
    I have to update Payment Terms in Vendor General and  Compnr code level by ABAP Program.
    If any guys come accross pl help me to send the FM Details.
    Thanks in advance.

    I solved myself

  • Function Module - FBL1 (Payment due date)

    Hi All,
    In FBL1n i notice that once an invoice is posted into system, the due date for payment is calculated based on the payment terms for the vendor. I would like to know which FM i can use to get the same functionality?
    Vivek

    Mr. Santosh,
    Thanks for the quick response. Well actually i need to build a customized report for a specific requirement. I will be reading in 2 different dates & then I want to calculate the due date of payment as on those dates
    eg: Vendor payment terms 30 days.
    Case 1:
    Date 1: 3.4.2008
    Case 2:
    Date 2: 15.4.2008
    I want to pass these 2 dates individually into the FM & then the output should read me
    Case 1:
    Payment Due on: 3.5.2008
    Case 2:
    Payment Due on: 15.5.2008
    I hope i was able to put across my need clearly.
    Addition:
    Is there any function module or any other way to calculate the payment due date depending on baseline due date(ZFBDT) and payment terms(ZTERM)?
    Edited by: Vivek on Apr 23, 2008 10:04 PM

  • 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 - Customer Installment Payment Due

    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

    Dear Rugmani,
              Provide you url which is helpful to you....i think you must have to create a z-report for this purpose.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/TRZP/TRZP.pdf
    regards
    Ajit

  • Function module for creation of Payment Advice (Trans: FBE1)

    Hi,
    I need to create payment advice using function module.
    Transaction code is FBE1.
    Is there any function module or BAPI for the same?
    Thanks in advance,
    Regards,
    Umesh

    hi,
    this FM will help you.
    <b>EBPP_APAR_BUILD_PAYMENT_ADVICE</b>
    more over this is RFC.
    try this..
    regards
    vijay

  • Does R3 have a report or function module to process payments requests?

    HI All,
    I want R3 report or function module which will receive payment requests from vendor or customer and then procees it depending on the data.
    Does R3 have such a report or function module to process payments requests?
    Please help me.
    Thanks.

    yes SAP as got a function for this
    you can you use trannsaction code /nF111
    for these purposes

  • Payment term functions in Vendor master ?

    Dear Experts :
    There are two payment term fields in Vendor master , one is in Payment transactions Accounting and the other one is in Purchasing  Data.
    I don't know what's the different between those two fields and hope someone can tell me each functions ?
    Thanks a lot.

    Hi,
    I hope both are same, payment terms in Payment transactions Accounting is maintained at company code level and the one in purchasing is maintained at Purchase orgaisation level.
    Regards,
    Prabu

  • Function Module for incoming payments

    Hi All,
    I'm currently working on integrating the IVR system with SAP ECC 6.0 - IS-U module. I would like to know if there is any function module or BAPI which I can use to receive the payment information and the credit card information to update the document. The approach we are taking here is to receive the payment information using a web service and we want to update the FICA document with payment method and credit card information so that it can be pciked up using the payment run for clearing.
    I'm unable to find any details as most of them are using IVR with CRM system .
    Also I would like to know if it is OK to use the function modules given for Bilelr Direct for receiving the payments from IVR. We already have a working Bilelr direct functionaliy.
    Thanks and Regards
    Arvind

    Srinivas,
    Thank you so much for your reply. You answer was really helpful. I need to research these functio modules more to find out how to use them. Also I just want to check if you worked for Intelligrpup Inc. If yes then we have worked together for office max project for a very brief period.

Maybe you are looking for

  • Is there a completely reliable method of adding months to a date in ABAP?

    Does anyone know of a completely reliable and consistent ABAP function module that can be used to add months to a date.  One that will always get the correct last day of the month when requested to add 1 month to the last day of the previous month. 

  • Mass Change fuctionality for Delivery Documents

    Hi all, I want to carry out a mass change for a field in the delivery document header. I know the transaction MASS is not catering for that. Is that any other standard  transaction to do a mass change in the delivery document header level, other than

  • Oracle SQLPlus problem

    was working on xp until i installed my broadband modem...getting the following error.. ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

  • Weird IOs crash with SpriteVisualElement

    Setup: FB 4.7, Flex Mobile project, AIR 3.5 I'm making a IOs app mostly using starling with a classic display list screenmanager (extending SpriteVisualElement) on top to show some UI graphics. Everything runs great execpt when exporting a ad-hoc ver

  • Computer is slow on startup and opening of apps?

    Hello, Recently I have been having problems with my Mac being slow when I start it. I have tried to find a solution on the apple support communities and have tried various suggestions on how to fix the issue, but I have not been able to find one. I d