Skip to Content

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

Convert String to QUAN, INT1, UNIT

Hello,

Can anyone help me out with conversion String to QUAN, INT1 and UNIT?

Are there FMs available for this standard conversion?

Thanks.

Regards,

Chris Bogers

Former Member
replied

Sorry for reading your question not correctly. When I read it better a solution might be:

DATA tabfield TYPE tabfield.

tabfield-tabname    = 'MARA'.
tabfield-fieldname  = 'NTGEW'.

CALL FUNCTION 'RS_CONV_EX_2_IN'
  EXPORTING
    input_external                     = '1.222,333'
    table_field                        = tabfield
  IMPORTING
    output_internal                    = mara-ntgew.

My user number format is set to 1.234.567,89

Regards Jack

0 View this answer in context

Helpful Answer

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