cancel
Showing results for 
Search instead for 
Did you mean: 

Value Help annotations

Former Member
0 Kudos

I have been following the Smart Field with Value Help tutorial. It describes that on the Gateway side the metadata needs to be enriched with annotations "ValueList". I have managed to do that by reverse engineering one of the SAPUI5 WEB IDE reference apps and its gateway class _MPC_EXT. So I have redefined the DEFINE method of my class, copied the code and it works fine. I would like to learn more about how it works and other possibilities. So my questions are:

a)Where can I find a SAP documentation describing the above with examples.
b)Is there a SAP provided training course describing it? I was expecting GW100 but couldn't find any information regarding it.
c)Is there a way to use a Smart Filter Bar in SAPUI5 and map the value helps to filter fields without using metadata annotations?

Accepted Solutions (0)

Answers (1)

Answers (1)

sascha_weidlich2
Participant
0 Kudos

Hi Radek,

can you tell me which gateway class you reverse engineered? 🙂

Im also looking for some examples about Annotations.

Thanks for your information!

Sascha

Former Member

Gateway project EPM_REF_APPS_PROD_MAN in SEGW, class CL_EPM_REF_APPS_PROD_M_MPC_EXT, method DEFINE. In there they use ADD_VALUE_HELP method which you can reuse. But I think this is only available in S/4 HANA systems. If you don't have access to it give me a shout and I will send you the code. I may as well write a blog about it. Either the documentation/training is very well hidden or there is no documentation - typical SAP. UI5 is fairly well documented, they show you an example how to do on the front end but not how to do it in the backend...

sascha_weidlich2
Participant
0 Kudos

Thanks a lot!

I found the class, think it's available on every Netweaver 7.5/7.51 System. Yep you're right, sometimes its very frustrating to search for some documentation.

Looking forward to read your Blog! 😉

Regards!

Former Member
0 Kudos

I have also noticed you can make use of this class and method: CL_FIS_SHLP_ANNOTATION=>create, it is used by some of the FIORI apps.