Hi Experts,
I am working on File To Proxy Scenario. I am writing the below program under the method ZII_MATERIAL_TARGET1_SI~EXECUTE_ASYNCHRONOUS. The program is throwing the Error as "The type ZMAT_TEST is unknown". I know this is the not the relevant section. But it is related to Proxy Scenario. Please check and do the needful.
method ZII_MATERIAL_TARGET1_SI~EXECUTE_ASYNCHRONOUS.
*** **** INSERT IMPLEMENTATION HERE ****
Data: INPUT-MATERIAL_TARGET_MT1 type ZMAT_TEST.
TYPES: BEGIN OF TY_MAT,
MATERIAL_NUMBER TYPE ZMAT_TEST-MATERIAL_NMBER,
MATERIAL_DESCRIPTION TYPE ZMAT_TEST-MATERIAL_DESCRIP,
MAINTENANCE_STATUS TYPE ZMAT_TEST-MAINTAIN_STATUS,
CREATED_BY TYPE ZMAT_TEST-CREATEDBY,
CREATED_ON TYPE ZMAT_TEST-CREATEDON,
END OF TY_MAT.
data:wa_material type ZIIMATERIAL_TARGET1,
it_material like STANDARD TABLE OF wa_material,
wat_material TYPE TY_MAT,
itt_material TYPE TABLE OF TY_MAT.
wat_material-MATERIAL_NUMBER = INPUT-MATERIAL_TARGET_MT1-MATERIAL-MATERIAL_NUMBER.
wat_material-MATERIAL_DESCRIPTION = INPUT-MATERIAL_TARGET_MT1-MATERIAL-MATERIAL_DESCRIPTION.
wat_material-MAINTENANCE_STATUS = INPUT-MATERIAL_TARGET_MT1-MATERIAL-MAINTENANCE_STATUS.
wat_material-CREATED_BY = INPUT-MATERIAL_TARGET_MT1-MATERIAL-CREATED_BY.
wat_material-CREATED_ON = INPUT-MATERIAL_TARGET_MT1-MATERIAL-CREATED_ON.
INSERT INTO Zmat_test VALUES waT_material.
endmethod.
Regards,
GIRIDHAR