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..problem!!

0 Likes
771

Hi all,

I have a screen with 2 fields.

I would like to use the search help of 1st field and populate 2nd field as well.

Can this be done with "on value request" of 1st field, without PBO/PAI cycle to fill the 2nd field?

Thankss,

Neeth

6 REPLIES 6
Read only

Former Member
0 Likes
618

Hi,

See this link

http://www.sapdevelopment.co.uk/dictionary/shelp/shelphome.htm

Thanks & Regards,

Judith.

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
618

Hi,

Check this link for sample code.

http://www.sapgenie.com/abap/code/abap48.htm

Read only

Former Member
0 Likes
618

Hi,

This thread will give u some tips:

Regards,

Anjali.

Read only

srinivas_anchuri
Product and Topic Expert
Product and Topic Expert
0 Likes
618

Hi Nameeth,

You could use FM DYNP_VALUES_UPDATE from the POV of 1st field to fill the second field as well.

~Srinivas.

Read only

0 Likes
618

Hi..!

You can do this creating a f4if_shlp_exit. There are so many examples at R/3. This can be done by reading from the dynpro the value that has been taken from the screen (using the FUNCTION 'DYNP_VALUES_READ') Hope this helps...

Maria

Read only

0 Likes
618

Hi,

in standard cases all the suggestions seem to be complicated to me. Everything can be done declaratively without programming one line of code.

Define a search help in se11 which has the suitable export parameters (and import parameters if you want to use content of other screen fields).

If you have defined a DDIC structure for your screen fields. Then attach the search help to the screen field you want to have the F4 help at. Thereby you are asked to define a mapping from the import/export-parameters of your search help onto the fields of the structure. (Most times the system already gives a sensible proposal).

If this mapping is defined properly everything should work fine.

However, you have to make sure that there is no definition of value help for this field in your screen definition (this would override the definition from the ddic). Thus, no Process-ON-VALUE-REQUEST must be defined for this field, and no search help must be assigned to the screen field (in screen-painter).

(For details you may have a look at http://help.sap.com/saphelp_47x200/helpdata/en/63/1b70bfc32111d1950600a0c929b3c3/content.htm)