Skip to Content
0

"Requested function CO40 is not available here", Suggest?

Dec 16, 2017 at 04:51 PM

68

avatar image
Former Member

When I start scripting

objSess.FindById("wnd[0]").Maximize objSess.FindById("wnd[0]/tbar[0]/okcd").Text = "co40" objSess.FindById("wnd[0]").SendVKey 0

objSess.FindById("wnd[0]/usr/txtAFPOD-PLNUM").Text = "80498599" objSess.FindById("wnd[0]/usr/ctxtAUFPAR-PP_AUFART").Text = "TZ01" objSess.FindById("wnd[0]/usr/ctxtAUFPAR-PP_AUFART").SetFocus objSess.FindById("wnd[0]/usr/ctxtAUFPAR-PP_AUFART").caretPosition = 4 objSess.FindById("wnd[0]").SendVKey 0 objSess.FindById("wnd[1]/usr/btnSPOP-VAROPTION2").press

objSess.FindById("wnd[1]").SendVKey 0

On below line system gives error in status bar "Requested function CO40 is not available here"

objSess.FindById("wnd[0]/usr/tabsTABSTRIP_0115/tabpKOZE/ssubSUBSCR_0115:SAPLCOKO1:0120/txtCAUFVD-GAMNG").Text = Ord_Qty objSess.FindById("wnd[0]/usr/tabsTABSTRIP_0115/tabpKOZE/ssubSUBSCR_0115:SAPLCOKO1:0120/cmbCAUFVD-TERKZ").Key = "4" objSess.FindById("wnd[0]/usr/tabsTABSTRIP_0115/tabpKOZE/ssubSUBSCR_0115:SAPLCOKO1:0120/cmbCAUFVD-TERKZ").SetFocus

objSess.FindById("wnd[0]").SendVKey 0

objSess.FindById("wnd[0]").SendVKey 0

objSess.FindById("wnd[0]/tbar[0]/btn[11]").press

Please suggest

Regard

Pavan

sap-1.png (2.4 kB)
10 |10000 characters needed characters left characters exceeded
Former Member

After google search still solution not found.

please suggest

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Feb 13 at 06:09 AM
0

Now problem is resolved by adding application.wait

it is taken from last answered by script man to my query on print dialog box.

big thank you

Script Man

Share
10 |10000 characters needed characters left characters exceeded