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
How can we determine a vendor is Bloc/Unblock from the table LFA1?
What is roll area?
What are the types of data types in the sap abap?
What are the attributes of the data in data dictionary? : abap data dictionary
What are the different types of the sap abap data dictionary objects?
List the various components of the enterprise structure in systems, applications, and products (sap) in human capital management (him)? : sap abap hr
What is the length of function code at user-command?
Does every abap/4 have a modular structure?
Different types of luws. What are they?
Can you print decimals in type n?
Did you create secondary index?
What is bdc programming in sap?
How are the date abd time field values stored in sap?
Performance tuning techniques
What are the different types of internal table?