How to Define Access Sequence & Condition Table in SAP V/05, M/03

Define Access Sequence

To define and maintain access sequences, you need to follow a few simple steps.

Step 1) Go to SPRO > Materials management > Purchasing> Conditions> Define price determination process> Define access sequences.

As shown below , you will find a dialog structure of Access sequences, Accesses and Fields.

  1. Choose the Access sequence you want to maintain (PB01 gross price).
  2. Double click the Accesses folder in the dialog structure.

Step 2) In the next step you define access methods for the access sequence. You can see that several access methods are present for one sequence.

Every one of them is exclusive. It means that if a record is found in first access (Contract item), meaning that if the system finds a condition available from the Contract item, it will not search further, and that value will be used. If not, system will follow the other accesses in order to find appropriate entry.

You can also set a requirement for an access method to be used. For example, there is a requirement 35 assigned to access 10, which uses condition table 17 - Material Info Record (Plant-Specific).

A requirement for access number 10 is 35 - Plant info record. If there is no plant info record for the combination of the values in table 17, access 10 will not be used at all.

Step 3)

  1. Select the access you want to modify.
  2. Choose the lowest level folder in dialog structure - Fields.

Step 4)

  1. You can see we are located on the details screen for access sequence PB01, access 20 and table 18.
  2. The key fields of a condition table used in the condition access are showed here.

Condition table consists of condition fields which have certain attributes assigned to them. When the system tries to access a condition record it uses these attributes.

  • Special value source – this field contains a value to be used as default while accessing (e.g. using a fixed info record category for the access sequence)
  • Init – if this box is checked system will allow initial value for this field while accessing the condition table. If not system will not process the condition table lookup.
  • Atyp – processing type in access. You can specify if the field is relevant for condition access if it is part of a free or fixed key type. Default is left blank (fixed key type).
  • Priority – priority of a field (characteristic), it can be set from 01 to 99. Most of the time this field is left blank.

Define condition tables

Now, when we know what is a condition table, what it is used for, we can see where a condition table can be defined, and what option we have while creating it.

As you have seen in the previous topic, we have used table 18 – Material Info Record in our example.

Let's see where and how it is defined.

Step 1)

  1. Execute the transaction code V/05 and on the initial screen enter our table number - 18.
  2. In the section 2, you can see our table definition, table number, description, and two options that can be selected. First means use of the validity period (always recommended) and the other is a check for release status of the record. If checked, only released info records will be taken into account while searching for the condition.
  3. Here is the list of fields you have already seen in the Define access sequence topic.

You can see how is the table defined for later use in customizing the access sequence.

V/05 transaction is used for displaying a condition table.

V/04 transaction is used for changing a condition table.

V/03 transaction is used for creating a condition table.

Now you can define a new condition table if it is required, in order to use it in the access sequence definition. Most of the times new access tables aren't required since a vast number of predefined tables.

Step 1)

  1. Enter t-code M/03 and execute it.
  2. Choose your new table number (must be unused, e.g. 818).
  3. If you want to copy an existing table into your new table, you can select the source table here. This is useful if your table is similar to another existing table, and needs only a simple change to fulfill the requirements.

Step 2) On the next screen, you can do all of the settings for a condition table, and generate it.

  1. Click this button if you want to edit the description.
  2. Choose if your table should check validity periods and release statuses.
  3. List of current fields. You can select any field you want to remove (by single clicking it) and choose the remove icon (List icon with a red minus sign).
  4. You can add fields from field catalog by double clicking them.
  5. You need to generate the table in order for it to be used by pricing functions.

You can also use right click to delete or add a field to your table, as well as to navigate the Field catalog on the right side of the screen. Not all of the fields can be shown in a single page of field catalog.

After successful creation, you will be prompted to create a change request and afterwards, you will be presented a log screen like you can see on the following screen.

You have successfully generated a condition table let's see if we can see it in the access sequence maintenance screens.

It's there, so now we can create an access using this table. We will not cover this in detail as it is extremely straight forward process.

On the accesses node of our access sequence, choose New entries button. You can create access like in the below screen for testing purposes.

Fields should also be assigned to our access PB01 – 96 in order for it to work properly