Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

opening a webpage by ABAP program

Former Member
0 Likes
929

hi experts,

i want to open a webpage using abap coding.This webpage is a web-GUI for message monitoring ,its functionality is like sxi_monitor in SAP ECC, and it has a log on interface ,after user log on ,there is the selection interface and after setting on selection interface ,click'Execute' button and it will show the message list .

my question is i want to open the message list interface(the messages to be showed on this webpage are certain in advance) by using abap program.I have known that i can open the selection interface by FM call_browser using its URL, while in my case, what i want to open is the message list window, the result interface, but the result interface has the same URL with the selection interface, so i can only now open the selection interface.

how could i open the result interface with specific message showed on the webpage? please help me with that.

thanks in advance.

hi experts,

i want to open a webpage using abap coding.This webpage is a web-GUI for message monitoring ,its functionality is like sxi_monitor in SAP ECC, and it has a log on interface ,after user log on ,there is the selection interface and after setting on selection interface ,click'Execute' button and it will show the message list .

my question is i want to open the message list interface(the messages to be showed on this webpage are certain in advance) by using abap program.I have known that i can open the selection interface by FM call_browser using its URL, while in my case, what i want to open is the message list window, the result interface, but the result interface has the same URL with the selection interface, so i can only now open the selection interface.

how could i open the result interface with specific message showed on the webpage? please help me with that.

thanks in advance.

4 REPLIES 4
Read only

Former Member
0 Likes
828

Hi

why not directly show the URL of message list by passing request parameter?

regards,

Archer

Read only

0 Likes
828

Hi Archer,

I'd tried the way you mentioned but failed ,I don't know the parameter name...

Most importantly, i forgot to say that the webpage i want to call is created by SAP Webdynpro,,,I know little about webdynpro, so maybe it is helpful for the implementation or maybe not that helpful.

And there is a little change on request that when running the program, after the browser opened, user should first log in then directly jump to message list interface when user credential is valid.so we pass the selection screen setting interface...

Anyway, thanks again for your advice and looking forward to more ideas.

regards

Read only

0 Likes
828

You`d better ask the creator of that webdynpro how to directly call it.

For example, the webdynpro have parameters 'PERNR' and 'NAME', then it`s URL will be

http://newdomain.abc.com:8000/sap/bc/webdynpro/sap/zwda_url_parameters?pernr=12345&name=test1&sap-client=200&sap-languae=EN


user credential, does this not controlled inside of this webdynpro? If i directly put this URL of message list into IE browser, it should give a message i did not logon yet.

regards,

Archer

Read only

0 Likes
828

hi Archer,

I've got the url like http://newdomain.abc.com:8000/sap/bc/webdynpro/ !?~transaction=<tcode>&sap-client=200&sap-languae=EN.

as you can see, transaction of webdynpro is passed as parameter,,but i don't know how to pass message id parameters to this url.

by the way ,corresponding program of this webdynpro application has a screen input variable with name 'msgid', so if just call this program by abap program, i can use the statement submit <program name> with msgid = <msgid> and return. but the problem is i need to call the dynpro of this program.

regards