Skip to Content
Former Member
Feb 06, 2009 at 08:23 PM

SAP GUI Scripting v 620 - Cut and Paste from ALV


Hi Experts - I was wondering if someone out there can help me. My question is how would I copy a column of data from an ALV grid and paste it into another area (variant) using a script. I can get it to select (highlight) the column but cannot get it to copy to clipboard for later pasting. Ctrl-C is not recorded in the script. If this is not working with this version, is there a way I can get the script to keypress the letter "C" so I can do a copy through right-clicking and bringing up context menu. I tried saving it into a file and read in the file later but file saved from ALV comes with vertical bars around the data. I tried everything I could think of. The only way seems to be find the command to cut and keep it in the clipboard for pasting.

Thanks for any insight. (I also posted this question in another forum by mistake).