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 |
What you modified in Purchase Order?
BDC Data which format?
What is the difference between ABAP memory and SAP memory?
What is the full form of "SPA/GPA" Paramaters.
What is elementary search help? : sap abap data dictionary
What are conversion & interface programs in sap?
22) Very important How to find user Exit for a standard SAP Object(field,screen,menu etc)?
What are the exceptions in function module?
What is a table cluster? : abap data dictionary
How does the interection between the dynpro and the abap/4 modules takes place?
What are reference fields in data dictionary ? how do u assign them to a table field?
what is the z-transaction?? what's the use of it??