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
Define the various contents of technical specifications ?
What is the use of the statement leave to list-processing?
In sap scripts, how will you link form with the event driven?
What will happen when we use single buffered selected?
The commands through which an abap/4 module can “branch to “ or “call” the next screen are?
What are the differences between table and structure in data dictionary?
A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain.? : abap data dictionary
What is the difference between RETURNING and CHANGING parameters for a method?
How to handle errors in call transaction bdc method without using bdcmsgcoll internal table? : abap bdc
Difference between call by value and call by reference? : abap data dictionary
What are the ways you can do the tuning?
What is tcode se16?
What kind of BDC programs are written ?
Performance tuning techniques
In order to upload purchase order details, how you handle multiple values for a single field?