**********************************************************************
* This method is called in case there are too many entries in teh result list, e.g. because of a long document flow or
* because of added navigation entries
* Example implementation below
**********************************************************************
** Example -> Remove the external ERP links first
* LOOP AT ct_result_list TRANSPORTING NO FIELDS WHERE logsys IS NOT INITIAL.
* DELETE ct_result_list.
* IF lines( ct_result_list ) LE mv_max_result_count.
* RETURN.
* ENDIF.
* ENDLOOP.
*
*
** Example -> Remove the TRQ-entries now
* LOOP AT ct_result_list TRANSPORTING NO FIELDS WHERE bo_key = /scmtms/if_trq_c=>sc_bo_key.
* DELETE ct_result_list.
* IF lines( ct_result_list ) LE mv_max_result_count.
* RETURN.
* ENDIF.
* ENDLOOP.
*
** Example -> Remove the cockpit links for Freight Unit
* LOOP AT ct_result_list TRANSPORTING NO FIELDS WHERE nav_url_tc = abap_true AND cat = /scmtms/if_tor_const=>sc_tor_cat_fu.
* DELETE ct_result_list.
* IF lines( ct_result_list ) LE mv_max_result_count.
* RETURN.
* ENDIF.
* ENDLOOP.
*
** Example -> Remove the links for Freight Unit
* LOOP AT ct_result_list TRANSPORTING NO FIELDS WHERE cat = /scmtms/if_tor_const=>sc_tor_cat_fu.
* DELETE ct_result_list.
* IF lines( ct_result_list ) LE mv_max_result_count.
* RETURN.
* ENDIF.
* ENDLOOP.
*
** Example -> Remove the cockpit links for Freight Order
* LOOP AT ct_result_list TRANSPORTING NO FIELDS WHERE nav_url_tc = abap_true AND cat = /scmtms/if_tor_const=>sc_tor_cat_for.
* DELETE ct_result_list.
* IF lines( ct_result_list ) LE mv_max_result_count.
* RETURN.
* ENDIF.
* ENDLOOP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
4 | |
4 | |
3 | |
2 | |
2 | |
2 | |
2 | |
1 |