‎2009 Jan 19 9:05 AM
When I am using the function module CSAP_MAT_BOM_ITEM_SELECT the following error is happening.
Exception ERROR
Message ID: 29 Message number: 851
Message:
Error converting field MATERIAL
This error is happening in all the CSAP_MAT* Function Modules and this is where it is happening.
PERFORM CONVERT_MATNR_TO_INTERN_FORMAT USING MATERIAL
CHANGING MASTB-MATNR
HLP_SUBRC.
IF HLP_SUBRC NE 0.
FLG_ERROR = KREUZ.
PERFORM APPL_LOG_WRITE_SINGLE_MESSAGE USING CHR_E MSGID_29
'851'
'MATERIAL'
' ' ' ' ' '.
ENDIF.
In TMCNV table we have LMATNR length as 8 and also in OMSL transaction.
It would be great if any one can help me to get out of this error.
Thanks in advance
Subra
‎2009 Jan 19 9:15 AM
i dunno.....which number u r passing to matnr...if it is of type problem...try with the following FMs to convert it to appropraite format before passing to the main FM...
CONVERSION_EXIT_MATN1_RANGE_I
CONVERSION_EXIT_MATN1_RANGE_O
CONVERSION_EXIT_MATN1_INPUT
CONVERSION_EXIT_MATN1_OUTPUT
‎2009 Jan 19 9:30 AM
Error is happening here.
form convert_matnr_to_intern_format
using value(i_matnr) like csap_mbom-matnr
changing o_matnr like csin-matnr
value(subrc) like sy-subrc.
Will there be any backend settings for using these (CSAP_MAT_*)
‎2009 Jan 19 10:03 AM
hi....are the material number that u r passing exist in the database??can u give a sample material number that u pass?