Skip to Content
0

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

Mar 09, 2017 at 09:01 PM

279

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Masayuki Sekihara
Mar 10, 2017 at 08:33 AM
0

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

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0

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

0
Former Member

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

0
Former Member

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.

0
Masayuki Sekihara
Mar 17, 2017 at 04:54 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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.

results.png (161.6 kB)
0