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 |
After Uploading logo into SAP-SCRIPT How To Check Whether It is Success fully Uploaded or not?
what is difference betwen type and like statement?
real time report in material management and sales and distribution with codes
How to upload the customizing data using LSMW?
What is delivery class? : abap data dictionary
what are parameters of DDCinsert fun module ?
What are the exceptions in function module?
What is the difference between a substructure and an append structure? : abap data dictionary
How many times we can use At Selection Screen Output and on field event in report?
What is the use of PROTECT and ENDPROTECT?
explain the scenario of ALE/IDOC
There are 4 internal tables containing data. How to put it into a final table?