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 indexes? : abap hr
How can you distinguish between different kinds of parameters?
hi to all abap interview guys please notify this .. first if u have any doubts please go through google search or else please do debugging with some sample programs . but don't post even silly questions too. thanking you.
hi,i worked mostly in core abap.know iam assigned to XI utility project.can u experts let me know what r the basic things i need to learn to work in XI utility project.i already searched in forum.thanks in advance.
What are the types of views? : sap abap data dictionary
What are interactive reports?
HOW CAN YOU USE A PAGE COUNT IN CALLING A PAGE IN SMARTFORM?
Explain what is a logical database?
What kind of deliverables you have on a day to day basis?
how can you display data say "your name"in sap script without print program or driver program??
What is img? : sap abap hr
How can one distinguish between different kinds of parameters? : abap modularization
Can you define a field without a data element?
How will you find manager of an employee
What is locking ?