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


Please Help Members By Posting Answers For Below Questions

dear friends, do you know how to configure web dynpro and adobe into ECC6.0 IDES?

2551


How did you test the form you developed? How did you taken print?

612


What are the function modules used in a sap script driver program?

574


What is a multiple line field?

595


What is dialog module?

607






Define structure in abap data dictionary?

622


How to add a column to a table control while using alphanumerical layout editor ?

1793


****THANK YOU ALL ABAP EXPERTS**** I got a JOB as ABAP Consultant in Infosys.I cleared the interview.The question posted here are really good.I cleared interview based on this material only.It really works.I thank all members who posted que&ans here. Those who are in search of job in MNC study this question set only you will get sucess. Thanks once again allinterview.com and members of this community. tulika20021@rediffmail.com

1694


Give few names of pooled tables in sap ?

1505


What are the different database integrities?

582


How to create any functions?

558


What are the differences between a database index and a match code?

602


I need some information regarding Vcentric Test pattern ? with questions.

1691


Explain lsmw?

651


Define database layer? : abap data dictionary

678