cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

(Note: Extended Search Active) message for custom field

Former Member
0 Kudos
144

Dear experts,

In the transaction BBP_POC (Display PO) from extended search when we come back to simple search , if any of standard field eg account etc is having value , a message (Note : Extended Search Active) is displayed.

we have added 3 more fields to this screen and if these fields are not initial while coming to simple search we are not getting this message. How can we activate this for custom fields.

Best Regards

Aditya Shrivastava

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Experts,

any help on this issue.

Former Member
0 Kudos

If you are not object to modification of standard codes, take a look at program LBBP_PDH_SEARCHF01 through SE38 around the following coding block. You should be able to insert your own field names in the if clause.


        IF ( screen-name NE 'GS_SEARCH_FIELD-DESKTOP_FUNCTION' OR
             gs_application_info-search_object EQ c_contract ) AND
           ( screen-name NE 'GS_SEARCH_FIELD-SELECTION_DATE' OR
             ls_sel_search_field_control-field_content > '1') AND
           ( screen-name NE 'GS_SEARCH_FIELD-DEADLINE_DATE' OR
             ls_sel_search_field_control-field_content > '1') AND
           ( screen-name NE 'GS_SEARCH_FIELD-DELIVERY_DATE_FROM' OR
             ls_sel_search_field_control-field_content CN ' 0') AND
           ( screen-name NE 'GS_SEARCH_FIELD-DELIVERY_DATE_TO' OR
             ls_sel_search_field_control-field_content CN ' 0') AND
           ( screen-name NE 'GS_SEARCH_FIELD-START_DATE' OR
             ls_sel_search_field_control-field_content > '1') AND

           screen-active EQ 1 AND
           NOT ( ls_sel_search_field_control-internet_display
                 IS INITIAL OR
                 ls_sel_search_field_control-internet_display
                 LE '04' ).
          gv_extended_criteria_set = gc_yes.
        ENDIF.