‎2022 Feb 25 4:49 PM
Hi,
I'm new to abap, can anybody tell me how to proceed with the below validation part in a report program, I need the warning message even if a single line fails validation ?
Can anyone suggest/help me with the syntax I need to use ?
Thanks,
Ayush

‎2022 Feb 25 6:45 PM
If xref1 or xref2 or xref3 is initial.
Message 'Please check Reference fields entries' type 'W'.
endif.
‎2022 Mar 04 1:32 PM
‎2022 Mar 01 2:21 PM
IF <fs>-bsart = 'XT'
AND ( <fs>-xref1 is initial AND <fs>-xref2 is initial AND <fs>-xref3 is initial ).
MESSAGE 'Please check Reference fields entries.'(001) TYPE 'W'.
ENDIF.
Look also at Statement IF syntax and Logical Expressions (log_exp) in online help and review your ABAP course materials.