Hi, how can I get de name of the materials from a Static Mesh and search it in a Data Table

You seem to have most of the datatable stuff sorted so here is how to get the material by name

Enable plugin "Blueprint Material and Texture Nodes

Use “Find Existing Material” passing in “/Game/YourMaterialDirectory” as base path
Material full name = material name.
If you want to search sub folders then turn on “Recursive Paths”