MULTIPLY is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details.
MULTIPLY
Basic form
MULTIPLY n1 BY n2.
Effect
Multiplies the contents of n1 by the contents of n2 and places the result in n1 .
This is equivalent to: n1 = n1 * n2.
Example
DATA: DAYS_PER_YEAR TYPE P VALUE 365,
HOURS_PER_DAY TYPE F VALUE '24.0',
MINUTES_PER_YEAR TYPE I VALUE 1.
MULTIPLY MINUTES_PER_YEAR BY DAYS_PER_YEAR.
MULTIPLY MINUTES_PER_YEAR BY HOURS_PER_DAY.
MULTIPLY MINUTES_PER_YEAR BY 60.
MINUTES_PER_YEAR now contains 525600.
Note
The details about conversions and performance given under COMPUTE also apply to MULTIPLY .
Note
Runtime errors
BCD_BADDATA : P field contains no correct BCD format
BCD_FIELD_OVERFLOW : Result field too small (type P )
BCD_OVERFLOW : Overflow with arithmetic operation (type P )
COMPUTE_INT_TIMES_OVERFLOW : Whole number overflow with multiplication
Related 10 ABAP Syntax Tutorials
Most readed SAP Tutorials
- WRITE - Output to a list ( SAP ABAP Keyword)
WRITE ( Output to a list ) is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details. - List of SAP HR TABLES and Infotypes tables
Detailed full list of tables and infotypes used in SAP HR module. - List of SAP MM Transaction codes
This documentation covers the details of SAP MM Transaction codes - SELECT-OPTIONS ( SAP ABAP Keyword)
SELECT-OPTIONS is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details. - FI Accounts Receivable and Accounts Payable | SAP FI PDF manual
The following topics are an introduction to the Accounts Receivable and Accounts Payable application components. - SELECT clause ( SAP ABAP Keyword)
SELECT clause is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details. - SAP MM Process Flow
The typical procurement cycle for a service or material consists of the following phases:
Latest Added SAP documents
- 9KE9 Transaction code
Details about SAP transaction code 9KE9 - 9KE8 Transaction code
Details about SAP transaction code 9KE8 - 9KE7 Transaction code
Details about SAP transaction code 9KE7 - 9KE6 Transaction code
Details about SAP transaction code 9KE6 - 9KE5 Transaction code
Details about SAP transaction code 9KE5 - 9KE4 Transaction code
Details about SAP transaction code 9KE4 - 9KE3 Transaction code
Details about SAP transaction code 9KE3 - 9KE2 Transaction code
Details about SAP transaction code 9KE2 - 9KE1 Transaction code
Details about SAP transaction code 9KE1 - 9KE0 Transaction code
Details about SAP transaction code 9KE0