cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Elements - Annotation to transfer additional fields to and from value help dialog

Gairik
Participant
0 Kudos

Hi All,

I'm using fiori element in S/4HANA (1709, NW 7.52 SP2). I'm using value help using a modeled CDS view. Requirement is when PO number is selected in the PO Value Help, it should get the vendor and plant from the PO and populate the corresponding fields in the object page / selection - fields. Many SAP standard Fiori elements applications are doing that, e.g., manage bank account etc. But somehow I'm not able to make it working. My value help cds is having PO, vendor and plant and this is properly associated with the main CDS. Please suggest.

Additionally, how to transfer values from the object page to to prefill values in the value help dialog.For example, if user enters plant as 1000, this value should be prefilled in the value help of PO number.

Please provide your comments to achieve these 2 requirements using annotations. I do not want to write any SAPUI5 code for this as this seems to be a very common requirement.

Regards,

Gairik

Accepted Solutions (0)

Answers (1)

Answers (1)

Gairik
Participant
0 Kudos

Issue has been resolved. You have to use all the fields in the "ON" condition of the association and then those field values will flow bidirectionally.