Condition Technique for the Creation of Grid Control
Data
This function is the basis for creating grid control data.
Use the grid determination procedure for purchasing and sales and distribution to ensure that the system finds the requested application grids and control data in the application and uses them correctly.
Condition records are used to create grid control data. They are used to determine the duration and area of validity of your application grid and control data.
AFS provides two set determination procedures for grid determination in purchasing and sales and distribution. In both procedures the system accesses one condition type for master grids, and, according to the application area, another for purchasing or sales grids.
In the AFS basic data view in the material master, you enter appropriate grid determination procedures for purchasing and sales and distribution.
On basis of the determination procedure, the system checks in the application whether there is grid control data for the material in the current situation. The relevant access sequence for each condition type is set independently of the determination procedure. This means that the system assumes the most concrete key combination when it checks for grid control data. If there is no grid control data, the system accesses the next key combination, and so on.

Using the grid determination log during order entry in sales and distribution, you can see the key combination for which the system found valid grid control data.
You can enhance the standard access sequences in AFS purchasing or sales Customizing to optimally map your business processes.
You create grid control data for:
· Master grids when you create the grid
· Application grids using condition records
Grid control data for master grids are normally valid at material level. As soon as you have specified control data for a master grid, and the grid has been assigned to a material, the control data for the master grid is also valid for the material. The master grid and the grid control data for the material are valid for all plants.
A number of different key combinations are available for the condition types for maintaining grid control data for the application grids. You use the key combinations to determine the area of validity of your grid control data.

You can define grid control data for Sales, for example, according to a key combination Service Area - Customer - Material. This is useful if one of your customers always orders particular grid values of this material.
If you use a material in different service areas but only sell certain grid values of the material according to the service area, you can create grid control data on the basis of a key combination Service Area - Master Grid. Here you can enter a service grid containing the material grid values in which the material exists in this service area. Only these grid values are permitted during order entry.
For more information, see Application in Application Grids.
In AFS purchasing or sales Customizing, check whether the existing settings for grid determination meet the requirements of your company. Make new settings if required.
You can maintain grid control data from the AFS application menu