cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Fiori Create Leave Request throws error

Former Member
0 Kudos

Dear Experts,

I am working on tight schedule for SAP Fiori applications.

I followed the document provided by SAP for this and i ended up with this error,

I have walked through the steps of the document twice, but no luck

Kindly help,

Document used :  http://help.sap.com/saphelp_fiori/index.html

please find the Error screenshot

Thanks & Regards,

Vijay M

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear All,

I am able to create leave in Fiori app,

There was some issue with trusted RFC.

Thanks to all.

Regards,

Vijay M

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Was it something like this?

Issue:

The employee A001234 can create a leave request on ERP backend but the user gets error " Your user might not be configured property. Contact your system administrator" in Fiori UI.

Root case:

Trusted RFC setting was wrong.

RFC communication from Gateway to ERP was configured with RFCUSER and RFCUSER was not integrated with HCM employee ID.

Runtime behavior:

Before: A001234 -> RFCUSER. RFCUSER was not integrated to HCM and could not create any data.

After:    A001234 -> (Trusted RFC with current user) A001234. It works now.

Answers (7)

Answers (7)

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Dear Masayuki Sekihara,

I am able to create leave in ECC.

Thanks & Regards,

Vijay M

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

In that case, the issue is Gateway side. You miss some setting.

Go to transaction /IWFND/ERROR_LOG. You can check call stack, set a break point and debug.

Other possibility is that you set wrong value for system alias.

Go to transaction /IWFND/MAINT_SERVICE. Select the service ZLEAVEREQUEST, and call Gateway Client.

Test oData calls. Probably you will get an error. Double check the system alias setting.

/sap/opu/odata/GBHCM/LEAVEREQUEST;v=2/$metadata

/sap/opu/odata/GBHCM/LEAVEREQUEST;v=2/?$format=xml

shabeer
Contributor
0 Kudos

Hi,

Please check this,

1. Trusted RFC between Backend and Gateway system.

2. SSO between Backend and Gateway system.

3. Assign this role to end user in Gateway "SAP_HCM002_HCM_LVRQ_CR"

4. User should have authorization object "S_RFCACL"

Regards,

Shabeer

Former Member
0 Kudos

Dear krishna,

I have given already SAP_ALL & SAP_NEW

Thanks & Regards,

Vijay M

shabeer
Contributor
0 Kudos

Hi,

Besides SAP_ALL, you have to create a role with authorization object "S_RFCACL" and assign it users in both systems. (Backend and Gateway)

Regards,

Shabeer

kammaje_cis
Active Contributor
0 Kudos

Check the chapter 4 here. It seems to be related to setting up users and giving right authorizations.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please make sure that the user can create a leave request in ERP backend via SAPGUI. If it works, you won't face many issues with SAP Fiori.

former_member184958
Active Participant
0 Kudos

Hi Vijay,

    Usually this type of error will come impact of authorization or configuration. Please check the RFC destination is configure properly. And also check the user's are configure properly what are all you used on that.

Hope this will helpful to you.

Warm Regards,

John.