How to add a function field into the existing matrix report
Hi,
I have a matrix report , now i wanted to add one moe field into the matrix which is getting the value from a function , this function is a part of the ref cursor query(group) , i'm able to get the value from the function but it cannot display on the existing matrix report. i wanted to add this in the repeating frame which is printing down. how could i do this , looking for your help. thanks . bcj
Here the scenario like,
Data from Table_1
NAME UNITS DAYS RATE
AAA 10 1 1.2
BBB 12 2 3.1
AAA 20 2 4.1
CCC 23 1 5.2
Here, In the matrix report the NAME and UNITS are row fields and 'DAYS' is column field , RATE would be the cell field, and
Data from Table_2 ,
NAME BASIC
AAA 2
AAA 2
BBB 2
CCC 3
In the report i have to display the 'BASIC' along with the NAME in row level ( repeating frame printing down),
To get the multiple 'Basic' for each 'Name' using a ref cursor .
and, using a function to do further calculation based on the basic value
begin
select basic into v_basic where name =:name;
return(caluculated_value);
end;
and return the calculated value to the report. But at that time cannot accommodate the value in the matrix report with other groups frequency.
looking for your valuable help. Thanks Bcj
Similar Messages
-
How to add a new tables in the existing Pricing Report
Hi,
I have created Z2 list report in the pricing report (V/LD) with some tables and field names.
Now I got one requirement that i have to Add some more tables and filed names in the List Report Z2 in the pricing report.
Could anyone helpme out how can i add tables and fileds names to the existing list report in the Pricing report
Thanks for your support
Best Regards
Amjathpashahi, Pasha:
May i know how to solve this problem? as i also met this kind of problem.
and i tried V/lb, do not find the place to add the table.
Thanks,
Linda -
How to add a filter/selection into the report title?
Hi experts,
Currently I try to fugure out how to set up a field into the page header (title) of a report in order to dynamically adapt the title to selected filter criteria. I tried to use the Reprot Filter Summary, but since I do have several sheets in my reports the information given through it is not applicable.
What I would like to achieve is that the end user can select e.g. a category X and Y and the title says: "Report title - categories: X,Y" Somthg like this. I'd appreciate any tips.
Best regardsHi guys,
thanks so far. I managed to show prompts in the report. But still my problem is nor 100% solved
I would like t achieve that the filtered criteria in the report title is separated through a comma like in the report filter summary - e.g.: {001, 002, 003, 004} followed by just 1chart/table that is including the whole information.
When I however just drag a variable into the report it automatically created different sections, right? Like ........ table, chart, whatever... .......table chart whatever........
Regards -
How to add a standard field to the Product search criteria ?
Hello all,
despite my searches on google and sdn, i'm still confused on how to add a standard field in the search criteria of the Product seach screens (component/view PRD01QR/Search for example) , I mean a standard Product field that is not included in the available fields list in the UI configuration tool.
I found some explanations for adding a specific Z-Field, this is ok , but I'd like to add a standard field as a search criterion, namely the item category group.
Could someone give me the needed detailed steps for this?
thanks
LudovicHi
Chk ths link out :
http://wiki.sdn.sap.com/wiki/display/CRM/Howtoaddanexistingfieldtoasearchpageofadifferent+component
Rgds,
Swati -
How to add a ChartOfAccounts object into the database.
how to add a ChartOfAccounts object into the database. please shows sample code
thanksDim CoA As SAPbobsCOM.ChartOfAccounts
CoA = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oChartOfAccounts)
CoA.Code = 11223344
CoA.ExternalCode = "a1234"
CoA.ForeignName = "f Test Account"
CoA.Name = "Test Account"
CoA.AccountType = SAPbobsCOM.BoAccountTypes.at_Other
CoA.ActiveAccount = SAPbobsCOM.BoYesNoEnum.tYES
CoA.FatherAccountKey = 100001
If CoA.Add <> 0 Then
MessageBox.Show(oCompany.GetLastErrorDescription)
Else
MessageBox.Show("Added Account")
End If
Remember the father account key must be a valid account number in the company where you are trying to add the new account. (The G/L Account code seen in the SBO client) -
How to add new customise field in standard SAP ME28 Report?
Hi Anybody,
How to add new customise field inside Standard SAP Screen report ME28?.
Anybody, Please tell me how to do?.
Thanks,
Regards,
S.Muthu.Hi Subramaniyam,
You can find enhancement in me28 by following steps and then apply your logic in include of this enhancement.
cmod>Give a project name>in enhancement column give the package name ME >f4>in package write ME-->ENTER>It will show you all enhancements available in me28> find which ever suits your requirement>save > click on components> from there you can make changes in include program.to add that particular field. -
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 a new Field in the Web UI
In CRM.
I want add a fields. How it is Possible.
In WebUI after login. Select BP_SRV_MAIN.
Then Select Manage Reports.
Select New Entry.
Porivide Program Name.
Short Description.
Select Service from Drop Down.
Select Tables Radio Button.
Press Next.
It display all available FIelds.
But i want add another some fields into this. How it is possible.
Here i am getting Component Name as CRMCMP_OR_DTWIZ.
View Name as RptColumns.
So How can i get more fields like ObjectID of CRMD_ORDERADM_H.
Can you please explain me about this. If possible with Screen Shorts.
Thank You.
B. KrishnaIf you want to add extra standard fields (like one you mentioned), you can use Component Workbench and Copy the configuration and create your own configuration and make the "Available Fields" appear there.
If the standrd field is not available, you can Add Context Node using wizard and make it visible.
If its a custom field (a new one); you will have to use EEWB and add the fields and then make it visible in the UI using Component Workbench.
Regards,
Alin -
How to add an input field in the web UI of CRM 2007
Hi everybody.
I want add an Input field in the Web UI Screen. How it is possible.
I want get the information with detailed descriptions if possible with screen shorts.
What type of methods it will be generated and what are the code we entered in those methods.
Take according to any example. But with detailed description.
I am new for the CRM 2007. So, please give the screen shorts with proper data.
Not only adding the field. If any data i entered in the adding field then that will be stored in the tables otherwise no use by adding the field.
So, Can anybody please send a proper information according to this.
Here another one How to Add our own table (Ztable) field in the Web UI Screen.
How to add the same field in the BOL.
Please expalin about those concepts with full of screen shorts messages.
Thank You.
Regards,
Krishna.If you want to add extra standard fields (like one you mentioned), you can use Component Workbench and Copy the configuration and create your own configuration and make the "Available Fields" appear there.
If the standrd field is not available, you can Add Context Node using wizard and make it visible.
If its a custom field (a new one); you will have to use EEWB and add the fields and then make it visible in the UI using Component Workbench.
Regards,
Alin -
How to Add a new fields in the selection screen of LDB.
Hi All,
I want to add a new fields in the selection screen of LDB & then i need to select the data for that fields.
So could you please tell me for that where i need to add the code for selecting the data.
Thanks
RoliHi
welcome to SDN forum
If you are designing your own LDB with your own tables you can define tree structure and then the selection screen for the tables
if you wants to modify the std LDB of SAp means take the access key and to modify that code
if you add the extra field you have to modify the where conditions in the code also
see the doc
A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.
LDB offers an easy-to-use selection screens. You can modify the pre-generated selection screen to your needs. It offers check functions to check whether user input is complete, correct, and plausible. It offers reasonable data selections. It contains central authorization checks for data base accesses. Enhancements such as improved performance immediately apply to all report programs that use the logical database.
Less coding s required to retrieve data compared to normal internel tables.
Tables used LDB are in hierarchial structure.
Mainly we used LDBs in HR Abap Programming.
Where all tables are highly inter related so LDBs can optimize the performance there.
Check this Document. All abt LDB's
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc
GO THROUGH LINKS -
http://www.sap-basis-abap.com/saptab.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm
/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
Re: **LDB**
www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html
www.sap-img.com/abap/abap-interview-question.htm
www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm
Gothru the blog which provides info on LDB's:
/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
Sample code
TABLES: SPFLI,
SFLIGHT,
SBOOK,
SCARR.
START-OF-SELECTION.
GET SPFLI.
WRITE:/ SPFLI: , SPFLI-CARRID, SPFLI-CONNID,
SPFLI-AIRPFROM, SPFLI-AIRPTO.
GET SFLIGHT.
WRITE:/ SFLIGHT: , SFLIGHT-CARRID, SFLIGHT-CONNID, SFLIGHT-FLDATE.
GET SBOOK.
WRITE:/ SBOOK: , SBOOK-CARRID, SBOOK-CONNID,
SBOOK-FLDATE, SBOOK-BOOKID.
GET SFLIGHT LATE.
WRITE:/ GET SFLIGHT LATE: , SFLIGHT-FLDATE.
Regards
anji -
COPA structure cross 50 char-How to add more char fields in the sturcture
Hi SAP CO Guru's,
I am facing one problem in COPA characteristics, I have created the characteristics however in the KEA0 structure where we have already exhaused max limit of 50 char, hence system is not allowing to add these new fields in the structure.
I need help for getting addition 2 fields into structure.
I have one more option where few Char fields are not usable, can be remove from the structure if we can not increase the limit of 50 Char in the structure but system is not allowing me th remove the already selected Char fields.
Thanks in Advance.
Uday Suryawanshi
SAP FICO consultant, PuneHi Uday
There is a way you can increase the limit.. refer the note given above
However, SAP wont take the responsibility of any thing that happens later on.. It is completely your headache....
So, better rename the Chars and use them....
If you are still in DEV Client, delete COPA docs posted till now.. refer Note 21207... This helps you to delete a char if posted data exists
I personally would prefer to rename and reuse.. After all, recycling is encouraged these days
Br, Ajay M -
How to add a new Field to the WEB User Interface in CRM 2007
Dear experts,
I have been struggling to add a new field to the (CRM 2007) user interface from available fields for a specific view.
I have maintained settings in BS__WD_CMPWBàRuntime Repository editoràComponentàViewàConfigurationàNew ConfigurationàAvailable FieldsàField Propertiesàand save.
But the field is only appearing in display mode in the Web UI, which doesnu2019t allows any user input.
I need your help to resolve the issue, I would be grateful if you could provide step-by-step documentation with screenshots or any other kind of documentation.
Each suggestion will be appreciated.
Best regards,
Raghu ram.Hi Raghu Ram,
I think you added a new custom field using some method like EEWB etc.,
Then, you are adding the field onto the UI using UI Configuration Tool .. right ?
These are the steps to diagnose:
Method 1.Check the field properties in the model browser first.
It should be showing 'C' i.e., CHANGEABLE. If it is showing as 'R', it is only READABLE.
In such a case you need to find a BADI to change the field properties.
For example, in Marketing Applications OBJ BADI has a method CHANGE FIELD PROPERTIES for this purpose.
Method 2. Debug and check what is the value coming for RV_DISABLED parameter in the GET_I method in BSP_WD_CMPWB. This should be FALSE.
Method 3. Check what are the field properties in the UI Configuration tool.
Make sure it is not a display only field.
Regards,
Masood Imrani S. -
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,
_kevinHi 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 -
Could not add a database field in the new PLD report..
Hi All,
Am working on a PLD report and am not able to add a Databse field on the Report.
I want to add a new field on my Report which should fetch the Field Tax Amount from the table AR invoice tax amount per document....
when i add the new database field the drop down for tables does not display the desired table....
Can any one help me on this....
Thanx in advance
Manish ChaudharyHello,
here is some thread links relate to your problem :
1. Detail of all tax codes and tax amounts in A/R Invoice PLD
2. Calculate Tax breakup in PLD
Rgds, -
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
Maybe you are looking for
-
Can Premiere Pro display multiclip angles via transmit to an external monitor?
Hello Forum, Is it possible to have the angle view of multicamera viewable via transmit to an external monitor? (via Blackmagic Intensity Pro) Currently, it only displays the active angle. Thanks all! - Ryan
-
ABS does not download the entire package tree
I want to compile php-apache in order to work with apache24 from the AUR but when I run abs it does not download the source code of the php-apache package. That's the case with many packages as well. After updating pacman database and running abs: ls
-
Hi Team, Getting below errors while import Please suggest. Processing object type DATABASE_EXPORT/SCHEMA/PROCACT_SCHEMA ORA-39083: Object type PROCACT_SCHEMA failed to create with error: ORA-31625: Schema ASID is needed to import this object, but is
-
ILife won't install because there is no software to install
This is essentially the error message I get when trying to install iLife 09. I have updated my OS with the latest updates. I have rebooted. I get thru most of the install interactive stuff (like having to choose an install location) and then it start
-
I've never had trouble with iTunes until itunes 11. I'M ANGRY.
here's what happened: today i was going through my iTunes music, getting rid of old songs (deleting them from my computer and "hiding" them in the cloud apparently) then, all of the sudden, almost 1,000 of my songs were magically deleted and it showe