Skip to Content
avatar image
Former Member

number ranges

hi friends,

my client wants following requirement.

they hav 8 sales office in India. they need separate number ranges for billing documents on each sales office.

they don't want to copy F2 to ZF2

thanks

roby

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 07, 2008 at 06:46 AM

    Dear Roby,

    You full fill this requirement in two ways

    1.If you want to different number ranges for the different sales offices you can define different billing document types for each sales office then define the different number ranges and assign different number ranges to each billing document.

    2.If you want to use single billing document in all sales office i.e you don't want to define different billing document type for each billing document type, you need to go for the User exit with the help of ABAPer.

    Try with these Usee Exits

    1. 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.

    2.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.

    I hope this will help you,

    Regards,

    Murali.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 07, 2008 at 06:44 AM

    Hi,

    You can take help from your technical team(ABAPers) and ask them to incorporate logic in user exit

    RV60AFZZ and form is USEREXIT_NUMBER_RANGE (Module pool SAPLV60A).

    According to Sales office you can number range.

    Please make sure number ranges sepration using above user exit will work only during billing document creation.

    Please let me know if you need any clarifications.

    Regards,

    Chandra

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 07, 2008 at 06:48 AM

    Hi Roby,

    same problem i had at my last projet. it was like plant wise number range in your case it is sales office.

    we have sovled this problem with the help of Z table.

    Create ZTABLE for number Range with fields Sales office & Number Range and u have to use "RV60AFZZ" userexit for this.

    take the help of ABAPer

    Regards,

    Ratish

    Add comment
    10|10000 characters needed characters exceeded