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