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

Selection-Screen validation .( search Help)

Former Member
0 Likes
562

Hi All ,

i have three parameters

PARAMETER :p_plnbook LIKE /sapapo/pbdvw-mview DEFAULT 'ZDP_PBOOK'

PARAMETER p_datavw LIKE /sapapo/pbdvw-dview OBLIGATORY . "

PARAMETER :p_keyfig TYPE /sapapo/iobjnm OBLIGATORY .

p_plnbook is having the search help at field level .

What i want is Based on the p_plnbook value i have to display the search help for p_datavw . and based on the p_plnbook , p_datavw values i have to display the search help for p_keyfig .

I have the logic for this . But thing is modifyed value in parameter p_plnbook is not getting changed (still it is 'ZDP_PBOOK' ).

Can any body help me on this please .

4 REPLIES 4
Read only

Former Member
0 Likes
492

Are you exporting a value back from your Search Help. Is it of correct type.

Read only

Former Member
0 Likes
492

Hi Vijay,

I don't really know those table. But, What you can do is to add the "Memory id"

You find it by going to the data-element.

eg :

parameter : p_matnr like mara-matnr memory id mtn.

Hope this helps,

erwan

Read only

0 Likes
492

Hi Vijay,

Try something like this when you got the Memory Id code :


AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_keyfig.

  SET PARAMETER ID 'DATAW' FIELD p_datavw.

Erwan

Read only

Former Member
0 Likes
492

Hi Vijay ,

I am not aware of the tables or the data elements you have mentioned. I feel they are from APO .

Any way what i would suggest is that if you data elements /sapapo/pbdvw-dview and /sapapo/iobjnm , have a search help , you can try using a search help exit to attain your desired result.

please check the link for more information on search help exits.

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm">Search Help Exit</a>

Regards

Arun