Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to call openDocument.jsp from php with a token ?


I want to call from php :

"http://".$server.":".$port."./OpenDocument/opendoc/openDocument.jspiDocID=".$idocid."&sIDType=CUID&token=" .$token;

I would like to get information on generating a logon token from php.

I have readen I can use COM (classic ASP) but I don't know how to use it and haven't seen any example.

Thanks for your help,


Former Member
Former Member replied

I think that the simplest way to do that is to write a java or NET program that creates a BO session and display the token and then use PHP code to run the executable and read the token in order to pass it to the openDocument URL.

You can use an internet search engine with keywords like "executable","run" and "PHP" to see how you can do this.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question