Data in VF01

Hello,
I have a question about the data we see in creating VF01.
I thought that some data such as customer nb, price, etc come from Sales Order, and data for material and quantity, it comes from Delivery Document.
If, for example, you created VF01, but you were not able to create accounting doc because the setting in customer master was incorrect.
So, you cancel that billing doc and modify customer master data.
I thought that once you cancel the billing doc and recreate it, the latest information is referred from corresponding master data.
At what stage of data is carried out to VF01 and from where??
Regards,

Wrong board

Similar Messages

  • Billing Date in vf01 to make default  system date

    hi all,
    i need to make billing date in vf01 as  system date(sy-datum) by default.
    how to get it done.
    any idea.
    thanks
    Venkat.

    Hi...
    You can do this with Enhancements Or BADi depending on availble objects for that screen. I will let you know the procedure to achieve same thing with BADI.
    1. goto Class CL_EXITHANDLER from SE24, Double click the method INSTANCE, there is a select statement to pick BADI name into one variable , now make a break point there.
    2. By opening the VF01 this breal point will triggers and you can find corresponding BADI.
    3. Or you can find the BADI name in your way.
    4. Goto SE19
    5. Enter the BADI Name to impliment it...give implimentation name
    6. Inside the BADI yo van have no.of interface methods..with details descriptions
    7. Also find the Attribute name for you Date field, that must be there in one table parameter....
    8. Now double click the interface method to write your code
    9. " TABLE-FIELD = sy-datum " ...is your code here. TABLE is the attribute which you found earlier.
    Thats it.
    All the best.
    Thanks,
    Naveen.I

  • User exit for calculating Base line due date in VF01

    Hi,
    I need a User Exit for calculating Base line Due date i'e ZFBDT with respect to billing date
    for VF01
    Regards,
    Moderator message: if there is one, you can find it yourself by doing due research.
    Edited by: Thomas Zloch on Nov 23, 2011 1:52 PM

    >
    Rahul Saxena wrote:
    > I have given the condition"BSEG-ZTERM = 'ZTST'" in Prerequisite, and in the Substitutions when I try to assign  constant value '02/16/2009' to the field Baseline Date, I don't see that Baseline date field in Substitute fields for Class '009'.
    >
    > How do I add Baseline date in that popup to select and assign values.
    >
    > Please suggest.
    >
    > Thanks-
    i think your date format and system date format is not suitable.
    give the date format as 20090216 as system format.

  • Default date in VF01

    Hi SD Guru's
    I would like to default the Billing Date in VF01 to Current Date. Any suggestions and advice on this.
    Regards
    Vineet

    Hi Vineet,
    You need to make this setting in your copy controls. Standard SAP provides data transfer routine 11 at item level in your copy control setup. Depending upon whether your billing document is order relevant or delivery relevant, you can setup routine 11 in the VTFA (for order related billings - example F2 from OR) or VTFL (for delivery related billings - example F2 from LF). If you are already using some your own customer defined data transfer routine, you can ask your ABAPer to copy the code from routine 11 and use that in your data transfer routine. If your copy control has a blank data transfer routine, you can very well make use of 11 there and things will be fine.
    Thanks
    Kapil Sharma

  • Disable Billing Date in VF01 screen 6001

    Hi all,
             i need to disable(hide) the date field in vf01 (Billing  Invoice : create header data) for particular condition type or make it as the date equal to billing date. (screen 6001, field : vbrk-fkdat).
    i also tried RV60AFZC but i was not successfull.
    i searched in sdn but did not find such req .
    So kindly please suggest me.
    thanks in advance,
    kool.

    HI,
    i solved it by myself,
    the procedure is as follows
    navige to the include MV60AF0F_FELDAUSWAHL_SONDERREG
    (don't worry this is an enhance spot , so i giving the include name directly )
    not: you need to get access key.
    goto se38
    open MV60AF0F_FELDAUSWAHL_SONDERREG report in change mode
    in line number 268
    you wil get this code
      if ( fakt-tabstrip_subscreen  = '6105'
        or sy-dynnr = '0105' )    and
         screen-name = 'VBRK-XBLNR'.
        screen-input = 0.
        modify screen.
        perform xblnr_set_screen_attributes
                using     t180-trtyp vbrk
                changing  screen.
      endif.
    now under this you need to add your desired code
    in my case this is my code
    """""''MODIFIED BY ABAP1 06/09/2011
        if ( fakt-tabstrip_subscreen  = '6105'
        or sy-dynnr = '6001' )    and
         screen-name = 'VBRK-FKDAT' AND VBRK-FKART = 'ZMD' OR VBRK-FKART = 'F2'.
        screen-input = 0.
        modify screen.
        ENDIF.
    """""END OF MODIFICATION BY ABAP1.
    now save it and activate it and check in your vf01
    that field will be in non editable mode.
    regards,
    kool.

  • No change the BILLING DATE in VF01

    I need to block field BILLING DATE (RV60A-FKDAT) in transaction code VF01 that the users don´t can change this field and take automatically the sistem date.
    Thanks you.

    Dear John,
    You can use below user exit,
    USEREXIT_FILL_VBRK_VBRP
    Module Pool:SAPLV60A
    Program:RV60AFZC
    Regards,
    Barathi

  • Default Billing Date in VF01

    Hi,
    For transaction VF01, is there any way to make Billing date (Screen field: FRV60A-FKDAT, Screen No: 102) as system date by default.
    User should be able to change this date.
    Regards,
    Umesh

    One other thought,  take a look at transaction MB11,  here you can see that the two dates at the top of the screen are defaulted to SY-DATUM.  This is being done in a module of the PBO of the screen.  So you see, if there are any defaults being set in transaction programs, it is either coming from this type of coding or being pass thru parameter ids.
        MKPF-BUDAT = SY-DATLO.
        MKPF-BLDAT = SY-DATLO.
    Regards,
    Rich Heilman

  • The way do not change billing date in VF01/VF04

    Hi Dear.
    I hope to solve my problum.
    As I know...In Standard, When create a billing document, Goods Issue date is copied automatically. And user can be change the biling date.
    But sometimes GI date has a diffrent month to billing date by user's changing. So I want know the way not to change the billing date when make a billing document in VF01/VF04.
    How can I do it?
    Thanks for your answer!

    Hi,
    Check this userexit USEREXIT_NUMBER_RANGE_INV_DATE
    Regards,
    Saurabh

  • Required to shoe exchange rate as per billing date in VF01

    Hi Experts,
    We have created 2 invoices (export and intercompany billing). My client has identified a peculiar query and I am unable to get a solution for it.
    The Export invoice shows 2 exchange rates, viz: Condition exchange rate for conversion to local currency = picks the exchange rate as per the pricing date.
    And Exchange Rate for Price Determination = picks the exchange rate as per the Billing date/ service rendered date.
    But, in the Intercompany invoice the Condition exchange rate for conversion to local currency = picks the exchange rate as per the pricing date and Exchange Rate for Price Determination = 1.
    The client wants the exchange rates should reflect as per the Billing date/ service rendered date. And should reflect same exchange rates in both of these documents.
    I have changed the Pricing exchange rate type to C and D in VTFL but it is not giving any fruitful result for IV.
    Please let me know, how this requirement can be achieved.
    Thanks in advance.
    Regards,
    Shibaji.

    Hi Laksmipati,
    Thanks for your suggestions.I have few doubts to be clarified.
    In case of intercompany invoice the value in KONV-KKURS is showing as per pricing date.
    Can we make it as per billing date?
    What is the significance of this field?
    Which exchange rate is actually considered for finnacial posting?
    Thanks in advance.
    Regards,
    Shibaji.

  • Short Dump while entering data in VF01

    Runtime Errors         SAPSQL_INVALID_FIELDNAME
    Except.                    CX_SY_DYNAMIC_OSQL_SEMANTICS
    Program                               SAPLV61Z
    Include                                 LV61ZU01
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
         not caught in
        procedure "SEL_KONDTAB" "(FORM)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        An Open SQL clause was specified dynamically. The contained field name
        "WERKS" does not exist in any of the database tables from the FROM clause.
    Error found in these codes.
    if se_read_all_prestep is initial.
              select * from (t681-kotab) appending table <cond_tab>
                     up to 1 rows
                     where kappl  = se_kappl
                     and   kschl  = se_kschl
                     and   datbi >= se_date
                     and   datab <= se_date
                     and   (coding_tab).
              h_subrc = sy-subrc.
    I had debug the codes and found that when t681-kotab = A752 and line in coding_tab is ALAND = 'DE' and WERKS = 'XX' and VSTEL = 'XX' and LLAND = 'NL'. I will hit error because in A752 table, field WERKS does not exists!
    I guess this is a config problem but I do not know how to fix it.
    Appreciate helps. Thanks a lot.

    Hi,
    I executed v/07 but I cannot find the 752 table.
    T-code: v/07
    Usage: A
    Application: V
    Access sequence: MWST
    Access No: 08, Table = 78
    Access No: 10, Table = 2
    Access No: 20, Table = 11
    Please assist. Thanks.

  • Save data into user defined table while save button is triggered in VF01.

    Hi experts,
                  I got a requirement related to performance in our business process.Before saving the billing document in vf01 that means all the data is entered in vf01 and ready to click on save.
             While we click on SAVE button the data is transfered to the related tables like VBRK,VBRP,KONV,VBKD.......so on.
              I created a sales register depending on the above tables.As there are many records it is taking time and if we give 2years data to be displayed it is going to run time.For this i created a ztable and tried to insert in to ztable in the background by an abap program.Till this it is fine but in the database the table i created is taking more space when compared to other tables like vbrk,vbrp,konv,ekko,ekpo.....(huge data tables).
                So i decided to insert the required data of VF01 tcode into ztable simultaneously while they are being saved in VBRK,VBRP,KONV,VBKD.
                    In what way i have to proceed to insert required data of vf01 into my own ztable when we save button is triggered.Pls help me with a sample code if possible.
                  If possible please let me know why ztable is occupying more space in database as  i mentioned above.
                    Helpful answers are rewarded without failure.
    Thanks,
    Anand.

    What is the purpose of all this? Why do you need to duplicate the data in some Z table?
    If this is for some kind of reporting purposes, then look into using the Logistics Info System:
    http://help.sap.com/saphelp_470/helpdata/en/c1/37544e449a11d188fe0000e8322f96/frameset.htm

  • Validation for VF01 - Billing Date

    Hi Experts,
                     My requirement is to validate the Billing date in VF01.I tried using the BADI "BADI_SD_BILLING_ITEM".
    But i am getting the message is only for SAP Internal use.Please let me know how to implement my BADI  using this "BADI_SD_BILLING_ITEM".
    Regards,
    Saravanan.S

    Hi,
      Try with BADI: SD_CIN_LV60AU02
    Steps:
    To Create Implementation Goto T.Code SE19 and select the Option Classic Badi in the Create Implementation Section and Hit Button Create Implementation.
    Enter the Implementation Name, save the Implementation and activate.
    Regards,
    Saravanan M

  • In vf01 billing date

    hi all,
    i need to make billing date in vf01 non editable and date should be system date.
    how to get it done.
    any idea.
    thanks
    chandramani

    i check and created that badi.
    but when i put break-oint its not trigring.
    my code is
    method IF_EX_SD_CIN_LV60AU02~EXCISE_INVOICE_CREATE .
    break-point.
    data it_vbrk type vbrk.
    it_vbrk-FKDAT = SY-datum.
    endmethod.
    do you have any idea.
    how to get it done??

  • Periodic Billing: Invoicing with VF01 vs VF04

    Hello,
    I have created a basic billing plan for a rental contract. The contract is for 12 months (01.01.-31.12.2011)
    Billing date is at month end. Billing plan type is 02 = periodic and does NOT have a billing block assigned to it.
    Now I would like to create an invoice with VF01 for the month of January i.e. I go into VF01 and put in billing date 31.01.2011 but the system gives me all 12 items.
    When I use VF04 and also enter billing date to 31.01.2011 it gives me only the first invoice for January (which is correct).
    Why is the functionality in VF01 different to VF04? Why does VF01 not pull in the first item only (even though I enter billing date 31.01.2011)?
    What am I doing wrong here?
    Thanks in advance.

    Hello,
    the field 'Billing date' in first screen of VF01 is the Default billing date, it is not a selection criteria.
    To select by billing date in VF01 select menu Settings > Selection date.
    Best regards,
    Ivano.

  • Billing date should be the date it create

    Hi
    Currecntly we are creating billing document based on the dilivery in that case billing document date dake as the delivery date all accounting enteries post based on the dilivery date.
    But we need to change this when billing is created it should take the date it creates with out taking the delivery date.
    please advice how to do this chage..
    Thanx in advance !!
    Regards
    Kesharika

    Hi Kesharika,
    If invoice dates are defined for the customer, the system proposes the
    billing date from the invoice date calendar. If no invoice dates are
    agreed, then the actual goods issue date is formed on the basis of
    delivery related billing. In order related billing, the billing date of
    the order forms the basis of the billing date.
    If you want different system behavior, you may consider writing your
    own copy control routine and assign it under 'Data VBRK/VBRP' in trx
    VTFA. Or you have to manually key in the system date as the billing
    date in VF01.
    In case you want to cancel a billing document and you want to change the
    billing date (VBRK-FKDAT) of the cancellation into today' date as the
    default on the cancellation, you have this possibility:
    In the level of invoice type (Transaction VOFA), every invoice type has
    its own cancellation type.
    ==> VOFA 'Billing: Document Types' for example: billing type F2 invoice
        Cancell.billing type 'S1'     Invoice Cancellation
        Copying requirements '  ' <     Here
    You've got the possibility to deposit an additional copying requirement.
    against your cancellation type. In here you can set the billing date on
    the document to whatever date you require. Eg: VBRK-FKDAT = SY-DATUM.
    would set it to the date the document is being cancelled (see note
    43318).
    Cheers,
    Alex

Maybe you are looking for