I would like to establish a SAP UDF post, considering the amount of discussion so far on how to automate SAP.
I recently discovered how to access SAP's Scripting COM object through AutoIT, and began writing this UDF to support it.
My time with SAP is limited to working hours so I'll post updates whenever I get the chance. REQUIREMENTS:
AutoIt3 3.2 or higher,
SAP GUI Release 6.40,
SAP GUI Scripting interface is enabled
You are already logged into SAP (ie. The "SAP Easy Access" window is
Hi to all, our company has moved to SAP and I must automate the most repetitive operation.
So I noticed this UDF and start make experiments.
Facts: I have SAP 7.40 and the UDF, in the last version 0.4, is working, sort of.
By now I accomplished to do have this code working:
#include <SAP.au3>
_SAPSessAttach("SAP Easy Access")
_SAPObjValueSet("tbar[0]/okcd", "vf03")
sleep(250)
_SAPVKeysSend("Enter")
sleep(500)
_SAPObjValueSet("usr