cancel
Showing results for 
Search instead for 
Did you mean: 

How to Call the transaction using http post in jsp?

0 Kudos

I have attached the code .Error is transaction is not called.But I get response ok.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vinod,

This is happening because SSO is not configured on your server. So your MYSAPSSO2 cookie has no value.The moment you run the JSP the connection to the server succeeds  giving you a 200 OK response but when the system tries to post to the server, there is no way for it to authenticate itself to the server. If you trace the entire stream you will see that server is returning to you the login page as a response of attempt to post data. Adding IllumLoginName successfully posts data as you have provided authentication information to the server as part of the URL being posted.

Regards,

Anushree

0 Kudos

Hi Anushree,

thanks for your clear explanation.

now iam clear how is working.

regards,

vinod

Answers (3)

Answers (3)

0 Kudos
0 Kudos

The Transaction is called when I add IlluminLoginName and IlluminLoginPassword in the url

Former Member
0 Kudos

Hi Vinod,

Yes you need to give IlluminLoginName and IlluminLoginPassword for user authentication..

You need to give OutputParameter if your transaction returns some output.

Regards,

Rohit Negi.

0 Kudos

Thanks Rohit

Former Member
0 Kudos

Hi Vinod,

Use Parameter 'OutputParameter' in the URL.

Have a look at this link for more information:

Transaction Calls Using URLs - Content Development - SAP Library

Regards,

Rohit Negi.

0 Kudos

Hi Rohit,

I have added the outputparameter in the url .

still is not working.

thanks,

regards

vinod