What are the two different ways of building a match code object? | SAP ABAP

A match code can be built in two different ways:
Logical structure: The matchcode data is set up temporarily at the moment when the match code is accessed. (Update type I, k).
Physical Structure: The match code data is physically stored in a separate table in the database. (Update type A, S, P).