Assign Search help dynamically
Hi,
I have two fields(issue_status and remarks)in a table control. I want to assign a search help to the 'REMARKS' field of the table control only when the user selects the value 'REJECTED' in the 'issue_status' field of the table control.
could some one please help me in solving this problem.
Regards,
Makam
If you are building a ABAP application you should post this in the ABAP Forum and if it's a BSP application you should post it in the BSP Forum.
Similar Messages
-
How to assign search help using ovs for select options for ALV in web dynpr
how to assign search help using ovs for select options for ALV in web dynpro
Hi,
refer http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP
http://www.****************/Tutorials/WebDynproABAP/OVS/page1.htm
and http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproAbap-OVSsearch+help
Thanks,
Chandra -
Assign search help for a screen field in standard program?
Hi All,
Is there any other way to assign search help to a standard SAP screen field? (to be precise i want to assign search help to Recipient field in table control of components tab in transaction IW32/IW31)
I know we can do this by assigning search help through screen painter (by changing standard program, which is my last option).
Any advice/help will be greatly appreciated.Hi,
I think you will find solution in below <b>threads</b>:
Re: Search Help for standard field
How to assign a search help
Search help for Standard SAP field
<b>Reward if helpful</b>
Rgds, -
How to assign search help for an input field by fetchign values from an int
i have an input field ,
i want to assign search help for the same by fetching values from a table.
how to achieve this ?Using the below ways you can assign search help to a field.
1) [OVS Search Help|http://wiki.sdn.sap.com/wiki/display/Snippets/OVSsearchhelp]
2) [Freely Programmed Search Help|http://wiki.sdn.sap.com/wiki/display/WDABAP/Freelyprogrammedinput+help]
3) Dictonary Help - Use the Data element for that purpose. -
Assigning search help (F4 functionality ) for recipient field in IW32
Hi,
my requirement is to assign search help (F4 functionality) for recipient field in components tab of IW32. anybody help me to assign search help for it. same way i need to assign that in MIGO, MB21, MB1A goods recipient field.hi,
refer to the following link:
http://www.saptechies.com/how-to-add-f4-help-to-a-field-on-screen-module-pool/
i hope it helps
regards -
Assign Search help in report program
Dear All,
I facing problem to assign search help in report program.
I crated one elementary search help in which three fields i include
-carrid
-carrier name
-booking
all three fields having import and export parameter in search help.
while executing this search help in se11 it gives proper output.
but while assigning this search help in report program it only fetch one carried.
my report is also having three parameter
-carrid
-carrier name
-booking
i assign search help like
PARAMETER : p_carrid TYPE scarr-carrid
MATCHCODE OBJECT z01_carrid,
with all three field but it fetch only carrid ...Hi Chintan,
For such types of requirements you can use this Function Module:
F4IF_INT_TABLE_VALUE_REQUEST.
Use this functiom modue under AT SELECTION-SCREEN ON HELP-REQUEST FOR P_CARRID.
With this function module, you can fill your remainng parameters : P_carriername and booking also.
Sample Code:
DATA : TMP_RETURN_TAB LIKE TABLE OF DDSHRETVAL, TMP_RETURN LIKE DDSHRETVAL,
TMP_FIELD TYPE DFIES-FIELDNAME.
CASE AKIND.
WHEN '1'.
TMP_FIELD = 'AENNR'.
WHEN '2'.
TMP_FIELD = 'VBELN'.
WHEN '3'.
TMP_FIELD = 'ZZTEHAI'.
ENDCASE.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = TMP_FIELD
WINDOW_TITLE = ATITEL
VALUE_ORG = 'S'
TABLES
VALUE_TAB = ATABLES
RETURN_TAB = TMP_RETURN_TAB
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
IF SY-SUBRC = 0.
READ TABLE TMP_RETURN_TAB INDEX 1 INTO TMP_RETUN.
AVALUE = TMP_RETURN-FIELDVAL.
ENDIF.
Jus analyze this code, you can get ur requirement done.
Regards
Sandeep Reddy -
Dynamically assign Search Help to the field
Hi All,
I have creates one search help from se11 like zshlp. i m not assign this search help to the database field. bocz i used this search help at runtime. so how can i assign this search help during execution time of my program.
Reward for helpful answer.
THANKS & REGARDS,
SAHIRHi Sahir,
Creating dynamic search help means the f4 help will come on the context bases.
that will achieved with function module
1. F4IF_INT_TABLE_VALUE_REQUEST : Display internal table as search help (documented in SAP)
*---Report with selection screen and to display the list of
possible entries for field 'B' as per the value in field 'A'.
REPORT ZTEST_F4HELP .
parameters: p_vbeln type vbak-vbeln,
p_posnr type vbap-posnr.
at selection-screen on value-request for p_posnr.
data: begin of help_item occurs 0,
posnr type vbap-posnr,
matnr type vbap-matnr,
arktx type vbap-arktx,
end of help_item.
data: dynfields type table of dynpread with header line.
dynfields-fieldname = 'P_VBELN'.
append dynfields.
call function 'DYNP_VALUES_READ'
exporting
dyname = sy-cprog
dynumb = sy-dynnr
translate_to_upper = 'X'
tables
dynpfields = dynfields
exceptions
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
others = 11.
read table dynfields with key fieldname = 'P_VBELN'.
p_vbeln = dynfields-fieldvalue.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = p_vbeln
importing
output = p_vbeln.
select posnr matnr arktx into table help_item
from vbap
where vbeln = p_vbeln.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'POSNR'
dynprofield = 'P_POSNR'
dynpprog = sy-cprog
dynpnr = sy-dynnr
value_org = 'S'
tables
value_tab = help_item.
Hope this is helpful to you. If you need further information, revert back.
Reward all the helpful answers.
Regards
Nagaraj T -
Calling search helps dynamically in module pool program
Hi Experts,
I have created two search helps. I need to call these search helps in my module pool program dynamically for a single field (i.e ZMATNR).
you might be known... if it is a single search help, we can assign that in field attributes.
But here... I need to call different search helps for a single field based on the condition.
Pls help me.
Thanks
RaghuHi,
Use the below function module and pass the search help created in search help field according to the condition.
Process on Value-request.
if condition = A.
call function " F4IF_FIELD_VALUE_REQUEST"
TABNAME =
FIELDNAME =
SEARCHHELP = "Mention search help created
Elseif Conditon =B.
call function " F4IF_FIELD_VALUE_REQUEST"
TABNAME =
FIELDNAME =
SEARCHHELP = "Mention search help created
Endif.
Regards,
Prabhudas -
Calling search helps dynamically
Hi all,
I have two search helps. I need to call these search helps in my Application dynamically for a single field (PARNR) based on PARVW.
If it is a single search help, we can assign that in field attributes.
But here... I need to call different search helps for a single field based on the condition.
Pls help me.
Thanks
KiranHi Kiran,
I Think by using OVS help u can acieve this, using WDR_OVS as used component.
here examples... check
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/70cee684-ccbb-2c10-3c94-91e806e5f7ac
/people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap
http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP
Cheers,
Kris.
Edited by: kissnas on Mar 26, 2011 5:17 AM -
How to assign search help for custom cost centre field in SRM 7.0
Hi Experts!!
We are currently working in SRM 7.0.As per our business requirement, in account assignment tab we need to use a custom
cost centre field (ZCOST_CENTRE) instead of standard cost centre field.It is observed that for standard cost centre field there is a standard web-dynpro search-help assigned where it will return the F4 search help values from backend.
Can any one of you please help me how can I assign the search-help for the custom cost centre field. Is there any FM to call the backend cost centre search help for custom field or any other way how can I achieve this?
Thanks in advance.
Regards,
Kalyanikalyani,
i can see your requirement in below way..
as it just reads: you need to assign the standard cost center help to a z cost center field in component /SAPSRM/WDC_UI_DO_ACC.. which actually is fetched though the component /SAPSRM/WDC_UI_BACKEND_SH
so, if you see the component controller of SAPSRM/WDC_UI_DO_ACC you will see the component
USAGE_SH_F4 /SAPSRM/WDC_UI_BACKEND_SH
USAGE_SH_F4 /SAPSRM/WDC_UI_BACKEND_SH INTERFACECONTROLLER
so you can replicate the same functionality for your z field.
but can you clarify one thing.. why are you going for this z field in place of standard field ? -
Assign search help to a field in PCUI
Hi Friends,
Here is my requirement. I have designed a PCUI application which searches the address based on the post code entered. Now the standard method to assign this application as search help is to specify the name of the application in the "input help" property of a field in the field group.
I have implemented the same for the field POST_CODE1 of the field group ADR_DETAIL_POSTAL which is a part of service order application in PCUI. Now when i try to use the same thing in street field, it does not work. the F4 help just does not come. It works fine for STR_SUPPL2 field, House_num1 field and all other fields in the field group except for the Street field. ANd the client wants in only on the street field.
I am not able to understand that what might be the possible mistake. Any help in this matter will be highly appreciated.
Thanks in advance,
KaranCheck the FM: HELP_VALUES_GET_WITH_TABLE_EXT
Check the documentation for example code.
regards,
Ravi -
Attaching Search helps dynamically to an attribute
Hi ,
I have a requirement where I would like to attach search help to an attribute dynamically in WD ABAP .
Is it possible to attach a search help with respect to some condition dynamically at runtime .
Best Regards
SidHi Thomas,
My scenario is as follows:
I have a table control with around 5 columns. The first column has a F4, based on the value selected there the F4 attached to the second column needs to change dynamically. Eg: Initially the F4 attached initially is /kyk/h_ctr and then it should get changed to /kyk/h_order.
These columns are mapped to Component Controller attributes.
Based on your reply yesterday I implemented the same in one of my view methods. The value does get changed but it doesn't reflect in the front-end, it still shows the initially attached F4 instead of the new one. What else do I need to do? -
Account assignment search help in SC.
We currently implement stand-alone scenario and looking for solution how to maintain account assignment data in EBP. As far as I know account assignment data managed in back-end system and not replicated into EBP.
We would like to manage account assignment data in EBP in Z-table. This table required to have F4-search for WBS-elements in SC transaction.
So the question is how to create F4-search based on Z-table. Can BADI BBP_F4_READ_ON_ENTRY help me to resolve this issue? It seems like this BADI does not work in SC transaction.
Is it possible to show WBS-element description on account assignment overview screen?
Thanks,
AlexanderHi
Which R/3 back-end are you using ?
Are you not replicating the same A/c Assignment caetgories from R/3 into SRM
system ?
Do let me know.
<b>Meanwhile, Please go through the following SAP OSS Notes below -></b>
Note 945158 - F4-Help Validation in local Scenario
Note 815849 - FAQ: Account assignment system response
Note 791465 - PPOMA_BBP:Incorrect search help in back-end for WBS elements
Note 725247 - Search help and BAdI BBP_F4_READ_ON_ENTRY in accnt assgn scr
<u>The 2 Related Notes for Note 725247</u>
1) Note 925890 - Cost centre drop down not working
2) Note 839534 - Problems with dropdown list in Acc. ***. overview
Note 856914 - Cost Assignment search returns incorrect description
Note 712701 - Backend search help for WBS elemnt (Work breakdwn structure)
Note 693795 - Search help for activities for the network
Hope this will help.
Regards
- Atul -
Hi All,
I have created a custom check table which also has a text tables assigned to it. I have created a Elementary Search help for the check table and the selection method for the search help is the check table itself.
The issue is when I goto the check table using SE11, I click on Extras --> Search Help for Table, it does not display the search help that I had created however the search help is displayed for a similar customizing table created by SAP, TVK8.
I think I need to assign the search help to the custom table that I have created. I would greatly appreciate if anyone can tell me as to how I can assign the search help to the check table.
Thanks,
Vamseedhar KCheck this link..Attaching to Check Tables
http://help.sap.com/saphelp_nw04s/helpdata/en/63/1b70bfc32111d1950600a0c929b3c3/frameset.htm
Also check this link.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70260b78-ff89-2a10-5eb0-d2f51467560b
Also check the steps to create search help.
This is how u can create "Search Help" for the fields of the ztables that u have created.
SE11- Create Search Help for 1 field, "Selection Method" box put the Table name to which the field belongs to. "Dialog Type" box write: "Display Value Immediately".
Search Help Parameter is the Field name for which u want the Help. Tick Imp & Exp options and assign LPOS = 1 and Enter. , save and Activate.
SE11- Go to the table , Click on the Field that needs to be assigned a search Help....Click at the left side of the Field so that all the corresponding data Elements, Key field etc also gets selected.
Click on the "Search Help tab" just above the "Data Type " column.
Put the "Search Help" name that u just created. Mention the Field and Enter. it takes up the required values. Now Copy.
U can repeat the process for whatever fields u want to assign a Search Help.
se51- Go to Screen Painter, Select Fields from Dictionary table to which u want search help to be assigned.
Double click on the Text box of the corresponding field,......> Screen Painter Attributes.......> Search help Text box.........> Enter the name of the Search help that u created for a field.
Ok....>Save.........> Activate
Now u should be able to get the Search help for the fields that u wanted to. -
Set search help dynamically to SAP Standard Screen
Hi,
I have one issue where I have to Create f4 help For a field present on SAP standard screen.
Please advice how to do that.
Can i dynamically set Search help in any screen-exit of the standard screen?
Please help.
Screen No is 130
and Program is SAPLQM03.
Here I want to attach a Zsearch help to a standard FIELD RQM01-LS_KDPOS.
Thanks,
IshaniHi Ishani,
The field that you mentioned here in structure RQM01 is having a check table VBUP. So if some values are there in that table, then that will appear as F4 help to you. Consult with your functional and check how values are coming to this table VBUP. Othertahn this, I am afraid you will not be able attach any help.
Regards,
Abijith
Maybe you are looking for
-
I have just downloaded AE CC trioal on to my new iMac. on boot up it is chronically slow, but eventually it loads and shows a warning of no quicktime loaded...... looked at a discussion here saying to remove file to trash , but this file doesn't exi
-
Follow-up question on BOM production and consumption of same item
Awhile back, I asked the question about whether it made sense to have a BOM structured to simultaneously produce and consume an item. BOM that needs to produce and consume same component Thanks for the help and it does what I thought it should. We
-
Is there any API tracing available?
We are using Netscape LDAP JDK to write app programs which interact with Directory Server (All vendors). Is there any standard way of turning JDK tracing ON? Any examples will be great. Chet
-
Webi Report Output using dynamic Filter
Suppose my report output contains doc. number & document date which shows data of one year which filter is applied on global level means at query filters level. Now I want to show output of only last 3 months from current date(report run date) on the
-
Steps in BI Content Objects Install & Activation
Hi We are planning to activate new Business Content Objects (Info objects, Cubes, DSO, Datasources...etc) in our BI 7.0 System Our BI System already got objects that are customized and in use. What are the pre activation steps I need to perform to se