How to get the SR NO in a report
Hi all,
I am new to report and was wondering how I get the
SrNO in a report like below example.
SrNO Name Dept
1 ABC Sales
2 xyz Admin
Should i use CF or CP etc ???
Regards
Sunny
If it is a tabular report, then use rownum in your
query and display it in the report
e.g.
SELECT ROWNUM, EMP.EMPNO, EMP.DEPTNO
FROM EMP
If group report, then use a summary column (count) in
the detail group and reset on master group.
Hope this helps.Thanks a Million.!!!
Sunny
Similar Messages
-
How to get the actual data in ALV report
I am doing some upgradation work in that i am using Submit & And return and also i am using some function modules like LIST FROM MEMORY , LIST TO TXT wnd WRITE LIST , it gives output in normal list format , But i need to print in ALV report .
With the use of set table for 1st display i got the ALV report but not with actual data, (some junk value is showing) , So can any 1 suggest me how to get the actual data in ALV report, With the use of Any Function Module or with Coding,
with regards,Hi Saravana
I am sure you must be getting the values in tables of table parameters from every FM.
consolidate the values from tables of all FMs in one table and built ALV for that table only.
I hope this way you can show the actual data in ALV.
thanks
Lalit -
How to get the original version of Web report in BW ?
Hello Friends ,
I have transported one Web report from BW development to BW Production System.
But unfortunately , the desired result not me met .
So I have been asked to keep the original version of the Web report.
As the new version of Web report has replaced the previous one ,
So could anybody tell me how to get the original version of Web report in BW ?
Many thanks in advance !!!!!!!!Hi,
You can use the Transaction STMS choose the option "Import Overview" . In the GOTO tab select "History" and choose "Import History".
Here you can find the history of requests imported to the prod system.
Regards,
K.Manikandan. -
How to get the total pages in ALV report?
Hi guys,
Since I used page breaks can somebody please help me on how to get the total pages in ALV report?sincerely please...thanks guys.automatic display total page.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
r -
How to get the Empty page in Webi report
Hi,
I have to insert the charts in the report but i don't have the space to insert the charts in same page so i need one more page how to get the blank page in report
thanks,turn your report from Page Layout to Draft Mode. Than you will be able to insert chart in it.
You can view Web Intelligence reports in different modes depending on how you want to work with data and how you want the data to appear.
1. In Web Intelligence Interactive, select the report tab of the report you want to view.
2. Click the arrow next to the View button on the main toolbar above the report.
3. Select the viewing mode.
4. In the Java Report Panel or Web Intelligence Rich Client, use Switch Page/Quick Display on the Reporting toolbar to alternate between Page mode and Quick Display mode.
Edited by: srrachna on Apr 22, 2011 2:25 PM -
How to get the ard file of crystal reports
Hi all,
I have downloaded crystal reports from sap market place but i dont have .ard file for that how to transfer that reports into sap. How to get the ard file please help me out.
Thanks & Regards,
Murtuza Ahmed.When you click on your SAPCrystalSetup.exe and select the path to your add-on folder it will install the files and your ard file will be situated in your add-on folder. Then you can start SAP up and install it from SAP.
So if your SAP install is in your local drive your ard file for crystal reports should be here C:\Program Files\SAP\SAP Business One\AddOns\SAP_CR
Hope this helps. -
How to get the customized value of a Report portlet in a page
Hi ,
I have a report portlet and it has a bind variable which users can customize when added to a page. There is a link to a Form page in the report , to which I need to pass the value of bind variable customized by the user. I used :
portal30.wwv_name_value.get_string( l_arg_names, l_arg_values, '<bind variable>');
function, it works ok when we run the report alone .But when we add the report as a portlet in page , it does not return any value. How do I get the customized field value in a page.
nullSAN.
I haven't tested but u can try with the below code...
OATableBean tableBean = ...;
OATableFooterBean tableFooterBean = tableBean.getFooter();
if (tableFooterBean != null)
OATotalRowBean totalRowBean = tableFooterBean.getTotal();
totalRowBean.getValue("Re-Total");
}Regards,
Gyan -
How to get the query name from portal report name
Hi Experts ,
I am given a portal report Name and asked to do changes to the queries of that ,so how do i get the query name ,
Thanks in Advance
NityaHi Nithya,
You can get the technical name by selecting the role in the portal where the report is enclosed you will generally find the report in description then identify the report you are looking then double click on that you will get a window pop-up in that you will have details tab there click on the details the your Query technical name will be displayed.
EX : zqry_w001 Then replace W with Q and seach in analyser or Designer.
Regards
Amar. -
Reg : How to get the company address in Crystal Report
Dear members,
I am stuck up with problem in Crystal Report in my project. I want to get the company address in the Crystal Report. How can i get the company address in the crystal report. Hope i will get help in this regard.
Thank you.
Regards,
Venkatesh RajagopalanHi Dear
plz send me what is your methad to applay,
so i am sending u code for company address
all company information contain the OADM table ,
so applay the select query ang get the data form table
this ia sample code ........
SAPbobsCOM.Recordset oRecordset = (SAPbobsCOM.Recordset)ICreon_SBOAddOn.SBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
string GetComp = "select * from OADM ";
oRecordset.DoQuery(GetComp);
strCompName = oRecordset.Fields.Item("CompnyName").Value.ToString().Trim();
Use this code u will find the company name
and after that pass this valu a parameter
oRPT.SetParametervalue ("CompanyName", strCompanyName)
so pass the strCompanyName as a parameter in the cdrystel report.
hope help this code ,
if u have any problem so plz send me question in form,
if u r satisfied my answer so pl give me rewards point, -
How to get the SQL Statement of a report region?
For example: The SQL of report region such as "SELECT A,B,C FROM T1 WHERE A = :P10_A".
I hope to get the converted statement (the variable has been replaced), like this:
:P10_A = 'TOM', SQL: "SELECT A,B,C FROM T1 WHERE A = 'TOM'".
THX.I agree with John with the usual caveat about using bind variables.
In other words, you should use
SELECT A,B,C FROM T1 WHERE A = :P10_Ainstead of SELECT A,B,C FROM T1 WHERE A = 'foo'so that the shared pool doesn't get clutterred with copies of the same (sharable) SQL.
Even if you use the "PL/SQL function returning a SQL query", be sure to use bind variables in your SQL and not "glue in" session state by concatenating it into the query.
Thanks. -
How to get the output of a standard report RFBILA00 in PDF form.
hi,
I have to get the output of the standard report RFBILA00 in the PDF form.
Thanks.Hi Rao,
you can run your report RFBILA00 in background and in background job you can add one more step, next in that step you can add custom report like zsubmit .
job should be set like
step1: RFBILA00 with variant.
Step2: zsubmit report with variant.
In Zsubmit report you can read, your first step spool using FM GET_JOB_RUNTIME_INFO
and pass that spool in the FM CONVERT_ABAPSPOOLJOB_2_PDF.
when second report run in job you can set your target like download in the server or send email etc.
Regards,
Prasenjit -
How to get the number of copy in reports
Hi all,
I am having a report of 1 page. I want 2 copies of it to printed so, I set the number of copies =2, I want some fields only to be printed on the 2nd copy. How to do it ?
Thanks in advanceMuhammad Arif wrote:
Hi all,
I am having a report of 1 page. I want 2 copies of it to printed so, I set the number of copies =2, I want some fields only to be printed on the 2nd copy. How to do it ?
Thanks in advanceHi,
Set the bellow system parameter initial value to 2 under Data Model
COPIESHope this works..
Hamid
Mark correct/helpful to help others to get right answer(s).* -
How to get the output of a background report to be shown on the screen
When we run the background process it goes to spool request. my requirement is to show it on the screen may be after some time to the user. how can we do that. Thanks in advance
Hello Varun,
You cqan submit the report as a JOB and export the out put to memory, once the job is complete you can read the list to display the output.
Cheers,
Mano
Cut & Paste form SAP help.
Submit report ....
EXPORTING LIST TO MEMORY
Does not display the output list of the called report, but saves it in ABAP memory and leaves the called report immediately. Since the calling program can read the list from memory and process it further, you need to use the addition ... AND RETURN . Also, since the called report cannot be requested for printing, the addition ... TO SAP-SPOOL is not allowed here. In addition, you must not assign a function code to the ENTER key in the current GUI status. The saved list is read from the SAP memory using the function module 'LIST_FROM_MEMORY' and can then be saved to the database using EXPORT, for example. You can process this list further with the function modules 'WRITE_LIST', 'DISPLAY_LIST' ... of the function group "SLST". -
How to get the filters of Webi document/Report using Java code in XI SDK.
Hi All,
I have a requirement where i have to extrcat filters from the Webi Document.using java SDK.
I am trying to find the class called "filterable"but not able to use in my java code and will get always
"java.lang.ClassCastException com.businessobjects.wp.om.OMDocument cannot be cast to com.businessobjects.rebean.wi.Filterable"
I am using the below java code like
ReportElement re=document.getStructure()
FilterContainer flt=((Filterable) re).getFilter()
I am stuck and need this in uregent.
Please help.Hi Rajeev,
To retrieve a FilterContainer you will need to traverse the report structure:
ReportStructure boReportStructure = boDocumentInstance.getStructure();
ReportContainer boReportContainer = (ReportContainer) boReportStructure.getReportElement(0);
FilterContainer boFilterContainer = null;
if (boReportContainer.hasFilter()) {
boFilterContainer = boReportContainer.getFilter();
} else {
boFilterContainer = boReportContainer.createFilter(LogicalOperator.AND);
Calling boDocumentInstance.getStructure() will retrieve the entire structure for the document.
Calling boReportStructure.getReportElement(0) will retrieve the structure for the first report of the document.
Hope this helps.
Regards,
Dan -
How to get the project name in a Reporting Services Report in a Project Site?
Hi,
I developed a report using Reporting Services where I need to choose a project to see the report. I want to include it in a Project Site template using a SSRS Web part. As the report will be in a project web site, I would like the report appears automatically
showing the project of the site without the need of choose of the project.
Can it be done without developing a complex code?
PS: Project Server 2013 and SQL Reporting Services 2012.
Thank you.
Best regards, Ricardo Segawa - Segawas Projetos / Microsoft PartnerUnfortunately there are a number of ways to navigate to a project site. (From Project Center is another) - Covering them all is not an option.
Like I said before there are two options, using a server-side web part - or using client-side code like the following: (just put this in a content editor on the page of your report and it will ensure there is a ProjUid on the query string)
<script
type="text/javascript">
//(c) 2014 James Boman - IPMO.
//License granted under creative commons CC BY-SA
//http://creativecommons.org/licenses/by-sa/3.0/au/
var PDP;
var web;
var ProjectUID;
var PWAURL;
ExecuteOrDelayUntilScriptLoaded(CheckProjectUid, "sp.js");
function CheckProjectUid() {
if (!urlHasProjectUid()) {
getAppWeb(function () {
getWebProperties(function () {
NavigateMe()
function urlHasProjectUid() {
strDest = document.URL
if (strDest.split('?').length
> 1) {
return (getQueryStringParameter('ProjUid')
!= null);
} else {
return
false;
function NavigateMe() {
var strDest = document.URL;
if (strDest.split('?').length
> 1) {
strDest += '&';
} else {
strDest += '?'
strDest += 'ProjUid=' + ProjectUID;
window.location = strDest;
function getAppWeb(functionToExecuteOnReady) {
var context = SP.ClientContext.get_current();
web = context.get_web();
context.load(web);
context.executeQueryAsync(functionToExecuteOnReady, onFailure);
function getWebProperties(functionToExecuteOnReady) {
webProperties = web.get_allProperties();
var context = SP.ClientContext.get_current();
context.load(webProperties);
context.executeQueryAsync(function () {
var allProperties = webProperties.get_fieldValues();
PWAURL = allProperties['PWAURL'];
ProjectUID = allProperties['MSPWAPROJUID'];
functionToExecuteOnReady();
, onFailure);
function onFailure(sender, args) {
alert('CSOM Error: ' + args.get_message());
function getQueryStringParameter(urlParameterKey) {
var params = document.URL.split('?')[1].split('&');
for (var
i = 0; i < params.length; i = i + 1) {
var singleParam = params[i].split('=');
if (singleParam[0] == urlParameterKey)
return decodeURIComponent(singleParam[1]);
</script>
James Boman - http://www.boman.biz Software Consultant for IPMO - http://www.ipmo.com.au
Maybe you are looking for
-
Interactive Report's Column Definition - Single Row View Label Bug?
Hello, I have an Interactive report that I've added a Blue background to certain column headings (done by giving Column Heading a background color), this works fine except for the Single Row view - it displays the <....> code I used to get the backgr
-
Excise Invoice number range assigment
Dear SAP Gurus, This is with regarding Excise invoice number range assignment (J_1IINTNUM, J_1IRG23A1, J_1IRG23A2) For the financial period April 2011 to March 2012, following number ranges exist already in SNUM. 01---- 2011--5007393-5999999 01---201
-
BUG: Debug Unit tests in Selected
I think I've found a bug in JDeveloper. Using "Debug Unit Tests in Selected" does not all unit tests in the selected projects. To reproduce: -select a list of projects, -right click and select "Debug Unit Tests in Selected". Results: -JDev will run a
-
Problem when using Javabeans in ADF?
Hi, I encountered a problem when using ADF. Please look at the following 2 classes : public class Person private String name; private String city; private int age; public Person(String name, int age, String city) this.name = name; this.age = age; thi
-
Word processing - defaults failing
I have lately found that my word processing default settings in Preferences fail to remain as default settings. For example, I set Palatino as my default font setting and then find that, whist still showing Palatino as my default setting, it puts me