
Recently I was working in some scenario where I need to fetch data from MII internal table. For that I can't use the common action blocks provided in MII workbench for all the cases. So I had to think any other way around to fetch the data. After going through the SCN and discussing with the experts I got a great solution for that. I used MII illuminator services to fetch the data from the MII internal table. What I realize after using illuminator service,
While I have developed the solution for the scenario I have used various types of illuminator services which I have collected from the SCN and from SAP help Document but I fill that it will be very helpful to all if we get it in a consolidated form in a single doc. So that is the reason I am writing this blog to consolidate all of them.
Background of MII services:
MII Services or illuminator services are basically a set of HTTP services that provide some core functionality of SAP MII. We can call these services externally by XML message exchange.
Each illuminator services have a service name and one or more modes which are kind of operations of the service. At the time of execution, we must have to specify both the service name and mode with the input parameter if any. The services can e called programmatically or from the web pages by using AJAX or from BLS.
The pattern of the URL is:
http://<server>:<port>/XMII/Illuminator?service=<service name>&mode=<mode name>&content-type=text/xml
Services:
Below is the list of services which are available in MII 12.0 and later.
Below I mentioned few more services which are available in MII 12.1 and later
MII Services:
http://<server>:<port>/XMII/Illuminator?service=admin&mode=modelist&content-type=text/xml
Now I am discussing the various modes of admin service.
http://<server>:<port>/XMII/Illuminator?service=admin&mode=ContentList
http://<server>:<port>/XMII/Illuminator?service=admin&mode=CurrentProfile
http://<server>:<port>/XMII/Illuminator?service=admin&mode=DBInit
http://<server>:<port>/XMII/Illuminator?service=admin&mode=FullProfile&Group=< user or role>
http://<server>:<port>/XMII/Illuminator?service=admin&mode=GetResource&language=<Language code>&FileName=<ResourceFileName>
http://<server>:<port>/XMII/Illuminator?service=admin&mode=AddResource&language=<Language code>&FileName=<ResourceFileName>
http://<server>:<port>/XMII/Illuminator?service=admin&mode=Inspector&Name=<AppletClassName>
http://<server>:<port>/XMII/Illuminator?service=admin&mode=PermissionList
http://<server>:<port>/XMII/Illuminator?service=admin&mode=ProfileEditor&Group=<user or role>&Payload=<XML data>
http://<server>:<port>/XMII/Illuminator?service=admin&mode=RoleAttribList&Group=<user or role>
http://<server>:<port>/XMII/Illuminator?service=admin&mode=RoleList&Group=<user or role>
http://<server>:<port>/XMII/Illuminator?service=admin&mode=RoleProfile&Group=<Group Name>
http://<server>:<port>/XMII/Illuminator?service=admin&mode=SessionList
http://<server>:<port>/XMII/Illuminator?service=admin&mode=UserAttribList&Mask=<Mask Name>
http://<server>:<port>/XMII/Illuminator?service=admin&mode=UserList&Group=<Role or Group Name>
http://<server>:<port>/XMII/Illuminator?service=admin&mode=UserProfile&Group=<Group Name>
http://<server>:<port>/XMII/Illuminator?service=admin&mode=Who
http://<server>:<port>/XMII/Illuminator?service=scheduler&mode=modelist&content-type=text/xml
Now I am discussing the various modes of Scheduler service.
http://<server>:<port>/XMII/Illuminator?service=scheduler&mode=Start
http://<server>:<port>/XMII/Illuminator?service=scheduler&mode=Run&ID=<job ID>
http://<server>:<port>/XMII/Illuminator?service=scheduler&mode=Stop
http://<server>:<port>/XMII/Illuminator?service=scheduler&mode=List
http://<server>:<port>/XMII/Illuminator?service=scheduler&mode=Import&Payload=<XML data>
http://<server>:<port>/XMII/Illuminator?service=scheduler&mode=Export&ID=<job ID>
http://<server>:<port>/XMII/Illuminator?service=scheduler&mode=History&ID=<job ID>
http://<server>:<port>/XMII/Illuminator?service=scheduler&mode=Enable&ID=<job ID>
http://<server>:<port>/XMII/Illuminator?service=scheduler&mode=Disable&ID=<job ID>
http://<server>:<port>/XMII/Illuminator?service=scheduler&mode=Delete&ID=<job ID>
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=modelist&content-type=text/xml
Now I am discussing the various modes of SystemInfo service.
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=Configuration
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=CurrentProfile
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=HostInfo
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=JavaRunFinalizer
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=JavaRunGC
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=JavaRunTimeStatus
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=JavaThreadStatus
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=RoleList
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=SAPServerInfo&Name=<SAPServerName>
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=ScheduleList
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=ScheduleAttribList
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=scheduleDetailsList&group=<ScheduleName>
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=ServerList&Mask=<Enabled/disabled/All>
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=ServerAttribList&Group=<ServerName>&Mask=<Enabled/disabled/All>
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=ServerInfo&Name=<ServerName>
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=ServiceList
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=Status
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=TimePeriodList
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=TimePeriodAttribList
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=UpTime
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=UserList
The index types are the list of different items which are indexed whenever a file is saved. When calling services the index type must be specified since object names are not guaranteed to be unique across index types.
Index Type | Description |
credential | Credential aliases used in transactions |
connection | Connection aliases used in transactions |
dataserver | Data servers used in query templates |
File | Transaction, template, and manufacturing data object uses |
There are various modes available for the Indexing service. You can check them by the following URL.
http://<server>:<port>/XMII/Illuminator?service=Indexing&mode=modelist&content-type=text/xml
Now I am discussing the various modes of Indexing service.
http://<server>:<port>/XMII/Illuminator?service=Indexing&mode=missing&type=<index type>&content-type=text/xml
http://<server>:<port>/XMII/Illuminator?service=Indexing&mode=reindex&content-type=text/xml
http://<server>:<port>/XMII/Illuminator?service=Indexing&mode=start&content-type=text/xml
http://<server>:<port>/XMII/Illuminator?service=Indexing&mode=status&content-type=text/xml
http://<server>:<port>/XMII/Illuminator?service=Indexing&mode=usage&type=<index type>&content-type=text/xml
There are various modes available for the Monitoring service. You can check them by the following URL.
http://<server>:<port>/XMII/Illuminator?service=Monitoring&mode=modelist&content-type=text/xml
Now I am discussing the various modes of Monitoring service.
http://<server>:<port>/XMII/Illuminator?service=Monitoring&Mode=dataservers&content-type=text/xml&Duration=<hrs>
http://<server>:<port>/XMII/Illuminator?service=Monitoring&Mode=fileusage&content-type=text/xml&Duration=<hrs>
If you need project specific usage of QT or BLS then you have to add Project Name with the URL.
http://<server>:<port>/XMII/Illuminator?service=Monitoring&Mode=FileUsageSummary&content-type=text/xml&Path=<ProjectName>&Duration=<hrs>
http://<server>:<port>/XMII/Illuminator?service=Monitoring&Mode=messages&content-type=text/xml&Duration=<hrs>
http://<server>:<port>/XMII/Illuminator?service=Monitoring&Mode=logins&content-type=text/xml&Duration=<hrs>
If you need the login count for specific user, you can use the following url.
http://<server>:<port>/XMII/Illuminator?service=Monitoring&Mode=loginssummary&content-type=text/xml&username=<username>&Duration=<hrs>
http://<server>:<port>/XMII/Illuminator?service=Monitoring&Mode=UserQuery&content-type=text/xml&username=<username>&Duration=<hrs>
There are various modes available for the BLS Manager. You can check them by the following URL.
http://<server>:<port>/XMII/Illuminator?Service=BLSManager&Mode=ModeList&content-type=text/xml
Now I am discussing the various modes of BLS Manager.
http://<server>:<port>/XMII/Illuminator?service=BLSManager&Mode=List&content-type=text/xml
http://<server>:<port>/XMII/Illuminator?service=BLSManager&Mode=Stats&content-type=text/xml&id=<id>
http://<server>:<port>/XMII/Illuminator?service=BLSManager&Mode=viewlog&content-type=text/xml&id=<id>
http://<server>:<port>/XMII/Illuminator?service=BLSManager&Mode=viewoutput&content-type=text/xml&id=<id>
http://<server>:<port>/XMII/Illuminator?service=BLSManager&Mode=viewcache&content-type=text/xml
http://<server>:<port>/XMII/Illuminator?service=BLSManager&Mode=clearcache&content-type=text/xml
http://<server>:<port>/XMII/Illuminator?service=BLSManager&Mode=terminate&content-type=text/xml&id=<id>
http://<server>:<port>/XMII/Illuminator?service=BLSManager&Mode=Delete&content-type=text/xml&id=<id>
There are various modes available for the transport. You can check them by the following URL
http://<server>:<port>/XMII/Illuminator?service=Transport&Mode=ModeList&content-type=text/xml
Now I am discussing the various modes of Transport service.
http://<server>:<port>/XMII/Illuminator?service=Transport&Mode=ExportConfig&Algorithm=<encrypt-algorithm>&Passphrase=<password>
http://<server>:<port>/XMII/Illuminator?service=Transport&Mode=ExportProject&Algorithm=<encrypt-algorithm>&Passphrase=<password>
Now I am discussing the various modes of Data Server service.
http://<server>:<port>/XMII/Illuminator?service=Configuration&mode=DataServers&type=Import&payload=<xml>
http://<server>:<port>/XMII/Illuminator?service=Configuration&mode=DataServers&type=Export
http://<server>:<port>/XMII/Illuminator?service=Configuration&mode=DataServers&type=Enable&Name=<name>
http://<server>:<port>/XMII/Illuminator?service=Configuration&mode=DataServers&type=Disable&Name=<name>
http://<server>:<port>/XMII/Illuminator?service=Configuration&mode=DataServers&type=Delete&Name=<name>
I have collected and used most of the services in my project work and development of SAP MII. I have collected and consolidated them for my development and project work from SAP Help Documents, SCN community and from the book Implementing and configuring SAP MII from SAP Press written by Dipankar Saha and Abesh Bhattacharjee. I am not sure but may be I missed few MII services still so I am requesting you all if you know any other MII services Please feel free to add them in the blog and I will do the same also So that in future it will become a good repository of MII services which help everyone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.