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

Similar Messages

  • Duplicate records found while loading master data(very urgent)

    Hi all,
    One infopackage in the process chain failed while laoding the master data(full update).Its showing the following error-->duplicate record found ..1 record used in /BI0/PTCTQUERY and the same record occured in /BI0/PTCTQUERY tables.
    can anyone give me the solution...its very urgent...
    Thanks & Regards,
    Manjula

    Hi
    You can see the check box in the Processing tab page. Make a tick mark for the check box Ignore Duplicate Data Records indicator . When multiple data records that have the same key are transferred, the last data record in the request is updated to BI. Any other data records in the request with the same key are ignored.
    Help says that:
    To maintain consistency, ignoring duplicate data records is only possible if the data is updated serially. A serial update is when data is first updated into the PSA then, after it has been successfully written to the PSA, it is updated into the master data or text tables of the InfoObject.
    If a DataSource transfers potentially duplicate data records or if you manually set the Ignore Duplicate Data Records indicator, the PSA Only update type is automatically selected in the scheduler.
    hope it clears ur doubt, otherwise let me know.
    Regards
    Kiran

  • 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 .....

    .

  • SQL Loader Oracle 10g problem in upload date with time data -- Very urgent.

    Hi
    I am trying to upload data using SQL loader. There are three columns in the table
    defined as DATE. When I tried upload a data like this '2007-02-15 15:10:20', it is not loading time part. The date stored as 02/15/2008' only. There is not time on that. I tried with many different format nothing work. Can please help me ?
    I have also tried with to_date --> to_timestamp it did not work.
    The application is going to be in production, I cannot change DATE to TIME STAMP. This is very urgent.
    LASTWRITTEN "decode(:LASTWRITTEN,'null',Null, to_date(:LASTWRITTEN,'YYYY-MM-DD HH24:Mi:SS'))",
    CREATEDON "decode(:CREATEDON,'null',Null, to_date(:CREATEDON,'YYYY-MM-DD HH24:Mi:SS'))",
    LASTUPDATEDON(21) "decode(:LASTUPDATEDON,'null',Null, to_date(:LASTUPDATEDON(21),'DD/MM/YYYY HH24:MI:SS'))"

    Your problem is most likely in decode - the return type in your expression will be character based on first search value ('null'), so it will be implicitly converted to character and then again implicitly converted to date by loading into date column. At some of this conversions you probably are loosing your time part. You can try instead use cast:
    SQL> desc t
    Name                                      Null?    Type
    LASTWRITTEN                                        DATE
    CREATEDON                                          DATE
    LASTUPDATEDON                                      DATE
    SQL> select * from t;
    no rows selected
    SQL> !cat t.ctl
    LOAD DATA
    INFILE *
    INTO TABLE T
    TRUNCATE
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
    LASTWRITTEN
    "decode(:LASTWRITTEN,'null',cast(Null as date),
      to_date(:LASTWRITTEN,'YYYY-MM-DD HH24:MI:SS'))",
    CREATEDON
    "decode(:CREATEDON,'null',cast(Null as date),
      to_date(:CREATEDON,'YYYY-MM-DD HH24:MI:SS'))",
    LASTUPDATEDON
    "decode(:LASTUPDATEDON,'null',cast(Null as date),
      to_date(:LASTUPDATEDON,'DD/MM/YYYY HH24:MI:SS'))"
    BEGINDATA
    2007-02-15 15:10:20,null,null
    null,2007-02-15 15:10:20,null
    null,null,15/02/2007 15:10:20
    SQL> !sqlldr userid=scott/tiger control=t.ctl log=t.log
    SQL*Loader: Release 10.2.0.3.0 - Production on Fri Feb 29 00:20:07 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 3
    SQL> select * from t;
    LASTWRITTEN         CREATEDON           LASTUPDATEDON
    15.02.2007 15:10:20
                        15.02.2007 15:10:20
                                            15.02.2007 15:10:20Best regards
    Maxim

  • Invoice Baseline Date = GR Doc. Date

    Hi all,
    I have a requirement to fetch the GR Doc. Date into the Baseline Date Field in MIRO.
    What are the settings to be done.
    Regards,
    Baskar

    Have a look into OSS Note 1156325 - BAdIs in the Logistics Invoice Verification environment
    among much more information:
    How does the BAdI affect the application?
    The (possibly) changed terms of payment are provided for the application. They form the basis for further processing in the Logistics Invoice Verification and in accounting.
    Example
    You want to carry out a determination of the terms of payment that differs from the standard; this could be, for example:
    The baseline date for payment is to be derived from the goods receipt date.
    The terms of payment entered by the user and available in the purchase orders are to be checked and the most favorable terms of payment are to be determined from this.
    You want to set a payment block in the document header for certain transactions.
    More information
    Documentation for the BAdI interface IF_EX_MRM_PAYMENT_TERMS

  • Uploading customer invoice posting data from a flatfile(oracle)  into  FB01

    Hi,
          i have to upload the customer invoice data from a flat file and post into FB01.
          if any body worked with this plz send me the sample code regarding customer invoice.i have the following fields
    BLDAT-BKPF     
    BLART-BKPF     
    BUKRS-BKPF     
    BUDAT-BKPF     
    MONAT-BKPF     
    WAERS-BKPF     
    BELNR-BKPF     
    XBLNR-BKPF     
    BKTXT-BKPF     
    GSBER-BSEG     
    BSCHL-BSEG     
    HKONT-BSEG     Gl Account|
    DMBTR-BSEG     Amount     |
    HKONT-BSEG     GL Account
    DMBTR-BSEG     amount
    HKONT-BSEG     
    DMBTR-BSEG     
    HKONT-BSEG     
    DMBTR-BSEG     
    HKONT-BSEG     
    DMBTR-BSEG     
    HKONT-BSEG     
    DMBTR-BSEG     
    HKONT-BSEG     
    DMBTR-BSEG     
    HKONT-BSEG     
    DMBTR-BSEG     
    HKONT-BSEG     
    DMBTR-BSEG     
    HKONT-BSEG     
    DMBTR-BSEG     
    KOSTL-BSEG     
    PRCTR     
    SGTXT     Text
    BSCHL-BSEG     
    LIFNR-BSEG     Vendor account(Employee No.)
                    PART II
    SAP TABLE     Field description
    XBLNR-BKPF     Reference
    GSBER-BSEG     Business Area
    BLDAT-BKPF     Document Date
    KUNNR-KNA1     Cusomer Number
    AUFNR-COBL     Order Number
    HKONT-BSEG     Gl Account
    DMBTR-BSEG     Amount
    for tax, insurace ,freight etc.,    a seperate Gl account is created.
    regards
    veni

    hi,
    use report rfbibl00:
    1) look documentation with se38
    2) use structures bgr00, bbkpf, bbseg
    3) look sample-prg RFBIBLT0
    A.
    Message was edited by:
            Andreas Mann

  • Customer service (sap - sd) very urgent

    hi sap gurus,
    i would like to know the customer service process.Could any one send the material for customer service?
    Points would be rewarded....
    Thanks in advance...

    Dear Nagesh,
    Building Block Guide for Customer Service:
    http://help.sap.com/bp_bblibrary/500/html/J13_CSPM_EN_IN.htm
    General Settings for CS
    Maintenance planning plant
    Maintenance planning plant to maintenance plant
    Values for component item categories
    Value for current date as basic date
    Values for units for operation
    Value categories
    Cost elements to value categories
    Cost key figures
    Version for cost estimates for orders
    Employees responsible for work centers
    Warranty types
    Warranty counters
    Material groups
    Account groups and field selection for customer
    Master Data
    Characteristic warranty period
    Warranty
    Work center
    Maintenance strategy
    Material
    Customer Service enables you to plan and manage a wide range of service scenarios. It includes functions for processing:
    Service notifications
    Warranties
    Service orders
    Service contracts
    Service quotations
    Repair orders
    http://help.sap.com/saphelp_erp2005/helpdata/en/3b/02953401024735e10000009b38f83b/frameset.htm
    Customer Service (CS) draws on functionality from different SAP application components, in particular Plant Maintenance (PM) and Sales and Distribution (SD). For example, CS involves the planning and processing of external services, such as contracts for the maintenance and repair of equipment that a customer has either bought or rented. Maintenance planning and servicing is managed in PM; in SD you can create and maintain the relevant service contracts. Contract-related charges that are incurred in PM are passed on in the form of requests for billing in SD.
    In Returns and Repairs Processing, you will find a diagram showing the typical events in the day-to-day world of customer service. It also illustrates the interplay within Customer Service of SD and PM functions.
    In the following sections, you will find information on the Customer Service functions in Sales and Distribution.
    Do not post duplicate threads.
    Regards,
    Naveen.

  • Convert datetime to date/very urgent

    Hello experts
    i am new to sql server and wants to change a column data type datetime to date in a view and i need to document that also, thank you.

    CAST or CONVERT the datetime column to Date:
    eg:
    Select Cast(column as date) from table

  • Compare Two Date - Very Urgent

    hi to all,
    i want to compare two date..
    i m getting one date from database and having current date..
    what my issue is i want to dispaly error message when database date greater
    than current date value..
    pls help to my problem...

    import java.util.*;
    public class DateVlid {
         public static void main(String[] args)throws ParseException {
              Calendar currentDate=Calendar.getInstance();
              Calendar dbDate=Calendar.getInstance();
              dbDate.set(2007,12,10);
              boolean b=currentDate.before(dbDate);
              if(b){
                   System.out.println("it is before date");
    }Try it once for a while.
    If it has any problems let me know.

  • Substitution Logic- Very Urgent

    Hi,
    Background: I never done substitution in past. Customer  wants partial payment, credit memo, debit memo baseline date should be the same with reference to cutomer's original invoice baseline date. e.g.
    1. Customer invoice 01/01/2007 and baseline date is 01/01/2007
    2. Partial payment 06/10/2007 and baseline date is 01/01/2007
    3. Credit memo 09/15/2007 and baseline date is 01/01/2007
    To achieve we have user exit to replace the current baseline with original invoice baseline date. This user exit will be assigned to my substitution rule. Before do that i want make sure my substitution rule logic is correct:
    I have written following prereqiuest(Formula) in substitution rule in order to meet baseline date.
    "BSEG-KOART='D' AND BKPF-BLART='DR,DZ,RK,DZ'"
    "AND BSEG-ZFBDT='08'" TRUE
    Do you foresee any problem here?. If yes please let know so that i correct it.
    Your immediate action is highly appreciated.. I will also assign double points..
    Regrds,
    Jagadeesan

    There is an issue with the logic
    1) You want to use this logic for fields at BKPF (Header Level) and also BSEG (Line item Level).. Some times this does not work. You might want to try this out in your instance. The system works best when you have substitution either at a line item level or at a header level . It has an option for substitution for the whole document as well.. but in a lot of cases I tried it ..it did not work.
    2) If the fields at both line item and header are avbl to you in your substitution for whole document , then your logic will work. (so the logic that you have given -- functionally it should work) constraint : as described in 1 above.
    3) If this does not work ..then i would suggest the following approach
    Option A - drop the KOART and the Base line date from your logic and work only with Doc Type + Co Code + Reference Procedure + T Code - since these are all Header level
    Option B - Work with some BTE ..go to FIBP.. see if there is some BTE which you can use.
    For SD documents there are a number of user exits avbl which modify the values passed from SD to the FI document ..
    Hope this helps
    Option B

  • FM or Ways to post Customer Invoice (F-22)

    Dear All,
    I need to post F-22 Customer Invoice. Data is uploaded from TEXT file by using FM GUI_UPLOAD.
    Can anyone please tell me the correct FM or way to do that?
    Points will be rewarded for the correct solution immediately.
    Note : I tried two FMs BAPI_ACC_BILLING_POST and BAPI_ACC_DOCUMENT_POST.
    Thanks & Regards,
    Neeraj

    Dear All,
    I need to post F-22 Customer Invoice. Data is uploaded from TEXT file by using FM GUI_UPLOAD.
    Can anyone please tell me the correct FM or way to do that?
    Points will be rewarded for the correct solution immediately.
    Note : I tried two FMs BAPI_ACC_BILLING_POST and BAPI_ACC_DOCUMENT_POST.
    Thanks & Regards,
    Neeraj

  • Invoice verification Invoice date,Posting date and Baseline Date

    Hi Sap Gurus
    Pls Tell Me in detail what Dates should be entered at MIRO transaction,
    Invoice date,Posting date and Baseline Date
    i presumed that the date on the Invoice slip will be Invoice date,
    But in the Invoice the Date is very long back, say a month Older,
    the month of Posting as Posting date, but any posting Date made in MIRO will be Paid after 2 or 3 months so in this case what should be the Posting date.
    at Base line date in the present company Senario the Discount on Vendor payment is literally valid for all the time , say
    In Invoice if the condition is 10% discount if paid in 30 days is given.
    but in actual sense the Vendor is paid 10% less even if he is paid after 4 or 6 months also, so in this case what should be the Entry in Baseline date
    another senario is the vendor has sent only one Invoice for 2 POs how can this be accomadated in SAP
    Pls suggest its Urgent,
    Age may have a Bar, But Points No Bar
    Thanks and Regards
    Sathish

    Hi
    LIV is nothing but You are getting Invoice from the Vendor for your PO   and GR.....and you are checking the Invoice for Price, Qty,Amount etc. by refering the PO  and posting the Invoice...
    Invoice Date : 
               The date of Vendor' Invoice...ie) Date at which the vendor Raised the invoice for his supply against your PO...
    Posting Date :
       The Date at which you actually Verifying Vendor's Invoice and doing the Posting...
    base line date :
        Generally the Posting Date...
    The Imp. of Baseline date is for eg)
    If in the Payment Terms if some conditions are maintained like say
    10% Discount for Payment With in 30 days, if
    PO created on 01.11.2007.
    GR done at 10.11.2007.
    Invoice slip Received at 30.11.2007 but having the Date on it as 20.11.2007...
    So as per your terms you will get 10% Discount if you make the payment on or  20.12.07....
    Here if you keep  inv. Date: 20.11.2007  and Posting Date : 30.11.2007  and Baseline Date as  30.11.2007 ( you cannot maintain baseline date earlier than  Posting date)....even though as per terms the you are  eligible for discount if you make the payment on or before 20.11.2007.....as per the system you are still eligible to get the Discount if you make payment on or 30.12.2007( since you have maintained baseline date as 30.11.2007)...
    this way Baseline date is Importane...
    Generally we use to maintain always Posting Date as Baseline date....
    It is advantageous..
    Reward if useful
    regards
    S.Baskaran

  • Creation of Vendor Invoice  - BADI to control "Payment Baseline Date field"

    Hi ,
    In SRM - Creation of Vendor Invoice  or Credit memo  -
    In the process of creation of vendor invoice in Header Data - Payment Data tab there is a field "Payment Baseline Date" and I want to populate custom value to this field using BADI. But I could not find any BADI to do this.
    Can any one please let me know if any idea what BADI I can use.
    I tried DOC_CHANGE_BADI and this one does not have this field in the ET_HEADER.
    Thanks in advance.
    Venkat

    Hi,
    Any ideas please?
    Thanks for ur time.

  • Very Very Urgent Issue: Restricted Key Figure does not return any data

    Hi all,
    Please help me solving this urgent issue.
    created customer exit variable on characterstics version and also
    other customer exit variable on Value type.
    I coded that in variable exit. Problem is when I include these in
    restrickted keyfigure My query does not return me any data.
    But if I remove from restrickted key firgure and put it as normal
    charaterstics I see the variable is getting populated.
    Also in RSRT the SQl generated when these are included in RKF is not
    correct.
    I debugged and know they are getting populated. As when included in RKF
    I can also see the values of customer exit variables from information
    tab.
    I also know that there is data in cube for those restrictions.
    I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
    FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
    Thanks
    SAP BW
    **Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any data

    Hi,
    Everyone out there this is very urgent. If someone can help me solving this problem.
    We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
    I posted one oss notes also regarding this issue. But got no reply from SAP.
    So, Please help me solving this issue.
    Thanks
    SAP BW

  • Copy Master Datas in FICo from 1 Company Code to Another   ---  Very Urgent

    Hi Peers
    I want to copy all the FI & CO master Data like G/L a/cs , Vendor Master, Customer Master, Cost Centers, Cost Elements, Commitment Items, Funds Center & Assets from one company code to another company code. Both the company codes will have same Chart of accounts. Is there any t.Code by which i can just extend these masters to my company code. Plz help. its very Urgent.
    Expecting a reply ASAP.
    Regards
    Rajaram

    Hi
    In customization,  Assign Chart of A/cs to company code there u will get the path for copying one company code to another company GL Masters.
    And also the CCtrs u already assign to the first company code.  Once u copy the data for one company to another automatically it will copy to another company code.
    Hope this is useful to u.
    Shammi

Maybe you are looking for

  • Mixing Area and Scatter CFChartSeries No Longer Works in CF8

    I have had a report that plots a ratio for several customers.  It then plots the results on a chart that has a big green band on it (getting in the green is good). I did this by mixing two area chart series with one scatter plot.  It worked OK for a

  • Mac Mini and Bluetooth connectivity

    Can I install an Apple magic mouse and magic trackpad with my Mac Mini (early 2009) using OS X Lion ?  Anybody have this set-up ?  Any issues with having both active bluetooth devices ?  I'm currently using the magic mouse and want to add the trackpa

  • Valuation Grouping Code same- Valuation Class different for each plant

    Hi All, We have 5 plants assigned to the company code. We have same Chart of Accounts (1000) and all the plants are grouped together to one valuation grouping code(001). Now if i extend the material codes to different plants, i am able to give each v

  • How to merge cells in excel using X++ in AX 2009

     Hi all,  How to merge cells in excel using X++ in AX 2009?  for example i have 3 cells (A3:C3) i need to merge this 3 cells using X++ can any one sujjest please Thanks in advance

  • ADFS 3.0 and force password change

    I was wondering if anyone knows if ADFS 3.0 supports the AD flag "Force password at first login"?  I know 2.0 does not. I have been integrating Shibboleth with my ADFS and a custom login handler but I would really like to not complicate my setup and