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

Search Help Exit

Former Member
0 Likes
392

Hi gurus,

I have this following code in my exit.

IF callcontrol-step = 'SELECT'.

callcontrol-step = 'DISP'.

SELECT kas_code FROM zsdt_multiplekas

INTO TABLE gt_kas.

endif.

IF callcontrol-step = 'DISP'.

  • PERFORM AUTHORITY_CHECK TABLES RECORD_TAB SHLP_TAB

  • CHANGING SHLP CALLCONTROL.

  • EXIT.

ENDIF.

CALL FUNCTION 'F4UT_PARAMETER_RESULTSx`_PUT'

EXPORTING

parameter = 'XREF1'

fieldname = 'KAS_CODE'

TABLES

shlp_tab = shlp_tab

record_tab = record_tab

source_tab = gt_kas

CHANGING

shlp = shlp

callcontrol = callcontrol.

endif.

I have this problem that when I test my search help although It says that the are 3 entries found, the values are not displayed.

What may be wrong...

Thanks

Andre

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
367

Hy Andre,

have a look to the function module F4IF_SHLP_EXIT_EXAMPLE

Perhaps the order of your calls are not right.

regards

Torsten

Hi gurus,

I have this following code in my exit.

IF callcontrol-step = 'SELECT'.

callcontrol-step = 'DISP'.

SELECT kas_code FROM zsdt_multiplekas

INTO TABLE gt_kas.

endif.

IF callcontrol-step = 'DISP'.

  • PERFORM AUTHORITY_CHECK TABLES RECORD_TAB SHLP_TAB

  • CHANGING SHLP CALLCONTROL.

  • EXIT.

ENDIF.

CALL FUNCTION 'F4UT_PARAMETER_RESULTSx`_PUT'

EXPORTING

parameter = 'XREF1'

fieldname = 'KAS_CODE'

TABLES

shlp_tab = shlp_tab

record_tab = record_tab

source_tab = gt_kas

CHANGING

shlp = shlp

callcontrol = callcontrol.

endif.

I have this problem that when I test my search help although It says that the are 3 entries found, the values are not displayed.

What may be wrong...

Thanks

Andre

1 REPLY 1
Read only

Former Member
0 Likes
368

Hy Andre,

have a look to the function module F4IF_SHLP_EXIT_EXAMPLE

Perhaps the order of your calls are not right.

regards

Torsten