‎2007 Nov 27 3:58 PM
hi,
how declare currency and quantity in internal table ?
‎2007 Nov 28 7:57 AM
If you have different currencies in your data set, then include the currency in your internal table. If you have different units of measure, then include uom in your internal table.
Currency key you can declare LIKE any currency key in the data dictionary. ( It will be an ABAP type C length 3 ). Amount will be LIKE any amount field in the data dictionary. Usually an ABAP type P with 2 decimals.
Unit of measure you can declare LIKE any unit of measure in the data dictionary. ( It will be an ABAP type C length 3 ). Quantity will be LIKE any quantity field in the data dictionary. Usually an ABAP type P with 3 decimals.
matt
‎2007 Nov 28 7:57 AM
If you have different currencies in your data set, then include the currency in your internal table. If you have different units of measure, then include uom in your internal table.
Currency key you can declare LIKE any currency key in the data dictionary. ( It will be an ABAP type C length 3 ). Amount will be LIKE any amount field in the data dictionary. Usually an ABAP type P with 2 decimals.
Unit of measure you can declare LIKE any unit of measure in the data dictionary. ( It will be an ABAP type C length 3 ). Quantity will be LIKE any quantity field in the data dictionary. Usually an ABAP type P with 3 decimals.
matt
‎2007 Nov 28 11:20 AM
Hi
Declare it as Data: Var type curr.
quantity as char(100)