Quantcast
Channel: SCN : Discussion List - Scripting Languages
Viewing all articles
Browse latest Browse all 325

Copy and pasting from SAP to Excel with macro

$
0
0

So I am trying to pull data from SAP using scripts. I am new to VBA so please bear with me. I found a topic on stack overflow called VBA pulling data from SAP for dummies and I am confused. What I am trying to do is as follows:

  1. Copy a notification number from a list in excel.
  2. Go to the appropriate screen in SAP and paste this number in the search box.
  3. Open the long text box.
  4. Copy the long text.
  5. Paste into excel.

Here is the link VBA pulling data from SAP for dummies

I can't seem to get by Set session = connection.Children(0) 'Get the first session (window) on that connection. Would it be easier to run the script in the SAP GUI?

Any help is much appreciated. The reason I am doing this is because SAP wont export longtext and it takes an act of God to get it fixed around here.


Viewing all articles
Browse latest Browse all 325

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>