Not allow to save the billing document in the back date if FI period closed

Hi ,
We have a requirment in which end user should not be able to create the billing document if the billing date lies in FI posting period which has been closed.
As of now the users are being able to create the billing documents even if the Billing date lies in the closed posting period but the sccounting document does not gets generated.
Now we want to block the billing document creation as well.
Please provide some pointers to the above scenaio. Thanks..

hello,
Has your query been solved.
if not , here is the solution.
go to the program RV60AFZZ. This is the exit for billing.
In that there is a form called
FORM userexit_number_range USING us_range_intern.
in the form you have to write the code.
variables to pass for the function module.
DATA: lv_buper  LIKE  t009b-poper,
        lv_gjahr  LIKE  t009b-bdatj.
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
      EXPORTING
        i_date               = syst-datum
        i_periv              = 'V3'
     IMPORTING
       e_buper              = lv_buper
       e_gjahr              = lv_gjahr
in lv_buper you will get the last posting period which is open ie the posting period month.
based on lv_buper you get , you can write your validations.
You have to remember that the posting period which u get is based on the fiscal year.
hope that helps.
reward if useful.
cheers,
Ravi Kiran.

Similar Messages

  • Not to allow to save the billing document in the back date if FI period clo

    Can anybody help me please. My FI period for october is closed. But there are still some open delivery documents in billing due list for October. So now let say on 7th december if i will make the billing documents by giving the date 30.11.2007 logically as FI period is closed it will allow to save the billing document but will not pass to accounting.
    So this normaly happening in my industry endusers are creating the billing documents in the back date even after the period close so all the documents come into VFX3.
    So can any body help me? Can we have any check if the FI period is closed for a perticular months if we will try to make the billing documents in the closed period it will not allow to generate the billing document rather saving the documents and blocking for accounting.
    Reggards.
    Laxmikanta Das.
    09958119889.

    Dear laxmikanta
    I also not come across the situation what you said and hence dont have much idea about authorization group.
    However, on going through the F1 help, it says
    <b>Procedure</b>
        If only a limited set of users is to be able to post in a particular
        posting period, proceed as follows:
                 o   Add the posting period authorization (authorization object
            F_BKPF_BUP) to the authorizations of the selected users. Assign an
            authorization group (e.g. '0001').
                  o   Enter the account type '+' for the posting period variant to which
            the restriction is to apply. Enter the period(s) whose use is to be
            restricted in the first period, those which are available to all
            users in the second period, and the authorization group (e.g.
            '0001') in the last column.
    <b>Examples</b>
        A posting period can be successively restricted. If, e.g. 10 users have
        the posting period authorization with authorization group '0001', and 3
        of these 10 users also with authorization group '0002'.
        If the period is only to be accessible to the 10 selected users the
        authorization group '0001' is entered in the posting period variant.
        Access can later be restricted to the remaining 3 users by entering
        '0002'.
    From the above, I feel your requirement can be met.
    Thanks
    G. Lakshmipathi

  • Issue in the Billing Document from the Delivery.

    Hi Experts,
    I have an issue with date of the bill document. The date is taken from the date when the delivery was posted however the users want to change this date to the day that the bill document was created.
    I don´t know where I can change this.
    Thank you and best regards.
    Thank you and best regards.

    Hi,
    While creating Billing Doc (T. Code: VF01), Mention "Billing date" as desired.
    If you leave this field as blank, System will create Billing doc based upon Delivery date.
    However, there is one more date ("Created on" in Header Data), where System records Document date as the date on which Billing Doc has been created.
    Best Regards,
    Amit
    Note: If want to make changes in Billing date for already created Billing Docs.
    Go to: VF02
    Key-in your Billing Doc. No. and Go to Header Data (Edit --> Header --> Header).
    There you will find Field: "Billing Date", which would be modifiable. Change the date as desired.
    Imp: on the same screen, You may see the details like:
    1. Payer
    2. Created By:
    3. Created on:
    4. Time

  • Event for transferring information from the billing document to the fica do

    Dear all,
    We are having a requirement in which we need to transfer the information from the billing document to the fica document..Can anybody tell me which event can be used for  transferring information from the billing document to the fica document
    Susmita

    Susmitha Harini,
    Can you provide exactly what you want to transfer? Do u want to transfer that information at billing moment?
    Best Regards,
    Pedro Nunes

  • PO not copying across to the Billing Document from the S Order.

    When creating a SOrder a PO number is entered, this is a mandatory field and SO cannot be saved until PO is entered.
    Delivery is created and is GI.
    When creating a billing doc the PO number has not copied acroos to the Billing doc header ref number field.
    Also if you check Table VBRK and choose the  billing doc and PO field to be populated then the PO is missing from view.
    Can someone tell me where the billing doc gets the PO from if not from the SO or is this down to copy control.
    Kind regards

    Go to VTFL, select your delivery type and billing type and click on magnifying less on top left.  Now you can see at the right side two fields, viz. Assignment and Reference.  Check whether you have maintained the required value over there.
    thanks
    G. Lakshmipathi

  • Why does Firefox 4 not let you save a pdf document using the "File" tab. Internet Explorer * give you an option..."Save as....". Can I get same function with FF4?

    Can't save a pdf file using the 'File' tab in FF4.

    Clicking "Save Page As..." in the Firefox menu should work fine. However, if the server you are downloading from is set up incorrectly, Firefox might recommend a filename which does not have the ".pdf" extension (e.g. "get_file.php"). In this case type ".pdf" at the end of the file name.

  • Profit center document not generated after creating the billing document

    Hi,
    I have few billing document for which the accounting document is created, but no profit center document got generated. What could be the reason? The profit center is captured at the account assignment tab of sales order as well as at the item level of Invoice and in accouting document too. The only problem is it has not generated the "Profit center document".  Pl help. Thanks in advance.

    Hi
    When you save the billing document then the accounting document and Controlling document gets generated.
    A profit center gets captured and it can be used when we check the accounting  document. But make sure that for the G/L accounts profit center is assigned and in your controlling area details  also profit center is checked.While configuring controlling then the profit center should also be assigned . to the G/L accounts .So kindly check with the help of your FICO consultant wheather proper assignment has been done or not
    Regards
    Srinath

  • The billing document has incorrect gross weight on the output

    Hi All,
    I'm facing a problem - the billing document has the incorrect gross weight on the output.
    The output of gross weight is 3 x the true gross weight.
    The program was looping three time during this select causing the value in t_weights-brgew to be 3 times the true value.
    Could someone advise how to resolve this problem?
    Below is part of the program for gross weight.
      REFRESH t_weights.
      SELECT vekp~brgew INTO t_weights-brgew
                        FROM vekp JOIN vepo ON vekpvenum EQ vepovenum
                             WHERE vepo~vbeln = w_vbeln
                             AND vepo~matnr = w_matnr.
        COLLECT t_weights.
      ENDSELECT.
      IF NOT t_weights[] IS INITIAL.
        READ TABLE t_weights INDEX 1.
        READ TABLE out_tab WITH KEY name = 'BRGEW'.
        IF sy-subrc = 0.
        move t_weights-brgew TO out_tab-value.
          MOVE t_weights-brgew TO w_gross.
          MOVE w_gross TO out_tab-value.
          WRITE w_gross TO out_tab-value LEFT-JUSTIFIED NO-ZERO DECIMALS 2.
          MODIFY out_tab INDEX sy-tabix.
        ENDIF.
      ENDIF.
    ENDFORM.                               " of get_nett_gross_weights
    Thank you.

    What is the Structure of the t_weights.
    This may happen due to that condition in select stament, there might be more record for it, so it will add twice or thrice especially due to the JOIN/INNER JOIN statements,
    Try SELECT DISTINCT <..followed by your same code...>

  • The billing document are blocked for accounting release because of VPRS

    Hi All,
    Can anybody help me out
    In PRD we changed the pricing procedure xccc66and we insert the condition type VPRS as mandatory condition. The billing documents created with reference to orders without VPRS (created before the change) are blocked for accounting because the condition VPRS is missing. We tried to run any pricing re-determination in the billing document but the system does not determine the VPRS.
    In the new orders, created after import all, the system determines the VPRS condition correctly.
    Can you please advice how to insert VPRS? I mean the correct procedure in order to re-determine the VPRS condition in billing documents.
    Thanks,
    Siddhartha

    we changed the pricing procedure xccc66
    If you have changed the pricing procedure itself instead of inserting the VPRS condition type in your existing pricing procedure, no it is not at all possible to insert this condition type to your billing documents.  You have to cancel all those billing documents.
    On the other hand, if you have inserted this condition type in your existing pricing procedure, then I think, you can, by clicking the update button, can insert this condition type which I am not sure.
    thanks
    G. Lakshmipathi

  • Disable profit segment in the billing document

    Hi experts,
    I'd like to know if it's possible to disable the field profit segment in the billing document.
    I need to post amounts from taxes in cost center , but as the profit segment is enable in billing document, the amounts are posted in CO-PA.
    Thanks in advance.
    Osmar Tardivo.

    Hi,
    You can disable the PROFIT CENTRE from the billing document using the transaction code SHD0
    Goto the Transaction code SHD0 and in the Transaction code give the transaction code VF01 and choose the screen sequence variant by selecting the Program as SAPMV60A
    and goto the change mode and select the Profit centre with the field as PRCTR and check the INVISIBLE to disable the field in the Billing document.
    Please check the above solution , it will help
    thanks,
    santosh

  • Diffrence between the billing document and Invoice list

    Dear all,
    I have that we create the billing document from vf01 but there is invoice list also which we can create from vf21,so i wanted to know that whats the diffrence btw the these both?
    Thanks & Regards,
    Mohsin

    Billing represents the final processing stage for a business transaction in Sales and Distribution. Information on billing is available at every stage of order processing and delivery processing.
    This component includes the following functions:
    Creation of:
    Invoices based on deliveries or services
    Issue credit and debit memos
    Pro forma invoices
    Cancel billing transactions
    Comprehensive pricing functions
    Issue rebates
    Transfer billing data to Financial Accounting (FI)
    The invoice list lets you create, at specified time intervals or on specific dates, a list of billing documents (invoices, credit and debit memos) to send to a particular payer.
    The billing documents in the invoice list can be single or collective documents (collective invoices combine items from more than one delivery).
    The standard version of the SAP R/3 System includes two types of invoice lists:
    for invoices and debit memos
    for credit memos
    If you wish, you can process invoices, debit memos, and credit memos at the same time. The system automatically creates a separate invoice list for credit memos.
    A payer may be the head office of a buying group, which pays all the invoices for goods that are shipped to individual members. The group payer takes responsibility for paying the invoice lists and then collecting payment from the individual members. In return for these services, the group payer usually earns a factoring or del credere discount.
    Depending on the tax structure of the payer's country, the payer may be liable to pay taxes on factoring discounts that he earns. In Germany, for example, factoring discounts are taxed at the standard rate of 15%. During invoice list processing, you can reimburse the payer in advance for this tax liability by creating special condition records.

  • After cancelling the  billing document accounting document not generated

    hi,
    we released the billing and accounting document generated but customer needed changes in the billing values so we cancel the billing document but accounting document not generated(reversal accounting not happen)....in document flow it shows in cancel document in blocking state ....we try to release in VF02 but it throws the error "Client 200 does not contain an active application area" . but the other sales order we test in qulaity server the scenorio is working fine...............for specific one sales order creating problem now.....
    try to solve the issue ..
    Thanks
    Muthuraman.D

    Dear all,
    I have noticed this problem in my company system.
    Problem descripion:
    - you creates an invoice and the system doesn't post it for any reason
    - then you create the cancel of the invoice, BEFORE forcing the posting of the invoice
    --> user creates Cancel, Cancel is not posted as well.
    --> from now it is impossible to post both invoices: if you try to post the Invoice after the cancel creation, the VF02 recongnise that a CANCEL exists and do not allow for the posting
    --> standard VFX3 doesn't signal this kind of not posted documents situation.
    Ok, The right procedure for thes user should be: create invoice, if not posted then try to understand why not posted, and not CANCEL it.
    But in this case VFK3 was not able to detect the invoice was not posted: it was not in the list.
    So the 2 ways must be:
    1) one possibility could be undestand in VFX3 could be enhanced: I checked in OSS but I didn't find anything.
    2) other possibility: add a further check in interface between SD and FI in order to check if original invoice is not posted to FI  and in this case block the cancel creation, as instead standard SAP does.
    Could you please give me an idea on how it would be better proceed?
    Thank You very much.
    Raffaella

  • User Exit on the save of Billing document (VF01)

    Hello All,
    I have a requirement where in during the creation of a billing document of a particular type i need to put in a block to prevent the creation of a accounting document and call a workflow to remove the block in the Invoice.
    My requirement is that I require a user exit which is triggered on the save of the invoice document so that a call to the workflow can be done where in the runtime information of the document would be available in the workflow for further processing .
    Helpful answers would be rewarded.
    Thanks in Advance,
    Sowmya.

    Hi,
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
    USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
    USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy).
    USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
    USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
    Printing the item line of a billing document can be supplemented or changed.
    USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Printing the header line of a billing document can be supplemented or changed.
       Refer the help
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/frameset.htm
    Regards
    Kiran Sure

  • Problem in Save the Billing Document

    Hi,
    We have a problem while saving the Billing Document i.e.
    Document 83034087 saved (error in account determination)
    Message no. VF051
    when we saw it;s Revenue accounts, found there -
    Condition type............Message.................Description
    ZM05............................121.......................No G/L account found in Account determination type KOFI
    Access     Message     Description
    08     121     No G/L account found in Account determination type KOFI
    10     121     No G/L account found in Account determination type KOFI
    20     121     No G/L account found in Account determination type KOFI
    30     121     No G/L account found in Account determination type KOFI
    40     121     No G/L account found in Account determination type KOFI
    50     121     No G/L account found in Account determination type KOFI
    Plz guide...

    Hello Anil.Sap321,
    Your problem has to do with ACCOUNT DETERMINATION.
    Step 1: Check which account determination procedure is assigned to your billing type i.e. SPRO>SD>Basic Functions> Account Assignment/Costing>Revenue Account Determination>Define and Assign Account Determination
    HINT: normally, this is KOFI00 in standard sap
    Step 2: Check the Condition Types in your account determination in the control data in the same path as in step 1 for the Definition (e.g. KOFI, KOFK)
    Step 3: Check your accesses e.g. for KOFI (this should correspond to your VKOA tables).  Here, you can see the sequence in which your accounts are determined. Plus, at field level you can see where the data are taken from and then you can check your master data etc. during troubleshooting.
    Step 4: Identify in which combination your G/L should be in and you or your FI counterpart should configure the G/L in the designated VKOA table (transaction VKOA).
    TIP: To know which G/L account you need to input, you need the help of Financial guys as different companies have their different set of G/Ls or Chart of Accounts.
    Step 5: When this is configured in your VKOA, you can re-test.  Look at your Revenue Account determination analysis to see if your "access" in which you made your VKOA entry is successfully read during account determination.  
    NOTE: The G/L you or your FI contact have configured must exist in the Company Code involved in your accounting process.
    Good luck and let me know if this helps you,
    Eva

  • Sytem should not allow to save the sales order based on risk category

    Hi,
    My user want to control the creation of sales orders based on risk category in credit control area.
    We created a new risk category - 30 Not authorized.
    And we made necessary configs also , like assignment of risk category and company code in OVFL.
    We assigned 30 risk category in FD32 for customers also.
    But while creation of sales order system is allowing to save the order.
    My user requirement system shoud not allow to save the sales orders for those are customers belongs to 30 risk category.
    How can we config. this
    thanks
    Sateesh

    hi,
    dont want to save the sales order if the credit limit exist ?
    then maintain block in OVA8
    choose
    your credit control area         risk categories             credit group
    1000                                        30 Not authorized           01
    checks tab
    choose static and maintain B
    this will give you error message and it will not allow you to save the sales order
    regards
    senya
    Edited by: senya_1111 on Oct 1, 2009 2:26 PM

Maybe you are looking for

  • How to Reference a Slice from a Hotspot in a Add Behavior

    I want to create a command that does the following ;: the user selects several items and runs a command that will copy that selection to another frame (prompt for frame number), create a slice around that selection, hide that content on frame 1, inse

  • IMovie to iDVD or Final Cut Pro to DVD studio pro "Better output"

    I recorded some family videos onto a computer with a WinTV pci board. Converted the MPEG2 to DV/DVCPro NTSC on my Mac with MPEG stremeclip. Used quicktime to divide the tapes/clips where we had switched recordings. Now i was going to use final cut pr

  • Creating text on Standard iViews

    Creating text on Standard iViews how easy is it? Will you need to copy the iView, download to NWDS make the changes and then upload back into the portal? Thanks

  • BT NetProtect Plus Error message in event log - mf...

    Hi, Anyonwe know why I am getting a warning in the system event log as follows "Process **\MCSHIELD.EXE pid (2588) contains signed but untrusted code, but was allowed to perform a privileged operation with a McAfee driver." Source:    mfehidk Event I

  • Dump In Dynamic Internal Table

    REPORT  ZDYNAMIC_INTERNAL_TABLE. TYPE-POOLS : abap. FIELD-SYMBOLS: <fs_table> TYPE STANDARD TABLE,                <fs_wa>,                <fs_field>. DATA: it_table TYPE REF TO data,       it_line  TYPE REF TO data,       xfc TYPE LVC_S_FCAT,       i