Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

While doing bdc exp va01 transaction sometime in the item level data shows only 4 items and other times it will show 6 line items, how will you maintain this kind of screen resolutions scenerio? : abap bdc

1215


What are the different types of abap/4 programs?

1167


What is asynchronous update?

1037


What are the buffering types?

1144


What is table pool?

982


what is call back in alv?

2468


What are the parameters in bdc_open_group? : abap bdc

1084


What are roles and authorization objects?

1682


Can a constructor be redefined?

1366


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?

985


Is there any method apart from bdc for data upload to sap? : abap bdc

1096


How to analysis Background Job for performance Issue?

1219


How we can retrieve data using secondary index. Explain with simple example?

1171


What are the fields in the memory table ‘screen’?

1048


What are control tables? : abap data dictionary

1019