Hai All,
I am using FUNCTION MODULE---- 'CSAP_MAT_BOM_READ' to get the component details of a BOM Header.
I am exporting the input parameters to the func mod as
EXPORTING
material = w_mast-matnr
PLANT = w_mast-werks
bom_usage = w_mast-stlan
ALTERNATIVE = w_mast-stlal
VALID_FROM = v_datum
VALID_TO = v_datum
and getting the details into int tab as
TABLES
T_STPO = i_stpo
But When i execute, the program is being terminated due to a short dump.
The error description is as shown below
*The reason for the exception is:*
*The call to the function module "CSAP_MAT_BOM_READ" is incorrect:*
*In the function module interface, you can specify only*
*fields of a specific type and length under "T_STPO".*
*Although the currently specified field*
*" " is the correct type, its length is incorrect.*
Please Help me in solving this exception....