Bring a wok or large skillet to high heat and add 1 tbsp oil. Add the shrimp and cook for around 3 minutes, until pink and just done. Remove to a bowl for now.
Add the diced spam and cook, tossing occasionally, until crisp, about 5 minutes.
Next add the green beans to the pan and cook for 3 minutes, tossing occasionally.
Then add the garlic and scallions and cook for another 2 minutes.
Pour in the remaining 1 tbsp oil followed by the rice. Cook this, tossing occasionally for 5 minutes.
Return the shrimp to the pan and add the cilantro. Sprinkle over the salt, white pepper, and sugar.
Clear a space in the center of the pan and scramble the eggs.
Finally, mix it all together and add fish sauce to taste.