How to add a new field to an existing Generic Search result list?
Good day,
I'm new to the concepts of the Generic Search Framework. I'm attempting to add a new field to an existing result list, and have that new field restricted to a value of "C". This new field will not be displayed, it is only used to ensure that Invoice Documents with a DocStatus of "C" are returned to the B2B Application.
From the *modification\generic-searchbackend-config.xml file, the existing
<h4><property-group name="billing_resultlist_B2B_R3">
<property name="BILLINGDOC" columnTitle="sbt.sbs.genericsearch.billing.invoice.title" parameterType="rowkey" hyperlink="b2b/documentstatusdetailprepare.do" linkParamClass="com.sap.isa.ui.uiclass.genericsearch.GenericSearchUIDynamicContent" linkParamMethod="buildAttributesForBillingDocumentDetails" linkTargetFrameName="form_input" />
<property name="BILL_DATE" type="date" columnTitle="status.sales.date" writeUnderProperty="BILLINGDOC" defaultSortSequence="DESCENDING" />
<property name="NET_VALUE" type="number" columnTitle="status.billing.detail.netvalue" fieldOutputHandlerClass="com.sap.isa.ui.uiclass.genericsearch.GenericSearchUIDynamicContent" fieldOutputHandlerMethod="buildBillingNetValue" cssClassName="amount" />
<property name="CURRENCY" type="hidden" />
<property name="PAYER" columnTitle="gs.hd.gl.partner" linkParamClass="com.sap.isa.ui.uiclass.genericsearch.GenericSearchUIDynamicContent" linkParamMethod="buildShowPartnerLinkSales" />
<property name="PAYERS_GUID" type="hidden" />
<property name="SD_DOC_CAT" type="hidden" />
<property name="OBJECTS_ORIGIN" type="hidden" />
</property-group>
</h4>
I'm trying to better understand how the R/3 tables and columns are specified in the Generic Search Framework. I know that the R/3 table and field is: VBRK.RFBSK, but in the configuration XML files, I never see this exact information specified. How it is specified to be a part of the result set?
After reading the section in the Development and Extension Guide, I also learned about the "allowedValue" definition, and I believe that I will use that to specify the "C" value for the Invoice Document Status field.
I would greatly appreciate any help.
Thanks,
_kevin
Hi Kevin,
this means you are working in this section of the generic-searchbackend-config.xml
<property-group name="SearchCriteria_B2B_Billing"
useSearchRequestMemory="true">
Below this property
<property name="IRT_BDH_BILL_TYPE"
type="box"
entityType="BEART_BILL_TYPE"
tokenType="EXP"
requestParameterName="rc_documenttypes"
label="gs.att.lbl.doc.type"
UIJScriptOnChange="GSloadNewPageR3(this);">
<allowedValue value="ORDER" description="b2b.status.shuffler.key1val2"/>
<allowedValue value="QUOTATION" description="b2b.status.shuffler.key1val1" />
<allowedValue value="INQUIRY" description="b2b.status.shuffler.key1val11" />
<allowedValue value="ORDERTMP" description="b2b.status.shuffler.key1val3" />
<allowedValue value="CONTRACT" description="b2b.status.shuffler.key1val4" />
<allowedValue value="INVOICE" description="b2b.status.shuffler.key1val5" default="true"/>
<allowedValue value="CREDITMEMO" description="b2b.status.shuffler.key1val6" />
<allowedValue value="DOWNPAYMENT" description="b2b.status.shuffler.key1val7" />
<allowedValue value="AUCTION" description="b2b.status.shuffler.key1val9" />
</property>
please try adding this new property
<property name="DOCUMENT_STATUS(1)"
entityType="CL_CRM_REPORT_SET_STATUS"
tokenType="RAN"
type="hidden"
requestParameterName="rc_status_head1" value="C" />
This should do the trick. Unfortunately, I don't have a E-Commerce scenario with an ERP backend for testing purposes available to you have to test it yourself. Keep me updated with the test results !
Philipp Koock
SAP CRM Web Channel Consultant
http://www.koock.net
Similar Messages
-
How to add a new field in MM01, with say contaminent as a field?
How to add a new field in MM01, with say contaminent as a field? I process that i know is i has to go the user exit and check out the three user exits that are available for MM01 after that what i have to do please can any one help me out with the procedure to proceed?
Hai venkateshwar reddy ,
try with these user exits
MGA00001 Material Master (Industry): Checks and Enhancements
MGA00002 Material Master (Industry): Number Assignment
MGA00003 Material Master (Industry and Retail): Number Display
Refer these steps also
http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/screen-exit-on-mm01-mm02-mm03-322717# -
How to add a new data element for existing table filed(Primary key field)
Hi Experts,
How to add a new data element for existing table field(Primary key field)
For this filed ther is no foreign key relation ships and even check table.
while activating table it is giving message like below.
can you help any one to solve this and wil steps to add new dataelement for existing primary key filed of a table.
Check table (NAMING SPACE/TABLE NAME(EX:/TC/VENDOR)) (username/19.02.10/03:29)
Primary key change not permitted for value table /TC/VENDOR
Check on table /TC/VENDOR resulted in errors
Thanks
RaviHi,
Easiest way is to download the table eg into an Excel table (if possible) or text table. Drop the table from the database. Build your table with the new key field. Build the database table again and fill it.
You can do it also over the database into a new table. Drop the old one. Build the enhanced one and fill it. Afterwards drop your (temporary) table.
Maybe there are other ways, but this works.
Success,
Rob -
Hi All ,How to add a new field for MEDRUCK if we havea ZMEDRUCK
Hi All ,
How to add a new field for MEDRUCK if we have a ZMEDRUCK
Req: If I want to add a new field for the following text editor line :
IN MAIN WINDOW > TEXT EDITOR> SERCH FOR TOTAL_AMOUNT-->
In that we will have
&ekko-waers& &komkfkwrt&
(currency) (numerics)
Pls send the Code to make these changes .Pls its urgent
Thanks&Regards.
Bharat.Hi
If that field which you wants to add is available in one of the structures like EKKO,EKPO then you can add that field just beside the other fields
If that field is not there in the any of the structures then you can define a variable using define command
/: DEFINE &VAR&
/ &VAR& = <some value>
or you can write subroutines to fetch the data from outside tables and can use those fields data in the script
<b>Reward points for useful Answers</b>
Regards
Anji -
Add a new field to an existing Condition table
How can I add a new field to an existing condition table?
I have table 971 and I want to add INCOTERMS (INCO1) to this existing table but do not see how to add it.
ThanksHi Vicky,
I dont think you can add new fields to the condition table once you have activated the condition table.
SAP says you can only make limited changes to the condition table, like changing the description, fast entry screen, header and footer fields, but not able to add new fields to the table, and I think that is the correct approch or else for the same table you will have two sets of condition records.
Please refer to the below link:
http://help.sap.com/saphelp_erp60_sp/helpdata/en/de/7a8534c960a134e10000009b38f83b/frameset.htm
What you can do is create a new condition table with additional field and assign this table before the currently used table in the access sequence.
Hope this helps.
Regards
Raj -
How to add one more field to an exist internal table
hi abapers
i am a very new abap programmer and just started learning it.
i want to know How to add one more field to an exist internal table.
lemme me put my question in a very simple way.
i have a internal table having fields f1,f2,f3 and which also that internal also contains some data.
now i want to add two more fields (mm & nn) to that internal table now.
how can i do that.
and i wanna know the websites names where i can find some brain teasing questions in abap programming.
eagerly waiting for ur reply
regards,
Maqsood A KhanHi, MAQSOOD.
You can insert more fields in your internal table like this.
refer this code snippet.
DATA : BEGIN OF tbl_itab OCCURS 0.
INCLUDE STRUCTURE zsdtc009.
DATA : vkorg LIKE vbak-vkorg, "inserted one
vtweg LIKE vbak-vtweg, "inserted one
vkbur LIKE vbak-vkbur, "inserted one
vkgrp LIKE vbak-vkgrp, "inserted one
END OF tbl_itab.
you can also read the book "Teach yourself abap in 21 days"
at http://cma.zdnet.com/book/abap/
but that book is just about basic concept of abap and report program.
it doesn't give a lecture for on-line program.
you can get pdf version books(about abap, sap...things) from sap.
http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
I wish I could help you.
Regards
Kyung Woo. -
How to add the new dep area in existing cod
Dear all,
how to add the new dep area in existing cod we are planing to implement the IFRS by using leading ledger and non leading ledger present we are using OL leading ledger
present we are using dep area 01 ,15
how to achive the parallel accounting in asset accounting how to add new dep area 30 in existing COD
if any document plz refer meHi Bhayyapu,
Please refer to the links given below.
New Depreciation area
Adding a New Depreciation Area to Existing Assets - Financial Accounting (FI) - SAP Library
Hope this will help you.
Regards
Eugene -
How to add a new field in the cube and load data
Hi,
The requirement is
We have ZLOGISTICS cube , the data souce of this filed has REFDCONR-reference dcument number filed . We have to create a new field in cube load data and get this new filed into the report also.
Please any one can help me with the step by step process of how to do?
How to get the data into BW and into the report.Hi,
So you need that this new field have data in old records?
1.- If you are in BI 7.0 and the logic or data for that New field are in the same Dimension, you can use a Remodeling to fill it. I mean if you want if you want to load from a Master Data from other InfoObject in the same Dim.
2.- If condition "1" is not yours.
First add the new field, then create a Backup Cube (both cubes with the new field) and make a full update with all information in the original Cube. The new field willl be empty in both cubes.
Create an UR from BackUp_Cube to Original_Cube with all direct mapping and create a logic in the Start Routine of the UR (modiying the data_package) you can look for the data in the DSO that you often use to load.
To do that both cubes have to be Datasources ( right click on Cube-> aditional function-> and I think is "Extract Datasource")
Hope it helps. Regards, Federico -
How to add a new Field in the Dynamic Selection screen section.
HI,
There is a requirement in which I need to add a field in existing program of dynamic selections.
I need to add a field KNKK-DBRTG (Customer Rating) in dynamic selections screen of some existing report
which has a dynamic selection screen with other fields like customer account, company code etc. Along with this i need to add Customer rating field also in the selection screen.
I have used GET KNKK statement to select this in the Dynamic selection screen. But I need to make it appear
on the screen.
LDB used is the Customer Database.
I have added GET KNKK statement after GET KNA1 statement.
Can any one help me how we can make this rating field appear in the selection screen.
With the GET statement Credit control area Fields can be selected in the selection screen but I have to permanantly add the field in the selection screen.
Regards
Prashant PrabhuHi,
So you need that this new field have data in old records?
1.- If you are in BI 7.0 and the logic or data for that New field are in the same Dimension, you can use a Remodeling to fill it. I mean if you want if you want to load from a Master Data from other InfoObject in the same Dim.
2.- If condition "1" is not yours.
First add the new field, then create a Backup Cube (both cubes with the new field) and make a full update with all information in the original Cube. The new field willl be empty in both cubes.
Create an UR from BackUp_Cube to Original_Cube with all direct mapping and create a logic in the Start Routine of the UR (modiying the data_package) you can look for the data in the DSO that you often use to load.
To do that both cubes have to be Datasources ( right click on Cube-> aditional function-> and I think is "Extract Datasource")
Hope it helps. Regards, Federico -
Layout Set: How to add a new field in a layout Set?
Hi ABAPPERS.
Question:
How can I add a new field in a layout set?
Scenario:
QC21 uses a global Layout Set ZQMECOA_GLOBAL.
There's a field required in this Layout Set which is Production Date(CAUFVD-GLTRP).
Where is the date query happening here?
Where can I insert the SELECT statement for the new field required?
I try to look at:
OPEN_FORM and WRITE_FORM, it seems that date query or SELECTION of data is not happening here.
Thanks.If you are adding a header field then you will extend the header structure in CRM and do the same with Item structures for Item fields. You will use EEWB or similar technique in the CRM backend to extend the header or item.
These extended fields in the backed are available in customer_h or _i structures in the order object that can be read and modified in the Header BAdI or Item BAdi.
If you think that this message is cryptic or not enough, then you should search for Extension Guide in this forum and read the document. -
How to add a new field in the Field Mapping
Dear Freinds,
I have two un used fields in the Source fields to the Target Fields ,
i have to add the 3 fields which r there in the my source fields to that
of the target fields ( as per the change in the requirement) in the 5th Step
i.e Maintain Field Mapping and Conversion Rules
the Target strucutre & the Source fields( by clicking the button
Source field and selcting the fields from the popup menu) in the mapping and conversion step ,i want to add 3 fields which are availabe in the list of th source list which i want to map to the Target strucutre .
When i tried it is adding in the othe target field
presently i have mapping (5th sept ) as below.
ZPA30_08 LSMW
Fields
TABNAME Table Name
Source: ZP0008_STRC-PERNR (Personnel Number)
Rule : Default Settings
Code: ZPA30_08-TABNAME = 'ZPA30_08'.
TCODE Transaction Code
Rule : Default Settings
Code: ZPA30_08-TCODE = 'PA30'.
now i want to add 3 fields Pernr,wage type and Amount , but when iam trying it is
getting and saved in the TABNAME .
How can i map please let me know .
Regards
syamlaHi,
So you need that this new field have data in old records?
1.- If you are in BI 7.0 and the logic or data for that New field are in the same Dimension, you can use a Remodeling to fill it. I mean if you want if you want to load from a Master Data from other InfoObject in the same Dim.
2.- If condition "1" is not yours.
First add the new field, then create a Backup Cube (both cubes with the new field) and make a full update with all information in the original Cube. The new field willl be empty in both cubes.
Create an UR from BackUp_Cube to Original_Cube with all direct mapping and create a logic in the Start Routine of the UR (modiying the data_package) you can look for the data in the DSO that you often use to load.
To do that both cubes have to be Datasources ( right click on Cube-> aditional function-> and I think is "Extract Datasource")
Hope it helps. Regards, Federico -
How to add a new field in order.jsp
Hey,
I want to add a new field in order.jsp. How to store that data into backend?If you are adding a header field then you will extend the header structure in CRM and do the same with Item structures for Item fields. You will use EEWB or similar technique in the CRM backend to extend the header or item.
These extended fields in the backed are available in customer_h or _i structures in the order object that can be read and modified in the Header BAdI or Item BAdi.
If you think that this message is cryptic or not enough, then you should search for Extension Guide in this forum and read the document. -
How to add a new field in predefined report output
HI,
how to and where to search for the filling of "fieldcat table" in the predefined ALV report.
So that i can add a new field in the output of a predefined reportHi
Try to check where the fm REUSE_ALV_FIELDCATALOG_MERGE is used in the report.
Max -
How to add a new field on the right side of 'Part function' in Opportunity
HI All
I have a requirement wherein I need to add a new field for 'first name/last name' on the right side of 'Partner function' field in opportunity search criteria..
Ex:(here i'm showing overview how the search criterial screen appears in UI since i can't attach screen shot)
Partner function is sales lead firstname/lastname
It is similar to...when we select the option 'Is between' for date field then automatically one extra field will appear
on the extreme right to enter a range for the date so similary I need to add one field to the extreme right where
the user will select 'first name/lastname' using 'F4' help in addition the abvoe 'Partner function'.
Could you please let me know how can we add it??
Regards
AnilHi,
First try to find out if you already have that field available in your view configuration. If yes, then you just need to add that to visible/displayed fields. Other wise you'd have to extend the context nodes using AET/EEWB. After you add the fields using configuration you can move them where ever you want to place them. I believe for first name/last name F4 comes by default.
Regards
Prasenjit -
How to add a new field at a table controll screen change for CIN 2007????
HII EXPERTS
I HAVE TO CHANGE THE SCREEN OF J1IA TCODE . I HAVE TO ADD A NEW FIELD IN THE SCREEN LAYOUT OF TCODE J1IA TABLE CONTROLL.
THANK YOU IN ADVANCE,
PLZ HELP ME OUT AS IT IS VERY URGENT.
SUPRATIKHi Supratik,
you can do it by looping at screen structure and append field
dynamically.
see help on 'screen' structure.u will get ur requirement.
Rewards points if helpful.
Regards,
Hemant
Maybe you are looking for
-
How to burn songs from one itunes account to import into a new itunes acct
I have set up seperate playlists for my children under my itunes account. However, my son is now older and receiving itunes gift cards and we want to set up his own itunes account but don't want to loose the songs we have purchased for him under my i
-
Firefox version 3.6.10
-
Oracle Access Manager, ADAM & Oracle ECM - UCM integration?
I`m currently investigating the potential of using Oracle Access Manager (OAM) as a tool that allows connections to multiple Active Directory(AD) or ADAM servers providing a single point to author and manage users with a good easy to use GUI. The UCM
-
Description string based on a formula
I am stumpped, I am trying to write a formula so that I can return a description string from a database. My database is structured poorly so I will try to explain it as best I can. The collumns that are of intrest are my CA1 collumns which has all of
-
Insert performance in same specification machines with fresh install
Hi all, I has some problems testing my fresh oracle 11g2 installation in Win7 O.S. We have two EliteBook 8760w, purchasing at the same time and installing estandar edition and other programs using the same procedure. After that, we start making a mas