In SAP, the default client encoding is the custom range encoding in SPRO, all of which are numerical values, but sometimes we need to customize a format with a fixed length. For example, you can customize the qad erp. In the company, the customer's format is numerical value + letter, and the total length is 5 yards. If you customize the customer code in SAP, an error will be prompted!
We can customize a range and assign it to the customer account group. This account group can be used to create new customers!
1. Enter the transaction code SPRO. Select Directory:
IMG -- Financial Accounting -- accounts receivable and payable -- customer account -- master data -- prepare for creating customer master data -- Define account groups (customers) with screen format)
(The transaction code is OBD2)
Select "New entry" to create a group
Add it to this account group. Now we can see the new account group on OBD2!
2. Enter the transaction code SPRO. Select Directory:
IMG -- Financial Accounting -- accounts receivable and payable -- customer account -- master data -- Preparation for creating customer master data -- Scope of creating customer account numbers
(The transaction code is XDN1)
Click: Modify Interval
Click: Add Interval
Enter the above information. Remember to add the final hook, which indicates that this is an external code (that is, you can customize the encoding according to this range, or else it will be encoded in the order of this rule )!
If the rule for the start and end numbers is inconsistent, the system will prompt you to enter a value !!
Click Add
The newly added range rule !!!
Remember to save !!!
3. Enter the transaction code SPRO. Select Directory:
IMG -- Financial Accounting -- accounts receivable and payable -- customer account -- master data -- prepare for creating customer master data -- assign number range to customer account group
(The transaction code is OBAR)
* Assign a number rule to the newly created customer account group (if this step is left blank, an error occurs when you use this account group when creating a customer !)
4. Return to the SAP menu. Transaction code: VD01
* The customer can create a new one based on our rules !!
The Illustrated PDF is as follows:
Http://files.cnblogs.com/mengxin523/%e8%87%aa%e5% AE %9a%e4%b9%89%e5% AE %a2%e6%88%b7%e4%bb%a3%e7%a0%81.pdf