cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

shellcont/shell Image

Former Member
0 Likes
1,175

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)

Imagen 1

Since I can't get the image that should be chosen there

Thank you very much in advance with any suggestions

Accepted Solutions (0)

Answers (0)