cancel
Showing results for 
Search instead for 
Did you mean: 

Call SAP Z Transaction from MII

Former Member
0 Kudos

Greetings!

Does anybody know how to call SAP Z Transaction from SAP MII?

Any reply, any suggestion will be greatly appreciated!

Best Regards,

Vitaliy

Accepted Solutions (1)

Accepted Solutions (1)

HariCS23
Contributor
0 Kudos

You can't call SAP TCODE from MII but you can call Z RFC though.

FYI:  can call SAP TCODE using SAP EP.

Thanks

Hari

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello everyone!

Thank you a lot for involvement.

I have discussed this issue with our ABAP team and we decided to do the following:

1. ABAP team will create ZBAPI based on ZTRANSACTION functionality;

2. I will call ZBAPI from MII with the help of JRA.

But the approach to use URL is also interesting, that's why thank you again for help!

Best Regards,

Vitaliy

Former Member
0 Kudos

Dont use JRA .. Use JCo..

Former Member
0 Kudos

Hi All,

One question not inline with this discussion.

I have been working on MII for a long time now but never used JRA.

It would be great if someone can please explain the difference between JCo and JRA action block and where should we use what?

Any help is commendable.

Regards,

Anuj

agentry_src
Active Contributor
0 Kudos

I recently asked the same question of the Product Owner (or one of them).  The response was essentially that for 12.2 and 14.0, always use JCo. 

For some of the earlier versions (12.1?), the JCo was limited to a single server and you could use SSO.  JRA was able to level load, but not able to do SSO.

Regards, Mike

Former Member
0 Kudos

Hi Mike,

Thanks for your response.

Though its a little info but very helpful.

Regards,

Anuj

Former Member
0 Kudos

Hi Anuj,

Usage of one kind of Connection object in the whole project makes the application standardized. In any kind of transaction which is Create / update / Delete process SAP always make sure it has a track of the user. JCo with SSO helps to do that from MII to ECC. JRA does not give this flexibility so we always use JCo and standardize that in whole project.

Regards,

Creativeweblogo

Former Member
0 Kudos

Hi Rajib,

Thanks for the additional information.

Regards,

Anuj

Former Member
0 Kudos

Hi,

You can use this URL

http://<SAP host name>:port/sap/bc/gui/sap/its/webgui?~TRANSACTION=<Z transaction>

from MII.

Regards,

Creativeweblogo

HariCS23
Contributor
0 Kudos

Hello Rajib - What is that SAPHostname ?? MII or EP or ECC host name??

Thanks

Hari

Former Member
0 Kudos

Hi,

Quick solution is use the transaction NWBC. Use the string which will ppair at the position of *s --> http:<********>/sap....

Regards,

HariCS23
Contributor
0 Kudos

Rajib, So the host is ECC system, right? 

Former Member
0 Kudos

Hi Vitaliy,

What exactly you want to do with the SAP Z transaction?

Because to achieve in MII what a transaction does in SAP we use BAPIs/ RFCs.

Warm Regards,

Anuj