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 |
State the system field for the current date?
in ECC6.0 version which package u r working means what? if errors occurs during database updation using bapi how vl v know??bcoz it directly updates db?? how vl v pass tables in smartformd?
What are user exits? What is involved in writing them? What precations are needed?
How do we handle multiple line items in BDC's.
what is DYN Begin?
8. what are user-exits? 9
In an Internal Table, I have 1000 records. I have to Retrieve One Record. In Performence wise what is the Best Query?
What is meant by hotspots?
how to process the idoc?
What is its?
what is 'at line-selection' and user command?
how bapi is different from call transaction/session?