Skip to Content
author's profile photo Former Member
Former Member

different numbers for the sales document (OR) raised in different regions

hi,

Help in this regard.

The requirement is such that the client would want to have different numbers for the sales document (OR) raised in different regions. For ex. the numbers fro orders raised in AP should be different from the ones raised in Tamilnadu.

Thanking you

chan

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 28, 2007 at 03:35 PM

    Copy standard order OR and create different order types like AOR-Andhra pradesh, TOR - tamilnadu, BOR- Bihar etc. And assign unique number ranges to each document type. So if the sales office in chennai raises a sales order they will use order type TOR, in hyderabad it will AOR and in Patna BOR and so on.

    This way the funcionality can be mapped.

    Hope my answer was useful.

    Regards

    AK

    Please reward points if helpful

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 28, 2007 at 06:31 PM

    Hari Sri,

    Since you would like to use only one sales document type OR for all the Regions it is obvious that you can use only one number Range. For that document however you can use different no. ranges for different sales organizations by using the following User exit.

    USEREXIT_NUMBER_RANGE

    Use this user exit to define the number ranges for internal document number assignment depending on the required fields. For example, if you want to define the number range depending on the sales organization (VKORG) or on the selling company (VKBUR), use this user exit.

    The user exit is called up in the FORM routine BELEG_SICHERN.

    Reward Points if Helpful.

    Regards,

    Nagesh Murthy

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 28, 2007 at 07:04 PM

    Hi,

    Nagesh have given a very good solution. Through user exit the number range can be controlled in any manner. You must assure that number range object field is left blank, if we want to use user exit for it, else you will have to create that many sales order type & assign separate number range object in each.

    Regards,

    Rajesh Banka

    Reward suitable points.

    • How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 28, 2007 at 07:05 PM

    Just give the accurate logic to Abaper, so that user exit works as per requirement.

    Regards,

    Rajesh Banka

    Reward suitable points.

    • How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.