‎2013 Jun 06 7:20 AM
Hi ,
I am creating selection screen but there is no search help is available my code is .
INITIALIZATION.
TYPE-POOLS: slis.
* Data declaration
DATA: be_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
‎2013 Jun 06 9:14 AM
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
‎2013 Jun 06 9:14 AM
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
‎2013 Jun 06 10:25 AM
‎2013 Jun 06 9:23 AM
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
‎2013 Jun 06 10:12 AM
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
‎2013 Jun 06 10:35 AM
In search help u need to check importing and exporting parameters.
Refer below screen shot.
‎2013 Jun 06 9:30 AM
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
‎2013 Jun 06 9:31 AM
Yes with your syntax Abap was not able to identify a search-help, so either as Frédéric Girod suggeted replace reference to a table/structure field with more ddic information like a foreign key, or check existing standard report and analyze which search help they use (ddic or POV code) then use same solution referencing to another object, explicit MATCHCODE option or POV code (SELECTION-SCREEN ON VALUE-REQUEST)
Regards,
Raymond
‎2013 Jun 06 9:35 AM
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.