I have been able to use the CopyText command to retrieve the contents of the Order Long Text field from Tcode IW33 and then write this long text to the Long Text field a new Order in Tcode IW31. This is working fine.
Now what I would like to do is take some input field (regular string variable) from the user, and depending on the content of the input field, either put the value in the string at the beginning of the long text (string + old long text), or put the value in the string at the end of the long text (old long text + string).
I've tried using CopyText with the various options, but the proper sequence of commands is escaping me.
All help is appreciated.