cancel
Showing results for 
Search instead for 
Did you mean: 

number range of accounting document for different plants

Former Member
0 Kudos

whenever a billing document is created in SD (using the T-code VF01); an accounting document will be simultaneously created in the FI module. one document type(TS,number range---60:1 to 9999 ) have four plants .different plants have own number range and sequential document number .

eg: doc. type num.range fr to plant cty co code

TS 61 1 1000 PLANT_1 3100

62 1001 2000 PLANT_2 3100

63 2001 3000 PLANT_3 3100

64 3001 4000 PLANT_4 3100

How can that carry out this function ?

thank you for your help !

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

First you have to create a ztable by using t-code se11

In the table you have to maintain following fields

Billing type

Number range

plant

Maintainthe valus in by useing tcode se16

By useing program RV65AFZZ we can excute the funtion

Answers (5)

Answers (5)

Former Member
0 Kudos

This sequential number is accounting document number in FI module but not invoice number (billing document).

Former Member
0 Kudos

Hi leung,

As Mr.Rohit has mentioned it has to be done with the z table and the available user exit.

Wht we have done is.we have created no ranges in obj rv_beleg.Eg

AA 0000000001 to 0000099999

AB 0000100000 to 0000199999

AC 0000200000 to 0000 299999.

Using the user exit we have created a Z table.And assignd for this ombination in the Ztable.

Plant X Billing type A AA

Plant Y Billing Type A AB

Plant Z Billing type A AC

Once this combination matches the appropriate invoice no range gets picked up.

Regards,

K.Vivek

Former Member
0 Kudos

hi konda reddy,anil kumar,Vivek Kalaichel,Rohit Zalani,

thank you for your help ! This sequential number is accounting document number in FI module but not invoice number (billing document).

Former Member
0 Kudos

Hi,

In order to achieve this requirement, you have to configure a custom Z table that would have the number range ID to be used based on the delivering plant. No range IDs are created using transaction SNRO, object RV_BELEG. Once that is done, you have to use the user exit under RV60AFZZ, FORM USEREXIT_NUMBER_RANGE and use the Z table entries to use the no range ID that needs to be used based on the delivering plant.

Hope this is useful.

Regards,

Rohit Zalani

Former Member
0 Kudos

hi ,

There is an user exit no range object available in SAP i think its Rv_beleg.This object is used to generate invoices in plant specific no range.

Pls check this out.Meanwhile i will also check it a give u the correct no range object if i am wrong.

Regards,

K.Vivek

Former Member
0 Kudos

This is a very valid query. Generally the invoice number should also generate sequentially for a specific plant. we got the same issue from the client in our integration testing. and our abaper r taking care of it by using a userexit.

thanks,

anil.