cancel
Showing results for 
Search instead for 
Did you mean: 

SmartField Valuehelp Selection showing only ID

07-03-2023 10:10 AM
AbhishekSoneji Explorer
1079 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

Hello,

I am working with Smart Forms and SmartFields on an object page.

in the SmartField added an annotation file in the application itself for valuehelp.

The Valuehelp as well as the data selection is working fine. But on Selection the Smartfield only shows the ID in the field and description is not displayed in both edit and display mode.

in the MPC_EXT, added a sap:text annotation for the valuehelp with the value as description.

Issues occurs when working with SAP UI version 1.71.50

On changing the version to 1.111.1 or higher closer to the latest version, the description is also displayed

The sap text annotation for the smartfield as per the api reference is available since 1.24, so unable to identify the exact issue here

The application will be deployed and used via a on-premise launchpad on sap ui version 1.71.28, so changing the version would not help.

Any solution for the issue being faced?

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

junwu
SAP Champion
SAP Champion
0 Likes

add this, check if it helps.

<smartField:configuration>
		<smartField:Configuration displayBehaviour="idAndDescription"/>
	</smartField:configuration>
AbhishekSoneji
Explorer
0 Likes

hi Jun Wu,

Thank you for responding.

The Configuration is already added for the required SmartField. Still facing the same issue.

Also, apart from above, also added the TextArrangement Annotation for the Field, but neither did that resolve the issue.

Regards,

Abhishek Soneji