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

how to implement pulldown selection voor searchhelp ??

Former Member
0 Likes
1,048

I have copied the searchhelp PREMK to ZPREMK and the view M_PREMK to ZM_PREMK and added pa0003 table to this view

copied HRMC_PREM_EXIT_A to ZHRMC_PREM_EXIT_A and appended the begda and endda in the coding.

everythings works fine besides the fact that in PREMK the field WERKS and BTRTL have a pulldown list and my searchhelp doesn't ??

where is it arranged that I can set the pulldown list. I have looked in the view and the table is related to the same table T500P ? I can't find anything changed in the PREMK compared to the ZPREMK concerning this fields ??

anybody got a clue ??

kind regards

arthur de smidt

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,012

Hi Arthur,

Did you click on foreign key for the fields WERKS and BTRTL in your Data base view . had u cross checked with the standard's check table..

Cheers,

Jacks M

9 REPLIES 9
Read only

Former Member
0 Likes
1,013

Hi Arthur,

Did you click on foreign key for the fields WERKS and BTRTL in your Data base view . had u cross checked with the standard's check table..

Cheers,

Jacks M

Read only

0 Likes
1,012

yep , in the view that works it is

T500P MANDT M_PREMK MANDT

T500P PERSA M_PREMK WERKS

and in myZ view the foreign key is

T500P MANDT ZM_PREMK MANDT

T500P PERSA ZM_PREMK WERKS

so it looks the same and all the other parameters are also the same

kind regards

arthur

Read only

0 Likes
1,012

I find the following data elements and their associated values tables.

WERKS--> PERSA --> VALUE TABLE T500P

BTRTL--> BTRTL --> VALUE TABLE T001P

May be for testing purpose please change database view ZM_PREMK to M_PREMK and test the same whether you are getting the pulldown values ?

a®

Read only

0 Likes
1,012

I changed the view back to M_PREMK and also didn't get the appropiate pulldown lists

also changed the function exit back from ZHRMC_PREM_EXIT_A to HRMC_PREM_EXIT_A and also didn't get the pulldown lists

thanks

arthur de smidt

Edited by: A. de Smidt on Jul 17, 2008 1:53 PM

Edited by: A. de Smidt on Jul 17, 2008 1:59 PM

Read only

0 Likes
1,012

Strange,

Pulldown values here are coming from value tables. I understand from query that the standard search help PREMF or PREMK are getting pulldowns?

a®

Read only

0 Likes
1,012

yep premk has pulldowns for field WERKS and BTRTL

only difference I see is that when I look under F1 at KPREM

I see

tablename M_PREMK

fieldname WERKS

element PERSA

but at zpremk I see only

element PERSA

I have also copied PREMK to a new object called zpremtest. in that case the pulldowns are still working. I can only guess that with creating zpremk that my language was not in original language but I can't be sure if that causes this problem ?

Edited by: A. de Smidt on Jul 17, 2008 2:19 PM

Read only

0 Likes
1,012

> I have also copied PREMK to a new object called zpremtest. in that case the pulldowns are still working.

>

>

As ZPREMTEST is working fine. problem is because of language.

I am not 100% sure about this.

a®

Read only

0 Likes
1,012

nop I found the problem since I copied the searchhelp to a new one and went on implementing that one further on I noticed that it went wrong when I added some custom fieldtypes for the lastname. in my zpremk all fields were marked 'modification' and in the original searchhelp they were turned off

so setting the modification checkbox off for werks ant btrltl it solved the problem

kind regards

and thanks for the help some point awarded for the trouble

arthur

Edited by: A. de Smidt on Jul 17, 2008 2:36 PM

Read only

former_member194669
Active Contributor
0 Likes
1,012

Try to add the check table for field WERKS in the database view ZM_PREMK

a®