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

set parameter

Former Member
0 Likes
669

i'm using alv_pop up help on my screen.but when i select an entry it do not comes to selection screen.

i have used set parameter but that not working too.

HERE IS PART OF MA CODE....

at selection-screen on value-request for S_EBELN-HIGH.

perform zf_alv_popup_srchlp.

READ TABLE IT_TAB INTO WA_TAB WITH KEY W_CHK1 = 'X'.

SET PARAMETER ID 'BES' FIELD WA_TAB-EBELN.

relevant help will b appreciated.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
646

Hi,

I assume u want to read data from ur pop-up values or f4 help. If so, try like this.

DATA : dyfields LIKE dynpread OCCURS 1 WITH HEADER LINE, dy_value TYPE dy_temp.

AT SELECTION-SCREEN ON <field-name>

CLEAR: dyfields[], dyfields.

dyfields-fieldname = 'filed-name'.

APPEND dyfields.

CALL FUNCTION 'DYNP_VALUES_READ'

EXPORTING

dyname = sy-cprog

dynumb = sy-dynnr

TABLES

dynpfields = dyfields.

REWARD POINTS IF HELPFUL

regards,

sethil.s

regards

5 REPLIES 5
Read only

FredericGirod
Active Contributor
0 Likes
646

are you sure there is a call parameter in the standard code ?

Read only

Former Member
0 Likes
646

Hi,

For that i/o field check if set and get parameters checkboxes are checked in screen painter layout(attributes double clicking on the field)..........

Cheers,

jose

Edited by: jose on Feb 7, 2008 11:36 AM

Read only

Former Member
0 Likes
647

Hi,

I assume u want to read data from ur pop-up values or f4 help. If so, try like this.

DATA : dyfields LIKE dynpread OCCURS 1 WITH HEADER LINE, dy_value TYPE dy_temp.

AT SELECTION-SCREEN ON <field-name>

CLEAR: dyfields[], dyfields.

dyfields-fieldname = 'filed-name'.

APPEND dyfields.

CALL FUNCTION 'DYNP_VALUES_READ'

EXPORTING

dyname = sy-cprog

dynumb = sy-dynnr

TABLES

dynpfields = dyfields.

REWARD POINTS IF HELPFUL

regards,

sethil.s

regards

Read only

Former Member
0 Likes
646

resolved

Read only

0 Likes
646

Hi,

check get parameter in standard code/

Reward if helpful,

Gaurav J.