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
1,199

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
Read only

former_member156446
Active Contributor
0 Likes
1,161

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

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

10 REPLIES 10
Read only

former_member156446
Active Contributor
0 Likes
1,162

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

Read only

0 Likes
1,161

J@Y

excuse me but

I didn't ask for your wiki code.

This is not what I have expected

Read only

0 Likes
1,161

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.

Read only

0 Likes
1,161

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

Read only

0 Likes
1,161

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

Read only

0 Likes
1,161

yes, both are set.

Read only

0 Likes
1,161

>

> 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

Read only

0 Likes
1,161

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.

Read only

0 Likes
1,161

selected data is not displayed.

Instead of it takes always the very last data

Read only

0 Likes
1,161

>

> 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