Skip to Content
avatar image
Former Member

How to send username and password to messageoverviewqueryservlet from external system

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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.


    Add comment
    10|10000 characters needed characters exceeded