How you can perform field-validation in your dialog
program ?
Answers were Sorted based on User's Feedback
Answer / santosh
You can validate your fields in the PAI module of the
program by placing them between the CHAIN & ENDCHAIN
Statement.
Is This Answer Correct ? | 38 Yes | 1 No |
Answer / ashwin urkude
For single field validation write in PAI
FIELD FIELD-NAME MODULE MODULE_NAME.
Additions are: ON INPUT- whenever change in initial value takes place validation will be done
ON REQUEST : whenever value in that field is changed validation will tale place.
Is This Answer Correct ? | 14 Yes | 2 No |
Answer / kerri
We can write code for field validation in the PAI and PBO events.
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / aditya panwar
WRITE THE L0OP SCREEN CODE AFTER THE PBO MODULE.
PROCESS BEFORE OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'FIELD_NAME'.
SCREEN-INPUT = '1'.
SCREEN-REQUIRED = '1'. "for mandatory
SCREEN-LENGHT = '10'. "for lenght
ENDIF.
MODIFY SCREEN.
ENDLOOP.
MODULE STATUS_1000.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_1000.
Is This Answer Correct ? | 3 Yes | 26 No |
Describe data classes? : abap hr
What you did in BDC?
6 Answers Accenture, FutureSoft,
WHAT IS INTERFACE? HOW MANY INTERFACES
5 Answers Magna Infotech, Reliance,
What is size category?
What is the difference between table and template?
What are indexes?
Can you print decimals in type n?
What are the types of indexes in abap?
Can a constructor be redefined?
What is the use of the raising exception? : abap modularization
Explain the difference between a pool table and a transparent table and how they are stored at the database level?
Screen wise process for creating sales order quotation through transaction code VA21