on 2020 Nov 09 7:02 PM
Hi,
I have a strange issue on S/4 EWM 1909 regarding material number length. Material master is configured to be 18 chars long.
When I read an EGR document via delivery service provider the material number is 18 chars long even though the underlying data type is a char of length 40 (as it should be).
However when I use the MATN1 conversion exit on a variable of type /SCWM/DE_MATNR (also 40 chars) I get a length of 40 chars:
How can I fix this? Why doesn't the conversion exit convert GV_270_INPUT_MATNR to 18 characters?
Edit:
To clarify - I want the conversion exit CONVERSION_EXIT_MATN1_INPUT to convert the material number to 18 chars
Regards,
Tim
Request clarification before answering.
Hello together,
This is also possible, without using domain specific conversion exits you can ensure correct format and number of leading zeroes:
data(lv_270_input_matnr) = CONV matnr18( |{ gv_270_input_matnr ALPHA = IN }| ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
5 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.