cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Actions in MII 12.1

Former Member
0 Kudos

Hi,

I've few queries on custom actions development in SAP MII 12.1  –

1)    1)  What would be the sdk used – is that “blssdk.zip” or some other as well ?

     I'm refering Flat File Parser Action available on SDN (http://scn.sap.com/docs/DOC-1776). The reason for asking this is when looked at the decompiled classes from FlatFileUtilities.jar, there are some APIs which are not in “blssdk.zip” but found in “XMII.jar” - which is probably used prior to MII 12.1.

Also, there are some APIs which are neither in blssdk.zip nor in XMII.jar

    

2) What would be the code development / compilation environment – will it be Java 1.5 strictly or the later (1.6 or 1.7) can also work ?

3)  

3)   3) What would be the MII server JVM – would it be 1.5 strictly or higher versions can also work ?

4)    4) Will the difference in Java version of development environment and MII server affect the deployment / execution of custom action ?

Will highly appreciate your guidance over these.

Thanks.

Sumit

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member193328
Active Participant
0 Kudos

Hi Sumit

Below are my responses

1. The blssdk jar is the correct jar to be used. I am not sure of the FlatFile parser action and sometimes there are dependnecy jars uploaded so I would not rely on those classes which are not there in BLS SDK jar

2. Java Development should be on Java 1.5 as the runtime is Java 1.5. If you compile with Java 1.6 there might be issues at runtime

3.  MII Server JVM is Java 1.5

4. Yes this might be an issue. I am not sure if the error will be displayed immediately or surface during execution. So to be on the safe side it is better to compile on the same version as your execution environment.

Regards

Partha

Former Member
0 Kudos

Thanks Partha.

Moving ahead on custom action development in MII, are there any APIs from blssdk.zip or any other APIs library which can be used to fetch the MII Workbench resources in my custom action java code. I mean, if I need to use images / files stored which are on workbench and not on hard drive path, are there any APIs which will load the resources from workbench ? For instance, as in Image Loader action block, we can specify path like "web://<Project Name>/<File Name>".

APIs I noted like "com.sap.xmii.common.FileConstants" but could not find useful method to load the workbench resource which will solve the purpose. Is there any documentation on blssdk APIs ?

Appreciate your help.

Regards,

Sumit