on 08-29-2008 6:54 AM
Hi Gurus
the number ranges for creation of orders should be plant specific. i.e, for different plants in slaes order different no. ranges should be defined.
can any one help me in solving this issue.
regards
pavan
Hi,
I have small query, You can solve your issue with our friends above suggestions. But my question is
Sales order contains two items.
for one material one plant eg; Z001
second material different plant Z002 ( due to non avilability or some other reason)
How system will define number range for a sales order.
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavan,
Create a Z table with the fields you need for selection of Number ranges.
With help of your Technical consulatnat you can write code to pick the number range logic.
Use SAP Standard User Exit: MV45AFZZ
FORM USEREXIT_NUMBER_RANGE
This userexit can be used to determine the numberranges for *
the internal document number. *
TABLES :ZNUMR.
SELECT SINGLE * FROM ZNUMR WHERE
WERKS = VBAP-WERKS AND
AUART = VBAK-AUART.
IF SY-SUBRC = 0 AND ZNUMR-NUMKI NE SPACE.
MOVE ZNUMR-NUMKI TO US_RANGE_INTERN.
ELSE.
MESSAGE E002(ZMES) WITH VBAP-WERKS VBAK-AUART.
ENDIF.
Hope this resolves your issue.
Regards,
Dnyandeo H. Ainarkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no option but to use the user exit. As plant is at item level and the user may enter different plants for different line items you need to be careful. Inform the user that the system will always pick up the plant from the first line item only. If you dont have this scenario i.e. all the line items in the order will have same plant then there is no issue.
In MV45AFZZ exit FORM USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN.
Regards,
GSL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear pavan
You can try with User exits in the program MV45AFZZ - USEREXIT_NUMBER_RANGE
thanks
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the FORM USEREXIT_NUMBER_RANGE of MV45AFZZ include program and create a Z-table to store the plant specific number range. Though the actual number range will be in the SNRO (no range object RV_BELEG ie the standard one).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It can be done.
Create a ztable with parameters like plant, company code and relevant datas along with Number range.
regards,
vimal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
There is no standard SAP way to achieve this, you need to think of an Enhancement. check for some user exits for orders.
Prase
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
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.