Application Development 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: 

Can Ajax concept apply in SAP R/3?

Former Member
0 Kudos

Dear All,

The term Ajax is used to describe a set of technologies that allow browsers to provide users with a more natural browsing experience. Before Ajax, Web sites forced their users into the submit/wait/redisplay paradigm, where the users' actions were always synchronized with the server's "think time." Ajax provides the ability to communicate with the server asynchronously, thereby freeing the user experience from the request/response cycle. With Ajax, when a user clicks a button, you can use JavaScript and DHTML to immediately update the UI, and spawn an asynchronous request to the server to perform an update or query a database. When the request returns, you can then use JavaScript and CSS to update your UI accordingly without refreshing the entire page. Most importantly, users don't even know your code is communicating with the server: the Web site feels like it's instantly responding.

I was just wondering whether the concept can be apply in SAP ERP Desktop Application rather than web-based?

For example in R/3

When customer key in 1 in PO text-field all the PO starts frm 1 will drop down.

Is it possible?? I just try to think out of box

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Rayblur,

AJAX web applications are there in SAP.

But now I dont think they are now present in SAP ERP Desktop Application.

But you can simulate them by creating listboxes in the screen elements and allowing the user to select values.

But this may result in lots of overhead in the database opertion. Consider a table having millions of customer information and you have to dynamically load them based on user input.

You can check the web blogs on:

<a href="/people/daniel.mcweeney/blog/2005/05/26/how-to-create-ajax-applications-in-sap AJAX Web Applications</a>

<a href="/people/benny.schaich-lebek/blog/2005/11/03/ajax-sap--an-old-hat @ SAP</a>

2 REPLIES 2

Former Member
0 Kudos

Hi Rayblur,

AJAX web applications are there in SAP.

But now I dont think they are now present in SAP ERP Desktop Application.

But you can simulate them by creating listboxes in the screen elements and allowing the user to select values.

But this may result in lots of overhead in the database opertion. Consider a table having millions of customer information and you have to dynamically load them based on user input.

You can check the web blogs on:

<a href="/people/daniel.mcweeney/blog/2005/05/26/how-to-create-ajax-applications-in-sap AJAX Web Applications</a>

<a href="/people/benny.schaich-lebek/blog/2005/11/03/ajax-sap--an-old-hat @ SAP</a>

athavanraja
Active Contributor
0 Kudos

SAP ERP Desktop Application

do you mean SAPGUI.

yes you can do it. for example in a classical report you have selection screen user enters some value and hit execute , this executes the code and presents the list in the next screen. instead of you want the user to stay in the same screen and see the results, you can use containers(something like iframe) in the screen to see the results .

but AJAX term dosent really apply in SAPGUI application because AJAX is basically doing server side processing without leaving the page (correct me if i am wrong) the same thing can be simulated in SAPGUI.

but if you are looking at talking to webservers from your ABAP then you can use cl_http_client

Regards

Raja