‎2007 Jan 01 1:55 PM
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.
‎2007 Jan 01 2:25 PM
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
‎2007 Jan 01 4:23 PM