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 exit help needed

Former Member
0 Likes
1,252

Hi all,

I am trying to create a search help exit .

I have a createda fg using se 80 and started using

i have the following things in

SHLP TYPE SHLP_DESCR_T

CALLCONTROL LIKE DDSHF4CTRL

iam getting an error saying

Type pool SHLP has not been declared

i did this before but for some reason iam getting this error .

let me know if iam missing anything

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,201

Hi,

In the top include of the function group declare the type-pools

TYPE-POOLS: SHLP.

Thanks,

Naren

Hi,

In the top include of the function group declare the type-pools

TYPE-POOLS: SHLP.

Thanks,

Naren

8 REPLIES 8
Read only

Former Member
0 Likes
1,202

Hi,

In the top include of the function group declare the type-pools

TYPE-POOLS: SHLP.

Thanks,

Naren

Read only

Former Member
0 Likes
1,201

in Global declarations declare...

TYPE-POOLS: SHLP.

Read only

0 Likes
1,201

hi ,

i got that fixed i have one more question . i was checking

FM F4IF_SHLP_EXIT_EXAMPLE

IN THE SOURCE CODE IT HAS

""Lokale Schnittstelle:

*" TABLES

*" SHLP_TAB TYPE SHLP_DESCR_TAB_T

*" RECORD_TAB STRUCTURE SEAHLPRES

*" CHANGING

*" VALUE(SHLP) TYPE SHLP_DESCR_T

*" VALUE(CALLCONTROL) LIKE DDSHF4CTRL

*" STRUCTURE DDSHF4CTRL

CHANGING VALUE

BUT I HAVE

""Local interface:

*" TABLES

*" SHLP_TAB TYPE SHLP_DESCR_TAB_T

*" RECORD_TAB STRUCTURE SEAHLPRES

*" CHANGING

*" REFERENCE(SHLP) TYPE SHLP_DESCR_T

*" REFERENCE(CALLCONTROL) LIKE DDSHF4CTRL STRUCTURE DDSHF4CTRL

REFERENCE.

DOES IT MAKES ANY DIFFERENCE

please let me know

thanks

Read only

Former Member
0 Likes
1,201

Hi,

I think it shoudn't be problem..If you pass by reference or pass by value..

But anyways..Execute the search help and check if it is working fine..

Please make sure to reward points for helpful answers..

Thanks,

Naren

Read only

0 Likes
1,201

hi narendran,

its working fine . i awarded points to all.

i have one last question

get parameter id 'PAR' field plant_val.

itab[] = record_tab[].

if not record_tab[] is initial.

delete itab where werks <> plant.

record_tab[] = itab[].

endif.

I WAS READING ONE THE PREVIOUS POST AND IT SAID I HAVE TO SET THE PARAMETER TO SPACE IMMEDIATELY AFTER GET PARAMTER

can you tell when should i set the paramter PAR TO SPACE

EVERYTIME THE VALUE OF PLANT_VALUE IS EMPTY. SO I SET THE PARAMETER PAR TO SPACE IMMEDIATELY AFTER

GET PARAMETER THEN MY DELETE SATEMENT DOESN'T WORK

LET ME KNOW

THANKS

Read only

Former Member
0 Likes
1,201

Hi,

Why do you have to set the parameter to space..I believe in this case..You should not..Because if the user presses F4 several times..The first time you will filter the data accordingly with the plant..But for the second time you will not be filtering the data with the plant..

So do not clear the parameter value..Meaning don't set the parameter to space..

Thanks,

Naren

Read only

0 Likes
1,201

Hi Narendran,

i understand what you are talking about.

but i am curious to know whether we can leave a value in the memory.

thanks

Read only

Former Member
0 Likes
1,201

Hi,

I believe it should be okay..It will be cleared when the user logs off.

Which parameter ID you are using...

You can also try using EXPORT ..TO MEMORY...And IMPORT ..FROM MEMORY..If it is just one session..

Thanks,

Naren