Polindrome Program for string
and Polindrome Program for numbers in ABAP
Answer / vamsi
DATA : in(50) TYPE c,
rev(50) TYPE c.
*
PARAMETERS Input TYPE string .
in = input .
CONDENSE IN .
CALL FUNCTION 'STRING_REVERSE'
EXPORTING
string = in
lang = sy-langu
IMPORTING
RSTRING = rev
* EXCEPTIONS
* TOO_SMALL = 1
* OTHERS = 2
.
IF in EQ rev.
WRITE : ' THE STRING IS A PALINDROME ' .
ELSE .
WRITE : ' THE STRING IS NOT A PALINDROME ' .
ENDIF.
Is This Answer Correct ? | 4 Yes | 0 No |
In which system field does the name of current gui status is there?
HOW CAN WE MODIFY STANDARD TABLES?
Explain how to Handle the internal tables in ABAP?
A function group contains globally defined internal tables and function modules defined in it. FMOD1 populates itab1 and when FMOD2 is called will itab1 contains those values being populated by FMOD1?
Difference between check table and value table.
3 Answers vCentric Technologies,
What is dynpro? what are its components ?
What is performance tuning?
what is the way to precide search helps in POV?
Give 3 scenario due to which you require Gap analysis in your project?
How to same internal table in same functional module?
What are the components of SAP scripts?
Can i know some of the Realtime tickets that anyone has been faced ?