Very new to SAP-HR driver.I have configured the SAP-HR driver without RL
as the IDocs are being placed in the file path of IDM
server.Surprisingly only employeeStatus attribute is being mapped
properly and getting exception in IDOcs parsing.What needs to be done
in the SMP? Below is the trace:
22:07:03 PT:SAPPublicationShim: No IDocs. Sleeping for 10 seconds.
22:07:13 PT:ParseIDoc: No Character Set Encoding specified. Using
default encoding: ASCII
22:07:13 PT:ParseIDoc: IDoc file opened successfully.
22:07:13 PT:ParseIDoc: Exception in IDoc Parsing:
java.lang.NumberFormatException: For input string: " ". File processing
terminated.
22:07:13 PT:ParseIDoc: File '/bim/IDM/O_050_0000000000011567' renamed
to '/bim/IDM/O_050_0000000000011567.proc' successfully.
22:07:13 PT:ParseIDoc: Number of elements in idocData: 1
22:07:13 PT:SAPPublicationShim: Sending event doc for P+00012301
22:07:13 PT:Receiving DOM document from application.
22:07:13 PT:
<nds dtdversion="1.0" ndsversion="8.5">
<source>
<product build="20090520_004316" instance="SAP-HR"
version="3.5.4">DirXML Driver for SAP/HR</product>
<contact>Novell, Inc.</contact>
</source>
<input xmlns:sapshim="http://www.novell.com/dirxml/drivers/SAPShim">
<modify class-name="P"
event-id="SAP-HR:O_050_0000000000011567:P+00012301" src-dn="00012301"
timestamp="20101124">
<association>00012301</association>
<modify-attr attr-name="P0000:STAT2:none:79:1">
<remove-all-values/>
<add-value>
<value seqnr="000" timestamp="20101122-99991231">3</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
22:07:13 PT:Applying input transformation policies.
22:07:13 PT:Applying XSLT policy: pub-its.
22:07:13 PT:Policy returned:
22:07:13 PT:
<nds dtdversion="1.0" ndsversion="8.5">
<source>
<product build="20090520_004316" instance="SAP-HR"
version="3.5.4">DirXML Driver for SAP/HR</product>
<contact>Novell, Inc.</contact>
</source>
<input xmlns:sapshim="http://www.novell.com/dirxml/drivers/SAPShim">
<modify class-name="P"
event-id="SAP-HR:O_050_0000000000011567:P+00012301" src-dn="00012301"
timestamp="20101124">
<association
xmlns:query="http://www.novell.com/nxsl/java/com.novell.nds.dirxml.driver.XdsQueryProcessor">00 012301</association>
<modify-attr attr-name="P0000:STAT2:none:79:1">
<remove-all-values/>
<add-value>
<value seqnr="000" timestamp="20101122-99991231"
xmlns:query="http://www.novell.com/nxsl/java/com.novell.nds.dirxml.driver.XdsQueryProcessor">ac tive</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
22:07:13 PT:Applying schema mapping policies to input.
22:07:13 PT:Applying policy: smp.
22:07:13 PT: Mapping class-name 'P' to 'User'.
22:07:13 PT: Mapping attr-name 'P0000:STAT2:none:79:1' to
'employeeStatus'.
22:07:13 PT:Resolving association references.
22:07:13 PT:No event transformation policies.
22:07:13 PT:No associated objects.
22:07:13 PT:Applying publisher filter.
22:07:13 PT:Publisher processing modify for 00012301.
22:07:13 PT:Converting <modify> to <add>
22:07:13 PT:Reading relevant attributes from 00012301.
22:07:13 PT:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.10.4747">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="User" scope="entry">
<association>00012301</association>
<read-attr attr-name="employeeStatus"/>
<read-attr attr-name="Given Name"/>
<read-attr attr-name="homePhone"/>
<read-attr attr-name="Initials"/>
<read-attr attr-name="mobile"/>
<read-attr attr-name="Surname"/>
<read-attr attr-name="Title"/>
<read-attr attr-name="workforceID"/>
</query>
</input>
</nds>
22:07:13 PT:Fixing up association references.
22:07:13 PT:Applying schema mapping policies to output.
22:07:13 PT:Applying policy: smp.
22:07:13 PT: Mapping attr-name 'employeeStatus' to
'P0000:STAT2:none:79:1'.
22:07:13 PT: Mapping attr-name 'Given Name' to
'P0002:VORNA:none:134:25'.
22:07:13 PT: Mapping attr-name 'homePhone' to 'P0006:TELNR:1:195:14'.
22:07:13 PT: Mapping attr-name 'Initials' to
'P0002:INITS:none:74:10'.
22:07:13 PT: Mapping attr-name 'mobile' to 'P0105:USRID:CELL:78:30'.
22:07:13 PT: Mapping attr-name 'Surname' to 'P0002:NACHN:none:84:25'.
22:07:13 PT: Mapping attr-name 'Title' to 'P0001:PLANS:none:133:8'.
22:07:13 PT: Mapping attr-name 'workforceID' to
'P0002:PERNR:none:0:8'.
22:07:13 PT: Mapping class-name 'User' to 'P'.
22:07:13 PT:Applying output transformation policies.
22:07:13 PT:Applying XSLT policy: sub-ots.
22:07:13 PT:Policy returned:
22:07:13 PT:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.10.4747">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="P" event-id="0" scope="entry">
<association>00012301</association>
<read-attr attr-name="P0000:STAT2:none:79:1"/>
<read-attr attr-name="P0002:VORNA:none:134:25"/>
<read-attr attr-name="P0006:TELNR:1:195:14"/>
<read-attr attr-name="P0002:INITS:none:74:10"/>
<read-attr attr-name="P0105:USRID:CELL:78:30"/>
<read-attr attr-name="P0002:NACHN:none:84:25"/>
<read-attr attr-name="P0001:PLANS:none:133:8"/>
<read-attr attr-name="P0002:PERNR:none:0:8"/>
</query>
</input>
</nds>
22:07:13 PT:Applying policy: Password(Sub)-Pub Email Notifications.
22:07:13 PT: Applying to query #1.
22:07:13 PT: Evaluating selection criteria for rule 'Send e-mail for a
failed publish password operation'.
22:07:13 PT: (if-global-variable
'notify-user-on-password-dist-failure' equal "true") = TRUE.
22:07:13 PT: (if-operation equal "status") = FALSE.
22:07:13 PT: Rule rejected.
22:07:13 PT:Policy returned:
22:07:13 PT:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.10.4747">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="P" event-id="0" scope="entry">
<association>00012301</association>
<read-attr attr-name="P0000:STAT2:none:79:1"/>
<read-attr attr-name="P0002:VORNA:none:134:25"/>
<read-attr attr-name="P0006:TELNR:1:195:14"/>
<read-attr attr-name="P0002:INITS:none:74:10"/>
<read-attr attr-name="P0105:USRID:CELL:78:30"/>
<read-attr attr-name="P0002:NACHN:none:84:25"/>
<read-attr attr-name="P0001:PLANS:none:133:8"/>
<read-attr attr-name="P0002:PERNR:none:0:8"/>
</query>
</input>
</nds>
22:07:13 PT:Querying publisher shim.
22:07:13 PT:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.10.4747">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="P" event-id="0" scope="entry">
<association>00012301</association>
<read-attr attr-name="P0000:STAT2:none:79:1"/>
<read-attr attr-name="P0002:VORNA:none:134:25"/>
<read-attr attr-name="P0006:TELNR:1:195:14"/>
<read-attr attr-name="P0002:INITS:none:74:10"/>
<read-attr attr-name="P0105:USRID:CELL:78:30"/>
<read-attr attr-name="P0002:NACHN:none:84:25"/>
<read-attr attr-name="P0001:PLANS:none:133:8"/>
<read-attr attr-name="P0002:PERNR:none:0:8"/>
</query>
</input>
</nds>

***to be contd..


--
bappa_kumar
------------------------------------------------------------------------
bappa_kumar's Profile: http://forums.novell.com/member.php?userid=37057
View this thread: http://forums.novell.com/showthread.php?t=426752