cancel
Showing results for 
Search instead for 
Did you mean: 

Interface implement in SAP MII

ankit12
Active Participant
0 Kudos
1,003

Hi All,

Can we implement interface concept in SAP MII as we implement it in java. As Interface in java is a blueprint of a class.

I have seen as SAP using it in two or more transactions in workbench in standard folder. So is it possible to use of interface in SAP MII.

Please let me know if further details needed.

Regards,
Ankit Gupta

Accepted Solutions (1)

Accepted Solutions (1)

former_member185280
Active Contributor

Here is an older blog that might be relevant.

https://blogs.sap.com/2013/11/21/sap-me-61-custom-plugins-xslt-java-mii-transaction-for-sapmeint-wor...

At this point if you want more information you probably need to start digging around in the documentation and/or practicing some google-fu.

Regards,
Christian

ankit12
Active Participant
0 Kudos

Hi Christian,

Thanks for the pointing me to the right direction.

What I have understood from the above blog link is that, YES we can develop these custom interfaces through the NWDS and make use of it in the MEINT workflows by giving their references into the workflow configurations.

I have searched my question in all search engines using google-fu technique and guess what, you know better google-fu then me. 🙂

Regards,
Ankit Gupta

Answers (1)

Answers (1)

former_member185280
Active Contributor
0 Kudos

I think what you are referring to is the use of the 'Dynamic Transaction Call' action block. With this action you can set the called transaction by name at runtime. This can act as a kind of user exit where different transactions can be executed dynamically based on some logic determined at runtime. When doing this you want the 'interface' or inputs and outputs across the different transactions consistent so there is usually a default or 'interface" transaction defined in the project that you can copy to make your custom one. There is no hard concept like in java where you can say transaction x implements y or whatever. I think this is done in some of the RDS like OEE where you may want to tweak the default bapi calls or whatever. If thats not what you are referring to then we probably need more info from you.

Regards,
Christian

ankit12
Active Participant
0 Kudos

Hi Christian,

Thanks for your response. Please see my comment above for more information.

In addition to that, if we are not using these interfaces in any transactions, can be remove them from the folder as they are not getting used anywhere. Or they do mean something?

And when you say, “I think this is done in some of the RDS like OEE where you may want to tweak the default bapi calls or whatever”. Could you please specify more on this?

Regards,

Ankit Gupta

former_member185280
Active Contributor

I wouldn't get rid of them if they were provided in a standard offering from sap like OEE or ME. "RDS like OEE..." I am referring to the ME and OEE applications that you can get from SAP that leverage MII in some way.

Yes you can make use of this concept in your MII dev.

Regards,
Christian

ankit12
Active Participant
0 Kudos

Hi Christian,

Thanks for your response. I was trying to figure out the same approach about using this concept in SAP MII. What I have tried for implementing this approach is developing a simple concept of adding two numbers with following steps:

Steps 1: created one transaction with two inputs transaction variable and one output variable. (like one Interface developed without any action block in transaction)

Now the real question is, how I can use this developed interface into another transaction as we are using these interfaces in transactions.

Could you please guide me on this?

Regards,
Ankit Gupta

former_member185280
Active Contributor

You use the 'Dynamic Transaction Call' Action. At design time you can point this action to your 'interface' transaction so you can map the correct inputs and outputs. Thru the link editor you can assign the name of the actual transaction you want to call at runtime. This usually can be specified in some kind of configuration somewhere. You have to develop the logic for dealing with that yourself.

Regards,
Christian

ankit12
Active Participant
0 Kudos

Hi Christian,

Thanks for your guidance.

I was able to develop this scenario. For replicating this, as you suggested I am using 'Dynamic Transaction Call' Action.

However, in the standard SAP transactions as I have mentioned in above comment SAP is not using any 'Dynamic Transaction Call' Action.So, how SAP is implementing it without using any 'Dynamic Transaction Call' Action block.?

Could you please give more insight about this?

Regards,

Ankit Gupta