hi!

I tried to make SAP-HR driver syn a extension SEGMENT(P9117). After
update the HRMD_A07 file with P9117 info.

SEGMENT:P9117:Z1P9117:
P9117:MANDT:0:3
P9117:PLVAR:3:2
P9117:OTYPE:5:1
P9117:OBJID:7:8
P9117:ISTAT:17:1
P9117:BEGDA:19:8
P9117:ENDDA:27:8
P9117:VARYF:34:10
P9117:SEQNR:44:3
P9117:AEDTM:67:8
P9117:UNAME:55:12

The driver can't get the correct value of BEGDA and ENDDA(cover the
trace message following). The right one should be like
99991231-20110901. I checked it's offset in Idoc file for times,
P9117:BEGDA:19:8 and P9117:ENDDA:27:8 are both right at the postion.
Even I have tried to modify statement BEGDA's offset to '18:8' or
'20:8',but get the same result such as '19999123-12011090'.
So any idea for it ??
Trace message is :
12/26/11 11:18:28.908]:SAP-HR PT:ParseIDoc: Skipping history item -
Type: P9117, timestamp:*- 19999123-12011090-*
[12/26/11 11:18:28.911]:SAP-HR PT:ParseIDoc: GSA segment 'Z2P9117000'
[12/26/11 11:18:28.911]:SAP-HR PT:ParseIDoc: Skipping history item -
Type: P9117, timestamp:*- 12011103-12011100-*
[12/26/11 11:18:28.914]:SAP-HR PT:ParseIDoc: GSA segment 'Z2P9117000'
[12/26/11 11:18:28.914]:SAP-HR PT:ParseIDoc: Skipping history item -
Type: P9117, timestamp: 12011113-12011110
[12/26/11 11:18:28.917]:SAP-HR PT:ParseIDoc: GSA segment 'Z2P9117000'
[12/26/11 11:18:28.918]:SAP-HR PT:ParseIDoc: Skipping history item -
Type: P9117, timestamp: 19999123-12011120

Original Idoc is:
Z2P9117000 20000000000002251340000120000100420001S
51000703 12011100120111031 00020110926HAIER_LILI
0000000001-01-01-01-0001 AWGG0001 00000000


--
wxcn
------------------------------------------------------------------------
wxcn's Profile: http://forums.novell.com/member.php?userid=6738
View this thread: http://forums.novell.com/showthread.php?t=450017