Hello everyone,

I'm working with the SAP HR driver to get some values from an Infotype with different Subtypes.

The Infotype is P0185, field ICNUM and the Subtypes are 01 and 07 which should go to different metadirectory attributes.

The iDoc being processed only has Subtype 01 and the driver recognizes that, but for some reason it uses the same value for both Subtype 01 and Subtype 07:

Code:
03/06/18 10:54:53.305]:DrvSAPHR PT:ParseIDoc: Parsing infotype: 0185, subtype: 01
[03/06/18 10:54:53.307]:DrvSAPHR PT:ParseIDoc: GSA segment 'E2P0185001'
[03/06/18 10:54:53.308]:DrvSAPHR PT:ParseIDoc: Infotype 'P0185' is in filter or valid
[03/06/18 10:54:53.309]:DrvSAPHR PT:ParseIDoc: Field name: 'P:P0185:ICNUM:07'
[03/06/18 10:54:53.310]:DrvSAPHR PT:ParseIDoc: keyVal is 76:30
[03/06/18 10:54:53.311]:DrvSAPHR PT:ParseIDoc:   Field data is at location 76, length 30
[03/06/18 10:54:53.313]:DrvSAPHR PT:ParseIDoc:   IDOCOFFSET: '139', len: '30'
[03/06/18 10:54:53.314]:DrvSAPHR PT:ParseIDoc:   Field data is: '27914749'
[03/06/18 10:54:53.315]:DrvSAPHR PT:ParseIDoc: Putting field 'P0185:ICNUM:07:76:30', value '27914749' in inputHash hashtable
[03/06/18 10:54:53.317]:DrvSAPHR PT:ParseIDoc: Infotype 'P0185' is in filter or valid
[03/06/18 10:54:53.318]:DrvSAPHR PT:ParseIDoc: Field name: 'P:P0185:ICNUM:01'
[03/06/18 10:54:53.320]:DrvSAPHR PT:ParseIDoc: keyVal is 76:30
[03/06/18 10:54:53.321]:DrvSAPHR PT:ParseIDoc:   Field data is at location 76, length 30
[03/06/18 10:54:53.323]:DrvSAPHR PT:ParseIDoc:   IDOCOFFSET: '139', len: '30'
[03/06/18 10:54:53.324]:DrvSAPHR PT:ParseIDoc:   Field data is: '27914749'
[03/06/18 10:54:53.325]:DrvSAPHR PT:ParseIDoc: Putting field 'P0185:ICNUM:01:76:30', value '27914749' in inputHash hashtable
My schema mapping policy looks like this for those attributes:

Code:
	<attr-name class-name="User">
		<nds-name>ledesmaCUIL</nds-name>
		<app-name>P0185:ICNUM:07:76:30</app-name>
	</attr-name>
	<attr-name class-name="User">
		<nds-name>ledesmaDNI</nds-name>
		<app-name>P0185:ICNUM:01:76:30</app-name>
	</attr-name>
Am I making a mistake in the format for the schema mapping policy?

Any help is appreciated.
Regards!