SAP ABAP - Sample Program On Type Conversion ( Curr To Char Type).
Assigning Currency Fields to Character Type Fields:
REPORT ztest.
DATA: curr TYPE kna1-umsa1,
char(254) TYPE c,
char1(254) TYPE c.
DATA: temp TYPE p LENGTH 15 DECIMALS 2.
WRITE curr TO char LEFT-JUSTIFIED.
WRITE: 'CHAR = '.
WRITE : char.
WRITE:/ 'CURR = '.
WRITE: curr.
MORE PROGRAMS ON REPORT PROGRAMMING:
- Type Conversion ( Char To Curr Type).
- On Using HOTSPOT Keyword In A Report Program.
- Demonstrate Tabstrips & Subscreens In Selection Screen.
- Setting Default Values In Selection Screen.
- Programming On Buttons In A Screen.
- ...Back To Index On Report Programming.
Your suggestions and comments are welcome in this section.
Please mail all your contributions to administrator@abapmadeeasy.com We request you to mention your Name, Designation, Experience & Organization you are working for. Your posts will be verified and posted in this site with your name.
REPORT ztest.
DATA: curr TYPE kna1-umsa1,
char(254) TYPE c,
char1(254) TYPE c.
DATA: temp TYPE p LENGTH 15 DECIMALS 2.
WRITE curr TO char LEFT-JUSTIFIED.
WRITE: 'CHAR = '.
WRITE : char.
WRITE:/ 'CURR = '.
WRITE: curr.
MORE PROGRAMS ON REPORT PROGRAMMING:
- Type Conversion ( Char To Curr Type).
- On Using HOTSPOT Keyword In A Report Program.
- Demonstrate Tabstrips & Subscreens In Selection Screen.
- Setting Default Values In Selection Screen.
- Programming On Buttons In A Screen.
- ...Back To Index On Report Programming.
Your suggestions and comments are welcome in this section.
Please mail all your contributions to administrator@abapmadeeasy.com We request you to mention your Name, Designation, Experience & Organization you are working for. Your posts will be verified and posted in this site with your name.