I need to check in ABAP, if a given profit center (char 10) starts with P172. It could be filled with zeros -> 0000P17255. So I need to perform 2 actions:
Lefttrim the 0 -> Result: P17255.
Check, if the string starts with P172.
How can I do this in ABAP?