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 |
What are the screen painter and menu painter?
What are the two methods for modifying sap standard tables?
Will the views get effected when updating the database?
When the system is getting slow. How can you get the message what is going wrong?
What are the events in ABAP language?
What is design pattern? Provide example .Why are we using it?
What is example class
Explain different types of locks?
What are screen painter? Menu painter? Gui status?
How do you know that data is updated in call transaction
What is netweaver???what is the relationship with ABAP?
WHAT IS THE USE AND DIFF B/W INSERT, UPDATE AND MODIFY WHILE UPDATING THE DATABASE TABLES?