cancel
Showing results for 
Search instead for 
Did you mean: 

Java Script

Former Member
0 Kudos

Hi all,

just i heard Java Script in ABAP i don't know about

that what is AABP Java Script explain in detail.

Thaks in advance.

swetha.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

ABAP and JavaScript:

The SAP Basis System contains a class called CL_JAVA_SCRIPT, which can be used to execute ABAP JavaScript programs. It also enables the data transfer between ABAP and JavaScript.

The CL_JAVA_SCRIPT class implements an API that can be used in ABAP programs as a JavaScript (JS) engine implemented in the SAP kernel. The class encapsulates the JavaScript C Engine API and provides the ABAP programmer with methods and attributes that can be used to execute JavaScript programs on the application server of the R/3 System in normal or debugging mode (Server Side Scripting). The JavaScript engine in use supports JavaScript Version 1.5. Variables of the script can be connected to data objects of the ABAP program (binding).

The CL_JAVA_SCRIPT class can be instantiated in ABAP programs simply by means of its static method CREATE.

Using the Class :

Using the CL_JAVA_SCRIPT Class

See this link for this

http://help.sap.com/saphelp_nw04/helpdata/en/c3/02194af06111d4b2eb0050dadfb92b/content.htm

Overview of the Components of the Class :

Static Methods of the CL_JAVA_SCRIPT Class

Instance Methods of the CL_JAVA_SCRIPT Class

Static Attributes of the CL_JAVA_SCRIPT Class

Instance Attributes of the CL_JAVA_SCRIPT Class

See links:

http://help.sap.com/saphelp_nw04/helpdata/en/49/a8e3cbd59811d4b2e90050dadfb92b/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/ee/a3c798d59b11d4b2e90050dadfb92b/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/ee/a3c7b3d59b11d4b2e90050dadfb92b/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/b1/a14558eba211d4b2eb0050dadfb92b/content.htm

Plzz Reward if it is useful,

Mahi.