Use of additional fields win IC Winclient BP Search
Hi
Im trying to use the HOUSE_NUM2 field in structure CCMSEARCH_STRUCT to search for a BP in the IC Win Client (CIC0) in CRM.
I can get the HTML page to pass the field back to CCMSEARCH_STRUCT, but after several dynamic function calls the program ends up calling FM BAPI_BUPA_SEARCH which does not have the field HOUSE_NUM2 as an input parameter.
Is it possible to configure the search to call an FM that uses that field as well? (without repairing the SAP code)
I have followed these steps:
1) Copied O_ISU_BPFINDER_BUTTON to ZO_ISU_BPFINDER_BUTTON, changed the HTML and re-imported it.
The changes were to remove some fields (ie IBASE components) and add the new input field HOUSE_NUM2.
Here is the relevant HTML tag:
<TR>
<TH align=left width=28%><!%%STREET_NO%></TH>
<TD width=72%><NOBR>
<INPUT name=HOUSE_NUM1 size=6 maxLength=10 type=TEXT/PLAIN>
<INPUT name=STREET size=25 maxLength=60 type=TEXT/PLAIN>
<INPUT name=HOUSE_NUM2 size=6 maxLength=10 type=TEXT/PLAIN>
</NOBR></TD></TR>
2) I have copied the entries for O_ISU_BPFINDER_BUTTON in transaction CRMC_CIC_SEARCH_CNTR and ensured that the followin entry is there:
ZO_ISU_BPFINDER_BUTTON CCMADDRESSFIELDS HOUSE_NUM2 X
3) I have created a new search profile in transaction CRMC_CIC_SEARCH_RULE with the following setttings:
HTML for BP Search = ZO_ISU_BPFINDER_BUTTON
Under priorities: CCMADDRESSFIELDS CCMCS_ADDR_SEARCH_CONTROL 1
(This is the only relevant entry from what I can tell in Debug mode)
Everything else works, and I can see the relevant data being passed to SAP, but by the time the actual search takes place in BAPI_BUPA_SEARCH HOUSE_NUM2 is not available as a search parameter.
I have searched these forums and come across a couple of threads that seems to imply that it should just work if I follow these steps, but I can only assume that I am using an incorrect search Function Module
Thanks for your help
Regards Esti
Hi Siva
What is the transaction to look at this query? I have not seen any evidence that the program accesses this query, but it is worth having a look I guess.
The sequence of Function calls are:
CCMCS_BP_SEARCH_RULES
CCMCS_BP_SEARCH_CONTROL
CCMCS_BP_ADDR_SEARCH2
CCMCS_BP_SEARCH2
(Up to this point it uses structure CCMADDRESSFIELDS, and has accesss to HOUSE_NUM2)
Then it calls BAPI_BUPA_MAIN
It might be that I will have to repair CCMCS_BP_SEARCH2 in the end, but I'd like to be sure that it is my only option, as I do not want to change SAP standard code unnecessarily.
Cheers
Esti
Similar Messages
-
How to display additional fields in the results a 'search user'?
This may be a newb question but how can I display additional user attributes in the results of a user search in the admin console?
i.e. more than just the standard fields of: User ID, First Name, Last Name, Status, Enable, Disable, Unlock and Delete.
I would like to include some UDFs that I have defined for the create user form e.g. personnel number.
Thanks,
BernieThats not gonna work for sure. Thats to include additional attributes in the search input parameters drop-down. There is another procedure to do that, but not very sure if it works or not because once I was decompiling the code and found that it doesn't have an implementation. You can anyway try it out, the worst would be that you would not be able to see the column headings, but try atleast:
And thats through the use of properties file. Open up ** and search for the following section-
*#global.request.users.selectedListDisplayFields=*
*#global.request.users.selectedListDisplayFields.lables=*
Remove the comments and update it to below-
global.request.users.selectedListDisplayFields=USR_UDF_EMPID
global.request.users.selectedListDisplayFields.lables=global.xmlmetadata.users.USR_UDF_EMPID
where USR_UDF_EMPID is the UDF and global.xmlmetadata.users.USR_UDF_EMPID is its associated translation.
Thanks
Sunny -
Additional field post code 2 in search in webui
Hi,
I am new to crm webui.I need to add the additional field post code to search this field is not available in the context node but is a standard feature.Please tell me step by step.
P.S points will be awarded.The good news is that the field is in the underlying search function module used by Business Partner Search.
All you need to do is the following:
Add the field
POST_CODE2 data element AD_PSTCD2 to the structure CRMST_HEADER_SEARCH_BUIL.
This should magically make the element available for search and you will only need to configure your screen to have the element bound beyond the context node config.
I believe this should work, based on looking at the code used for the BP search.
Good luck,
Stephen -
This problem is about sap query. I have created an additional field in an infoset. The initial header text of this additional field is english. Then I created a query which use the additional field as an output field. If I use this query in other language, however the additional field header remains english. How can I maintain addtional field header to support mutil-language?
Thanks in advance!
--Alex MiaoHi Alex
Please see if below example helps you to understand:
Supposing, we are displaying material description within our query.
1. So we define the join with MARA & MAKT while creating infoset in transaction SQ02.
2. We create feild groups to identify the fiels we use for selection and display.
3. Here after selecting language key from MAKT, by default this will take SY-LANGU always for the case.
4. To make it applicable for different languages we can code in INITIALIZATION Event.
5. To do so we can do it by two options: Use menupath: Goto->Code->Initialization
i) First option using variable: <b>MAKT-SPRAS = SY-LANGU.</b>.
ii) Second option using Parameter-Id: <b>SET PARAMETER ID 'SPR' FIELD SY-LANGU</b>.
6. Save & Generate.
Now when we execute the query, we are defaulting the language as System Language.
Hope the above info helps you for better understanding.
Kind Regards
Eswar -
Problem text additional fields Query ad-hoc
Dear All,
We created a query using an additional field in the structure created P0001_AF. The fact is that our field has an associated text, which indicates how the output of our query, but the text always appears empty.
The field has duly informed the function that is responsible for recovering the text and it works well.
Running the standard report is generated with the query (AQA0HCM ========= XXX ....) we realized that fields of the table P0001 read well , then read it the text associated with our field of P0001_AF, the problem is that after reading this right will find again our field Z in Table P0001, and as there is, delete the recovered value above.
This code is standard and can not be changed. We also found no customizing to generate the program otherwise.
Do you know any solution? Is it a standard problem?
Thanks & Regardshi ,
this field might not be running in std reports but you can do below
did you created a local field in sq02 , and add custom coding at that field according to correspondig field text. -
Additional field for Material Master of SRM
Hi,
We want to add 3 <b>additional fields to the product master table</b> of SRM. We do not want to use these additional fields on any documents (neither SC nor PO nor contracts etc). We do not want to display these additional fields on Enterprise Buyer screens.
What we want is, after adding these fields to the products table <b>we want to edit the values on COMMPR01</b>. Is it possible to see and edit these additional fields with txn COMMPR01? If not how can we edit these fields?
Thanks
PS: the fields that we want add are: <b>New category name</b> (other than the EBP category), <b>New material code</b> (other than the regular material number), <b>Country Name</b> (we have 2 backend systems, we want to keep the name of the country of the backend).Hi,
How can I do that?
I have 2 fields to reply to COMMPR01:
MARA-ZZCOD_CORP (Customer Field)
MARC-EKGRP
Any ideia to reply this with standard process?
Thanks,
Pedro -
Multiple Value in additional fields using SAP Query
HI All,
I have a question related additional field in SAP Query. I tried to create report about PR and PO using SAP Query. Since one PR can be converted to multiple PO, I decided to create additional field
po_1
to display the value of PO that related to the PR. But I meet problem when I want to show several PO number in additional field
po_1
, I couldn't look the way to solve this problem. Can anybody help me? Just for info, I assign value to additional field
po_1
in record processing part.
Thanks....HI,
IN SQ02, IF table is already in JOIN, just click on the PLUS sign to expand the strcture.
All the field showing Plus sign in the strcture are selected in your query and with MINUS sing are no selected.
So you have to just click on the MINUS sign for the field you want to use through table field.
Generate the query and execute thriugh SQ01.
If you want to add some other field which is not a part of JOIN,
then click on EXTRAS Button shown in the MENU option.
Click on Create button and system will ask abt the additional field.
Regds,
Anil -
CFolder : How to fetch the additional fields enhanced using XML ?
Hi Champions,
We have enhanced the cFolders document create screen with 2 additional fields. this we could achieve through adding new fields in the Generic object XML file. And placing the same in the Web Dav Folders.
Now we need to fetch the data which are getting updated for each document against this new field.
We are not able to trace in BSP page , whether this gets saved against any table , or structure or some other mechanism the data are fetched.
We need some pointers to fetch this data so that we can use it for upgating, classification data of DMS, and additional content to the notification sent via cFolders when the status is changed etc..
Thanks for your inputs in advance,,,
Best regards,
shashikumar bsHi all,
We have got the answer.
pl refer thesame question in SAP Solutions - cFolders segment for the answer.
best regards,
Shashi -
Sap Query Additional Fields using Abap Code
Hi Experts,
I am relatively new to the world of SAP query (Log Database PNPCE), I have written a number of additional fields to retrieve previous info-type data using the select statement E.G
prev_endda = p0008-begda - 1.
SELECT single bsgrd
INTO FTE1
FROM
pa0008
WHERE pernr EQ P0008-pernr
AND endda EQ prev_endda
Although I can retrieve the previous info-type data , I was wondering if there was a easy way where I could take this a step further and show the Previous , Previous record. I.E
Pernr FTE Current FTE1 FTE2
101 60% 30% 75%
I guess what I am asking is , is there a way to loop through the HR info-type records, does anybody know if there is a standard function or macro I can use to achieve this.
Your help is much appreciated.Hi ,
Thanks for our reply.
I have pasted some example code into my additional field which I have created in SAP Query But im not sure how the loop bit works and how I can populate the additional fields that I have created , could you please explain this
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = '000000019'
infty = '01'
BEGDA = '18000101'
ENDDA = '99991231'
tables
infty_tab = p0008
EXCEPTIONS
INFTY_NOT_FOUND = 1
OTHERS = 2
LOOP AT p0008.
NOT SURE WHAT TO PUT IN THIS SECTION *****
ENDLOOP.
I have created 3 additional Fields in the infoset Current FTE ,FTE1 FTE2 , and I want to loop through the records and populate the relevant Additional field with the employees FTE (I only want to populate where there is a change)
Sample Data
Begda Endda FTE Salary
1/1/2010 31/12/999 60% 19K (Current FTE)
01/08/2009 31/12/2009 100% 27k (FTE1)
01/07/2008 31/7/2009 50% 17K (FTE2)
Thanks in anticipation
DM -
Additional fields in infoset query can not be used as datasource fields
I create one infoset query with additional fields (using ABAP code) in R/3. When I create datasource RSO2 using this infoset query, system only show all fields without additional fields that I enhanced in infoset query. Does that mean we can not get additional fields information in generic datasource creation that we enhanced in infoset query?
dear Awa,
you are enhanced some fields in r/3.right that fields are shown in
rsa6 select your data source click on display your datasource then select
extract structure its shows how many fields are haveing particular
datasource .or otherwise goto rso2 select your data source display
double click on your extractstructure its show how many fields haveing
the particular datasource. check the Rsa6 what ever fields you newly added that field default hide mode
you remove the hide tickmark. -
Using RFFOCA_T for DME Canada - Get additional field in DME Generated file
Hello ,
Can anyone please let me know if there is a possibility of getting additional fields in the Dwnloaded DME file using RFFOCA_T for canada which inturn will be send to Bank .
Thanks,Hi
You need to create a new program (as copy of RFFOCA_T) or enhance it in order to manage the new fields for file
Max -
Can we add additional fields in work center creation using any user exit ?
Hi,
is there any user exit using which we can have some tab and fields such that we can add/ update the equipment to wotk center in CR01 ?
regards,
madhu kiranhi,
requirement is can i get the additional fields like equipment and asset in the work center creation ?
i would like to maintain these against a work center
and using any user exit can i add additional fields ?
regards,
madhu kiran -
I store drawings in I books for use in the field, which comes in very handy. Lately I haven't been able to download anymore drawings or PDF's to IBooks. Is there a storage limit?
I have done this on numerous occasions but I think that my Iphone has a defect. After many tries, reinstalls, deletion of content, changing content to be stored on external hard drive, deleting itunes and cleaning computer I managed to get all of the songs on and things seemed okay for a while.
The problem returned about a week ago after downloading a new album from Itunes. I now have 12.5k of songs leaving 10gb spare on Iphone which should be more than enough room to operate properly. Last night it seemed to be dowloading ok (after doing all of the above again for the umpteenth time) this morning it revealed that it had just synched 2.5k of songs and 18gb of "other" on the contents bar. it wont synch now as it says its over capacity. So the 18gb of "other" would probably be corrupted data that means it must corrupt each song as it tries to synch it.
The 2.5k of songs it did synch are working on the Iphone as is every song in the library on Itunes. I did completely delete the new album I bought and redownloaded it from the store then tried to synch just that album and it worked fine.
Just about time to dump apple I think! -
Additional field added in Infoset unable to use as a selectable field
I added 2 fields as additional fields to the Organizational Assignment infotype in a PNP Infoset that I created via SQ02. When I select the infoset to build a query via adhoc query the fields are listed in the Org Assignment infotype and available for output but are not available as a selection field. There is no check box under the Selection column, only a checkbox under the output column.
How do I make the added additional fields available as a section field as well as an output field.Solution: in ad hoc query select Extras > Switch off object selection
-
How to add additional fields to zreport which contains standard report code
Hi Experts,
In order to add additional fields to standard report i copied the code into zreport but i am unable to add additonal field into report because the code is looking so complex.
standard report:AQZZ/SAPQUERY/FKF1============
or
sapmenu->accounting->financial accounting->accounts payable->information system->reports for accounts payable accounting->master data->S_ALR_87012087-Addresslist.
Additional feilds to add is :Region,company code,country
Please let me know how toidentify ALV and guide me how to solve this.
Regards,
naresh.Hello Naresh,
First check whether these three fields are available in the text elements area.
Please write your code in the subroutine %comp_ldesc.
Repeat the code for your three new fields
perform ldesc(rsaqexce) using 'G00010000X010 00 A1'
%txt1 %txt2 %txt3 'LFA1-LIFNR' LFA1-LIFNR 'LFA1-LIFNR'.
read table %textpool_langu into %textpool_langu_line
with key ID = 'I' key = 'A01'.
if sy-subrc is initial. %txt1 = %textpool_langu_line-entry.
else. %txt1 = %txt_unknown.
endif.
So this subroutine will give you the basic list. Now Program is creating ALV with this basic list. So I think you don't need to worry about that. Please have a thorugh look at the code over this perform, and write accordingly.
I think this is enoogh.
Please update if you got the solution, which will be informative for others.
regards,
Antony Thomas
Edited by: Antony Thomas on Jul 27, 2010 7:57 AM
Maybe you are looking for
-
Kindly help reg - LSMW using BAPI
Hi All, I am using LSMW using BAPI method to upload data to create an Purchase order. I m getting this error. " Identification specifications missing for source structure 'PSOURCE_HEAD' ". Here are the steps I have followed. 1. Created an IDOC Inbo
-
Cannot open a JSf file in jdev with WYSWYG
HI, I startup Jdeveloper 11g studio edition version 11.1.2.3.0 with all features option selected. but I cannot open a *.Jspx file in jdev with WYSWYG showing. anyone can give help?
-
I would like to connect my iPad 4th generation to my tv via my sony home theatre system to stream netflix. What do I need cable wise to do so. What works best? I appreciate the help.
-
Acccount determination error while doing SES
Hi, I am getting a error while doing SES i.e. 147 Account determination for entry ICOA FR1 not possible. Can anybody please guide me how to resolve this. Thanks in advance. Regards, Ashish
-
Create web pages from xml files using Servets or JSP
I�m new in this tecnology and I have to create a web pages from information that I get from a XML files. I would like to know if there is a place where I can find examples of code or any book that could help me.