Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how can declare packed decimal fields in internal table

I need how to declare packed decimal places in my internal table.I already given one code but it is giving error.can you tell me what is wrong in my code.

Data : Begin of Itab occurs 0,

TNAME TYPE C, u201CTechnicalname

LPRC TYPE P DECIMALS 2, u201D ListPrice

NSPC TYPE P DECIMALS 2, u201CNormal sell price

OVAL TYPE P DECIMALS 2, u201D order value

ASPC TYPE P DECIMALS 2, u201D Actual sell Price

DISC TYPE P DECIMALS 2, u201D Discount

DVAL TYPE P DECIMALS 2, u201D Discount Value

COGS TYPE P DECIMALS 2, u201CCost of goods sold

AMAR TYPE P DECIMALS 2, u201D Actual margin

AMRP TYPE P DECIMALS 2, u201D Actual margin%

End of ITAB.

Tags:
Not what you were looking for? View more on this topic or Ask a question