on ‎2021 May 17 7:53 AM
I have the following problem. I am not very expert I am learning. I made the following recording that allows me to search for documents in FB03, and I would like you to find an image for me in a path and attach it to the document.
session.findById("wnd[0]").maximize
session.findById("wnd[0]/tbar[0]/okcd").Text = "/nfb03"
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/usr/txtRF05L-BELNR").Text = ExcelSheet.Cells(Row, 1).Value
session.findById("wnd[0]/usr/ctxtRF05L-BUKRS").Text = ExcelSheet.Cells(Row, 2).Value
session.findById("wnd[0]/usr/txtRF05L-GJAHR").Text = ExcelSheet.Cells(Row, 3).Value
session.findById("wnd[0]/usr/txtRF05L-XBLNR").Text = ""
session.findById("wnd[0]/usr/txtRF05L-XBLNR").SetFocus
session.findById("wnd[0]/usr/txtRF05L-XBLNR").caretPosition = 0
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/titl/shellcont/shell").pressContextButton "%GOS_TOOLBOX"
session.findById("wnd[0]/titl/shellcont/shell").selectContextMenuItem "%GOS_PCATTA_CREA"
Currently I am left in the part of session.findById ("wnd [0] / titl / shellcont / shell"). PressContextButton "% GOS_TOOLBOX" (Image 1)
Since I can't get the image that should be chosen there
Thank you very much in advance with any suggestions
Request clarification before answering.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 17 | |
| 9 | |
| 9 | |
| 8 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.