Preheat your oven to 350°F (175°C). This ensures the cake bakes evenly.
In a large mixing bowl, combine the flour, 1 cup of granulated sugar, baking soda, and salt. Mix well to ensure that the dry ingredients are evenly distributed.
Stir in the crushed pineapple (with its juice), beaten eggs, and vanilla extract. Mix until everything is well combined and the batter is smooth.
Pour the batter into a greased 9x13-inch baking pan. Bake for 30 to 35 minutes, or until a toothpick inserted into the center comes out clean.
While the cake is baking, make the frosting. In a medium bowl, beat together the sweet cream butter, 1 cup granulated sugar, evaporated milk, and vanilla extract until creamy and smooth.
Once the cake has cooled completely on a wire rack, spread the frosting evenly over the top. Sprinkle the coconut flakes and chopped pecans on top for added texture and flavor.