Commodity keys define the structure of the commodity code. The commodity code is built based on this key definition. Each record of this key defines which digit of the commodity code represents which property.
-
Right click the P_VL1_W_OP commodity rule in the explorer view and then click Manage Commodity Keys.
-
In the Commodity Keys grid, click Edit grid .
-
Click Add row , and select tables from the Table Name pane using the LOV.
Use to view the tables. Select Table Names Count and then drag the tables to the Commodity Keys grid. If you are dragging P_DIM_STD with the Table Names Count as 3, you will see three tables with P_DIM_STD in the Commodity Key grid.
-
Add the following commodity keys as shown and click Save grid .
-
Click Read-only grid .
The above rule generates a code with 12 characters. Each character represents the value of the table details based on the commodity keys defined for the rule.
What would you do if you wanted to generate a code for which the software should use two characters of P_MATERIAL commodity key?