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...

Polindrome Program for string
and Polindrome Program for numbers in ABAP

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is delivery class? : abap data dictionary

1166


What is the meaning of client independent?

993


What is an interface? In what scenario we use interface? What is the difference between abstract class and interface?

1323


Hi All , Would be providing online trainings for SAP ABAP , guidance with real time experience examples , guidance in profile prepartion . Any one intrested please contact on 8978890047.

2418


Where do you code the hide statement?

946


How can an internal table with header line and one without header line bedistinguished when passed to a subroutine?

1023


Where do you use help views?

934


Select up to 1 row and select single difference ?

1080


Explain the difference between cluster tables and pool table?

1055


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

1050


Explain the difference between a pool table and a transparent table and how they are stored at the database level?

1046


What are the types of subroutines?

1047


How will you read from internal table records in a given value range (without using loop)

1442


Difference between user exit and badis?

1113


Differentiate database index and match code.

1091