cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori My Inbox receive error "No definition found for Custom Attributes"

karlyn_mongeau
Explorer
0 Kudos

My Inbox application generate description HTML by BADI.

/IWPGW/BADI_TGW_TASK_DATA

2017-03-09-15-43-52.png

I don't know what happen, but now the description HTML is not display.

I receive this error: "No definition found for Custom Attributes"

2017-03-09-15-50-06.png

But, when I execute the User Exit manually, it run correctly

2017-03-09-15-54-38.png

Accepted Solutions (0)

Answers (2)

Answers (2)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Karlyn,

Is there any code in the BADI /IWWRK/BADI_TGW_CUSTOM_ATTR?

What is the OData service response from backend? Does it have additional html code you implemented?

Regards,

Masa / SAP Technology RIG

karlyn_mongeau
Explorer
0 Kudos

Hi Masa,

Yes any code is in the BADI /IWWRK/BADI_TGW_CUSTOM_ATTR. Is the same code, I just remove the RFC connection.

badi-tgw-custom-attr.txt

(see my code in "BADI_TGW_CUSTOM_ATTR.txt" and an example of result in "results.png")

results.png

The odata is TASKPROCESSING Version 2.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Karlyn,

What is the support package level for the IWPGW? Probably it is old.

Have you serched a note? Serach result.

There is also an easy way for implementing a view.

Embellishing your Approvals Without Coding (My Inbox) by Alan Rickayzen.

Regards,

Masa / SAP Technology RIG

karlyn_mongeau
Explorer
0 Kudos

Hi Masa,

SP level for IWPGW is 7. Is it too old?

2017-03-11-22-11-26.png

Ye,s I search for a note and I installed a lot of notes and no positif results.

I will check you easy way without Coding.

Thanks.

Karlyn

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Karlyn,

SP09 is the latest.

You can find the SP level at https://launchpad.support.sap.com/#/softwarecenter/search/iwpgw.

Regards,

Masa / SAP Technology RIG

karlyn_mongeau
Explorer
0 Kudos

Hi Masa

Now, I have SP09 for IWPGW and I have the same problem.2017-03-16-10-54-28.png

When I put an external break point in /IWPGW/BADI_TGW_TASK_DATA 2017-03-16-10-59-57.png My inbox doesn't break 2017-03-16-11-01-44.png, I receive "No definition found for Custom Attributes" error before...

Do you now, where I can put an another breakpoint and what is call before the BADI_TGW_TASK_DATA ?

Thanks.

Karlyn

karlyn_mongeau
Explorer
0 Kudos

Hi Masa,

Thanks you. I transfer the BADI code Gateway /IWPGW/BADI_TGW_TASK_DATA to ECC BADI

/IWWRK/BADI_TGW_CUSTOM_ATTR. This resolve my problem.