Custom number range to sales orders

HI Gurus
   I have a requirement to keep a custom number range to sales orders. The number range should start with X.The next two characters should be based on the user name. The remaning part is the sequence number. Please advice the best way to do it.

HI Seshu
  If we need to use that user exit we should assign the number range as internal. From here you can select a number range but not the number. If we assign any number in the user exit then the vbeln is refreshed. I am thinking of creating externel number range and write some code in the field exit of vbak-vbelen. Will it have any side effects. And is there any number range object in SAP. I know in oracle we can create a number (counter). Please advice

Similar Messages

  • Alpha Numeric number Ranges for Sales order Acording to sales office wise.

    Hi Experts,
             I have a Issue for genrating sales order numbers With Alpha Numeric Number Ranges for sales office wise Internaly . How can we get this is there any Userexits or badi for this . If Any one Come across this issue plz guide me.
       The Alpha characters should not change that will be sales office region code. only the Numeric numbers should change .
    Ex;   Abc-123000  to Abc-200000
    Regards,
    Ravi.

    This alpha-numeric format is not possible directly with SNRO settings.
    You need to opt for external number range, and in the exit of your respective transaction you need to takecare of this number generation explicitly by programming.
    http://www.sap-img.com/sap-sd/number-ranges-in-sales-order.htm
    any more inputs from experts are welcome..
    Hi,
    1. goto include MV45AFZZ and to user exit Save_document This form is called before COMMITand double click on FORM USEREXIT_SAVE_DOCUMENT.
    2.it will show the program MV45AF0B_BELEG_SICHERN from were this user exit is called, selcet the program and click on Display.
    3. you can use the enhancement point enhancement-point beleg_sichern_01 spots es_sapmv45a. just below the PERFORM USEREXIT_SAVE_DOCUMENT to call the badi method on_costing_component.
    regards.
    santhosh reddy
    Message was edited by:
            Santhosh Reddy
    Message was edited by:
            Santhosh Reddy

  • Number ranges for purchase order in SUS- why?

    Dear Gurus,
    In SPRO settings, I have seen the option for defining the number range for purchase order in supplier self service system. similarly, there is an option for defining the number range for purchase order response.
    Why do we need to define the number range for purchase order and its response in SUS system? In SUS system, the purchasing documents from SRM and MM system create corresponding Sales Order and its follow-on document. So, we need to define the number range for sales order not purchase order.
    In spro documents, it says you need to define the number range only if you create purchase order locally in SUS.
    What does it mean?
    regards,
    Ranjan

    Hi Ranjan,
    Unfortunately in SUS, Sales orders are referred to as Purchase orders only. Hence any PO with a number say 450000000 that comes into SUS will have a corresponding number in SUS as 19000000.
    Sam has already explained the PO response part.
    Regards,
    Nikhil

  • 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

  • Number of times sales order./delivery blocked

    Hi,
    Do we have a report which gives details about number of times sales order/delivery blocked because of credit management.
    Or there is any work around for getting the same?
    I request you to kindly suggest your valuable inputs.
    Regards,
    Phani Prasad.

    Hi Balaji,
    Thanks for your reply.Please find the below example.
    Customer A was blocked for credit limit on 01.01.2011 and subsequently released using VKM3.
    Again the same customer was blocked on 02.01.2011 and once again released.
    How do I know the number of times Customer A was blocked and released for a given period.(2 times in the above example for that period).
    Please explain.
    Regards,
    Phani Prasad.

  • Customer Master data creation with customized number range

    Dear all,
    Can somebody know how to create the customized number range for customers like first 2 digits represents Sales organization and next 2 digit should represent circle,next 2 distribution chaneel and last 4 digits shold be the running number.
    Looking for solution..
    Thanks & Regards,
    Murali.

    Hi,
    In your case you need to define as following
    Step No: 01.
    01.Sales Orgination with 0001 to 0099.
    02.Regions with 00 to 99.
    03.Distribustion Channel with 00 to 99
    Step No:02.
    Define PDP with the diffrent account groups defined for diffrent Sales Org, Regions & DC's.
    Step : No: 03.
    As per the above configs go to TCode for Number range for accounts groups in  XDN1. Say Example as
    XX--- From:1010100000 to: 1010109999. Note the possiable numbers are 0000 to 9999 only.
    10 is sales Org, 10 is Region & 10 is DC's.
    This is one of the way to do. The other way is to develo Z table and to use the user exit / new progarme to identify the requried number range with reference to Sales Org, Regions & DC's
    Hope this is fine with your requrment.
    Bye & enjoy SAP.
    Koganti.

  • Gaps in customer number range

    Hi SAP Gurus
    We have been reviewing our customer master data and noticed that a series of GAP in our customer number range.
    Please could anyone advise on what is reponsible for this and how it can be fixed.
    Thanks, Felix

    Hello Felix,
    There are a number of reasons why gaps in invoice numbers may occur:
    1. Object RV_BELEG  is buffered. In this case the performace is improved
       but this gaps are produced.
    2. Update terminate/shortdump occures while billing document update.
       - the number is set in to the invoice at the beggining of the program
       If an interruption of the process happens after the assignation of
       this number, the number has run in the range and cannot be recovered.
       Update terminations in transaction VF01 and VF04. The billing
       document number is reserved prior to the update. After a possible
       update termination, it cannot be used again. Update terminations are
       displayed in transaction SM13. At present,  there is no possible
       solution.
    3. Incorrect userexit, eg.in Program RV60AFZZ,  USEREXIT_NUMBER_RANGE.
    Please check the following notes in order to solve this incidence:
    175047  Causes for FI document number gaps (RF_BELEG)
    19050   Gaps in document number sequence for billing docmt
    23835   Buffering RV_BELEG / Number assignment in SD
    As you might need to answer to the auditor on the gap of the invoices,
    report RFBNUM00 from note 175047 will help you to display
    document number gaps to the auditor if in your country the FI document
    numbers must be assigned continuously. You use this report to document
    the number gaps and the auditor will accept it.
    We know that in different countries you have to explain document gaps
    to Legal Authorities. For this reason there is report RFVBER00 to
    document gaps occured due to an update termination.
    As I already stated above report RFVBER00 does only list update
    terminations that are not older than 50 days (or according to what time
    is maintained in your system). So it could be that this log has already
    been cleaned up. It is necessary that these update terminations are
    documented before the 50 days expire.
    Or a second possibility is that the gaps occured NOT due to an update
    termination. Gaps without update terminations be (easily) explained.
    They can be (only) detected via report RFBNUM00. Report RFBNUM00 display
    these document number gaps for the number range object RF_BELEG.
    Thanks,
    Alex

  • Number range for production order is running out! Please help..

    Hi,
    Our number range for the production order is running out, can anyone please guide me how to extend or create a new number range?
    I try to go to CO82, there is no where for me to add a new range. Also, I can't extend continuosly the number range cause the next number already assigned to another order type.
    What can I do?
    Kindly please help. Thank you.

    Hi,
    All i would suggest before fixing on the number of digits, look at your past pattern. Estimate the number of orders which you plan to create for a given order type, based on that select the number of digits.
    Now if you wish to increase from 7 to 8, its fine, it will not be an issue, once you define the number range, system will throw a message if it overlaps, so you can be rest assured about that. Assign the new number range to the order type & standard SAP will take care of the rest. However if you have any custom reports / developments, just ensure that there is no hard coding to read only 7 digits. Apart from that it should work fine.
    Hope the above resolves the issue.
    Regards,
    Vivek
    Added
    Please do not amend the existing number range or do any modifications to the same, it will lead to inconsistencies. So create a new range & assign the same to the order types
    Edited by: Vivek on Mar 13, 2009 10:43 AM

  • ATP Check against customer stock for return Sale order

    Hi Friends,
    Pl.help in this.
    1. Is it possible to configure ATP check against Customer stock in a Sale order/Return order/any other way? ( Actuallly, client wants to take back empty cylinders through return sale order by ATP check against the customer stock)
    Regards,
    Mani

    Hi Mani ,
    Are you  taking cylinder as returable packing item or not?
    ex- For soft  drinks or beverages industry  it pretty common , they  use thel returnable package material type and more over why you want  use return sales order for this?
    Note- Just plz explain  scenario to MM and PP People also as availability check with all combination
    Hope it is helpful to you,
    Regards
    Venkat

  • Credit Card number entered CRM sales order is not appearing in R3 Sales ord

    Hi,
    We are entering our Sales orders in CRM which are gtting replicated to SAP R3,In the credit card scenario ,In some sales orders entered in CRM,where the Credit card numer has been entered,In some cases,the card numer is not appearing in R3 Sales order either in the overview screen or Payment card tab,due to ehich most of the times these cards fail authorization .
    Kindly let me know as to what could be the reasons as to why the card numer seen in CRM is not appearing in SAP R3,sales order?
    Appreciate your help on this.
    Regards
    Mohammed Roshan

    Hi All,
    Looking forward to your valuable inputs on this as to  how and why Credit Card number entered CRM sales order iwould not appear in R3 Sales order?
    Regards
    Mohammed Roshan

  • Customer not displyed in sales order

    Hi all,
    I'm facing problem with customer not displyed in sales order. While i'm creating sales order sold to party and ship to party fields both are grey mode ( fileds are not accepting any values). I set up partner detemination procedure for customer, sales header and item level. I don't know where i did wrong . Please solve my problem as early as possible.
    Thanks & regards
    Kesav

    Dear Kesav,
    Did you assign Partner procedure to sales document header??
    Please do this Go to SPRO>SD>Basic Functions>Partner Determination>Set Up Partner Determination-->Set Up Partner Determination for Sales Document Header
    Here select the Procedure and then click on Partner Determination Procedure Assignment and assign procedure to sales document type.
    Thanks,
    Raja

  • Copy mode of payment from customer master data to sales order,

    Hi Gurus,
    Hope all is fine.
    I have a small doubt. If we want to transfer the mode of payment from customer master data to sales order, do we have to use Exit- MV45AFZZ.
    Can't we transfer the data without the exit?

    Hi,
    I have tested this in sand box.Thought the customer master is having payment method ( payer ) ,It is not copying from customer master to sales order but if you maintain manually in sales order ,it is copying into billing document level.FYI see below snap shot.
    Note:If you want it from customer master into sales order,may be you need to take help of abaper on this.
    BR's,
    Naren

  • How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0

    How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?

    Hi,
    First go thourh the FM import export parameters list.
    Try to create an internal table of type INRI-NRRANGENR for number ranges.
    We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
    Try to create the ncessary ones using this FM.
    In the Exit, EXIT_SAPMM06E_001,
    the Export parameters are-
    EKKO-EBELN- the PO ios created with in that specified range
    Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
    Try to code this in the Include provded and keep Breakpint and check the PO number generated.
    Reply if u need more help on this.
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • Multiple number range for planned order

    Hi,
    I want maintain different number range for MRP related planned order and manual creation planned orders. I have checked OPPQ and OMI2 transaction but i could not get any clue to create different number range for same plant. Let me know is how we can create.
    Regards / US

    Hi Uma,
    number range is dependent on plant alone and I don't think there is an user exit or badi to change number range at planned order creation.
    I guess the alternative is an enhancement or using some other field to determine what planned orders are manual.
    regards,
    Edgar

  • Adding Custom Fields to the Sales Order Screens - VA01, VA02 & VA03

    Hi,
    I have a requirement to add custom fields in the Sales Order Standard Screen. Could anyone please tell me is there any screen exit available to add a tab screen or is there any possibility without modifying the standard code.
    Please let me know with the details.
    Thanks & Regards,
    Goutham.

    Hi Narendran,
    Thanks for prompt reply, it was very useful.
    Could you please let me know the procedure you have followed in coming to this conclusion of what screens to be used.
    I understand that the program is SAPMV45A.
    Thanks & Regards,
    Goutham.

Maybe you are looking for

  • Out of memory error

    Hello all, I am newbie to this forum, so kindly excuse me if I am posting an incorrect question. My application goes down every week and the error logs point to java.lang.OutOfMemoryError. Analysed the sysout logs and heap logs : - Sysout logs : Coul

  • RAID best practice on UCS C210 M2

    H everyone, I  have a C210 M2 Server with LSI MegaRAID 9261-8i Card with 16 hard  drives of each 146GB. If I am going to run CUCM, CUC and CUPS to support up to 5000 users, What is the best practice to configure virtual drives? Do I need any hot spar

  • Realm

    Hi, I am using weblogic 6.1.I require some help for configuring security realm. I tried to use to the the RDBMSRealm provided with weblogic. My basic question is once I configure a realm how do I make it active,i.e tell weblogic to use my RDBMSRealm

  • Positioning an Image absolute

    Hello, currently i am designing my website with fireworks cs5.i want to position a big image on the right side on top of my layout.In fireworks this doesn't work and i get "overlapping" issues so my question is how do i position my big image manually

  • [Solved] Help choosing between 32 bits or 64 bits

    Hi, I've got a new laptop wich has 4 gb in RAM and also a dual core processor. I've searching on the wiki and the forums but can find a clear answer Should I install the 64 bits version or the 32? Do I have to keep in mind something particular during