cancel
Showing results for 
Search instead for 
Did you mean: 

PLANT SPECIFIC INVOICE NUMBER

Former Member
0 Kudos

HI,

I was wondering if there are (standard) ways of generating invoice numbers per supply plant (that is, specific to the plant itself).

Here is an example:

Supply plant : 1234

Invoice field size : 10

The first invoice to be created for the plant should have the number "1234000001" i.e. the plant number should appear first (as a kind of identifier) and then the running document (invoice) number must appear (to make up the last six characters.

Regards

Pradeep

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member182378
Active Contributor
0 Kudos

P.K.,

There is no standard way of doing this! It involves coding.

You want the billing number range per plant, thus the invoice split criteria should be configured for plant. Set up for one billing document created for one plant.

You can create a billing type for plant 1234, e.g. ZF2 with description INV1234. and give number range 000001 to 999999.

This would be standard, and user can see for this particular plant the billing doc number is e.g. 000002

deep_khanra
Participant
0 Kudos

HI PK,

create new Z table.

plan as a primary key

t ocde - VF01

enhancement- USEREXIT-NUMBER-RANGE

PROGRAM- RV60AFZZ

Determine number range intrval(NUMKI) based on above Z table and below logic

palnt(VBAP-WERKS)

pass number intrval to "US-RANGE_INTEN"

It will take number interval and take number range , pass the plant into Z table and determine relevant number intervals.

Regards

Deep

Former Member
0 Kudos

HGi,

yes it's possible. Have a look at oss note 595532 where you'll find a couple of examples you can adapt as per your requirements (program RV60AFZZ, user exit USEREXIT_NUMBER_RANGE)

Regards,

JM

former_member186385
Active Contributor
0 Kudos

Hi,

you have to create Number range object in SNRO and call this into Exit  "USEREXIT_ NUMBER_RANGE"

Regards,

santosh