Where we use Chain and End chain?
Answer Posted / palash mazumder
IN PAI IF YOU WANT VALIDATE A GROUP OF FIELDS THEN CHAIN
ENDCHAIN BLOCK IS USED.
SYNTAX IS.
IN FLOW LOGIC
CHAIN.
FIELD NUM1.
FIELD NUM2.
MODULE USER_COMMAND_0100.
ENDCHAIN.
IN ABAP PROGRAM WRITE THE FOLLOWING CODE.
MODULE USER_COMMAND_0100 INPUT.
CLEAR okcode.
okcode = sy-ucomm.
CASE okcode.
WHEN 'ENTER' OR 'EXECUTE'.
IF NUM1 IS INITIAL OR NUM2 IS INITIAL .
MESSAGE e398(00) WITH 'PLEASE FILL THE FIELDS'. " Enter VALUES'
ELSE.
.....
ENDIF.
ENDIF.
ENDMODULE.
NUM1 AND NUM2 ARE INPUT FIELD NAME IN SCREEN 0100
| Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
What are two methods of modifying sap standard tables? : abap data dictionary
What are the various events associated with screen programming?
How to upload more than 2GB file from External Source to SAP?
What is static attribute
Where the payroll results are stored
What does hide statement do?
How do you Export a session ?
What are function modules?
pls if any one have idea ,reply as soon as possible 1.Allied solution group inc. is a genuine company or not ? 2.what is update module. 3.Transaction: scc3 what it is?
What is the difference between a pool table and a transparent table and how they are stored at the database level?
What does an exec sql statement do in abap?
What is the function of the correction system? : abap data dictionary
What kind of deliverables you have on a day to day basis?
What is modularization and its benefits? : abap modularization
Update function modules are classified as either v1 or v2. Which type of update is performed first and in what mode (asynchronously, synchronously or locally) can each type be processed in?