Skip to Content

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


Hi experts.

I need to convert technical type P to string and convert back to P.

I have a given a example at below.

Data : val(12) type p decimals 2 value '192.68'.

I need to convert to string so i can add (192.68).

Later i need to convert back to P and updated into a internal table.

Thank you very much.



Former Member
Former Member replied

data: amt_c(20) type c.

parameters amt type p decimals 2.

write amt to amt_c.

write:/ amt_c.

clear amt.

move amt_c to amt.

write:/ amt.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question