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 is meant by LUW?(Both at database level and screen level)?
what is the difference between view and join
How do you find the information on the current screen? : abap bdc
What is the diffrence between RFC & normal Function module?
How do you handle in Call Transaction?
What are the three components of a work process?
what is the various print modes available with SAP scripts?
how to update the filed value in SAP in ZAWSYS and create time and date? please tell me the answer
1/ what is the diff between parameter & range ? 2/ what is the methodology used in your project ? 3/ what is system symbol ? 4/ what is the diff between support project & implimented project ?
what is the use of OK_CODE in BDC?
how to stretch the report size in standard tool bar.
What are the problems in processing batch input session?