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 / sapna

Chain and End chain
In PAI if you want to validate group of fields put in
chain and End chain statement .


You can declare fields in the chain enchain .


CHAIN.
FIELD chk_ABC.
FIELD chk_DEF.
FIELD chk_GHI.
FIELD CHK-JKL.
MODULE CHK_screenfields.
ENDCHAIN.


MODULE CHK_screenfields INPUT.
CLEAR okcode.
okcode = sy-ucomm.
CASE okcode.
WHEN 'ENTER' OR 'EXECUTE'.

IF chk_ABC IS INITIAL AND chk_DEF IS INITIAL AND CHK_GHI
IS INITIAL .
MESSAGE e000(zo_spa) WITH text-017. " Enter VALUES'
ELSE.
.....
ENDIF.
ENDIF.

ENDMODULE. " modify_screenfields INPUT


Regards,
SAPNA

Is This Answer Correct ?    40 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are authorization objects and what statement is used to perform an authorization check in an abap program?

997


How move-corresponding works

1386


What is the tcode to create indexes?

1027


any one can tell me which is the tables can store in ddic plese dont say db02l,please give me different ways of resideing the tables ?

2487


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

1170


What is netweaver???what is the relationship with ABAP?

2174


What happens Update command is used without where clause ?

1182


what is defference between repository and non repository Object?

7673


How do you differentiate tax for different countries? : sap abap hr

1184


What are the different methods of passing data? : abap modularization

1062


What is partner selection?

1072


SAP Script for Billing in which Billing document number was displayed as header, Bill Type, Bill Category, Bill Item, Cost, Base Unit of Measurement and Material number were categorically displayed for each billing document number. plz mention the detail coding Tahnks, Rahul

2516


What is the difference between data elements and domains? : abap data dictionary

1189


What is the last entry in all bdc tables? : abap bdc

1112


What is the first thing you do after vendor setup is complete?

1438