Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Search Help

ravi_kumar221
Participant
0 Likes
743

Hi ,

I am creating selection screen but there is no search help is available my  code is  .

INITIALIZATION.

   TYPE-POOLS: slis.

*  Data declaration

   DATAbe_pur_group TYPE  BBP_PDBEI-be_pur_group,

          be_pur_org   TYPE  BBP_PDBEI-be_pur_org,

          be_co_code  TYPE  BBP_PDBEI-be_co_code,

          object_id TYPE crmd_orderadm_h-object_id ,

          posting_date TYPE  crmd_orderadm_h-posting_date,

          g_l_acct1 TYPE bbp_pds_acc-g_l_acct,

          cost_ctr1   TYPE  bbp_pds_acc-cost_ctr                    .

   SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-002.

   PARAMETERS : pur_org TYPE  bbp_pds_sc_item_d-be_pur_group  .

   SELECT-OPTIONS:pur_g  FOR be_pur_group,

   be_co  FOR  be_co_code ,

   obj_id  FOR object_id,

   pos_date  FOR posting_date ,

   g_l_acct  FOR g_l_acct1,

   cost_ctr  FOR cost_ctr1.

   SELECTION-SCREEN  END OF BLOCK  blk1 .

Please help me i want search help

1 ACCEPTED SOLUTION
Read only

FredericGirod
Active Contributor
0 Likes
707

Hi Ravi,

if you want a search help you need to use after the FOR a TABLE-FIELDNAME. (if the table definition is build with the search-help or a reference table). Or you will need to find search-help by yourself and add the option MATCHCODE OBJECT ...

regards

Fred

8 REPLIES 8
Read only

FredericGirod
Active Contributor
0 Likes
708

Hi Ravi,

if you want a search help you need to use after the FOR a TABLE-FIELDNAME. (if the table definition is build with the search-help or a reference table). Or you will need to find search-help by yourself and add the option MATCHCODE OBJECT ...

regards

Fred

Read only

0 Likes
707

Thanks it is working

Read only

former_member191728
Active Participant
0 Likes
707

Hi Ravi

u can use match code object to assign search helps for the particular screen fields

PARAMETERS p_carrid TYPE s_carr_id
           MATCHCODE OBJECT demo_f4_de.

Regards

Pawan Akella

Read only

0 Likes
707

Hi

I am using match code and f4 help is also coming but after selecting velue it is not getting assigned to select option field

Read only

0 Likes
707

In search help u need to check importing and exporting parameters.

Refer below screen shot.

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
707

Hi,

As mentioned already, you can either use table-fieldname or you can write a piece of code in at selection-screen on value-request.

http://wiki.sdn.sap.com/wiki/display/ABAP/ON+VALUE-REQUEST+event

Read only

RaymondGiuseppi
Active Contributor
0 Likes
707

Yes with your syntax Abap was not able to identify a search-help, so either as 

This graphic is explained in the accompanying text

Read only

Former Member
0 Likes
707

Using matchcode object we can do it.

First need to create search help after this need to mentions this one after input field.

Ex:

SELECT-OPTIONS:pur_g  FOR be_pur_group MATCHCODE OBJECT searchhelpname.