0
Fixed

SAP test harness errors when attempting to retrieve infotypes

Joe Varkey 9 years ago in UNIFYBroker/SAP ERP Human Capital Management updated by anonymous 5 years ago 5

Using "Get Infotypes Wizard" the following error are produced:

                            • Exception Text **************
                              Unify.Communicators.SapHRCommunicator.SapHrRfcException: An error occurred whilst attempting to call the GetEmployees RFC: SAP.Connector.RfcSystemException: Syntax error in program SAPLZUNIFYIM .
                              at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode)
                              at SAP.Connector.Rfc.RfcClient.RfcInvoke(SAPClient proxy, String method, Object[] methodParamsIn)
                              at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn)
                              at Unify.SAP.Proxy.ZHR_UNIFYProxy.Zhr_Unify_Read_Infotype(String Ip_Delimit, String Ip_End_Date, String Ip_Infty, String Ip_Start_Date, String Ip_Status, String& Op_Count, ZUNIFY_EMPLOYEETable& It_Pernr, ZUNIFY_SUBTYTable& It_Subty, ZUNIFY_INFODATATable& Ot_Info_Data, ZUNIFY_STRUCTURETable& Ot_Info_Structure, BAPIRET2Table& Ot_Return)
                              at Unify.Communicators.SapHRCommunicator.SapHrCommunicator.GetEmployees(String statusType, DateTime startDate, DateTime endDate, String infoType, IEnumerable`1 subTypes, IEnumerable`1 employeeIdRecords)
                              at Unify.Communicators.SapHRCommunicator.SapHrCommunicator.GetEmployees(String statusType, DateTime startDate, DateTime endDate, String infoType, IEnumerable`1 subTypes, IEnumerable`1 employeeIdRecords)
                              at Unify.UI.PlugIn.SAP.GetInfoTypesWizard.GetInfoTypesTask.PerformTask()
                              at Unify.Presentation.Mediator.LaunchTask(ITask task)
                              at Unify.UI.Mediation.MediatorUIDecorator.LaunchTask(ITaskLauncher taskLauncher)
                              at Unify.UI.Win.ControlBase.OnClick(EventArgs e)
                              at Unify.UI.Win.WizardProcessButton.OnClick(EventArgs e)
                              at Unify.UI.Win.ProcessButton._Button_Click(Object sender, EventArgs e)
                              at System.Windows.Forms.Control.OnClick(EventArgs e)
                              at DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
                              at Unify.UI.Win.ButtonMediation.OnClick(EventArgs e)
                              at DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
                              at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
                              at System.Windows.Forms.Control.WndProc(Message& m)
                              at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
                              at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
                              at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
                              at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Date Range.jpg
Employee Pernr.jpg
Error details.jpg
Get Infotype Wizard.jpg
screenshot-1.jpg
Subtypes.jpg
Affected Versions:
Fixed by Version:

Attempting to use the SAP HCM test function in Unify Management Studio and observed the attached errors when retriveing Infotypes

Sorry Joe, wouldn't even know where to begin helping you with SAP.

It's technically Matt's connector so I'm passing this to him for now, but as most of the work has been done by Shane Day he will probably be the one you need to talk to.

this seems to work now after uploading an additional HCM transport containing additional structures. See Linked issue - https://unifysolutions.jira.com/browse/ALDMLS-22

Closing this issue for now, will re-open if further testing requires it to be further investigated.