cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Fiori Leave App configuration error

0 Kudos

Hi,

We've successfully configured Fiori My Leave app Sandbox ECC back-end and properly connected it with sap Gateway system. We're using custom leave workflow with multi-level approval, instead of standard (12300111) one and have defined it appropriately in PTARQ configuration. It went all good and working perfectly as we can create leaves and approve it at the same time with our custom workflow logic.

But ironically when we moved it onto Dev 300 with all relevant configurations / assignments in PTARQ and tested it on Dev 500 (copy of PRD), it is showing below error at the time of leave creation from My leave app :

     Unable to send the request (error).

Interestingly when we tested it within ECC, from PTARQ (without Fiori portal), we are getting below error :

   No document created: HRTIM_ABS_REQ 022 Unable to send the request

Kindly suggest as this is very urgent.     We've checked the config in both systems and they are same.

Please note that we've assigned initial tasks as general and this workflow template is assigned to leave types with rule groups as well in back-end ECC. 

Message was edited by: ismail Ullah

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182874
Active Contributor
0 Kudos

Hi Ismail,

Is this error occurring in PTARQ transaction ?

Kindly check your absence management  configuration, whether absence type and quota is configured or not.

Regards,

Tejas

0 Kudos

Hi Tejas,

Thank you for your early reply. Yes,  this error is coming in both PTARQ and while testing it with Fiori My Leave request app. We've checked the absent type config and it is maintained in system ( visible in PA30 -> IT 2006 and also in PTARQ Customization.


One more thing which we tested just now as while we are changing the workflow templatename ( from our custom workflow to standard workflow name i.e WS112300111) through PTARQ Customization and have activated the leave Object event creation in standard workflow, still it is getting the old workflow template name (we checked it while debugging) and throwing same error. Do we need to clear Cache like we do in SAP Gateway for models refresh or we are running on false path, kindly suggest.


former_member182874
Active Contributor
0 Kudos

Ws12300111 is the standard template. If the error is coming in backend, the same will come in fiori. Have you enhanced infotyp 2001?

0 Kudos

Hi Tejas,

Yes there is an exit on IT2001 for leave type 002- Causal. But this check is also on the SDX where it is running with success. Plz share your valuable inputs.

former_member182874
Active Contributor
0 Kudos

Go to table PA2001 and check if there is any Z* append structure existing. The same has to

As per the SAP RDS document, below changes might need to be done:


T-Code SE11
On the ABAP Dictionary: Initial Screen, select Database table and enter PA2001 in the value field. Choose Display.
On the Dictionary: Display Table screen, check if any Z* append structure exists. If yes, check the UI settings for these fields.

T-Code SM30
On the Maintain Table Views: Initial Screen sceen, make entries in Table/View V_T588M. Choose Display.
On the Determine Work Area: Entry screen, enter MP200000 for the Module Pool. Double-click the screen 2001 which is the default screen for infotype 2001.
On the Display View "Infotype Screen Control": Details screen, the created Z* fields should also be listed.

Best regards,
Tejas

0 Kudos

Dear Tejas,

Thanks for your detailed reply. After thorough analysis and debugging the PTARQ error it got noticed that in PTARQ entries for types of leaves were not being changed / refreshed in table view "T554S_WEB" and those changes were not being reflected. Once we clear the table buffer and added the entries in that table workflow triggered and after fixing some binding issues in custom workflow, all went good and in proper manner. Our leave creation and leave approval both worked and desired objective is met.

Thanks again for your kind support.