Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Change Search Help columns header?

$
0
0

I created a Search Help in runtime for a field in SELECT-OPTIONS.

I would like to change columns header.

 

My code:

 

DATA: BEGIN OF gt_calibration_standard OCCURS 0,
                 eqktx LIKE eqkt-eqktx,
                 begru LIKE equi-begru,
                 equnr LIKE equi-equnr,
           END OF gt_calibration_standard.

 

---------        --------        --------        --------

 

AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_calibr-low.
  PERFORM search_help_calib_std CHANGING s_calibr-low.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_calibr-high.
  PERFORM search_help_calib_std CHANGING s_calibr-high.

 

 

--------        --------        --------        --------

 

 

FORM search_help_calib_std CHANGING p_s_calibr.

  SELECT a~equnr a~begru b~eqktx
    FROM equi AS a INNER JOIN eqkt AS b ON b~equnr = a~equnr
    INTO CORRESPONDING FIELDS OF TABLE gt_calibration_standard
    WHERE b~spras = sy-langu.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield     = 'CALIB_STD' "Field name in internal table
      dynpprog     = sy-repid
      dynpnr       = sy-dynnr
      dynprofield  = 'GO'        "Anything
      window_title = 'Calibrtion Standard'
      value_org    = 'S'
    TABLES
      value_tab    = gt_calibration_standard[].

ENDFORM.

 

The Sarch Help:

Capture.JPG

Is that possible?


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>