cancel
Showing results for 
Search instead for 
Did you mean: 

Separate number range for VAT and Non-VAT invoices in the same doc type

Former Member
0 Kudos

Hi Experts,

I have a requirement that I need to have sales invoices for VAT and those for non-VAT items to have different number ranges.Since the document type is the same, could you give any pointer how this can be achieved ?

Regards,

Siddharth

Accepted Solutions (1)

Accepted Solutions (1)

former_member188076
Active Contributor
0 Kudos

Hi

You may use the User Exit :FORM USEREXIT_NUMBER_RANGE (RV60AFZZ).

we are using the same exit for different No. range for VAT Customer, Non-VAT Customer and CST customers. You will need to maintain a separate Z-Table for this purpose as per your requirement.

Regards

Amitesh

Answers (2)

Answers (2)

rasikm_waghela
Active Participant
0 Kudos

Hi siddharth,

SAP has defined standard proccedure for this requirement.

You have to new business entity BUSINESS PLACE for the same and assign it to plant.

Goto Tcode SM31 and select table J_1BBRANCV choose maintain and deine business place here.

Goto Tcode SM31 and select table J_1Bt001WV assign business place to plant.

you have to defien ducument classes of officila numbering you can refer note 831870 for the same.

After all the customizing using above note you wil find the VAT number is updated in tghe reference filed of vbrk after saving billing document ( VBRK -XBLNR)

You have to use copying requirement 350 at item level in copy control from delivery to billing.

You have to maintain the VAT registration number in customer master control data in fiels tax number 1/2 .

You will get all the details in the above note for any queries fell free to ask .

Thanks & regards

Rasik Waghela

former_member217082
Active Contributor
0 Kudos

Hi Siddharth

As the document type is same and you want to have different number range for VAT and NON-VAT invoices then you create a Z document type and create VAT related invoices and with standard document type create Non-VAT documents. and assign different number ranges in both document types.

Regards

Srinath

Former Member
0 Kudos

Thanks Srinath,

But I want the document type to be the same, as creating a separate document type would create a huge impact on the global template and this is a local legal requirement of a single country.So we want to keep the same document type but then have separate number ranges for the two scenarios.

Regards,

Siddharth

former_member217082
Active Contributor
0 Kudos

Hi Siddharth

Then you go with the user exit USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ). In this user exit you have to include the program with the help of technical consultant that if VAT documents get generated then a separate number should gets generated and if Non-VAT documents gets generated then another number should get generated. In the user exit only you have maintain different number ranges for VAT & Non-VAT documents with the help of technical consultant

Regards

Srinath

Former Member
0 Kudos

Hi srinath ,

how did you find the below defined user exit

USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ).