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

Former Member
0 Likes
304

Hi

I have created search help with se11 now i want associate this help with my source code.I am using parameter in selection screen.

Table :-zreal_master

Parameter Fields In se38:- Pcode,Pdesc both are like with database fields as zreal_master-product_code,zreal_master-product_desc.

My need is that when user select Product_desc then other correspondence fields should display into product_code field.

2 REPLIES 2
Read only

Former Member
0 Likes
279

HI Rajnish

Please try as below:

1. Define the match code with the parameter declaration.

Eg: PARAMETERS: pdesc LIKE zreal_master-product_desc MATCHCODE <mobj>.

2. In AT SELECTION-SCREEN OUTPUT, extract the Product Code to respective Parameter

Eg:

IF NOT pdesc IS INITIAL.
   SELECT SINGLE product_code INTO pcode 
          FROM zreal_master
          WHERE product_desc EQ pdesc.
ENDIF.

Kind Regards

Eswar

Read only

Former Member
0 Likes
279

Thanks.....A Lot