Quantcast
Channel: SCN : Unanswered Discussions - SAP Solution Manager
Viewing all articles
Browse latest Browse all 5299

SAP TAO Customizing the Runtime Library

$
0
0

All,

 

I am trying to build SAP TAO Customizing the Runtime Library for and following the instructions:

 

1. Edit “CBASE_Custom_Wrappers.vbs

 

2. added code as follows:

     Sub CUSTOM_CaptureScreen( windowTitle )

     Dim activeWindow

           Set activeWindow = TAO.GetSapGuiSession().ActiveWindow

                    If activeWindow.Text = windowTitle Then

                             TAO.CaptureScreen()

                    End If

      End Sub

3. Verifying the Syntax of Custom Code by executing CBASE_Bootstarp.vbs was able to see CBASE_Custom_Wrapper.vbs

 

4. Call the Execute statement :

PARAMETERS

     Library: CBASE_Custom_Wrappers.vbs

     Statement "CUSTOM_CaptureScreen “Screen Name”

 

But I am getting error as * ERROR DETECTED * Error: 1032 Description: Invalid character Source: Microsoft VBScript compilation error * LAST CONTROL URI * label -> titl type -> GuiTitlebar id -> /app/con[0]/ses[0]/wnd[0]/titl

 

I was expecting the custom wrapper to work according to SAP TAO 3.0 SP2 and above Runtime Library and default component...page 184

 

Any help would be welcome

 

Thanks!

 

 

PS: Check the screen shots


Viewing all articles
Browse latest Browse all 5299

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>