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 does the extract statement do in extract datasets?

1035


Program lines for the radio button selection and unabling some input variables in section screen

1356


What is SAP Data conversion ?

1041


What is a currency factoring technique?

1158


What is the use of info groups? : sap abap hr

984


Explain how many types of tables exist and what are they in data dictionary?

1132


Explain what are standard layouts sets in the sap script?

1400


What is the table buffer?

962


What is meant by authorization? Did you ever work on it? : sap abap hr

890


what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?

2208


What is the difference between call transaction and session method? : abap bdc

1142


What are the different types of sapscript symbols?

1012


What are system variable in abap?

1041


What is the function module to popup contents in the internal table?

974


java script for push button in adobe forms.

2409