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 in module pool

Former Member
0 Likes
675

Hi ,

I am using <b>POV</b> to call search help on a field of screen.

i am using FM <b>'F4IF_INT_TABLE_VALUE_REQUEST'</b> to display the search help.

My requirment is that when the user clicks on search help that field & the next field on the screen should get populated.

i am able to assign data to the 2nd screen field but not able to display on the screen.

Is it possible to display the 2nd screen field data?

regards

Kapil

4 REPLIES 4
Read only

Former Member
0 Likes
596

You have to use the FM "dynp_vales_update" for this purpose.

Check out this link

<a href="http://www.geocities.com/victorav15/sapr3/examples/dynpval.txt">http://www.geocities.com/victorav15/sapr3/examples/dynpval.txt</a>

Read only

Former Member
0 Likes
596

Hi

For this you can use search helps instead of POV's. To serve your purpose you can use collective search help.

Regards

Haritha

Read only

anversha_s
Active Contributor
0 Likes
596

hi,

chk this.

FORM F_GET_details .

REFRESH INT_RET.

*--THIS WILL FETCH THE details

SELECT Bill plant price

FROM ztable_numplant

INTO TABLE int_table.

IF SY-SUBRC NE 0.

*--MESSAGE IS 'NO data found'

ELSE.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

RETFIELD = 'screen field'

VALUE_ORG = 'S'

TABLES

VALUE_TAB = INT_tab

RETURN_TAB = INT_RET

EXCEPTIONS

PARAMETER_ERROR = 1

NO_VALUES_FOUND = 2

OTHERS = 3.

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

READ TABLE INT_RET INDEX 1 INTO INT_RET.

screen_filed1 = INT_RET-FIELDVAL.

*second screen field obtained

<b>read table int_table with key Bill = screen_filed1.

screen_field2 = int_table-plant</b>

ENDIF.

ENDFORM.

rgds

anver

if hlped mark points

Message was edited by: Anversha s

Read only

Former Member
0 Likes
596

Hi Friends,

I am using module pool program.

'DYNP_VALUES_UPDATE' doesnt display the screen field.

it only displays when i use the enter button.

Is there any other method?

reagrds

kapil