Can you print decimals in type N? What is difference between float and packed data type?
Submitted by: AdministratorNo, we cannot print decimals in type N because decimal places are not permitted with N
data type.
Float Data Type: It cannot be declared in Parameters.
Packed Number: It can be declared in Parameters. For e.g.
PARAMETERS : A(4) TYPE P DECIMALS 2,
B(4) TYPE P DECIMALS 2.
DATA : C(4) TYPE P DECIMALS 2.
C = A + B.
WRITE : / ‘THE SUM IS' , C.
Submitted by: Administrator
data type.
Float Data Type: It cannot be declared in Parameters.
Packed Number: It can be declared in Parameters. For e.g.
PARAMETERS : A(4) TYPE P DECIMALS 2,
B(4) TYPE P DECIMALS 2.
DATA : C(4) TYPE P DECIMALS 2.
C = A + B.
WRITE : / ‘THE SUM IS' , C.
Submitted by: Administrator
Read Online SAP ABAP Job Interview Questions And Answers
Top SAP ABAP Questions
☺ | What is Function group? Difference between function group and function module? |
☺ | What is an ABAP instance? |
☺ | What are the contents in technical specifications? |
☺ | Difference between domain and data element? What are aggregate object? |
☺ | In selection screen, I have three fields, plant material number and material group. If I input plant how do I get the material number and material group based on plant dynamically? |
Top SAP (Systems, Applications, Products) Categories
☺ | SAP Modules Interview Questions. |
☺ | SAP (Systems, Applications, Products) Interview Questions. |
☺ | SAP Internal Tables Interview Questions. |
☺ | SAP ABAP Interview Questions. |
☺ | SAP BW Interview Questions. |