It's still fairly trivial programming. I can think of a number of ways of achieving this in several different computer languages. It's really not the kind of basic programming question I expect to see in the ABAP space. If you're going to be a programmer, you really need to be able to figure out things like this.
↧