DFF in search criteria
Hi All,
I have a DFF and i want that DFF to be a searcheble field in the search criteria of the advanced search in the standard OAF page Contracts of the Sales Contracts Workbench User Responsibility , could u please explian how can i add that
in the page ?
Thanks
kk
Hi
Its resolved now. We found that it was an issue with a non-numeric value populated in one of the user extensible lookup, where system was looking for a numeric value. It is resoved now.
Thanks
Similar Messages
-
Trying to Add a DFF Search criteria in Oracle Receivables (Customers HTML)
Hi Everyone,
I am trying to add a DFF search criteria within the Customer's HTML page. I was able to add the new message box, but am not sure how to tie the box to attribute 3 which is in the Receivables Party information Descriptive flex field. Oracle ebs r12.1.2 is the system.
Thanks for the help,
-MikeYes. It is possible through personalization.
1. Create a criteria row under Advance Search
2. Create a Result Item under advance table columns
3. Create a Query Criteria Map based on the criteria and result item above.
Please note the newly added criteria field should be in the Searchresults VO attributes list.
Otherwise you need to extend the VO as well.
Hope this helps.
Regards,
-Mukesh. -
How Add DFF filed in Search Criteria
HI All,
I want to add a DFF in the Search Criteria region of the Advanced Search in the standard Cotract page of Sales Contracts Workbench User Responsibility please let me know how to add and search the contarcts with the DFF basis as well
Thanks
KKWell - it's a report so there won't be a user exit. I think your options are what the others (and you) have suggested - change the standard program or make a copy.
There are different opinions on the forum about which to do.
Rob
PS - you're not bothering anyone. We like problems.
Message was edited by: Rob Burbank -
How to include a DFF in search
My requirement is,
I have a DFF. I want to make the DFF fields searchable in OA framework. How can i achieve it?. Please advice by steps. ThanksIn OA developer guide, for DFF they have mentioned as follows
+++
Descriptive Flexfield in a Search Region Currently if a Search region includes a descriptive flexfield that has a segment of type LOV, any search criteria that you specify in that flexfield LOV will be auto-validated. LOVs, however, should not be validated in a search criteria region. To turn validation off, use the following API in OADescriptiveFlexBean:
public void setUnvalidated(boolean unvalidated);
If the unvalidated value for this method is true, OA Framework will disable LOV validation and disable server-side validation for the descriptive flexfield. See Flexfield Validation for more details.
+++
Does it mean, DFF can be implemented in Search Region. If Yes, how?. Any idea.
Regards,
Soorya -
Need - Search page with LOV based flexfield item as search criteria
Our requirement is to make a flexfield item as search criteria.
Flexfield is having 2 segments Applicaiton and Responsibility, where 2nd segment *(Responsibility) is dependent on 1st (Application).*
Accordingly, an LOV must get displayed for each flex segment in the search panel.
We tried to create a page having this flex (DFF) item as a search criteria, but cannot proceed to get results in results region - we tried to use both properties in the query region - resultsbasedSearch and autocustomizationCriteria:
Any ideas how to make a search functionality having LOV based flexfield items in the search criteria?
Any other suggestions regarding the solution are welcome.
Thank you very much.
Regards,
May B.Hi,
try a SQL query that uses bind variables as follows
... where column1 like '%:col1param%' and '%:column2%' like :col2param
Then in the implementation (session facade) check for null values and add '%' in case a value is null.
The query in EJB is defined in the entity
Frank -
Error encountered when Adding an Item style Flex in Search criteria
Hi All,
I am trying to add an Item style Flex in the Searchable region(search criteria region) ,then I have encountered an error saying
Program error. Please inform your support representative that the descriptive flexfield in the application could not be found.
Thanks
AKCan I use the DFF which exists in different Responsibility,caz i am using the DFF which exists in Oreder Management and i am adding the DFF in Sales Contracts Workbench User Responsibility.
Thnaks
AK -
Enhance Search Criteria in bt111s_oppt
I need to enhance a search criteria as follows:
The opportunities in the result list have to be shown only in case the user searching for them is a Sales team member on the opportunity in the result list.
In case of BP search there is a nice class which can be used for the purpose of enhancing of the search criteria. How about opportunity. IS there a class or a BADI?Hi Max,
Just to add to what Ajay has said, Please try below code:
DATA: lr_query TYPE REF TO cl_crm_bol_dquery_service.
lr_query ?= me->typed_context->search->collection_wrapper->get_current( ).
lr_query->add_selection_param( EXPORTING iv_attr_name = 'SALES_TEAM_MEMBER '
iv_sign = 'I'
iv_option = 'EQ'
iv_low = sy-uname ).
Regards,
Bhushan -
search criteria is not working in Responsible Group field in sap crm could you please help me this how to achieve.I have writen code on EH_ONSEARCH .as per below...what changess i need to do..and through partner function and adding the selection params please send the sample .
code. partner funtction - ZRG DATA :
DATA : lv_partner_fct type .
types: begin of ty_resp,
partner type but000-partner,
name_last type but000-name_last,
name_first type but000-name_first,
mc_name1 type but000-mc_name1,
mc_name2 type but000-mc_name2,
end of ty_resp.
DATA: lv_resp_bp type STANDARD TABLE OF ty_resp INITIAL SIZE 0,
lw_resp_bp type ty_resp.
IF lv_attr_name = 'Rgroup'.
lr_entity->get_property_as_value( EXPORTING iv_attr_name = if_crm_srqm_uiu_const=>gc_attr_low
IMPORTING ev_result = lv_low ).
IF lv_low IS INITIAL.
SELECT partner
name_last
name_first
mc_name1
mc_name2
FROM but000 INTO table lv_resp_bp
WHERE mc_name2 = lv_low and bu_group = '0010'.
loop at lv_resp_bp into lw_resp_bp.
lv_low = lw_resp_bp-mc_name2.
lr_query_service2->add_selection_param( iv_attr_name = 'Rgroup'
iv_sign = lv_sign
iv_option = lv_option
iv_low = lv_low
iv_high = lv_high ).
ENDLOOP.
if lv_partner_fct = 'ZRG'.
lr_entity = lr_iterator->get_next( ).
CONTINUE.
ENDIF.
lv_attr_name = 'BU_PARTNER'.
ENDIF.<b>You can acheive this .... first by creating the search help exit ... by creating the maintaince view then using it in the Creation of the search help </b> ...
see the link for attaching the view to the serach help .
<a href="http://">http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_elementary.htm</a>
reward points if it is usefull...
Girish -
I have set up two users, one for myself and one for children. The computer automatically logs in for the children with no password required. When the children go to spotlight and type in a search criteria all of my files show and open up. How do I prevent this?
Log in to your account, and move all your files to your home folder. No other users should be able to access them there and they won't show up with a Spotlight search.
Make sure your kids' account(s) do not have admin privileges. -
How to add a new search criteria in Advance Search Page in OAF
HI,
In my application (R12) we can access customer related information from 2 places (2 different responsibilities as mentioned below), both are OAF pages.
1. AX receivables
2. Sales online
From both the responsibilities we can perform search for customer related information as well (Simple as well as Advance Search).
But Advance Search screen from 'Sales online' allows user to perform search, based on few additional fields as well such as 'Classification' (it's an lov based field).
Now, User is asking to add that field on search page of AX receivables as well.
So, how to add one more field (as search criteria), on an standard 'Customer' screen?
Additional Info :
1. LOV is based on HzPuiClassificationFilterVO
2. And this VO is available on both pages. (oracle.apps.ar.hz.components.search.server.HzPuiClassificationFilterVO)
So can we achieve this by Personalization only ? if yes plz share the steps as well.
Regards,
AdiYes. It is possible through personalization.
1. Create a criteria row under Advance Search
2. Create a Result Item under advance table columns
3. Create a Query Criteria Map based on the criteria and result item above.
Please note the newly added criteria field should be in the Searchresults VO attributes list.
Otherwise you need to extend the VO as well.
Hope this helps.
Regards,
-Mukesh. -
Adding a Field in search Criteria in Web UI
Hello All ,
I am working on SAP CRM 7.0 Webui Marketing module (Business Role : Marketingpro) . Here when I select the "Account&Product" Work Center and go to search Contact . Here we will move to the Search Contact View here we will get a list box where we can select any search criteria to search a Contanct . Here in this List box in need to add a new Field Called "Archiving Flag" . The component of the Search Contact is :: "BP_CONT_SEARCH" And the View is "BP_CONT_SEARCH/Search " Here in the View Structure Tab under Context->Context Node ->Search i just needd to a new Field called "Archiving Flag" in this context node "Search". Can any Tell me the procedure to add a field to the lsit box of Search Criteria.
Thanks in Advace
Regards,
Kiran Posanapalli.Hi Vinutha,
U can add fields in the search view using AET in one way.
The other way is identify the component for that search.Press F2 on the web ui screen of ur account search page and see the component name as well the view name for the search fields.
Go to that search view in the component identified.
In case of sales pro role, account search component is BP_CONT_SEARCH ,go to the view search and in that if we go to context node search an attribute named 'telephone' is present already.We can add that to visible fields in configuration tab.
If not found under that context node then right click on context node and create a context node.Before that go to genil_model_browser and observe the relation level in which the field(mobile number) we need to add is present and copy the dependent object name.
For example for phone number the dependent object is BuilAdressPhone. Now pass this value in create context node. Make the adjustments in configuration tab.
*Give points if found useful.
Regards
HCL SPARKS -
Error while trying to add a new field in search criteria by VO extension
Hi,
I am trying to add a new field by using the VO extension to a seeded OAF page used to search Repository contracts.
I get the following error on opening the page after I have compiled my code on server and bounced apache.
Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME =SSPN_AdvancedSearchAttributesPVO; APPLICATION_MODULE = oracle.apps.okc.repository.search.server.ContractsAdvSearchAM;
I extended the AM also after this to include the extended VO but still the error comes.
This page is a dynamic search page where the results change based on the different search criteria.
Cheers
SwatiHi,
I extended the AM also after this to include the extended VO but still the error comes.There is no need to extend the AM for extending a VO. Hopefully the VO which u extending already attached to the AM oracle.apps.okc.repository.search.server.ContractsAdvSearchAM.
Regards,
Gyan -
Unable to create Table Bean advanced search criteria
Hi,
I want to create new search criteria for advanced search region. The reason being new search criteria i tried to add by personalization it didnt worked may be guessing construction mode is autocustomization mode. Somewhere i have seen if resultsbased it will work. Can someone confirm on this??
I'm trying to create new bean for search criteria at the specified location under <oa:table akRegionCode="EAM_AD_ASSET_RESULTS_TABLE" but unable to do so:
Here is the part of the page
<?xml version = '1.0' encoding = 'UTF-8'?>
<!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile(120.15.12000000.2=120.18)(115.26=120.1):~PROD:~PATH:~FILE &fullpath_~PROD_~PATH_~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath_~PROD_mds_directory -->
<page xmlns="http://xmlns.oracle.com/jrad" xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:user="http://xmlns.oracle.com/jrad/user" file-version="$Header: EAM_AD_ADVSEARCH_PAGE.xml 120.18.12010000.3 2009/02/11 09:21:55 smrsharm ship $" version="10.1.3_1147" xml:lang="en-US" xmlns:jrad="http://xmlns.oracle.com/jrad">
<content>
<oa:pageLayout id="EAM_AD_ADVSEARCH_PAGE" akRegionCode="EAM_AD_ADVSEARCH_PAGE" regionName="Asset Search" amDefName="oracle.apps.eam.asset.server.AdvSearchAM" controllerClass="oracle.apps.eam.asset.webui.AdvSearchPageCO" appMenu="EAM_MAIN_SS" amStateRequired="false" helpTarget="EAM_AD_ADVSEARCH_PAGE">
<ui:corporateBranding>
<oa:image id="corporateBranding" source="/OA_MEDIA/FNDSSCORP.gif" shortDesc="Oracle"/>
</ui:corporateBranding>
<ui:productBranding>
<oa:image id="productBranding" source="/OA_MEDIA/EAMBRAND.gif" shortDesc="Asset Management"/>
</ui:productBranding>
<ui:contents>
<oa:query id="EamAssetQueryRegion" mode="autoCustomizationCriteria" dispSimple="true" dispCustomized="true" dispAdvanced="true" defaultPanel="customized" controllerClass="oracle.apps.eam.asset.webui.AdvSearchSearchCO" simpleSearchPanelButtonLabel="Simple Search" viewConfPanelButtonLabel="Views" advSearchPanelButtonLabel="Advanced Search" customizePanelTitle="Views" saveSearchButtonText="Save Search">
<oa:simpleSearchPanel>
<oa:defaultSingleColumn id="AssetSimpleSearchRegion" headerDisabled="false" text="Simple Search">
<ui:contents>
<oa:messageTextInput readOnly="false" columns="25" prompt="Asset Number" rows="1" secret="false" maximumLength="30" shortDesc="Asset Serial Number" id="EamAssetNumber" promptTranslationExpansion="100%" user:akAttributeCode="EAM_ASSET_NUMBER" user:akAttributeApplicationId="426" required="no" selectiveSearchCriteria="true"/>
<oa:messageLovInput externalListOfValues="/oracle/apps/eam/lov/webui/EAM_ASSET_CATEGORY_LOV" readOnly="false" columns="25" prompt="Category" rows="1" secret="false" id="EamAssetCategory" promptTranslationExpansion="100%" user:akAttributeCode="EAM_ASSET_CATEGORY" user:akAttributeApplicationId="426" selectiveSearchCriteria="true" shortDesc="Category">
<lovMappings>
<lovMap criteriaFrom="EamAssetCategory" lovItem="EamAssetCategory" id="lovMap1"/>
<lovMap resultTo="EamAssetCategory" lovItem="EamAssetCategory" id="lovMap2"/>
<lovMap id="lovMap39" lovItem="EamAssetCategoryId" resultTo="EamAssetCategoryId"/>
</lovMappings>
</oa:messageLovInput>
<oa:messageChoice readOnly="false" prompt="Asset Route" pickListViewDef="oracle.apps.eam.asset.server.PicklistYesNoVO" pickListDispAttr="Meaning" pickListValAttr="LookupCode" id="EamNetworkAsset" promptTranslationExpansion="100%" user:akAttributeCode="EAM_NETWORK_ASSET" user:akAttributeApplicationId="426" shortDesc="Asset Route" allowBlankValue="false" defaultValue="N"/>
<oa:formValue id="EamAssetCategoryId" dataType="NUMBER"/>
</ui:contents>
</oa:defaultSingleColumn>
</oa:simpleSearchPanel>
<oa:simpleSearchMappings>
<oa:queryCriteriaMap id="AssetNumberMapSS" criteriaItem="EamAssetNumber" resultsItem="AssetNumber1"/>
<oa:queryCriteriaMap id="AssetCategoryMapSS" criteriaItem="EamAssetCategory" resultsItem="AssetCategory1"/>
<oa:queryCriteriaMap id="AssetRouteMapSS" criteriaItem="EamNetworkAsset" resultsItem="AssetRoute"/>
<oa:queryCriteriaMap id="AssetCategoryIdMapSS" criteriaItem="EamAssetCategoryId" resultsItem="AssetCategoryId"/>
</oa:simpleSearchMappings>
<ui:contents>
<oa:tableLayout akRegionCode="EAM_AD_ADVSEARCH_RESULTS" regionName="Results" controllerClass="oracle.apps.eam.asset.webui.AssetResultsCO" addChildren="true" id="EamResultsNr" user:akAttributeCode="EAM_RESULTS_NR" user:akAttributeApplicationId="426">
<ui:contents>
<oa:tableLayout id="ResultsTableLayout2" width="100%" rendered="true">
<ui:contents>
<oa:rowLayout id="RowLayoutRegion2">
<ui:contents>
<oa:cellFormat id="CellFormatRegion2">
<ui:contents>
<oa:switcher id="MappedTableRegion">
<ui:case name="ShowTable" id="ShowTable">
<oa:table akRegionCode="EAM_AD_ASSET_RESULTS_TABLE" regionName="Asset Search" blockSize="25" standalone="true" height="1" id="MappedTable" user:akAttributeCode="EAM_RESULTS_NR" user:akAttributeApplicationId="426" width="100%" rendered="true" userCustomizable="true" shortDesc="Mapped Table">
<ui:contents>
<oa:messageStyledText id="AssetNumber1" viewName="AdvSearchVO" viewAttr="InstanceNumber" shortDesc="Serial Number" prompt="Asset Number"/>
<oa:messageStyledText id="AssetDescription1" viewName="AdvSearchVO" viewAttr="DescriptiveText" shortDesc="Asset Description" prompt="Asset Description"/>
<oa:messageStyledText id="AssetCategory1" viewName="AdvSearchVO" viewAttr="AssetCategory" shortDesc="Asset Category" prompt="Asset Category"/>
I tried several ways :
OAPageLayoutBean pageLayout = oapagecontext.getPageLayoutBean();
OAQueryBean query=(OAQueryBean)pageLayout.findChildRecursive("EamAssetQueryRegion");
OATableBean oawebbeantb = (OATableBean)query.findChildRecursive("EAM_AD_ASSET_RESULTS_TABLE");
OAMessageLovInputBean ccidbean = (OAMessageLovInputBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, OAWebBeanConstants.LOV_TEXT, null, "xxValidation");
if (oawebbeantb==null){
throw new OAException("Error this is a test!", OAException.ERROR);
oawebbeantb.addIndexedChild(ccidbean); --here it getting null
OR
OATableBean oawebbeantb = (OATableBean)oawebbean.findIndexedChildRecursive("EAM_AD_ASSET_RESULTS_TABLE");
OAMessageLovInputBean ccidbean = (OAMessageLovInputBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, OAWebBeanConstants.LOV_TEXT, null, "xxValidation");
oawebbeantb.addIndexedChild(ccidbean); --here it getting null
Please someone help me on this..
thanks,
mallik1) Search panel textinput item should be search allowed true and prompt is need. no other property need to set.
HERE YOU DONT WANT TO SET VIEW INSTANCE AND ATTRIBUTE SINCE WE ARE DOING FOR EXTENDED VO ITEM AS SEARCH ITEM.THAT'S OK. I TRIED WITH YOUR COMMENTS FOR TEXTINPUT ITEM TOO.
Comment--
textinput item created is a simple item without any VO instance , etc.
There is no question of extended VO item, its a simple textinput item.
value in this field is going to compare with the values in result table.
2) Search mapping, only search item id and result item id need to set.
I'M DOING HERE MAPPING FOR ABOVE SEARCH ITEM ID AND RESULT ITEM ID
Comment-- Perfect !!
3) Item created in table , after you extended Vo, view instance and attribute needs to set.
WHERE DO YOU WANT THIS TO BE SET?? CAN YOU ELABORATE THIS MORE PLEASE.MAY BE I'M MISSING HERE SOMETHING.
Comment-- you must have created message styled text item in adv table bean, assign VO instance and attribute to it, right?
4) One more thing Parag, do i need to include where clause for extended VO item in view object??
for ex:
where attribute(this is extended vo item)=:4
Comment-- No need. this will be handled by point#2 above, i.e. criteria and result items.
--Parag Narkhede -
Searching Criteria to find out the friends of friend
Senior DBA'S
i need to make database where i need to search the person from the current user. Current user can have many friends in his friend list but whom current user searching may be he is not a friend of current user and find out how current user known to that person. Like a friend's Chain.
Suppose that i m Aman finding out "San". my friends are Abhi, johan, satish etc,
further abhi's friend is "San" and
Satish is friend of Mohan, Mohan further friend of Sanju and Sanju will be friend of "San"
so "Aman" known to "San" by two ways one way by Abhi and 2nd way by Satish. Like link will be
Aman -> Abhi -> San
Aman -> Satish -> Mohan -> Sanju -> San
which way i am asking that is used by linkedin (www.linkedin.com)
So, Please tell me what best searching criteria will be used to achieve the target with performance because Records can be in billions.should be like that
create table PALS (
pal_id number primary key ,
Name varchar2(100));
drop table FRIENDS;
create table FRIENDS(
pal_id number ,
friend_id number ,
primary key(pal_id , friend_id),
foreign key (pal_id) references PALS(pal_id),
foreign key (friend_id) references PALS(pal_id)
insert into pals values (1,'A');
insert into pals values (2,'B');
insert into pals values (3,'C');
insert into pals values (4,'D');
insert into pals values (5,'E');
insert into pals values (6,'F');
insert into pals values (7,'G');
insert into friends values (1,2);
insert into friends values (1,3);
insert into friends values (2,5);
insert into friends values (5,7);
insert into friends values (3,4);
insert into friends values (4,6);
insert into friends values (6,7);
commit;
-- find leads to G
with PF as (
select p.pal_id, p.name, f.friend_id, pf.name friend
from pals p
join friends f on p.pal_id=f.pal_id
join pals pf on pf.pal_id=f.friend_id)
select level, pf.name, pf.friend
from PF
connect by prior pal_id = friend_id start with friend='G';
LEVEL NAME FRIEND
1 E G
2 B E
1 F G
2 D F
3 C D then you have to unwrap it in application.
May be it is possible in SQL also.
Edited by: Mark Malakanov (user11181920) on Jan 10, 2013 10:56 AM
I've found how to do it
with PF as (
select p.pal_id, p.name, f.friend_id, pf.name friend
from pals p
join friends f on p.pal_id=f.pal_id
join pals pf on pf.pal_id=f.friend_id),
W as (
select level, pf.name, pf.friend,
CONNECT_BY_ROOT name R,
SYS_CONNECT_BY_PATH(friend,' -> ') P,
CONNECT_BY_ISLEAF IsLeaf
from PF
connect by pal_id = prior friend_id start with name='A'
select R || P P from W where IsLeaf=1 and friend='G';
P
A -> B -> E -> G
A -> C -> D -> F -> G Edited by: Mark Malakanov (user11181920) on Jan 10, 2013 11:28 AM
Edited by: Mark Malakanov (user11181920) on Jan 10, 2013 11:33 AM
So, Please tell me what best searching criteria will be used to achieve the target with performance because Records can be in billions.create index PALS_NAME on PALS(NAME);
or use PAL_ID in
connect by pal_id = prior friend_id start with PAL_ID=1
Edited by: Mark Malakanov (user11181920) on Jan 10, 2013 11:42 AM
Edited by: Mark Malakanov (user11181920) on Jan 10, 2013 11:44 AM -
BAdi for Search Criteria in IC
Hi Experts,
I am working on the UI of the IC, i have to implement a BAdi for the search criteria in the Account Identification -> ERP Sales Document , I am trying this badi "CRM_BUPA_IL_SEARCH" but this is not getting triggered.
Can anyone suggest any name of the BAdi for the same ?
Thanks in advance,
regards,
sharad,Hi sharad,,
if you want to use your badi to search a object you have to use as a search bol object BuilHeaderSearchNew. If you are using BuilHeaderSearch(sap standard) it's not working.
You can define to use the BuilHeaderSearchNew in spro->CRM->INDUSTRY-SPECIFIC Solution->Utility Industries->Setting for User Interfaces->Identification->Define Identification Profiles. Choose your z-profile and in the row Search By BP select the value BuilHeaderSearch. Check if it saves your value, becouse we had a problem with this.
Or you can use table crmc_iu_md_prof to enter the value BuilHeaderSearchNew directly for your z-profile.
Maybe you are looking for
-
How to get started with airport in berlin
hi, after reading your posts its clear i am WAY out of my depth here. please suffer me kindly. my question is a simple one. i bought a macbook a few weeks ago and here i am in berlin for the next 6 months trying to go wireless and havent a clue what
-
Phases/operation in process order does not exist
phases/operation in process order does not exist this error coming when cor6n is using.why?
-
ios 4.3?
-
Tax code - % change in FTXP
Hi, Currently we are using tax code x1 for 10%output tax, suddenly on one day it was observed that tax code is changed to 0% output tax in FTXP. Is there a way to find changes done to particular tax code? Awaiting for your response.. Thanks in advanc
-
My IPhoto is no longer allowing me to pulbish photos to Facebook. When I select photos and Facebook, the "Publish" command is not active.