Reputation: 1648
I use se37 to test the FM CSAP_MAT_BOM_READ
and just put in a material number and mark the field BOM_USAGE with a "X".
After excecuting it, I get the following runtime error:
Error in the ABAP Application Program
The current ABAP program "CSAP_MAT_BOM_READ=============FT" had to be terminated because it has come across a statement that unfortunately cannot be executed. In include "LCSAPU17", in line 81 of program "SAPLCSAP", the following syntax errors have occurred: In PERFORM or CALL FUNCTION "CONVERT_MATNR_TO_INTERN_FORMAT", the actual parameter "MATERIAL" is incompatible with the formal parameter "I_MATNR".
Author and last person to change the include are: Author SAP Last changed by "SAP "
...
The following syntax error has occurred in program SAPLCSAP:
In PERFORM or CALL FUNCTION "CONVERT_MATNR_TO_INTERN_FORMAT", the actual parameter "MATERIAL" is incompatible with the formal parameter "I_MATNR".
" "
Can anyone tell me whats wrong here?
Thanks and Regards
Upvotes: 1
Views: 1581
Reputation: 1
Like the short dump suggested, your parameters are not compatible. Check types of the import parameter in SE37 CSAP_MAT_BOM_READ and the parameter passed to the form "CONVERT_MATNR_TO_INTERN_FORMAT".
On my dev system
both parameters belongs to csap_mbom-matnr.
There are several notes on service.sap.com/notes regarding this issue. Maybe there are one of those notes missing in your system.
Upvotes: 0