‎2017 Jun 06 8:39 AM
Hello All,
Please note that I am getting the error as defined in the screenshot attached.
I am new to ABAP can someone please help me regarding this error.
Soliciting your kind response in this regard.
‎2017 Jun 06 8:57 AM
Hi,
Did you define ZCFORM_CUST globally? if not, define it in the subroutine USEREXIT_READ_DOCUMENT locally.
Regards,
Priyanka.
‎2017 Jun 06 9:38 AM
Hello,
Thanks for your prompt reply.
Please can you let me know how to do the same.
Should I declare an itab.
‎2017 Jun 06 9:50 AM
What is the data type of ZCFORM_CUST?
If you are not aware of that,go to the function module ZCUST_FORM_READ. In export parameters find the data type of ZCFORM_CUST. Declare it using DATA: ZCFORM_CUST type 'data type'.
‎2017 Jun 06 6:08 PM
Hi Saurav,
Like said Priyanka, first define ZCFORM_CUST either globally or manually, and when do that be sure to use same Associate Type has defined in "ZCUST_FORM_READ" FM for ZCFORM_CUST parameter. If not do that, you will get a DUMP.
Regards,
‎2017 Jun 06 8:57 PM
tcode: se37 and open FM: ZCUST_FORM_READ
go to export tab and copy the associated type defined against zcform_cust.
go to se38 and open me45afzz
go to line no 224
and write:
data: zcform_cust type "associated type you copied". then you are good.
Anand