Hi,

_Business_process::_
When the HR people do a terminate or resigned action for a person in
SAP HR, the start date of this action should become the 'Login
Expiration Date' for that person in eDir.

how am I doing it now??
I get the date (yyymmdd) as a number from the idoc and I append 000000Z
and try to populate the destination attribute 'Login expiration date' in
eDir

I get a java error... Can it be a string?? or not??
Pl advise
Reg
Veena
----------- Java Error in Trace---------
<modify class-name="User" dest-dn="difc\users\00009795"
dest-entry-id="34415"
event-id="prodQAsap:O_400_0000000000302212:P+00009795"
src-dn="00009795">
<association>00009795</association>
<modify-attr attr-name="Login Expiration Time">
<remove-all-values/>
<add-value>
<value type="string">20090813000000Z</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
[08/12/09 23:05:25.471]:sAPprod: PT: Pumping XDS to eDirectory.
[08/12/09 23:05:25.471]:sAPprod: PT: Performing operation modify for
difc\users\00009795.
[08/12/09 23:05:25.473]:sAPprod: PT: Modifying entry
difc\users\00009795.
[08/12/09 23:05:25.619]:sAPprod: PT:
DirXML Log Event -------------------
Driver: \IDMTREE\difc\services\IDMdriverSet01\prodQAsap
Channel: Publisher
Object: 00009795 (difc\users\00009795)
Status: Success
[08/12/09 23:05:25.620]:sAPprod: PT:
DirXML Log Event -------------------
Driver: \IDMTREE\difc\services\IDMdriverSet01\prodQAsap
Channel: Publisher
Object: 00009795 (difc\users\00009795)
Status: Warning
Message: Code(-8009) Error processing <modify-attr>:
java.lang.NumberFormatException: For input string: "20090813000000Z".
[08/12/09 23:05:25.622]:sAPprod: PT: Direct command from policy
result
[08/12/09 23:05:25.622]:sAPprod: PT:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
-------------------


--
veenasugu
------------------------------------------------------------------------
veenasugu's Profile: http://forums.novell.com/member.php?userid=8762
View this thread: http://forums.novell.com/showthread.php?t=382909