Hi gurus,
I am having a terrible time with a problem. I have to add a field to transaction CAT2 and that field has to have a data-dependent search help, I am not quite familiar with search helps and I can't figure why it's not working.
I have added a new field to CAT2 transaction by adding it to this additional field structure "CI_CATSDB" (and some customizing), the new field is up and running fine. This new field has to be dependant on the values of other data in the tablecontrol, this new tablecontrol uses structure "CATSDB" (ci_catsdb is an include of this one, all this is standard).
Thing is, I create a search help for my data field (ZFIELD for example), elementary search help, selection method CATSDB, three fields
ZFIELD (ci_catsdb)
SKOSTL (catsdb)
RPROJ (catsdb)
All import and export filelds (at the moment I just want to see it working). I create a function module for the search help exit, right now just to see the values it uses at debuggin and see IF I can add the logic to recover the data.
Value in ZFIELD is dependent on the other two values.
Ok? The row in the tablecontrol is a CATSDB row, it contains all the values.
SO I go to the include structure ci_catsdb and I add the search help to ZFIELD, I give the three entry values as follows:
ZFIELD = ci_catsdb-zfield
SKOSTL = catsdb-skostl
RPROJ = catsdb-rproj
Activate and everything seems ok, the field appears with a matchcode in CAT2 transaction and if I press it the search help exit is executed.
BUT it has no data : ( the tables SHLP_TAB and RECORD_TAB and structures SHLP and CALLCONTROL come with the technical description of the fields I use but with no data.
Is it because I am trying to use fields that are out of the structure where I am using the search hep? Can anyone see a problem with what I am doing??
I think the explanation has enought detail, if not please tell me. If someone knows a similar post or wiki article please tell and I will check it, I can't find one which refers to an structure with additional field structures.
Any help will be greatly appreciated,
Thanks in advance and best regards.