Suppose a function module(custom BAPI or RFM) has any parameter of Table type in the Import, Export or Changing category.
If we call the "GetTypeMetadata" function on that table type parameter to get the type metadata, then it doesn't return the correct Fields details and Name of the Structure that makes that Table type.