Skip to Content

DMS scripting

Feb 02, 2017 at 04:21 PM


avatar image

I'm trying to automate the update of drawing in the DMS system of SAP. We have an external library and this is automatically updated by our document department. I'm trying to through the use of vb scripting automate the upload and updating of drawings. I have the initial upload working fine. through the script recorder I was able to get the required code and through VB input find and upload the document. The trouble I'm having is in the updating of documents. If there are multiple items/pages there is no trigger to track these. If all my uploads were one item/page I could select and delete but can't seem to find how to select all items to delete regardless of quantity. Below is my current code.

session.FindById("wnd[0]/usr/tabsTAB_MAIN/tabpTSMAIN/ssubSCR_MAIN:SAPLCV110:0102/cntlCTL_FILES1/shellcont/shell/shellcont[1]/shell").SelectNode " 2"



SelectNode "2" depicts the first item but I can't find a "select all" option.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers