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

From Excel to ABAP - Is batch mode possible ?

1075


What are the events used for logical database?

1070


What is pakey structure, pshd1 structure and what type of fields it contains? : abap hr

1128


How to display if the value entered contains records or not?

1055


What are the types of records that are transferred to sap r/3 and used by interfaces? : abap bdc

1127


What is a sequence of event-triggered in report?

1084


Give examples of transparent table?

1161


What is the max. No. Of structures that can be included in a table or structure? : abap data dictionary

974


What are the types of the software component being deployed in the sap?

1088


Can there be more than 1 main window in sap script?

1090


2)In production what is the user exit?

1966


What is a persistent class?

1444


List some of the many different ways that the sap standard functionality can be changed by a customer?

942


Define spool request?

1098


​​What is the symbol to do “concatenation” operation in​​ nw​​ abap​​ 7.4​​ ?

1363