0
Answered

SAP test harness cannot update infotype with subtype

Huu Tran 11 years ago in UNIFYBroker/SAP ERP Human Capital Management updated by anonymous 8 years ago 3

Monash require to write back UserID, Email and MonashPersonID as below:

  • Subtype 9008, is for FIM SAP interface on user ID and email address. Field mapping:
    Field Name Data Type length
    User ID ZZFIMINT Characters 30
    Email USRID_LONG Characters 241
  • Subtype 9009, is for Monash Person ID. Field Mapping :
    Field Name Data Type length
    Monash Person ID USRID_LONG Characters 241

When trying to test the write back permission using the SAP harness, the infotype update function does not allow to specify subtype.

Hi Huu Tran, I have gathered the following from the code. Let me know if it gets you on the right path:

It appears that the Update Info Types panel requires that the employee data is first loaded on the Get InfoTypes panel. This is done with the Get InfoTypes button. The Perform Test selection then allows the below tests to be run. From the code I can't tell if you can bypass the tests and update the data yourself, but it's worth a try, please let me know if that works.

Test1
Update USRID_LONG to the value in the Email text box.

Filters the structures to the following SubTypes: "MANDT", "PERNR", "SUBTY", "OBJPS", "SPRPS", "ENDDA", "BEGDA", "SEQNR", "AEDTM", "UNAME", "HISTO", "ITXEX", "REFEX", "ORDEX", "ITBLD", "PREAS", "FLAG1", "FLAG2", "FLAG3", "FLAG4", "RESE1", "RESE2", "GRPVL", "USRTY", "USRID", "USRID_LONG".

Test2
Update PERNR to the value in EmployeeID, and USRID_LONG to the value in the Email text box.

Filters the structures to the following SubTypes: "MANDT", "PERNR", "SUBTY", "OBJPS", "SPRPS", "ENDDA", "BEGDA", "SEQNR", "AEDTM", "UNAME", "HISTO", "ITXEX", "REFEX", "ORDEX", "ITBLD", "PREAS", "FLAG1", "FLAG2", "FLAG3", "FLAG4", "RESE1", "RESE2", "GRPVL", "USRTY", "USRID", "USRID_LONG".

Test3
Update PERNR to the value in EmployeeID, USRID_LONG to the value in the Email text box, BEGDA to now, and ENDDA to end of time.

Filters the structures to the following SubTypes: "MANDT", "PERNR", "SUBTY", "OBJPS", "SPRPS", "ENDDA", "BEGDA", "SEQNR", "AEDTM", "UNAME", "HISTO", "ITXEX", "REFEX", "ORDEX", "ITBLD", "PREAS", "FLAG1", "FLAG2", "FLAG3", "FLAG4", "RESE1", "RESE2", "GRPVL", "USRTY", "USRID", "USRID_LONG".

Test 4
Update PERNR to the value in EmployeeID, USRID_LONG to the value in the Email text box, BEGDA to now, and ENDDA to end of time.

Filters the structures to the following SubTypes: "PERNR", "BEGDA", "ENDDA", "USRID_LONG".

Test 5
Update PERNR to the value in EmployeeID, and USRID_LONG to the value in the Email text box.

Filters the structures to the following SubTypes: "PERNR", "USRID_LONG".

Huu Tran, did the above answer you question?

Infotype update is now working