Invoice: Baseline date on the payment terms.

Dear Experts,
I am having a problem where trying to change the term of payment of an invoice before a posting, the account doesnt set the baseline date correctly.
This issue occurs for baseline date type 'Entry Date' .
After whichever interaction in MIR4 , 'Enter' or 'Save', the baseline date will:
1. set to the date as in the existing entry if there is no change .
2. set to the system date if there is a change in the payment terms,
where the '2nd' is not correct because the payment term changed stated that the baseline date should be 'Entry Date'.
The above mentioned logic is inside the function module
'FI_CHANGE_PAYMENT_CONDITIONS'
Codes bellow shows the scenario mentioned in '1.' no changes
Wenn keine Änderung, dann Export versorgen und Tschüss-----
e_zterm = i_newzterm.
zterm = i_newzterm.
e_zfbdt = i_newzfbdt. <----
set to the existing entry
zfbdt = i_newzfbdt.
e_sklin = i_newsklin.
sklin = i_newsklin.
check not status is initial.
Codes bellow shows the scenario mentioned in '2.'terms change, and baseline date type 'C'
T052 contains first entry for payment term key entered "P00K005354
case t052-zdart. "P00K005354
when 'C'. "P00K005354
zfbdt = sy-datum. "P00K005354
if i_cpudt is initial. "Note 199967
zfbdt = sy-datum. "P00K005354 <------ set to current date
else. "Note 199967
zfbdt = i_cpudt. "Note 199967
endif. "Note 199967
Is this a program logic error or is it the way it should be ?
Any one encounter the similar problem ? or should there be OSS notes to apply ?
Thank you .....

.

Similar Messages

  • Debit memo(DR doc type) baseline date exceding the payment term days

    Hi All
    For debit memo I am facing a issue where my baseline date for a customer is showing more then the days specified in his(customer's) payment terms.
    sales document category is DR and order is created for some customer xyz and payment terms of that customer is showing 0% UP TO 15 DAYS. But when I check it in FBL5n the Net due dt for that order is showing 180 + 15 = 195days.
    What can be the reason, is it due to some enhancement or some routine or what , I am not able to figure out from where these days are coming for. I have checked MV45AFZZ , RV60AFZA and other exit s, I couldnt find any code which shows these added 180 days..
    Guide me in finding out the source ot this, <removed by moderator>.
    Thanks in Advance
    Regards
    Amit
    Edited by: Thomas Zloch on Sep 30, 2011 3:46 PM

    HI,
    You may need to check the copy control settings between the debit memo request and sales document in transaction code VTAA.
    Select the target document type and source document type, and click on the details (header level). Check the routine that is assigned for the field copying requirements for transfering business data.
    The routine assigned may be copying the base line date from the source document. You may need to assign other routine or you may need to develop your own routine to resolve your issue.
    Regards,

  • Baseline date change OBB8- payment terms

    Hi
    Is it ok to change the baseline date in a payment term in OBB8 after posting several invoices? What consequesnces should this change have?
    Thanks in advance
    Aparna

    This will effect for the all pending invocies. The effect could be change in the payment schedule for the vendors.

  • How to get default baseline date in a payment terms

    Hi,
    We have around 160 payment terms used in our system. We want to get the default baseline date for all these payment terms. Going to each individual payment terms and getting the default baseline date is a cumbersome job.
    Is there any easy way to get the default baseline date for each of the payment terms, like from any table or anything else. I have tried table T052. But it does not have default baseline date.
    Please help.
    Regards
    B.Mohanty

    Hello Bibhu,
    default baseline date is a customizing setting in paymentterms. That's the only way.
    I have no idea why TC lsmw is recommended, definetely the wrong way.
    Best regards
      Horst

  • Baseline Date as the Document Date

    Hi,
    I have a query on Payment Terms which we maintain in the Posting Parameters->Postings Tab page in RE-FX Lease Out Contract.
    I maintain a payment term for 10 days in the RE-FX Contract.
    I have maintained a Condition which is due on 1st of every month with a monthly frequency.
    When i simulate the contract for planned Cash Flow, it shows me the conditions which are due to be posted on 1st of every month. Now, here is a scenario wherein I am unable to post the conditions through Periodic Posting (RERAPP) on 1st and i eventually carry out the Posting on 16th of that month. Hence I maintain Document Date and Posting date in the T Code RERAPP (Periodic Posting) as 16th of that month.
    Now when i open the Customer Line Items in FBL5N, i find that the Document Date and Posting date to be 16th whereas the Baseline date to be 1st of that month. This makes the calculation of Due Date totally wrong since the system takes 1st of that month as Baseline Date and adds Payment Term days (10 days) to it and shows 11th of that month as the Net due date (which instead should have been 26th of that month.
    I tried changing the definition of Baseline Date in the Payment Terms definition to Document Date but it still did not bring the desired effect.
    Pankaj

    Hi,
    I face similar problem but not involving TRM.
    I've payment term set-up in OBB8 and stating default baseline date = document date.
    But in FBL5N system is always retrieving posting date as baseline date. Is there any other setting prevailing over payment term definition?
    Regards,
    Baptiste

  • Baseline date for Partial Payment in FB05

    When we created partial payment for SD invoice in FB05, the baseline date for line item is defaulted to today date. How to change this default date to original invoice date? Is there any OSS note that could do this? We are in version 4.7.

    Yes we are aware that baseline date determine in Payment Term setup OBB8.
    Our setup for Baseline date is Document date. We have invoice with document date e.g 01/01/2007. When we create partial payment using FB05, and do simulation. The baseline date change to new document date (e.g today date). We also aware that we can modify the baseline date directly in simulation. But we need to automate this, so we need to check if there is OSS notes that will default baseline date to original Document Date instead defaulted to new Document Date.

  • Customer invoice baseline date- VERY URGENT

    User wants partial payment baseline date and credit memo baseline date with reference to customer's original invoice baseline date. E.g. 
    1. We received customer invoice 01/01/2007 and baseline date is 01/01/2007.
    2. We recieved partial payment 06/10/2007 and baseline date is 06/10/2007
    3. We received credit memo 09/15/2007 and baseline date is 09/15/2007
    Question: What needs to be done to get original invoice baseline date in partial payment and credit memo.
    OBB8 Settings: Document date option checked.
    I will assign double points if you answer this..
    Thanks a lot.
    -Jagadeesan

    Hi Experts,
    I also would like to know how to get the baseline date by "following the original invoice due date" when creating "Customer Credit Memo (in transaction VF01) or Subsequent Account doc.". Is it possible in changing the configuration ? If not, is it only possible to solve it in user exit ?
    Tks,
    KH Fong

  • In AP invoice i need to make "Terms date " field to calculate the date automatically when i select the payment terms

    In AP invoice i need to make "Terms date " field to calculate the date automatically when i select the payment terms.
    How can i do this?

    Hi,
    You can select the Payment Term at PO Header Level.
    When you book an invoice, that Payment Term will automatically defaulted to Invoice.
    You can define Payment Term in AP.
    Payment terms have one or more payment terms lines, each of which creates one scheduled payment. Each payment terms line and each corresponding scheduled  payment has a due date or a discount date based on either a specific day of a month, such as the 15th of the month, or a number of days added to your terms date, such as 14 days after the terms date.
    Payment Terms (Oracle Payables Help)

  • Invoice Reference Number "V" + Blank Payment Terms field

    Hi Experts
    Need your validation on one point. I have credit memos with invoice reference number field filled with "V" but payment terms in document is blank.
    Payment terms in Vendor Master Data is XXXX (Net due 30 days). But when I run the Payment Program within 30 days for this vendor, the credit memo is picked up and adjusted.
    Is my understanding correct that it is because of the following reasons -
    By putting V in invoice reference number, the system will overlook the payment terms mentioned in Vendor Master Data and follows whatever is mentioned in the document.
    And because the payment term field is empty in the document, it is taking baseline date as payment due date and thus picks the document in F110 program.
    Points will be rewarded to replies with explanations.
    Regards
    Arjun

    Arjun,
    please check my comments:
    By putting V in invoice reference number, the system will overlook the payment terms mentioned in Vendor Master Data and follows whatever is mentioned in the document.
    In all cases the document entry overlook the master data entry. The vendor works as default values during document entry.
    And because the payment term field is empty in the document, it is taking baseline date as payment due date and thus picks the document in F110 program.
    Don't change the document defaul entry if you want the vendor assignment. If it's blank you have to assign same Payment terms from you vendor otherwise you will have only the baseline date.
    Best Regards

  • Required to change the Baseline Date in the MIRO Invocie Document

    Dear Friends,
    According to the Payment Terms, while doing the MIRO, the Baseline Date getting populated corresponds to the Document Date. However, the users need to replace the same with the GR Date. Is there a way to check for the GR date or the Delivery Date from the Invoice Verification screen layout?. In view of high volumes, the users do not want to go for another step of scrutinizing the PO History to know the GR date and instead desire to find the same from the Invoice Verification step itself. Is there a way to do this?
    Thanks for the help.
    Regards

    Hi,
    You need to use substitution with exit (GGB1/ OBBH) to populate the GR date in the baseline date field.
    Also go through the below thread:-
    [Re: Substitution - Baseline Date to be replaced by the Goods Receipt date;
    Regards,
    SDNer

  • How to ue the PAYMENT TERMS

    Hi Experts,
    I am developing one reports, which should give the same output like FBL5N, but my report should calculate the payment terms logic, could any one suggest how i can use payment terms login in my report.
    Any function module would give no,of days for payment terms logic.
    Thanks,
    Gourisankar

    HI,
    Even i got same requirement.
    SELECT belnr                       " Document number
               budat                       " Posting date
               bldat                       " Document date
               waers                       " Currency
               xblnr                       " Reference number
               blart                       " Document type
               shkzg                       " Debit/credit indicator
               wrbtr                       " Amount
               zfbdt                       " Baseline date
               zterm                       " Payment terms
          FROM bsak
          INTO TABLE t_bsik
           FOR ALL ENTRIES IN t_delivery
         WHERE bukrs IN s_bukrs
           AND lifnr IN s_lifnr
          AND belnr IN s_belnr
           AND xblnr EQ t_delivery-vbeln
           AND sgtxt IN s_sgtxt.
    we get payment term from the field zterm.
    and then to get the payment date.
    use the below logic.
    SELECT SINGLE ztagg                " Day Limit
               ztag1                       " Days from Baseline Date...
               ztag2                       " Days from Baseline Date...
               ztag3                       " Days from Baseline Date...
               zstg1                       " Due Date for Special Condition
               zstg2                       " Due Date for Special Condition
               zstg3                       " Due Date for Special Condition
          FROM t052
          INTO lfs_days
            WHERE zterm EQ fs_zterm-zterm.
    and select maximum days from lfs_days.
    and add it to your baseline date.
    that will become ur payment date.
    Hope it is useful to you.
    Regards,
    Manjari.

  • Different discount date from that of due date without using payment terms

    Hi,
    We would like have separate discount due date from due date without using payment terms for each invoice.
    We wants to modify ERDK-FAEDS but unable to find suitable event/exit for the same.
    So can anyone suggest any event where this can possibly be achived.
    Regards,
    Paresh

    Hi,
    We are using continuous days for working out due date from document date.
    But for discount due date business sought to provide only working days (say 7 days) from document date.
    So as to satisfy this requirement, I had adopted event R436 where system intially takes values provided but somehow it gets cleared in below lines. So I am unable to find a workaround to resolve this issue.
    PERFORM get_user_exit_function USING 'R436'.
      LOOP AT t_fbstab WHERE funcc <> 'ISU_SAMPLE_R436'.
        tmp_erdk = p_iiu-print_doc-erdk.
        tmp_erdz[] = p_iiu-print_doc-t_erdz[].
        CALL FUNCTION t_fbstab-funcc
          EXPORTING
            x_invoice_param    = p_param
            x_invoice_unit     = p_iiu
          TABLES
            xy_printdoc_lines  = tmp_erdz
            y_new_bill_lines   = tmp_new_bill_lines
          CHANGING
            xy_printdoc_header = tmp_erdk
          EXCEPTIONS
            error_message      = 1.
    Regards,
    Paresh

  • How to make net due date dependent on Payment Terms in credit memo FB75

    Hi Experts,
    In our system currently when we create credit memo using tcode FB75 system makes the invoive due immediately.
    We wanted to make this net due date dependent on payment terms given by us. Please let me know how can I achieve this..
    Please let me know if there is any user exit there or the configration path to achieve this...
    Regards,
    Vidya

    Hi,
    "vbdkr-zterm. is nothing but Payment terms
    *   Fetching Payment term details
        SELECT SINGLE * FROM t052 INTO w_t052 WHERE zterm = vbdkr-zterm.
        IF sy-subrc = 0.
          CLEAR i_faede.
          MOVE-CORRESPONDING w_t052 TO i_faede.
          MOVE: w_t052-ztag1 TO i_faede-zbd1t,
          w_t052-ztag2 TO i_faede-zbd2t,
          w_t052-ztag3 TO i_faede-zbd3t.
          i_faede-bldat = BKPF-budat.                         "this is Importnat posting date
          i_faede-koart = 'D'.
    *     Fetching Due date using Function Module
          CALL FUNCTION 'DETERMINE_DUE_DATE'
            EXPORTING
              i_faede                    = i_faede
            IMPORTING
              e_faede                    = e_faede
            EXCEPTIONS
              account_type_not_supported = 1
              OTHERS                     = 2.
          IF sy-subrc <> 0.
          ENDIF.
          w_invdate = e_faede-netdt.              "this field contains Net due date...
        ENDIF.
    Prabhudas

  • Issuing a warning message while changing the payment terms in FB02

    Hi Gurus,
    The requirement is as follows:
    For a particular payment terms meant for customer only when we change the payment terms in FB02, the system should give an warning message.
    For example - A customer has the payment terms 0001in his master data and thus in the accoutning document as well after releasing billing to accounting. An user wants to change the payment terms to 0070 being in FB02. As and when he puts the payment terms 0070, the system should give an warning meesage saying 'bla bla bla ........' or the same message at the time of saving the document.
    How to make this possible. Please help.
    Rgds,
    BABA

    Mr. Tiwari,
    This is the standard feature of SAP!!!  You get below messages
    1)
    Net due date on 05.10.2007 is in the past
    Message no. F5149
    Effects on Customizing
    You can define when this system message is to be issued in accordance with your requirements.
    You do this in Customizing as follows: Cross-Application Components -> Bank Directory -> Change Message Control.
    The application area and message number can be taken from the technical documentation.
    2)
    Net due date on 05.10.2007 is in the past
    Message no. F5149
    Effects on Customizing
    You can define when this system message is to be issued in accordance with your requirements.
    You do this in Customizing as follows: Cross-Application Components -> Bank Directory -> Change Message Control.
    The application area and message number can be taken from the technical documentation.
    Terms of payment changed; Check
    Message no. F5231
    Effects on Customizing
    You can define when this system message is to be issued in accordance with your requirements.
    You do this in Customizing as follows: Cross-Application Components -> Bank Directory -> Change Message Control.
    The application area and message number can be taken from the technical documentation.
    Regards
    Santosh Hegde

  • Getting the Payment Terms on XLR

    Hello All,
    I am creating a Billing Note document using XLR. Everything is fine, except for I am unable to get the payment terms (Name) on the report.
    I am trying to use the Payment Terms set in the BP Master data, but this is just the code. I need the description of this code sitting in the Payment Terms (OCTG) table.
    How can this be done in XLR ?
    Thank you
    Gautam

    You may need to use the "Get Other Data" function to do this.
    If you bring out the code in our definition, then, in a different area, bring out the names in the table, you can then insert a look up column to look up the code in the Get Other Data table and hide the code column.

Maybe you are looking for

  • Using Time Machine to backup FROM a network drive

    Can time machine be configured to backup files that are stored on a network drive? Drive is mounted via SMB. Thanks Simon

  • Parsing Query Ending in an white Page

    Hi, when i try to edit my report region (Oracle XE , Apex 3.1) i´m ending on a white page (URL .. 8080/apex/wwv_flow.accept) I tried to delete the region and add a new one, but same happens. I reboot the db, no luck. The Query is just simple: SELECT

  • Error Statements in PL/SQL Code

    Hello Everyone: I have a PL/SQL routine that I need to add "Error Statments" in case something errors when it is ran, the user will know and be able to fix the issue. Below is a copy of what I need to run. It is a one off that this will only be ran o

  • Exporting to pdf from Pages 5.0

    When I try exporting to pdf in Pages 5.0, I get an error message that states, "The document "(original file name)" could not be exported as "(new file name)". " Any ideas what's wrong?

  • I want to know the caching mechanism of Firefox

    Hi everyone, i want to know how exactly caching mechanism works in firefox? I know for the cached objects we have two info Expire date or Max-age, how we use them while deciding if the object should be served from cache or not