2009 Apr 06 11:51 AM
Hi,
I have a selection screen with 3 fields.
xblnr, kunnr and bukrs
I created a search help exit for xblnr.
It finds my values perfectly and returns it on screen.
How do I make it return kunnr and bukrs values on the screen as well(they do appear on search help pop-up already).
I tried filling up the shlp_tab and shlp manually, but that didn't help.
right now, my search help exit is like that to delete duplicates.
I think I should add some code to the elseif callcontrol-step = 'RETURN', but all I've tried doesn't work.
Please note that I don't want to do it on my report program with at selection-screen on value-request for xblnr, I would like to solve this inside that userexit. Setting parameters doesn't help either as that requires the selection-screen to be refreshed.
if callcontrol-step = 'DISP'.
delete adjacent duplicates from record_tab comparing string.
elseif callcontrol-step = 'RETURN'.
exit.
else.
exit.
endif.
thank you all
Hi,
I have a selection screen with 3 fields.
xblnr, kunnr and bukrs
I created a search help exit for xblnr.
It finds my values perfectly and returns it on screen.
How do I make it return kunnr and bukrs values on the screen as well(they do appear on search help pop-up already).
I tried filling up the shlp_tab and shlp manually, but that didn't help.
right now, my search help exit is like that to delete duplicates.
I think I should add some code to the elseif callcontrol-step = 'RETURN', but all I've tried doesn't work.
Please note that I don't want to do it on my report program with at selection-screen on value-request for xblnr, I would like to solve this inside that userexit. Setting parameters doesn't help either as that requires the selection-screen to be refreshed.
if callcontrol-step = 'DISP'.
delete adjacent duplicates from record_tab comparing string.
elseif callcontrol-step = 'RETURN'.
exit.
else.
exit.
endif.
thank you all
2009 Apr 06 1:09 PM
solved it.
needed to give the parameters like
parameters: xblnr like ztable-xblnr,
kunnr like ztable-kunnr,
bukrs like ztable-bukrs.
then add the search help exit to the table properties for each parameter that i use in the report assigning the corresponding field and voila
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |