I have created an elementary search help that will display all sold-tos for entered ship-to(s). Everything works fine except that the sold-to that is selected from the hit list is not being entered into the customer field on the selection screen.
eg transaction VD03, F4 on Customer, enter import parameters VKORG VTWEG SPART and KUNN2, hit list is displayed correctly and one line selected. I expect that my export parameter KUNNR should now appear in the Customer field of VD03 but its not.
This is my elementary search help definition:
Elementary srch hlp ZDEBIC Active
Short description Customers for Ship-to
Selection method Z_DEBIC Dialog type
Text table Hot key 2
Search help exit Z_SHIP_TO_SEARCH_HELP_EXIT
Parameter IMP EXP LPos SPos Data Element Default Value
SORT1 1 AD_SORT1
SORT2 2 AD_SORT2
MCOD1 4 MCDD1
MCOD3 5 MCDD3
PSTLZ 6 PSTLZ
KTOKD 7 KTOKD
VKORG x x 8 1 VKORG VKO
VTWEG x x 9 2 VTWEG VTW
SPART x x 10 3 SPART SPA
KUNN2 x 11 4 KUNN2 KUN
KUNNR x 3 KUNNR
I suspect the problem may be with default value KUN against KUNN2, but if I put it against KUNNR, I get a message "No values for this selection" instead of my hit list.
Can anybody give me a clue as to the problem?
Thanks,
Brigitte