Hi all,

I have been working on an SAP HR deployment and pretty well everything
is working really well (thanks to some great cool solutions from Geoff
Carman).

There is, however, one thing that I just cannot get working. Our
customer wants to set some Y/N flags on their users in SAP HR that
indicate whether they need a netowrk account, whether they are part of
an external organisation etc. Setting these up and reading them into
IDM from SAP via the iDocs is fine, but we also want to be able to write
them back if they are set up incorrectly.

We tried setting up a custom infotype and could read our values but not
write back (doco is clear that only certain infotypes can be written
to), so we then tried setting up custom fields in infotype P0032
(Internal data). We can successfully write to P0105 communication
record and set the users UNAME to be correct based on their network
login generated by IDM, so I obviously have the correct comms in place
and the jcotest reports full success.

I have tried writing to my custom fileds, I have also tried writing to
one of the standard P0032 fields for carvalue. The driver reports
success, but I see the following in the RL trace:

DirXML: [02/06/13 16:07:36.66]: TRACE: SAPSubscriptionShim: Modify
request for Employee # '00012345'
DirXML: [02/06/13 16:07:36.66]: TRACE: BapiCommon: Modify Employee:
00012345
DirXML: [02/06/13 16:07:36.66]: TRACE: BapiCommon: Hash contains type:
P0032
DirXML: [02/06/13 16:07:36.67]: TRACE: BapiCommon: ENQUEUE finished
DirXML: [02/06/13 16:07:36.67]: TRACE: BapiCommon: Calling
INTCONTROL_GETLIST
DirXML: [02/06/13 16:07:36.67]: TRACE: BapiCommon: Number of keys
returned from EmplIntDataGetlist: 0
DirXML: [02/06/13 16:07:36.67]: TRACE: BapiCommon: INTCONTROL_GETLIST
finished
DirXML: [02/06/13 16:07:36.67]: TRACE: BapiCommon: Number of Internal
Data keys: '0'
DirXML: [02/06/13 16:07:36.67]: TRACE: BapiCommon: No action required.
Returning...
DirXML: [02/06/13 16:07:36.67]: TRACE: BapiCommon: Calling DEQUEUE.
DirXML: [02/06/13 16:07:36.68]: TRACE: BapiCommon: DEQUEUE finished.

It appears that BAPI INTCONTROL_GETLIST does not find any records and so
reports that there is no work to do, whereas the change in UNAME does
find a record and makes the change:

DirXML: [02/06/13 12:54:37.14]: TRACE: BapiCommon: Calling
EMPLCOMM_GETLIST
DirXML: [02/06/13 12:54:37.15]: TRACE: BapiCommon: Number of keys
returned from EmplCommGetlist: 1
DirXML: [02/06/13 12:54:37.15]: TRACE: BapiCommon: Getlist SUBTYPE:
0001
DirXML: [02/06/13 12:54:37.15]: TRACE: BapiCommon: Getlist VALIDEND:
9999-12-31
DirXML: [02/06/13 12:54:37.15]: TRACE: BapiCommon: Getlist VALIDBEGIN:
2013-02-06
DirXML: [02/06/13 12:54:37.15]: TRACE: BapiCommon: EMPLCOMM_GETLIST
finished
DirXML: [02/06/13 12:54:37.15]: TRACE: BapiCommon: Number of
communication keys: '1'

As with most things SAP, the available doco is a little unclear in
places.

Does anyone have any idea what I might be doing wrong?

Cheers,

Eddie


--
ETFKNOVL
------------------------------------------------------------------------
ETFKNOVL's Profile: https://forums.netiq.com/member.php?userid=3938
View this thread: https://forums.netiq.com/showthread.php?t=46743