RodrigoFinguer
Board Regular
- Joined
- Jun 13, 2017
- Messages
- 75
Hello guys,
I need my macro to open the Attachment Files button inside a Purchase Requisition and tell me the file name attached.
I was able just to get the "PDF" text, but not the name itself.
https://imgur.com/d2WF0Q0
This is the line code I used to get the "PDF" text, the rest of the code is just to open the attached file button of any line of the PR:
Any help would be great!
I need my macro to open the Attachment Files button inside a Purchase Requisition and tell me the file name attached.
I was able just to get the "PDF" text, but not the name itself.
https://imgur.com/d2WF0Q0
This is the line code I used to get the "PDF" text, the rest of the code is just to open the attached file button of any line of the PR:
Code:
num_files = session.findbyid("wnd[0]/usr/tabsTAB_MAIN/tabpTSMAIN/ssubSCR_MAIN:SAPLCV110:0102/cntlCTL_FILES1/shellcont/shell/shellcont[1]/shell").getnodetextbypath(1)
Any help would be great!