cancel
Showing results for 
Search instead for 
Did you mean: 

Standard SAP TCodes / WebDynpro page from SAP MII

Former Member
0 Kudos

Hi All,

Kindly let us know whether we can invoke Standard SAP TCodes / Webdynpro pages from SAP MII.

Kindly share is there is any Article / Blogs etc. Any sort of information is highly appreciated.

Thanks

Rajesh Sivaprakasam.

Accepted Solutions (1)

Accepted Solutions (1)

agentry_src
Active Contributor
0 Kudos

Hi Rajesh,

Generally interfaces to ERP with MII are using either JCo/JRA, Enterprise Services, or IDoc/RFC. With JCo/JRA, the RFCs and BAPIs that are listed in SE37 are mostly exposed for external execution. Enterprise services are webservices, but generally these are function modules or BAPIs with a webservice wrapped around it. IDoc and RFC xml documents can be directly recieved and processed by MII using message listeners.

As I understand the question, I do not know any way to directly invoke a T-code or web dynpro page from MII.

You may want to check out the [MII wiki|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=15601] for more information on MII or Services Marketplace.

Regards,

Mike

Former Member
0 Kudos

Hi Michael,

Many Thanks for your inputs.

Reg : Web Dynpro page Access

We developed a web dynpro page in se80 and we tested the URL (Web Dynpro) using IE.

We use the same URL in MII using WebService action block. We are getting the below error message.

SOAP service could not be loaded : XmlProxyError: Element Type "inputs.length" must be followed by either attribute specification, ">" or"/>".

Any idea about this error?

Note : Web dynpro page resides in the same ERP server where we already getting data through RFC.

Thanks

Rajesh Sivaprakasam.

agentry_src
Active Contributor
0 Kudos

Hi Rajesh,

Which version of MII are you using?

You may want to test your URL using the HTTP Post action block instead of the Web Service one. It has less restrictions on its use.

It looks like your xml is incorrectly formed (typo or possibly missing a ">")

Regards,

Mike

Edited by: Michael Appleby on May 26, 2010 1:27 PM

Former Member
0 Kudos

Hi Michael,

We are using SAP MII of version 12.1.4 Build (46).

HTTP Post is used to post a document to a URL and process results. But we are looking to invoke a WebDynpro page from MII.

Thanks for your inputs.

Thanks

Rajesh Sivaprakasam.

former_member4529
Active Contributor
0 Kudos

Hi Rajesh,

You can't invoke a WebDynpro ABAP page from a web service action in MII. Web Dynpro is a user interface which should be invoked by the URL from a web browser. You can execute a web service/enterprise service by the web service action block or RFC/BAPI by the JCo/JRA action blocks to exchange data with SAP systems. Typically UI in MII are developed and deployed in its own environment as IRPT/HTML pages with applets and BLS transactions as Xacute queries to feed or receive data.

You can invoke a SAP t-code from the MII portal by creating an ITS/WebGUI URL link in the navigation service. Similarly you can invoke a ABAP Web Dynpro page from MII portal by its URL link.

Thanks,

Dipankar

Former Member
0 Kudos

Hi Dipandra,

As you mentioned we are able to access the Web Dynpro URL page from MII through navigation services. But again it ask to enter login credentials on opening the Web Dynpro URL.

kindly provide more details to invoke a SAP T code from MII.

Thanks

Rajesh Sivaprakasam.

former_member4529
Active Contributor
0 Kudos

Hi,

To avoid the authentication request you need to use same user in both ABAP and MII and setup SSO between the two WebAS with Logon Ticket.

To access SAP t-code first you need to enable the ITS service in ABAP WebAS. Then you can access it in the following URL format:

http://<server>:<port>/sap/bc/gui/sap/its/webgui/?client=xxx&login=xxx&password=xxx&language=xx&transaction=<t_code>&<input param>=<param_value>&okcode=<ok_code>

You may not pass the login details in URL if you setup SSO.

thanks,

Dipankar

Answers (0)