cancel
Showing results for 
Search instead for 
Did you mean: 

Field Validation in Fiori Elements - List Report, on SAP Gateway with ABAP

former_member185943
Participant
0 Kudos
1,364

Hello,

I spent some time searching for the reply and surprisingly enough, could not find even questions, not to mention answers, about a topic which seems quite fundamental to me.

I made a SAP Gateway (SEGW) service in a "classical" way (only ABAP, no CDS views). Based on this service I made a SAP Fiori Elements - List Report app with CRUD capabilities.

After pushing "Edit", the fields become editable.

If user enters incorrect data, I would like to display error message on the affected fields, but immediately, not after pushing "Save" button. Also, I expect that other actions are disabled (like "Save") before user corrects entry.

For example: "Carrier XY does not exist".

In other technologies there are solutions:

SAP GUI Dynpro:

  • Foreign key relationship in dictionary
  • In PAI: FIELD scarr-carrid MODULE validate_carrid
  • ABAP Report: AT SELECTION-SCREEN ON pa_carr

CDS View:

  • @ObjectModel.foreignKey.association

BOPF:

  • Validations

Is there any solution in Fiori List Report on SAP Gateway?

Thanks!

Kind regards,

Igor

Accepted Solutions (0)

Answers (0)