I am trying to write a function in a system that will search in our SAP database with the fields filled in by the user, and display the results in a list box.
However so far, I cannot get it to login and call the search function of SAP. The actual getting the data to excel is another bridge to cross later. Below is the code, with some notes on the current issues next to subject line.

Please Login or Register  to view this content.
I have done work with VBA on excel in the past, but working with SAP with the VBA is very much new territory for me.
Your help will be greatly welcomed.