‎2008 Jul 17 11:31 AM
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
‎2008 Jul 17 12:27 PM
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
‎2008 Jul 17 12:27 PM
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
‎2008 Jul 17 12:34 PM
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
‎2008 Jul 17 12:43 PM
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®
‎2008 Jul 17 12:51 PM
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
‎2008 Jul 17 1:04 PM
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®
‎2008 Jul 17 1:11 PM
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
‎2008 Jul 17 1:26 PM
> 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®
‎2008 Jul 17 1:35 PM
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
‎2008 Jul 17 12:31 PM
Try to add the check table for field WERKS in the database view ZM_PREMK
a®