!--a11y-->
Creating the Customer Service Area
Table 
You can use this Customizing transaction to create a table for determining Customer Service Areas (CSAs). You would probably only create one table, as it will contain all the logic needed by the system to automatically generate customer service areas.
...
1. In Customizing for the AFS Allocation Run, choose ARun Optimizer ® Customer Service Areas ® CSA Table Generation.
2. The system displays a message indicating that the table is cross-client. Choose Continue to close the message window.
3. Enter a table name, along with a description. In Customizing for AFS Allocation Run, maintain the default table by choosing ARun Optimizer ® Customer Service Areas ® Application Default Table Maintenance.
4. For the Application field, the system will automatically propose an entry of 5 (generation of CSA fields).
5. On the Table Level Overview screen, double-click Field level in the dialog structure at the left side of the screen. The system displays a table with the following column headers: Table Name, Field Name, Sequence, and Key. Here you enter the criteria for determining sales areas. Enter a new line for each combination of source table name and field name.
¡ Table Name
Enter one of the following table names. This tells the system where to locate the data element you specify in Field Name below.
Table |
Contents |
KUAGV |
Sold-to party’s view of the Customer Master Record |
KUWEV |
Ship-to party’s view of the Customer Master Record |
VBAK |
Sales document: header data |
VBAP |
Sales document: item data |
VBEP |
Sales document: schedule line data |
VBKD |
Sales document: business data |
VBPA |
Sales document: partner |
¡ Field Name
Enter a field that is found in that table. For example, the sales order number would be found in table VBAK, while the material number would be in table VBAP.
¡ Sequence
Assign a number to each field you have listed for a given table, starting with number 1. The system uses this information to determine the sequence in which it should access the fields. Here you do not need to enter the fields in order. The system resequences the fields internally based on the numbers you entered here. However, you can improve system performance by assigning the lowest number to the most restrictive field (that is, the data element having the most possible values).
¡ Key
All fields should be marked as key fields and are used for determining the customer service areas. For example, if you are assigning customer service representatives to geographical areas, you may want to designate the sold-to party location in table KUAGV as a key field.
6. Save your entries.
7. Return to the Table Level: Details view.
8. Choose Generate Table.
The system generates a CSA table. As sales orders are processed, the system begins to fill in the table automatically as it encounters unique combinations of key fields.
In a subsequent step, you assign customer service areas to allocation groups, and then customer service representatives to the customer service areas.