cancel
Showing results for 
Search instead for 
Did you mean: 

i want to maintain number ranges on the basis of sales document and plant

Former Member
0 Kudos

hi,

sap gurus,

i want to maintain numnber ranges on the basis of sales document and plant wise.

how should i write that.

please help me on that....

regards,

balajit

Accepted Solutions (0)

Answers (3)

Answers (3)

reazuddin_md
Active Contributor
0 Kudos

Create Table:

SD document Category - Plant as fields- No.range Interval

maintain entries in this table-

maintain number ranges- SNRO-object:RV_BELEG

write coding in

----


FORM userexit_number_range USING us_range_intern. -

Prog:MV45AFZZ.- sales doc's

MV50AFZ1- delviery docs

RV60AFZZ - Invoices.

try n revert

Former Member
0 Kudos

Hi Balaji,

Check the thread

Thanks,

Raja

Former Member
0 Kudos

Hello Friend,

You can make use of the Variable Table TVARV and the variable is maintained through T.code STVARV mainatain the plants as variables and you can achieve your requirement to have different number ranges based on plant.