cancel
Showing results for 
Search instead for 
Did you mean: 

Odata not working

0 Kudos

I am fetching role details in my java application using below odata service. Communication arrangement already created.

https://my302050-api.s4hana.ondemand.com/sap/opu/odata/sap/APS_IAM_SIAG_ROLE_SRV

This service I am able to use to fetch role name using below collection,

https://my302050-api.s4hana.ondemand.com/sap/opu/odata/sap/APS_IAM_SIAG_ROLE_SRV/RoleSet?$format=jso...

Above works fine but when i use another collection,

https://my302050-api.s4hana.ondemand.com/sap/opu/odata/sap/APS_IAM_SIAG_ROLE_SRV/RoleDescriptionSet?...

I get below error,

//

{

    "error": {

        "code": "SIAG_MSG/104",

        "message": {

            "lang": "en",

            "value": "Unable to convert date and time"

        },

        "innererror": {

            "application": {

                "component_id": "BC-SRV-APS-IAM",

                "service_namespace": "/SAP/",

                "service_id": "APS_IAM_SIAG_ROLE_SRV",

                "service_version": "0001"

            },

            "transactionid": "4C161E6369AF0270E005CB3956CB4592",

            "timestamp": "20190421164513.0172470",

            "Error_Resolution": {

                "SAP_Transaction": "For backend administrators: use ADT feed reader \"SAP Gateway Error Log\" or run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details",

                "SAP_Note": "See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"

            },

            "errordetails": [

                {

                    "code": "SIAG_MSG/104",

                    "message": "Unable to convert date and time",

                    "propertyref": "",

                    "severity": "error",

                    "target": ""

                }

        /////

Can you please help me with the way this call needs to be done. I believe it is for one role but i am not getting the way it needs to be done.

Accepted Solutions (1)

Accepted Solutions (1)

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Manoj

Are you using SAP_COM_0066? I think this is specifically for GRC/IAG integration and none of the APIs are documented/published to the api hub.

Regardless, I guess you are ok to use them since the communication arrangement is there to be activated:)

To fetch a role and it's details like role description you can use something like the following syntax:

https://<>-api.s4hana.ondemand.com/sap/opu/odata/sap/APS_IAM_SIAG_BROLE_SRV/Aps_Iam_Siag_Br_Dll('

BR_ANALYTICS_SPECIALIST')

Let me know if that helps.

Thanks,

Marty

Answers (0)