cancel
Showing results for 
Search instead for 
Did you mean: 

TYPE_NOT_FOUND error after trying to use F4 help in ALV output

0 Kudos

Hi Everyone ,

After running an ALV report in Production , while I am trying to filter it and then trying to use the F4 option it is throwing an TYPE_NOT_FOUND error .

In debug I can see that one parameter ID 'F4GMETHOD' is showing NoActiveX value but not able to find exactly which object is in Inactive state. Please help.

aoyang
Contributor

Is this a custom ALV report? If it is standard, which transaction? Please describe the steps to reproduce the issue.

Sandra_Rossi
Active Contributor
0 Kudos

You may search the forum/SAP Web site with your favorite Web search engine. I see many answers for search below:

alv "type_not_found" site:sap.com
0 Kudos

Hi aocheng ,

It is a custom ALV , after running the report . If you select one field and go to the filter option another screen opens where you can do F4 to see how many different values are there , this F4 is causing the issue.

aoyang
Contributor

Hi sxc8225, in your ALV, is there any value that is not fitting the data type of that field? If you remove that data row, does the F4 work?

Please share the code of the custom ALV report code(or at least the code where you filled the field catalog for that specific field.) Need to reproduce the issue to investigate further.

raymond_giuseppi
Active Contributor
0 Kudos

Could you perform the ALV consistency check

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi aocheng ,

This is only happening in production , not in QA or Dev .
It is happening for all the ALV output fields.
PERFORM add_field_to_fieldcat USING gt_fieldcat:
* Field Label Length Edit?
'zzcrf' 'Cust. Ref' 20 off,
Inside the perform ,
CLEAR gs_fieldcat.
TRANSLATE p_fieldname TO UPPER CASE.
gs_fieldcat-fieldname = p_fieldname.
ADD 1 TO g_col_pos.
gs_fieldcat-col_pos = g_col_pos.
gs_fieldcat-seltext_s = p_seltext.
gs_fieldcat-seltext_m = p_seltext.
gs_fieldcat-seltext_l = p_seltext.
gs_fieldcat-outputlen = p_length.
gs_fieldcat-edit = p_edit.

aoyang
Contributor

If this is not happening in Dev or QA, it's most likely the data the report is processing in PRD. Do you get this error when you filter with just a one row of data in ALV too? If the error is data dependent, better check what data is causing the error.

I implemented your code and used REUSE_ALV_GRID_DISPLAY but error was not reproduced..