Skip to Content
avatar image
Former Member

F4IF_INT_TABLE_VALUE_REQUEST dump while clicking on restriction value

Hi team,

could anyone help me with the issue i am facing is , i wanted to increase the maximum record to display 12000 so i have developed code using F4IF_INT_TABLE_VALUE_REQUEST function module and output is displyaing correctly but the issue is:

1. after search help output is displayed if i click on restriction value(filter symbol) it is going to dump and the dump is " The program run has been interrupted and cannot be resumed. The program "SAPLSDH4" tried to output fields on screen 0220. During the conversion of the data an error occurred." and dump line it is showing is on endmodule of standard program and details are below:

The termination occurred in ABAP program "SAPLSDH4", in "D220_SET_MAXRECORDS". The main program was "SAPLIQS0".

please find my code below:

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
ddic_structure = lc_tabname
retfield = lc_retfield
dynpnr = sy-dynnr
window_title = 'Reference Designator'(013)
value_org = lc_valueorg
callback_program = sy-repid
callback_form = 'F4_CALLBACK'
TABLES
value_tab = lt_final
return_tab = lt_return_tab
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
* Message - Error while fetching F4 values
MESSAGE i214(zsfc).
RETURN.
ENDIF.

form F4_callback.

IF sy-subrc = 0.
lp_shlp-intdescr-title = 'REFERENCE DESIGNATOR'.
lp_callcontrol-no_maxdisp = ''.
lp_callcontrol-maxexceed = lc_x.
lp_callcontrol-maxrecords = lv_zpd_f4_extension.
lp_callcontrol-ocx_off = lc_x.
ENDIF.
ENDFORM.

so what parameter has to be passed so i do not get dump.

2: second issue is , when i am increasing the search help limit, the display of the output is not as same as standard search help output instead it is list display, could you please help to achieve output as same has standard search help.

please let us know if the query is not clear.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • May 01 at 05:04 PM

    Hi Jai,

    Can you share with us the reason for wanting the search help to return 12K records? That seems like an undesirable number of records to sift through from a user's perspective. What is the underlying reason for wanting a hit list of 12K records?

    Cheers,
    Amy

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      QM01 and QM02 transaction has a field reference designator for that field already they have the value of upto 6000 but when they press f4 it is restricting to 5k so they are unable to see find the values ,so keeping in future theyhave suggested for 12k.

  • May 01 at 01:02 PM

    Hi, When a restricted value is selected the program starts the search but falls in error as you said. It is clear it is not good to change parameter, the way is doing so in a parametric way if it is allowed. A way is looking after parameter setmaxrecord till you find where it is filled and how,

    just to start.

    thanks and regards

    Add comment
    10|10000 characters needed characters exceeded

  • May 02 at 11:59 AM

    Hi, in the alv manner you can set several parameters. in the REUSE_ALV_LIST_DISPLAY FM Try to manipulate EXPORTING parameter IS_LAYOUT that can have the subsequent names - (values):
    Colwidth_optimize
    Zebra
    No_vline
    No_min_linesize
    Max_linesize
    No_sumchoice
    No_totaline
    No_subchoice
    No_subtotals
    Totals_text
    Subtotal_text
    Numc_sum
    Also EXPORTING parameter IT_FIELDCAT which has several field names - (values) to manipulate the layout if the field.

    Thanks and Regards

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 02 at 03:11 AM

    hi guys i found solution for first issue of dump we should pass the parameter NO_MAXDISP = 'X'. then dump will be cleared and restriction screen will appear.

    now my issue is has i am rextended the display of f4 from 5000 to 12000 i can see output in ALV list display instead if ALV grid and it is not looking like standard search help display, could anyone help me out how to achieve this so i get the output in same as standard search help

    Add comment
    10|10000 characters needed characters exceeded