on 02-09-2014 11:30 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you have to create Number range object in SNRO and call this into Exit "USEREXIT_ NUMBER_RANGE"
Regards,
santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
10 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.