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 - Get value from a table control

marcela_martinez
Participant
0 Kudos
270

Hi friends,

I'm coding a search help exit for a field on a table control and I need to get access to the value of another field that's on the same line where the user hit's the search help. My problem is "knowing" in which line the user hit's the search help. Do you know if it is possible and how can I do it?

I'm adding a Z search help to MCH1 standard one.

Thanks in advance & kind regards,

Marcela.

1 ACCEPTED SOLUTION

Sandra_Rossi
Active Contributor
0 Kudos
66

search DYNP_VALUES_READ function module, in the forum or in the sap library

7 REPLIES 7

Sandra_Rossi
Active Contributor
0 Kudos
67

search DYNP_VALUES_READ function module, in the forum or in the sap library

0 Kudos
66

Thanks Sandra for ypun answer.

I know which FM I have to use. The problem is that I need to know how to get the number of the row where the user hits the serach help so I can read the correct information of thw correct delivery position.

Regards,

Marcela.

0 Kudos
66

Sorry Marcela, I've read really too fast!

Call DYNP_GET_STEPL function module which gives the line number.

0 Kudos
66

Thanks Sandra por your help!

With the FM you suggest me I can get the values I need.

Kind regards!

Marcela.

marcela_martinez
Participant
0 Kudos
66

Sorry friends, I need to get LIKP-VBELN value prom resume screen at VL02N t-code. I used FMlike this:

CALL FUNCTION 'GET_DYNP_VALUE'

EXPORTING

i_field = 'LIKP-VBELN'

i_repid = 'SAPMV50A'

i_dynnr = '1000'

CHANGING

o_value = lv_vbeln.

But I didn't get the value. Can you help me please?

Thanks & regards,

Marcela.

marcela_martinez
Participant
0 Kudos
66

Replace GET_DYN_VALUES for DYNP_VALUES_READ and read subscreen values.

0 Kudos
66

Hi Marce MP,

I have used the above mentioned FM DYNP_VALUES_READ and DYNP_GET_STEPL

but still, i am unable to get the values in POVSTEPL returned parameter to the count of line items.

Request, your quick response in this regard.

Thanks & Regards,

Karthik