Hi all,
I have a small problem,
when saving a purchase order, diffrent number ranges must be assigned based on the company code,
i found that the below user exit can be used, where i can use EBELN as the purchase order number,
but, how to assign the PO number exactly in between numbers, that is how to assign number ranges.
like:
for companycode 2000, all the PO numbers must lie between 10000000 to 19999999.
for companycode 3000, all the PO numbers must lie between 20000000 to 29999999.
The User exit i found is :
Enhancement: MM06E003
FM: EXIT_SAPMM06E_001
Include: ZXM06U17
I am also creating a ztabel, with number ranges assigned to each combination of company code and purchase org.
But how must i assign the EBELN must be between those number range.
Thanks.
Edited by: vinay k on Mar 22, 2009 1:14 AM