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
327

Hi,

Below is a piece of code. I hv created a search help for this, but wen i choose ne value after pressing F4, the value doesn't get copied into my parameter box.

Can ne1 plz help me out with this prob.

Thanks,

Mohit.

REPORT Z_MG_TAB_PRAC .

TABLES: ZMG_PRAC_TAB.

PARAMETERS: P_AGE LIKE ZMG_PRAC_TAB-AGE MATCHCODE OBJECT ZMGH.

DATA: BEGIN OF IT_PRAC OCCURS 0,

ID LIKE ZMG_PRAC_TAB-ID,

AGE LIKE ZMG_PRAC_TAB-AGE,

END OF IT_PRAC.

START-OF-SELECTION.

SELECT ID AGE FROM ZMG_PRAC_TAB INTO TABLE IT_PRAC WHERE AGE = P_AGE.

IF SY-SUBRC = 0.

LOOP AT IT_PRAC.

WRITE:/ IT_PRAC-ID.

ENDLOOP.

ELSEIF SY-SUBRC <> 0.

IF P_AGE IS INITIAL.

WRITE:/ 'No null value allowed.'.

ELSE.

WRITE:/ 'Wrong age.'.

ENDIF.

ENDIF.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
309

see search help .

se11 -> search hlp name.

import and export tick.

2 REPLIES 2
Read only

paruchuri_nagesh
Active Contributor
0 Likes
309

hi

amit

double click on ZMGH u will get one window do accordingly

hope it will resolve ur problem

reward if u find useful

regards

Nagesh.Paruchuri

Read only

Former Member
0 Likes
310

see search help .

se11 -> search hlp name.

import and export tick.