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 are the uses of secondary indexes?

1175


What are the data types of the external layer? : abap data dictionary

1461


Explain what are the different functions used in sap script?

1091


What are base tables of an aggregate object?

1160


What are the different function modules used in sapscript?

1092


In which particular scenario we use sorted table and which particular scenario we use standard table?

1535


What are the basic functions of database utility? : abap data dictionary

1156


What is the role of ‘refresh’ in internal table?

1097


Can anyone done BDC/LSMW/BAPI for F-02 and F-04.If yes let me know the processs

2554


What is evaluation path, where do we do it and why? : sap abap hr

1241


What is meant by slab? How is indian slab and us slab? : sap abap hr

1166


What is the difference between data elements and domains? : abap data dictionary

1285


when u prefer lsmw?

1111


how to see the tables of 200 in client 100?

1948


If I want to execute a bdc program only in background not in foreground is there any option for this? : abap bdc

1113