none
Get Employee List from SAP RRS feed

  • Question

  • Hi ,

    I need to get list of the empolyees in SAP. I was trying to use

    BAPI_EMPLOYEE_GETLIST passing ObjectID as "00000000"

    But I get the below out with the response and I am not getting the employee List

     <?xml version="1.0" encoding="utf-8" ?>

    - <BAPI_EMPLOYEE_GETLISTResponse xmlns="http://Microsoft.LobServices.Sap/2007/03/Rfc/">
      <OBJECT_ID>0</OBJECT_ID>

     </BAPI_EMPLOYEE_GETLISTResponse>

    Then I moved to BAPI - Employee - GetList . I am getting the below response

     <GETLISTResponse xmlns="http://Microsoft.LobServices.Sap/2007/03/Bapi/BUS1065/">
    - <RETURN>
      <TYPE xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">I</TYPE>
      <CODE xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">PG251</CODE>
      <MESSAGE xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">No selection criteria specified</MESSAGE>
      <LOG_NO xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/" />
      <LOG_MSG_NO xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">0</LOG_MSG_NO>
      <MESSAGE_V1 xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/" />
      <MESSAGE_V2 xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/" />
      <MESSAGE_V3 xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/" />
      <MESSAGE_V4 xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/" />
      </RETURN>

     </GETLISTResponse>

    I have no idea why I am not getting any information. Is this because of any security issue?

    could you please help me to solve this issue ?

    Thank you

    Wednesday, February 15, 2012 3:42 AM

Answers

All replies