cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Fiori myInbox App - BADI /IWPGW/BADI_TGW_TASK_DATA is not working

naimkhans_babi
Active Participant
0 Kudos
2,680

Dear Friends!

I am trying to change title and description of Task of my fiori inbox app, but the badi /IWPGW/BADI_TGW_TASK_DATA is not working. While clicking on task in myInbox App nothing happends.. it is not going to Debugger's external break-point.

What I have done is

1. Implement BADI and Activate it.

2. Activate the methods - Modify Task Title and Description.

3. Apply filter

4. Clean up all the caches and then Tested the application.

5. Configuration I have done is

5.1 Content -> Task and Decision

5.2 My-inbox -> Scenario settings

Scenario Task mapping

this is the code where I am putting a break-point. if the code is wrong still it should go in the debugging mode.

Kindly advise me where I am making a mistake. I read many posts somewhere there is Workflow_ID and Step_ID but in my system in the combination for filter... I have one provider_id and task_step_id. Please explain me how can I make this running.

below is my myInbox App look

for your further understanding please find below component versions installed in my fiori front-end server. kindly let me know if something is missing with installed components or new patch level is required!

I will greatly appreciate your any reply.

Thank you so much

Best Regars

Naim

View Entire Topic
former_member246153
Active Contributor
0 Kudos

Hi Naim,

Hope that is fine.. just go through SWFVISU.. hope configuration for the task not exists.

https://launchpad.support.sap.com/#/notes/0002463630

For External breakpoints which were not triggering may be you would have logged in as Developer user you may need to switch the Business User.(who actually have the data)

Regards,

Srinivasan V

naimkhans_babi
Active Participant
0 Kudos

Hello Srinivas!

I have checked that SWFVISU is not maintained for the generic decision task : TS00008267

According to SAP Note for the badi /IWPGW/BADI_TGW_TASK_DATA

You can use this BAdI to change the task description on the detail screen. IMPORTANT: If you want to use the BADI, the SWFVISU configuration for the task should not be maintained. Otherwise the method will never be hit.

since SWFVISU configuration is missing then BADI implementation must be called! but it is not calling 😞

ElsaM
Explorer
0 Kudos

Hi Naim,

The note also says:

Do not use the Method to modify the title! use the method of /IWPGW/BADI_TGW_TASK_QUERY instead

We tried this BADI and it worked!

Kind regards,

Elsa