Micro Focus QTP (UFT) Forums
[HELP]Button no longer works in the transaction ME21N(SAP/QTP) - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: [HELP]Button no longer works in the transaction ME21N(SAP/QTP) (/Thread-HELP-Button-no-longer-works-in-the-transaction-ME21N-SAP-QTP)

Pages: 1 2


RE: [HELP]Button no longer works in the transaction ME21N(SAP/QTP) - Carlos Veras - 12-20-2022

(06-26-2012, 06:31 PM)Reclamar Wrote: Esse erro geralmente ocorre quando o item que você está tentando selecionar não está disponível na lista.

Verifique se o item que você está tentando selecionar está listado no menu.

Você pode tentar este código alternativo. Me informe a saída. Atenciosamente, Ankesh

Code:
SAPGuiSession("Session").SAPGuiWindow("Create Purchase Order").SAPGuiToolbar("ToolBarControl").PressContextButton "SELECT"
SAPGuiSession("Session").SAPGuiWindow("Create Purchase Order").SAPGuiToolbar("ToolBarControl").Object.SelectContextMenuItemByText("Purchase Requisitions")



RE: [HELP]Button no longer works in the transaction ME21N(SAP/QTP) - Carlos Veras - 12-21-2022

How would this code look in vbs? I'm not able to do the same in an excel model, I've tried everything.