cancel
Showing results for 
Search instead for 
Did you mean: 

calling SAP from javascript code

Former Member
0 Kudos

hi

I have come across a piece of JS code where an SAP tcode is called. the code is something like this

[https://weblogs.sdn.sap.com/weblogs/images/251875500/code.JPG]

I have read about the JS function activex object in the net. the parameters to this function are library.object and servername . In the above example we are not passing the servername. As for the library and object we are passing SAP.functions

I want to know where the library SAP is stored and all the objects available in the library.

thanks

sankar

Edited by: sankara rao bhatta on May 29, 2008 9:35 AM

Edited by: sankara rao bhatta on May 29, 2008 9:36 AM

Edited by: sankara rao bhatta on May 29, 2008 9:37 AM

Edited by: sankara rao bhatta on May 29, 2008 10:03 AM

Edited by: sankara rao bhatta on May 29, 2008 10:08 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

DDIC objects are store in table tadir and program name are stored in trdir.

In your codes you are calling transaction va02 for change salesorder. All depends what rights your login id have.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi sankara... i tried that javascript code... but it;s not dng anything.... it;s not even calling the SAP logon function man...

can you help me out... if there any thing ellse also that we need to do ???