Skip to Content
avatar image
Former Member

SAP Fiori Create Leave Request throws error

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

8 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 22, 2013 at 01:42 AM

    Dear All,

    I am able to create leave in Fiori app,

    There was some issue with trusted RFC.

    Thanks to all.

    Regards,

    Vijay M

    Add comment
    10|10000 characters needed characters exceeded

    • 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.

  • avatar image
    Former Member
    Jun 18, 2013 at 07:22 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 19, 2013 at 05:34 AM

    Dear Masayuki Sekihara,

    I am able to create leave in ECC.

    Thanks & Regards,

    Vijay M

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • Jun 17, 2013 at 01:17 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 18, 2013 at 02:16 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 18, 2013 at 03:20 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 18, 2013 at 04:10 AM

    Dear krishna,

    I have given already SAP_ALL & SAP_NEW

    Thanks & Regards,

    Vijay M

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Sep 09, 2013 at 10:52 AM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded