SAP Certification
SAP Download
SAP Companies India
SAP Books
SAP JOBS
SAP jobs in India
SAP ABAP jobs in India
SAP BASIS jobs in India
SAP BI jobs in India
SAP CRM jobs in India
SAP FICO jobs in India
SAP Fresher jobs in India
SAP HR jobs in India
SAP MM jobs in India
SAP PM jobs in India
SAP PP jobs in India
SAP SD jobs in India
SAP XI jobs in India
|
ELSEIF (ABAP Keyword) introduction & syntax details
Show Full Details
ELSEIF
Basic
form ELSEIF logexp.
Effect Within a processing block enclosed by "
IF ... ENDIF ", this statement indicates the processing to be executed if the
logical expressions specified by IF and the preceding ELSEIF s are false, but
the logical expression in this ELSEIF processing block is true. Between the
IF and ENDIF statements, there may be any number of ELSEIF s. These may be
followed, optionally, by an ELSE statement, but this is executed only if none of
the logical expressions under IF or ELSEIF is true.
Example
DATA
RESULT TYPE I. ... IF RESULT < 0. WRITE / 'Result less than
zero'. ELSEIF RESULT = 0. WRITE / 'Result equal zero'. ELSE. WRITE /
'Result greater than zero'. ENDIF.
Depending on the value of
RESULT , the three different texts are output. Related IF , ELSE
, CASE
Show Most Readed SAP Tutorials
Most readed SAP Tutorials
Show Latest Added SAP Tutorials
Latest Added SAP documents
|
"Site covers most of the SAP technical and functional tutorials, articles, interview questions and PDF study materials . List and details of SAP transaction codes ( tcodes ), Tables, report names, Bapi, ABAP programming syntax and keywords are also available in the site.
Information on SAP Certification and training, latest SAP jobs in India, ABAP interview questions are useful for SAP professionals seeking for a career in SAP as a fresher or experienced.ABAP tutorial downloads on BDC, LSMW, BAPI, ALE, IDOC, Smartforms, Sapscripts etc etc are also added.Now you can read from this page about ELSEIF (ABAP Keyword)" |