SAP ABAP Class CL_JAVA_SCRIPT (Wrapper for Obsolete Java Script Engine)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
     SJAVASCRIPT (Package) Integrated Java Script Engine
Properties
Class CL_JAVA_SCRIPT  
Short Description Wrapper for Obsolete Java Script Engine    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status S  System Program 
Category 0   
Package SJAVASCRIPT   Integrated Java Script Engine 
Created 20000221   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 JS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_JAVA_SCRIPT has no interface implemented.
Friends
Class CL_JAVA_SCRIPT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BREAKPOINT_LINE_NUMBER Instance attribute Public Type reference (TYPE) I Line in Script Where Breakpoint Was Inserted 20000830
2 BREAKPOINT_SCRIPT_NAME Instance attribute Public Type reference (TYPE) STRING Name of Script Containing Breakpoint 20000830
3 CC_BREAKPOINT Constant Public Type reference (TYPE) I 999 Return Code for Breakpoint() 20000830
4 CC_CLASS_TABERR Constant Public Type reference (TYPE) I 10001 Return Code: Internal Table Error 20010116
5 CC_NOT_BOUND Constant Public Type reference (TYPE) I 10101 Return Code: Object Reference is not Appended 20010123
6 CC_NOT_YET Constant Public Type reference (TYPE) I 20000 Return Code: Use of Properties that are not Supported 20010116
7 CC_NO_CNTXT Constant Public Type reference (TYPE) I 10002 Return Code: Context Missing 20010118
8 CC_NO_OREF Constant Public Type reference (TYPE) I 10100 Return Code: Parameter is not an Object Reference 20010123
9 CC_OK Constant Public Type reference (TYPE) I 0 Return Code: OK 20000829
10 CC_WRONG_SCRIPT Constant Public Type reference (TYPE) I 10003 Return Code: Invalid Script 20010123
11 CONTEXT Instance attribute Private Type reference (TYPE) %_C_POINTER JS Context 20000221
12 GC_BIND_INSTANCE Constant Private Type reference (TYPE) I 2 Append the Instance to which an Object Reference Points 20001031
13 GC_BIND_STANDARD Constant Private Type reference (TYPE) I 1 Standard Procedure when Appending Data 20001031
14 LAST_CONDITION_CODE Instance attribute Public Type reference (TYPE) I 0 Status Code of the Last Method Call 20000413
15 LAST_ERROR_MESSAGE Instance attribute Public Type reference (TYPE) STRING Error Message of Last Method Call 20000413
16 PROPKIND_BOOLEAN Constant Public Type reference (TYPE) JS_PROPERTY_KIND 'B' Property Type Boolean 20010124
17 PROPKIND_DOUBLE Constant Public Type reference (TYPE) JS_PROPERTY_KIND 'D' Property Type Double 20010124
18 PROPKIND_FUNCTION Constant Public Type reference (TYPE) JS_PROPERTY_KIND 'F' Property Type Function 20010124
19 PROPKIND_INTEGER Constant Public Type reference (TYPE) JS_PROPERTY_KIND 'I' Property Type Integer 20010124
20 PROPKIND_NULL Constant Public Type reference (TYPE) JS_PROPERTY_KIND 'N' Property Type Null 20010124
21 PROPKIND_OBJECT Constant Public Type reference (TYPE) JS_PROPERTY_KIND 'O' Property Type Object 20010124
22 PROPKIND_STRING Constant Public Type reference (TYPE) JS_PROPERTY_KIND 'S' Property Type String 20010124
23 PROPKIND_VOID Constant Public Type reference (TYPE) JS_PROPERTY_KIND 'V' Property Type Void 20010124
24 SCRIPT_TAB Instance attribute Private See coding Table with Compiled Scripts 20000522
25 SCRIPT_WA Instance attribute Private See coding Work Area with Compiled Script 20000522
Methods
# Method Level Visibility Method type Description Created on
1 ABAP_DESTRUCTOR Instance method Public Method Manual Destructor for JavaScript Context 20000522
2 BIND Instance method Public Method Appends ABAP Data to JavaScript Context 20000522
3 BIND_HTTP_ENTITY Instance method Public Method Appends Kernel ICT-HTTP Object 20000904
4 BIND_INSTANCE Instance method Public Method Appends the Instance to which an Object Reference Points 20001031
5 BIND_OMRT_ENTITY Instance method Public Method Appends Kernel OMRT Object 20000908
6 CLEAR_BREAKPOINT Instance method Public Method Delete Breakpoint for Script 20000830
7 CLEAR_BREAKPOINTS Instance method Public Method Delete All Breakpoints in Context 20000904
8 CLEAR_SCRIPT_BREAKPOINTS Instance method Public Method Delete All Breakpoints in Script 20000831
9 COMPILE Instance method Public Method Compile Script 20000522
10 CONTINUE Instance method Public Method Continue Interrupted Execution (EXECUTE Only) 20000804
11 CREATE Static method Public Method Creates Context for JavaScript Engine 20000221
12 DESTROY Instance method Public Method Script Released 20000522
13 DESTRUCTOR Instance method Public Destructor 20030519
14 EVALUATE Instance method Public Method Compile, Execute, and Release JavaScript 20000522
15 EVALUATE_IN_STACK Instance method Public Method Executes a Script in a Specific Stack Context 20000906
16 EXECUTE Instance method Public Method Execute Compiled Script 20000522
17 FORMAT_RCODE Instance method Private Method Formats the Text of the Feedback Message 20010123
18 FREEZE Instance method Public Method Create a JS Load from a Compiled Script 20010111
19 GET Instance method Public Method Returns Value of a JavaScript Property 20000413
20 GET_CALL_STACK Instance method Public Method Returns Call Stack After a Breakpoint 20000906
21 GET_PROPERTIES_OF_EVALUATION Instance method Public Method Returns All Properties of the Object in that Context 20010124
22 GET_PROPERTIES_OF_GLOBAL Instance method Public Method Returns All Properties of the Global Object 20010124
23 GET_PROPERTIES_OF_LOCAL Instance method Public Method Returns All Properties of the Local Object 20010124
24 GET_PROPERTIES_OF_THIS Instance method Public Method Returns All Properties of the Object 20010124
25 GET_PROPERTIES_SCOPE_GLOBAL Instance method Public Method Returns All Properties of the Object in Global Scope 20010124
26 GET_PROPERTIES_SCOPE_LOCAL Instance method Public Method Returns All Properties of the Object in Local Scope 20010124
27 GET_PROPERTIES_SCOPE_THIS Instance method Public Method Returns All Properties of the Object in This Scope 20010124
28 SET Instance method Public Method Set a JavaScript Property with Generation if not Available 20000413
29 SET_BREAKPOINT Instance method Public Method Set Breakpoint for Script 20000830
30 STEP Instance method Public Method Single Step without Tracing Call (STEP_OVER) 20000904
31 STEP_INTO Instance method Public Method Single Step with Call Tracing 20000904
32 STEP_OUT Instance method Public Method Ends the Current Function 20000904
33 THAW Instance method Public Method Convert a JS Load into an Executable Script 20010111
Events
Class CL_JAVA_SCRIPT has no event.
Types
Class CL_JAVA_SCRIPT has no local type.
Method Signatures

Method ABAP_DESTRUCTOR Signature

Method ABAP_DESTRUCTOR on class CL_JAVA_SCRIPT has no parameter.
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method BIND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing DATA Call by reference Type reference (TYPE) ANY Datenobjekt 20000523
2 Importing NAME_OBJ Call by reference Type reference (TYPE) STRING Name des Objekts 20000523
3 Importing NAME_PROP Call by reference Type reference (TYPE) STRING Name der Property 20000523
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method BIND_HTTP_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing HTTP_ENTITY Call by reference Object reference (TYPE REF TO) CL_HTTP_ENTITY ICT-HTTP_Objekt 20000904
2 Importing NAME_OBJ Call by reference Type reference (TYPE) STRING Name des Objekts an das Gebunden werden soll 20000904
3 Importing NAME_PROP Call by reference Type reference (TYPE) STRING Name des ICT-HTTP-Objekts in JavaScript 20000904

Method BIND_HTTP_ENTITY on class CL_JAVA_SCRIPT has no exception.

Method BIND_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME_OBJ Call by reference Type reference (TYPE) STRING Name des Objekts in JS 20001031
2 Importing NAME_PROP Call by reference Type reference (TYPE) STRING Name der Property in JS 20001031
3 Changing OBJECT_REF Call by reference Type reference (TYPE) ANY Objektreferenz die auf eine Instanz verweist 20001031
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method BIND_OMRT_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME_OBJ Call by reference Type reference (TYPE) STRING Name des Objekts an das Gebunden werden soll 20000908
2 Importing NAME_PROP Call by reference Type reference (TYPE) STRING Name des OMRT-Objekts in JavaScript 20000908
3 Importing OBJECT Call by reference Object reference (TYPE REF TO) OBJECT OMRT Objekt 20000908

Method BIND_OMRT_ENTITY on class CL_JAVA_SCRIPT has no exception.

Method CLEAR_BREAKPOINT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LINE_NUMBER Call by reference Type reference (TYPE) I Zeilennummer 20000830
2 Importing SCRIPT_NAME Call by reference Type reference (TYPE) STRING Scriptname 20000830
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method CLEAR_BREAKPOINTS Signature

Method CLEAR_BREAKPOINTS on class CL_JAVA_SCRIPT has no parameter.
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method CLEAR_SCRIPT_BREAKPOINTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SCRIPT_NAME Call by reference Type reference (TYPE) STRING JavaScript Name 20000831
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method COMPILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SCRIPT Call by reference Type reference (TYPE) STRING Script 20000522
2 Importing SCRIPT_NAME Call by reference Type reference (TYPE) STRING Name des Script 20000522
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method CONTINUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING Rückgabewert 20000804
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing HEAPSIZE Value transfer Type reference (TYPE) I 640000 Größe der Halde in Bytes 20010417
2 Returning REF Value transfer Object reference (TYPE REF TO) CL_JAVA_SCRIPT Kontext Instanz 20000413
3 Importing STACKSIZE Value transfer Type reference (TYPE) I 8096 Größe des Stacks in Bytes 20010417
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method DESTROY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SCRIPT_NAME Call by reference Type reference (TYPE) STRING Scriptname 20000522

Method DESTROY on class CL_JAVA_SCRIPT has no exception.

Method DESTRUCTOR Signature

Method DESTRUCTOR on class CL_JAVA_SCRIPT has no parameter.
Method DESTRUCTOR on class CL_JAVA_SCRIPT has no exception.

Method EVALUATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing JAVA_SCRIPT Call by reference Type reference (TYPE) STRING Java Script 20000522
2 Returning RESULT Value transfer Type reference (TYPE) STRING Ergebnis 20000522
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method EVALUATE_IN_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING Ergebnis 20000906
2 Importing SCRIPT Call by reference Type reference (TYPE) STRING JavaScript 20000906
3 Importing STACK_ENTRY_NUMBER Call by reference Type reference (TYPE) I 1 Nummer des Stack-Eintrags 20000906
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method EXECUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING Ergebnis des letzten Ausdrucks 20000522
2 Importing SCRIPT_NAME Call by reference Type reference (TYPE) STRING Scriptname 20000522
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method FORMAT_RCODE Signature

Method FORMAT_RCODE on class CL_JAVA_SCRIPT has no parameter.
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method FREEZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SCRIPT_LOAD Value transfer Type reference (TYPE) XSTRING Bytecode eine Skripts 20010111
2 Importing SCRIPT_NAME Call by reference Type reference (TYPE) STRING Name des Skripts 20010111
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME Call by reference Type reference (TYPE) STRING Name 20000413
2 Returning RESULT Value transfer Type reference (TYPE) STRING Ergebnis 20000413
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method GET_CALL_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning CALL_STACK Value transfer Type reference (TYPE) JS_STACK_TABLE Aufruf-stack 20000906
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method GET_PROPERTIES_OF_EVALUATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PROPERTY_PATH Call by reference Type reference (TYPE) STRING Pfad des Objekts bezüglich dem globalen Objekt 20010124
2 Returning PROPERTY_TABLE Value transfer Type reference (TYPE) JS_PROPERTY_TAB Properties des Objekts 20010124
3 Importing STACK_ENTRY_NUMBER Call by reference Type reference (TYPE) I Nummer des Stack-Eintrags 20010124
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method GET_PROPERTIES_OF_GLOBAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning PROPERTY_TABLE Value transfer Type reference (TYPE) JS_PROPERTY_TAB Tabelle aller Properties 20010124
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method GET_PROPERTIES_OF_LOCAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning PROPERTY_TABLE Value transfer Type reference (TYPE) JS_PROPERTY_TAB Tabelle aller Properties 20010124
2 Importing STACK_ENTRY_NUMBER Call by reference Type reference (TYPE) I Nummer des Stack-Eintrags 20010124
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method GET_PROPERTIES_OF_THIS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning PROPERTY_TABLE Value transfer Type reference (TYPE) JS_PROPERTY_TAB Tabelle aller Properties 20010124
2 Importing STACK_ENTRY_NUMBER Call by reference Type reference (TYPE) I 1 Nummer des Stack-Eintrags 20010124
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method GET_PROPERTIES_SCOPE_GLOBAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PROPERTY_PATH Call by reference Type reference (TYPE) STRING Pfad des Objekts bezüglich dem globalen Objekt 20010124
2 Returning PROPERTY_TABLE Value transfer Type reference (TYPE) JS_PROPERTY_TAB Properties des Objekts 20010124
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method GET_PROPERTIES_SCOPE_LOCAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PROPERTY_PATH Call by reference Type reference (TYPE) STRING Pfad des Objekts bezüglich dem globalen Objekt 20010124
2 Returning PROPERTY_TABLE Value transfer Type reference (TYPE) JS_PROPERTY_TAB Properties des Objekts 20010124
3 Importing STACK_ENTRY_NUMBER Call by reference Type reference (TYPE) I Nummer des Stack-Eintrags 20010124
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method GET_PROPERTIES_SCOPE_THIS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PROPERTY_PATH Call by reference Type reference (TYPE) STRING Pfad des Objekts bezüglich dem globalen Objekt 20010124
2 Returning PROPERTY_TABLE Value transfer Type reference (TYPE) JS_PROPERTY_TAB Properties des Objekts 20010124
3 Importing STACK_ENTRY_NUMBER Call by reference Type reference (TYPE) I 1 Nummer des Stack-Eintrags 20010124
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method SET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME Call by reference Type reference (TYPE) STRING Name 20000413
2 Importing VALUE Call by reference Type reference (TYPE) STRING Wert 20000413
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method SET_BREAKPOINT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LINE_NUMBER Call by reference Type reference (TYPE) I Zeilennummer 20000830
2 Importing SCRIPT_NAME Call by reference Type reference (TYPE) STRING Scriptname 20000830
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method STEP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING Rückgabewert 20000905
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method STEP_INTO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING Rückgabewert 20000905
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method STEP_OUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING Rückgabewert 20000905
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426

Method THAW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SCRIPT_LOAD Call by reference Type reference (TYPE) XSTRING Load des kompilierten Skripts 20010111
2 Returning SCRIPT_NAME Value transfer Type reference (TYPE) STRING Name des Skripts aus der Load 20010111
# Exception Resumable Description Created on
1 CX_DYNAMIC_CHECK Ausnahmen mit nur dynamischer Prüfung von RAISING 20010426
History
Last changed by/on SAP  20140121 
SAP Release Created in 50A