How to determine number range for billing document based on company code ..

Hi Friends!!
can anybody tell me how to determine number range for billing document based on company code & tax departure country if required??
Amit...plz help me!!

Hi Amit,
1. Define different Billing Document number ranges in  SPRO -> Sales & Dist -> Billing -> Define number ranges for billing docs. (VN01). Make sure that all are internal number ranges.
e.g.
NO.  From number To Number    Current number  Ext
A1   0930000000    0930999999
A2   0940000000    0940999999
A3   0950000000    0950999999
2. Define a Ztable ZNUMB_RANGE as follows
Comp. Code | Tax departure country | Billing Doc Type | Number Range
100                IN                               F2                      A1
200                IN                               F2                      A2
200                US                              F2                     A3
3. In user exit RV60AFZZ (USEREXIT_NUMBER_RANGE)
Read table ZNUMB_RANGE for Number Range with Comp. Code, Tax country and Billing Doc.
If found pass this number range value to us_range_intern.
us_range_intern is a standard SAP variable which tells program which number range use to create the current document which is under process.
Let me know if you are clear.
Thanks,
Mandar

Similar Messages

  • Number range for billing document..its urgent!!

    Hi Friends!!
    can anybody tell me how to determine number range for billing document based on company code & tax departure country if required??
    Amit...

    Hi,
    Look at object RV_BELEG in t.code snro. It  is the number range object for SD Documents. Click on Number Ranges and then Intervals to view the different number ranges and associated intervals.
    Now look at t.code 0vlk, which is Define Delivery Type. If you double-click on a delivery type BV it goes to more detail. See the field: "NR int. assgt.". This is the number range for delivery type BV.
    This number range will be used in any company code or tax departure country that this delivery type is used in.
    Regards,
    Shamma

  • External Number Range for Billing Documents

    Hi Friends,
    Can any pls tell me how to create external number ranges for billing documents. We are trying to Map the Invoice nos from POS system to create and match the billing nos in both the systems. Pls help on how can I do this.
    Thanks
    Raj

    Check this thread
    [Re: Customize Billing Number Format|Re: Customize Billing Number Format]
    thanks
    G. Lakshmipathi

  • External number range for billing document (Invoices)

    Hi guys,
    I have a requirement from one of client to implement external number range for billing documents.
    I can only see a provision for internal number range in customising for Billing document type.
    Please can you assist me with detailson how to set up external number range for billing documents (Invoices).
    Thanks, Felix

    Hi Felix
    I think the similar requirement is in Venezuela also.
    So pl. check the SAP Note 849438 . As per the note :-
    The solution is delivered in the indicated support packages. In case you can not implement the correspondin support package for your release immediately, please follow the procedure described below:
    1. In the Data Dictionary Editor (transaction SE11) please open the definition of domain J_1AOFFNREL, go to the fixed values and add value 'P' with description 'Number Assingment using Prenumbered Forms' in a position so that the possible values remain sorted alphabetically.
    2. In the Message Editor (transaction SE91) please go to message class ICC_CN and add the new message 837 with text '&1: Official doc. numbering is not available for delivery documents!'.
    3. If you are implementing the note in release 4.6C, please create the following function modules:
    o     OFF_NUMBER_LOCAL_ASSIGN_VE in function group FIN2, and then copy the interface (all parameters and exceptions) of the function module OFF_NUMBER_LOCAL_ASSIGN_TW
    o     OFF_NUMBER_LOCAL_NUMBERING_VE in function group FIN2, and then copy the interface (all parameters and exceptions) of the function module OFF_NUMBER_LOCAL_NUMBERING_TW
    o     XBLNR_BUILD_AND_SPLIT_VE in function group IDSDCNUTIL, and then copy the interface (all parameters and exceptions) of the function module XBLNR_BUILD_AND_SPLIT_PECL
    4. Implement the source code corrections as shown below.
    The following customizing actions should be also executed when the solution by delivered by the corresponding support package. If you applied the solution manually, then please use the IMG activities listed in the section Cross-Application Components -> General Application Functions -> Cross-Application Document Numbering -> Taiwan as a reference. After the installation of the corresponding support package the customizing node for Venezuela can be used.
    1. Enable the use of business place for country Venezuela as described in the OSS Note 726537.
    2. Define the necessary document classes and configure the document types you would like to get an official document number as relevant for official document numbering in the desired mode. Please check the OSS Note 571376 for some explanations about the meaning of the different settings.
    3. Define the necessary number ranges and intervals and assign them to the combination of company code, business place, document class and validity period. If you use the customizing activity for Taiwan, then please leave the prefix field empty.
    Regards
    Amitesh

  • How to setup number range for Material Documents created by goods movement

    Hi Experts,
    Good day!
    Would you know what table or transaction code we could setup or configure the number range for Material Documents number created by goods movement?
    Thanks. Have a wonderful day!
    Rockz

    Hi,
    Tcode - OMBT
    Regards,
    Vivek

  • Number ranges for billing documents

    Our client has got 130 plants (105 are depots and 25 manufacturing plants) ) from which sales transactions are handled.
    There is a legal requirement that billing documents should have separate number ranges for a particular depot / plant. We have adopted the following method: -
    -  SAP standard number range object (transaction VN01),
    -  Customized table wherein we mapped billing document types, plant and number range object,
    -  User exit RV60AFZZ (Form Userexit_Number_range) to determine the number range during invoicing.
    We have consumed almost all of the possible number range object combinations (starting from AA to ZZ and 01 to 99) due to the huge number of plants.
    For the new depots, how to set up the number range objects for billing documents (example: is there any way by which this object can be made as three digits)?
    With best regards,
    S Viji

    We have not done such thing.
    But you can change it from 2 digit to 3 digit using access key. Which should be the last option.
    Look for option like creating customized number range object (instaed of using RV_BELEG which you are currently using). RV_BELEG is used for number ranges for Order, delivery in addition to billing. So the new number range object should also be able to provide number range for that.
    Also try make the current number = 0 of "consumed" no range and then delete the number range and recreate it (using VN01 or SNRO object RV_BELEG)

  • External number range for Billing Document

    Hi Gurus,
    Can you please let me know how to get the external number for the invoices? I know there is no standard way but if there is a way around to determine it. And the external number should be first 2 places are alphanumeric and dynamic and the next 2 places are also alphanumeric but constant and the rest of the digits should be a serial number of length 7. So, the total length of the number range should be 11. Please let me know if there is way to determine it this way.
    Example:
    AB + HY + 1000001
    CD + HY + 1000002
    Like wise.....
    Thanks in advance.
    Regards,
    Gangi

    hello, friend.
    you can define your number ranges using VN01.  in here, you can set up alpha numeric ranges and specify external.
    technically, you can assign this set to the billing type using VOFA. 
    however, it is not best practice to assign external number ranges to billing types, as it is possible to 'jump' the sequence of the numbering.  you do want to keep track of the sequence of billing docs.
    a possible exception is if you have an external billing software which generates a number, which you will then capture in SAP.  barring exceptions, it is best to retain internal assignment.
    regards.

  • Different No Range for invoice document no(MIRO) - company code wise.

    Dear All,
    Hi.
    at present we have just one company code in the server.
    now we are getting second company code in the same server, for this new coopany code. business needs seperate no range for invoice document no (MIRO)
    so please guide me how i can configure in the system
    Thanks
    h shah

    Hi,
    However, after testing in SAP internal system, I am afraid that your      
    request is not possible.        
    From the sap-Documentation ("Maintain Number Assignments for Accounting Documents")    :                              
    "Because document number assignment in Materials Management is not             
    company code-specific......   "                                                
    Best regards
    Erika

  • External Number Range for Billing documents in CRM

    In CRM, billing document external number range can only be numeric or alpha, but NOT alphanumeric. Is this a bug or is there some legitimate reason to have this limitation.
    This question stems from a data conversion where the legacy system invoice numbers are alphanumeric. So when we try to convert those invoice numbers, CRM cannot handle the external alphanumeric number.

    Check this thread
    [Re: Customize Billing Number Format|Re: Customize Billing Number Format]
    thanks
    G. Lakshmipathi

  • MIRO Invoice document number range to be assigned based on company code

    Hello all,
    We have different company codes in single client and we want each company code have diffrent set of Invoice document number. and seprate number range assignment i.e internal or external
    But SAP standard support Invoice document number assignment based on financial year..
    Please help me, how I can customize this in my system?
    Regards,
    PAVAN

    Hi Pavan,
    I assume you're talking about logistics invoice number (financial invoice number depends on company code as a standard)
    pls have a look at exit LMR1M003 (function module EXIT_SAPLMRME_003).
    I hope this helps. Kind regards,
    Alvaro

  • Number Range for billing document

    Hi,
    I would like to know, how to check field length of FORMNUMBER and TONUMBER column in J1AB t-code?
    Why it allows me to put only 8 digits of number for local invoice numbering?
    Please kindly advise. Thank you very much.
    Regards,
    Darin

    Hi,
    Goto the Table in SE16 for the FROM NUMBER and check the DATA ELEMENT for the Length of the field
    It is 20
    and it is same for TONUMBER also
    If you want to check your self, then goto the tranasction cod J1AB and press F1 on the FROM NUMBER Field and then check the technical details for the field and the Data element.
    Hope it is help ful
    thanks,
    santosh

  • How to change number range for document type ?

    Dear All
    Experts
    How to change the number range for document types for entry view? I am trying to change the number range for all document type as per defined ranges in FBN1, but at the time of saving document type and number range the system is throwing error message as 
    Doc. type C1: Number range 07 is used for ledger L6 with doc. type AE
    Message no. FAGL_LEDGER_CUST093
    I have defined a leading ledger in system too with these settings
    1)     Define ledger for accounting.
    2)     Defining currencies for it.
    3)     Defining ledger group for the same.
    4)     Defining accounting principles
    5)     Assignment of principles to leading ledger.  
    Are there any extra settings required for leading ledger settings?
    I have some doubts those are :-
    How document types defined at ledger level?
    How to define them at leading ledger level?  (Like my case)
    Focus on this will be appreciable.
    Regards,
    Sharvari Joshi.

    hi ,
    The document numbers in the leading ledger and the non leading ledgers should be in sync, they should not have any differences, so incase you are trying to change the number range for C1, the  number range 07 is already been assigned to doc type AE. i guess you have cant use 07 for C1. may be you can try out with an other number range. check this and let me know if you are able to do this.
    coming to
    1.How document types defined at ledger level?
    2.How to define them at leading ledger level? (Like my case)
    Ans 1. please try defining document types for entry view in a ledger.
    path : SPRO- financial accounting new -financial accounting global settings new - document -document types -define document types for entry view in ledger.
    upon prompt enter the ledger and go ahead creating the number ranges for the document types.
    Hope this helps.
    Regards
    amrutha

  • OMX4 - FBN1 - Number range for Material document and FI document

    47 - is for FI document number range in Material ledger FBN1.  OMX4 gives number range for Material document.  My question is how big the number range must be?  Since thousands of Materials involved, I couldn't imagin this?
    Anybody knows, how to determine the size of no. ranges in Material Ledger configuration?  SAP simply says, check no. ranges whether it meets the requirement....
    I don't expect an answer again, just check your business, how many transactions would be in a period, which is not quantifiable now?
    I would like to understand this from somebody's experience of using insufficient or excessive no. ranges, especially in this area.
    Cheers,
    Ashok

    What is the number range you are using? Year Dependent or Independent?
    When you don't know the document number consumption pattern you should use Year dependent number range in both OMX4 & FBN1. Observing this for a month will give a rough Idea and observing for a Quarter will give you a fair Idea and the result for a year gives almost near to accurate consumption of number ranges.
    The generation of documents is dependent on the number of materials and Profit centers involved. As much as possibe use Summarization at profit center level when posting to FI. This will reduce the number of documents and line items that are getting generated.

  • Number ranges for material document (migo) and inventory  documents

    Hi Gurus,
    We need a different number ranges for goods receipt documents  and inventory documents because we have different company merged in to one box.Can any body tell me on what basis we differenciate the number ranges how to configure it.
    If we take PO, we have different doc types and we assign number ranges to those documents. in case of Miro , it  is the single transaction code used by different companies and how to give different number ranges.
    Regards,
    Sri........

    Hi,
    I think number ranges of inventory documents are on client level not on company code wise . because even though  your creating new document and assigned different number ranges for the documents but  these while assigning  ranges to T codes (MIGO or MIRO) you dont have option like company codes ( tcode OMBA) so number ranges for inventory documents are at client level  not at company code level.

  • External number range for Sales Document

    hi,
        I have a requirement to generate external number range for sales document. I tried this user exit (MV45AFZZ) to generate external number.
    FORM USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN.
    Endform.
    between these form and enform i written my logic and passing to US_RANGE_INTERN. But can one suggest where to write to generate external number range.
    Can any one help me out.
    Thanks and regards,
    Vijay.

    Hi
    Here you can assign a different number range for your sales order.
    The number range is linked to the order type (field VBAK-AUART), this link is done in customizing.
    It usually uses this routine if it can't assign the range in customzing because (for example) for different sales area it need have different number ranges for the same order type.
    So you should create an external range by trx SNRO and then assign the number before entering in the main screen of va01 or saving the document.
    When you need to assign the number depends on how you want to manage your range.
    If you assign the number in entering you has to make sure to not assign the same number document to severals order to be created in the same time by several useers.
    Max

Maybe you are looking for