Skip to Content

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

Transform characters to matnr type

Hi everyone,

I have a csv file input that contains matnr field which just have n characters ( ex.: 1000956) and i would like to transform this field into matnr type ( 18 characters => 000000000001000956) which is used in table.

Thank you for you answers.

Best regards.

Mathew.

Tags:
replied

Hi,

You can define a variable of type matnr and assign the value to it directly

OR

You can use the CONVERSION_EXIT_MATN1_INPUT

Function Module to convert it to internal format.

Regards,

Pramod

0 View this answer in context

Helpful Answer

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