Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Java Scripts

Former Member
0 Likes
442

Hi Experts,

What is the necessity for Java Script in ABAP Objects?

How effectively I can implement Java Script in Objects?

Pls documentation.

Kindly shed ur valuable points here.

Thanks,

Bala Raja

1 ACCEPTED SOLUTION
Read only

former_member183804
Active Contributor
0 Likes
405

Hello Bala,

there is a class cl_Java_Script which can be used to run server side js. This class was used in release 6.40 to support BSP pages based on js scripting. This technique has been replaced by business tags, that enable to write a BSP much more elegant.

As server side js requires by rule of thumb 3-5 times more memory and runtime it is of no great use these days.

Best Regards,

Klaus

2 REPLIES 2
Read only

thomasalexander_ritter
Product and Topic Expert
Product and Topic Expert
0 Likes
405

Hi,

there is no need for javascript at all. The only area where you can run across javascript is Business Server Pages (Check out this blog: <a href="/people/daniel.mcweeney/blog/2007/03/13/bsp-meet-your-ajax-framework-ajs">/people/daniel.mcweeney/blog/2007/03/13/bsp-meet-your-ajax-framework-ajs</a>). But this has nothing to do with ABAP Objects. Maybe another area where you could use javascript is the html component of the alv.

cheers

Thomas

Read only

former_member183804
Active Contributor
0 Likes
406

Hello Bala,

there is a class cl_Java_Script which can be used to run server side js. This class was used in release 6.40 to support BSP pages based on js scripting. This technique has been replaced by business tags, that enable to write a BSP much more elegant.

As server side js requires by rule of thumb 3-5 times more memory and runtime it is of no great use these days.

Best Regards,

Klaus