Skip to Content
-1

ABAP Error-VA41

capture.png

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.

capture.png (55.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jun 06, 2017 at 07:57 AM

    Hi,

    Did you define ZCFORM_CUST globally? if not, define it in the subroutine USEREXIT_READ_DOCUMENT locally.

    Regards,

    Priyanka.

    Add comment
    10|10000 characters needed characters exceeded

    • 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'.

  • Jun 06, 2017 at 05: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,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 06, 2017 at 07: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

    Add comment
    10|10000 characters needed characters exceeded