Tool

rimoore's picture
tool
Reads:

6976

Score:
5
5
2
 
Comments:

2

SAP HR iDoc Decoder

Author Info

18 February 2009 - 11:12am
Submitted by: rimoore

(View Disclaimer)

license: 
None

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.

Instructions:

  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.
AttachmentGrootte
HRIDocDecode.zip4.48 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

RSynoradzki's picture

Thanks! I was looking for this a long time.

Submitted by RSynoradzki on 19 February 2009 - 7:30am.

Makes iDoc-information pretty nice!

geoffc's picture

Can we get a GUI on top of this too please?

Submitted by geoffc on 19 February 2009 - 9:35am.

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?

© 2013 Novell