cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to perform master data validation in selection screen fields

Nick__2849
Participant

Accepted Solutions (0)

Answers (2)

Answers (2)

Sandra_Rossi
Active Contributor

means that the field is required, so you need OBLIGATORY. (EDIT: fixed after Jürgen comment)

Concerning the search help of every field, you need to be experienced in SAP ERP and know the names of master tables for every field, e.g. for "material", it would be:

DATA: BEGIN OF dummy_select_options_for,
        matnr TYPE mara-matnr,
      END OF dummy_select_options_for.

SELECT-OPTIONS s_matnr FOR dummy_select_options_for-matnr.
vulturas4
Explorer

I think you're wrong.

The keyword is OBLIGATORY.

Sandra_Rossi
Active Contributor

vulturas Thanks for the warning!

vulturas4
Explorer
0 Likes
SELECT-OPTIONS: foo FOR bar OBLIGATORY.

If you want to validate non-mandatory input fields, you should write a validation form/method/class.

Kind regards

Jürgen