on 12-01-2007 4:57 AM
How can I define plant wise number range in sales order and billing .
hi
'u have to use user exits for plant wise billing and for order
this is for billing
Different Billing Document Number range based on Company code / Plant Code for the same billing type.
The Following are the example for different invoice number based on Plant.
Use the Exit RV60AFZZ.
FORM USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN.
if (
xvbrk-fkart = 'ZF3' or xvbrk-fkart = 'ZF2' )
and xvbrk-vkorg = '1000'.
case xvbrp-werks.
when 'AGR'.
us_range_intern = '22'.
when 'AHD'.
us_range_intern = '28'.
Endif.
ENDFORM.
USEREXIT_NUMBER_RANGE includes in MV45AFZZ
for sales order i think u have to use MV45Afzz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use include MV45AFZZ in SAPMV45A Program
FORM USEREXIT_NUMBER_RANGE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.