SAP HR iDoc Decoder

By: rimoore

February 18, 2009 11:12 am

Reads: 389



Q: When examining an iDoc using a text editor it’s very hard to read the data. Is there any way for format the information so it’s easier to read?

A: You can use the iDoc decoder written by Novell engineering. If your Java environment variables are set correctly. You can enter ‘java HRIDocDecode’ from a command prompt in the directory where you have place the iDoc Decoder. The name is case-sensitive.

You will be prompted for the IDoc type (default HRMD_A05), IDoc file name, Character-Set encoding, and output file name. Additionally you may specify which infotypes you would like to see, or specify ‘all’ to get everything decoded. The IDoc meta map file (HRMD_A0X) that being used by the SAP HR driver should be present in the same location as the iDoc decoder.

The output file, if selected, will be placed in the current working directory. If the IDoc is large and/or contains large numbers of objects, this program can take a while to run.


  1. Enter “java HRIDocDecode” in a command prompt. Java must be in your path or you need to fully qualify the path.
  2. Enter the “iDoc Type”. Example “HRMD_A07″
  3. Enter the name of the iDoc file.
  4. Enter the encoding.
  5. Enter the name of the output file you want created.
  6. Enter the infotype to decode or “all” to decode the entire iDoc.
VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)
SAP HR iDoc Decoder, 5.0 out of 5 based on 1 rating

Categories: Cool Tools, Identity Manager

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.


  1. By:RSynoradzki

    Makes iDoc-information pretty nice!

  2. By:geoffc

    This looks to be very useful. Better than trying to learn to read iDOCS, (See: Decoding iDOCS for the IDM SAP HR driver and reading them by hand.

    Any chance of whipping up a simple gui that lets us pick a file, and then look at the contents? Open another file, look at the contents, and so on?