Application Development 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: 

search help exit

Former Member
0 Kudos

Hi,

when I select a value in the below f4-Help the selected value doesn't appear.

Instead of another value , do have have an idea why.

It drives me almost mad. Pls help.

Regards

sas

FUNCTION z_f4_size_dim.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*"  TABLES
*"      SHLP_TAB TYPE  SHLP_DESCR_TAB_T
*"      RECORD_TAB STRUCTURE  SEAHLPRES
*"  CHANGING
*"     VALUE(SHLP) TYPE  SHLP_DESCR_T
*"     VALUE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL
*"----------------------------------------------------------------------

  DATA: lt_m_merkb TYPE TABLE OF m_merkb,
        ls_m_merkb TYPE          m_merkb,
        ls_recordtab    TYPE seahlpres,
        ls_shlp        TYPE shlp_descr,
        ls_sel_opt     TYPE ddshselopt.



  SELECT * FROM m_merkb INTO TABLE lt_m_merkb
                        WHERE atkla = '/ZUT/SAP-D'
                        AND   spras = 'D'.



  LOOP AT lt_m_merkb   INTO  ls_m_merkb.
    ls_recordtab-string       = ls_m_merkb-atnam.
    APPEND ls_recordtab TO record_tab.
  ENDLOOP.


ENDFUNCTION.

1 ACCEPTED SOLUTION

former_member156446
Active Contributor
0 Kudos

hi check the code of search help exit in [my wiki|https://wiki.sdn.sap.com/wiki/x/du0]

10 REPLIES 10

former_member156446
Active Contributor
0 Kudos

hi check the code of search help exit in [my wiki|https://wiki.sdn.sap.com/wiki/x/du0]

0 Kudos

J@Y

excuse me but

I didn't ask for your wiki code.

This is not what I have expected

0 Kudos

in my wiki code there is a place which uses the code below:

\* Prepare for output
CALL FUNCTION 'F4UT_RESULTS_MAP'
TABLES
shlp_tab = shlp_tab
record_tab = record_tab
source_tab = lt_result
CHANGING
shlp = shlp
callcontrol = callcontrol
EXCEPTIONS
illegal_structure = 1
OTHERS = 2.

which would have helped you... to show data in the popup screen.

0 Kudos

J@Y

I thank you for your help.

You are selecting a value if the search help pops up.

Exactly this value what I select will not be passed to input field.

This is my main problem. When I pick a value it will be not taken.

It is not appearing as value.

Regards

sas

0 Kudos

did you check the imp and exp check boxes in the search help in SE11.

0 Kudos

yes, both are set.

0 Kudos

>

> J@Y

> excuse me but

> I didn't ask for your wiki code.

>

>

> This is not what I have expected

Well, what exactly do you expect?

The forum exist for the exchange of ideas. In your case it does seem to be a one way street. If you want to improve yourself, you will have to put in some work yourself.

Rob

0 Kudos

Being in this community for long enough, people turn kind soon.... looks like erdem is in urgency to complete the task...or working late hours.

0 Kudos

selected data is not displayed.

Instead of it takes always the very last data

0 Kudos

>

> Instead of it takes always the very last data

looks like you are passing the header line or work area...make sure you are passing the correct table name