Skip to Content
avatar image
Former Member

calling SAP from javascript code

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 03, 2008 at 05:32 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 16, 2010 at 07:24 AM

    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 ???

    Add comment
    10|10000 characters needed characters exceeded