Skip to Content

How to send username and password to messageoverviewqueryservlet from external system

Nov 08, 2017 at 01:44 PM


avatar image

Hello All,

I am trying to get SAP PO message statistics from an Angularjs(Angular 4) application. For this I am making a Get request to messageoverviewqueryservlet as given here.

I am expecting a response similar to the one given below

but what I get seems to be the HTML code for login page. Also whenever I enter the link

(http://<PO_server>:<PO_port>/mdt/messageoverviewqueryservlet?component=<XIComponentName>&view=<ViewNameKey>&begin=<IntervalBeginTime>&end=<IntervalEndTime>) in the browser I get stuck at the login window and get the response only after I login.

Is there a way to pass username and password to this page from a program so that I can get the XML response in my Angular app? I have tried passing username and password via get request headers but that didn't work

Can anyone please help me solve this?


Shardul Sane

response-1.png (79.4 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Iñaki Vila Nov 16, 2017 at 10:25 AM

Hi Shardul,

You can add to your URL the parameters ->


Using your user and password instead of XXX and YYYY respectively.


10 |10000 characters needed characters left characters exceeded