Latest records in the report
Hi
Im extracting the 'Notification' or 'Object Number' records from JCDS table. Each 'Notification' or 'Object Number' record contains the "Status" of "InProcess" , "Outstanding", "Completed" with thier corresponding dates.
My client wants the 'Notification' or 'Object Number' with latest 'Status' . How can i get like this one .
I have 'Notification' or 'Object Number' records with all the 'Status' in the first layer DSO. Now how can i get the lastest 'Status' of the 'Notification' or 'Object Number' records .
Please let me know
kumar
Post Author: jomuir
CA Forum: Formula
Thank you for checking u2013 I have found out where I was going wrong....I was using the wrong ID (RECORDID and CALLID are linking and in my group I was using a different one from my NthLength formula!!
So I have Formula:
LatestOrder [Formula Name]è
NthLargest (1, {Asgnmnt.ResolveOrder}, {Asgnmnt.CallID})
Order [Formula Name]è
If {Asgnmnt.ResolveOrder} = {@LatestOrder} then
true
else
false
Why do I not have an option to sort or select by formula field Order to only show True?
Similar Messages
-
How can I numbered the records in the report
Hi, can anyone please show me how do I number the records in the reports in the Report Builder?
Thank you.Hi,
Follow the following steps:
1. Create a summary column in the data model of the report.
2. Select the function as Count.
3. Select the source for which you want to generate the serial no.
4.Reset the column at Report level.
5. Now create a field in the paper layout of the report and select this summary column as the source. The field should be in the same repeating frame as its source.
This will generate the nos. as reqd.
Swati -
How to get Most current record in the reporting
Hi All,
I have reporting requiremnt like to get the most recent record.
Please see the below example we have 3 records but with 2 different sales represtentatives assigened to the same document.but i need to get most recently assigned sales representative record that is number 2(10726056 and status open).
Now i am geeting the 2 open records .Need to get only one.we do not have any other difference in the records to keep track of the sales representatives assignment to get the new sales rep id other than request id.
Can any one tell me most rcurrent data varibles under the request id do.Will it solves my issues o r any other ideas please welcome.
Customer No Sales rep Doc number Status Request id
0000613086 10726056 9000783660 C REQU_1
0000613086 10726056 9000783660 O REQU_1
0000613086 10182679 9000783660 O REQU_2Hi Sirisha,
it seems to be a problem of the kind "exception aggregation" , but let me say it can result in a very complex solution.
What about using a Virtual Infoprovider with servicecs to solve the issue?
You should create an additional InfoCube that reads form the basic one (where you have data) and then you should "delete" invalid records considering the request number.
By the way time stamp seems to be the easier solution.
Hope it helps
GFV -
How to get the latest creditlimits in the reporting
Hi All,
Can anybody give me an idea on how to get the latest credit limit values per each customer in the report.
I have below requiremnt.
I have cube which is having transactional data on document and customer level .and it also having master data info object in the cube which is credit management view having all the customer numbers .
This credit management view is master data info object having credit limit key figure as attribute.These credit limit are per each customer.
So we need these credit limits in the report as dynamic values .(I mean whatever be the current credit limit in the master data table for that paricular customer that should show up in the reporting).
one more thing these credit limits should roll up correctly at the HTR level.
One HTR having number of customers .
for example HTR 100 can have customer number 200,300,400.
Those 200,300,400 customer credit limits should roolup correctly at the HTR 100 level.
Example below :
Cube DATA :
HTR Customer Doct number Credit managment view
100 200 10001 200
100 200 10002 200
100 300 10004 300
100 300 10005 300
100 400 10006 400
100 400 10007 400
100 400 10008 400
Master data tabel (P Table)(Credit managment view)
Credit managment view Credit limits
200 1000.00
300 50000.00
400 90000.00
Please remeber :
We can not make these credit limits as navigational becasue these are keyfigure attributes not characteristics.
one more thing we can not make them as charatistics because we need use these credit limits to derive other calkculation. so it is not possibel to derive calculations on charactristics .
Edited by: sirisha Nekkanti on Oct 30, 2008 6:27 PM
Edited by: sirisha Nekkanti on Oct 30, 2008 6:35 PMThis is duplicate of
how to get the latest credit limit values per each customer in the report.
thread. -
Urgent help(getting lastest date records in the report)
Hi
I have records like this for a particular '0Material'.
0MATERIAL STATUS UDATE
M1 I0068 2/11/2007
M1 I0070 10/11/2007
M1 I0072 22/11/2007
My Client enters the 'UDATE' value in the selection screen. And My Client wants latest records with corresponding 'UDATE'.
1)Suppose my client enter the 'UDATE' as 1/11/2007 - 15/11/2007 then he need to gets
M1 I0070 10/11/2007
2)Suppose my client enter the 'UDATE' as 1/11/2007 - 30/11/2007 then he need to gets
M1 I0072 22/11/2007
3)Suppose my client enter the 'UDATE' as 1/11/2007 - 3/11/2007 then he need to gets
M1 I0068 2/11/2007
So how can do like this for the user. please tell me im unable to solve this problem since three days.
Regards
kumarHI,
You can achive this by creating a variable on Udate processing type as customer exit. you have to write some code in RSR00001 Enhancement. Just tell the logic to ur ABAPer they will provide u the code. Or search in forum u will get the code. It will be a very simple one.
Khaja -
Problem with implemnting delete for each record in the report
Hello all,
I am having trouble implementing the following requirement in my application.
In the reports, in each row..I need a delete button. Only few Users( Managers/Administrators) should be able to view this button. Rest should be able to see the normal report. Also when the user clicks on delete, the record should not be actually deleted but a column named Active/Inactive should be made InActive.( The report has only records which are active).
My problem is when the user clicks on edit button, I dont want to go to another page and perform delete operation. I should be able to modify the record in the same report page. Is this possible?
It would be really great if someone can give me inputs on how to do this..
Thanks,
shravanthiSee this link for possible solution:
Coding a delete process
You will need to modify to do your "Delete"
There is also Dene's Wonderful example application that shows a similar idea, but again you will need to modify to get your "delete" status set in the rows
how to update records marked by [row selector] ?
Thank you,
Tony Miller
Webster, TX -
Wrong output in excel CSV - Excel displayes more records as the report
Hello,
I have a report with a parameteritem : p1_date_ from that will be filled by
Source value or expression
select to_DATE ('12/MAY/2005','DD/MON/YYYY') from dual
The report query used this Parameter in the query: SELECT * FROM .. WHERE ( TRUNC (at.my_date) >= :p1_date_from
OR :p1_date_from IS NULL)..
Run the application -> only one record comes back, but
If you click on the excel export and show the file two records will be displayed
It looks like that the excel link will not use the parameter p1_date_form
after pressing a button Go with (go_submit) -> Excel will display only 1 record -> correctly.
This looks like default behaviour, but the problem is how to "synchronize" both the Report and the CSV export?
I received an idea from Scott Spadafore, but the implemetation doesn't work as expected.
If needed I have a short testcase tablecreate script, table insert script and application export .I tested the testcase in htmldb.oracle.com and it was not longer reproduceable, but my customer needs a workaround for version 1.6
THe question is : How to get a javascript onchange event to fire and submit the page so that the values would be in session state. -
Report Footer overlapping Last four records in the report body.
<p>Hi All,</p><p>In all of my reports have more than 20 Pages. All of my reports are Webintellegence format. these reports we deployed in Java Appplication. Java Application is in Tiles Frame Work Architecture. </p><p><strong>Here Problem is all of my reports have report footer. that footer is Overlapping Last Four rows in the Report Body. in Infoview it's looks fine. in Application only this problem we are facing. </strong></p><p>In Application just we are displaying HTML Content. This HTML content Contains everything. Report Header and Body and Footer</p><p>We are not able to understand this. Please tell me where is the problem this is in Businessobjects problem or Application Problem.</p><p>If any one facing same problem please let me know the solution.</p><p>Thanks & Regards</p><p>Vallabhaneni </p>
Every page should leave last two line of the body to print other content (some summary)
-
Report- not displaying some records in the report
I have a query say q1 based on the query value. I am getting place holder colums obtained from a procedure. based on one of the place holder columns i want to display the data say i have place holder column err_ind if it y. i don't want to display the record in report.
how can i do it ? ur help is much appreciated.Hi Praveen,
Thanks for the response.
Actually i did debug the program with the help of our technical guys but found nothing wrong in both the quality and the production system. We compared the program in both the systems and it seems to be same. I am exploring this issue. Will update the findings here.
In case anyone has any suggestion please do suggest.
Regards,
Gokul -
Select Max record for the report
Post Author: ROMZILBER
CA Forum: WebIntelligence Reporting
Hello,
Here is our problem we have history data on a table like
Example
Data:
11111 bbb 12/31/2004
11111 nnn 12/31/2005
11111 ddd 12/31/2007
On a report we only need to display the most current record (based on a date).
11111 ddd 12/31/2007
How can we do that, we have try to create subquery but it does not allowed to enter logic for the max date for the same id. So we are kind of stuck, I am more then sure this would be a very common conditions specially for data warehousing.
we are on Oracle 10g
Thank you for all your help.Post Author: ROMZILBER
CA Forum: WebIntelligence Reporting
To create a view is not a problem, supporting it is a different story
But we have find a solution, you were correct about the filter. I just did not know you can put the whole subselect in a filter
but here is a logic for the filter if someone would come up with the same problem
tablename.NNNN_PROOF_DT = (SELECT MAX(X.NNNN_PROOF_DT) FROM tablename X WHERE tablename.NNNN_CLAIM_NUMBER = X.NNNN_CLAIM_NUMBER AND tablename.NNNN_LINE_CD = X.NNNN_LINE_CD)
please let me know if you have any questions.
sorry I am new to this so please do not take any offense -
Problem with deleting record from the report.
This is my first post here, just to let you know I just started playing with Apex.
Here we go:
I have a page with report where the link to the record I have changed with ULR to the javascript:
javascript:doDelete(#RECORD_ID#)
I have created javascript in the HTML Header of the page
<script>
function doDelete(id) {
if (confirm("Are you sure you want to delete selected record?"))
$x('P3_DEL_ID').value=id;
doSubmit('DELETE');
</script>
and finally created a process for the page On Submit - After Computations and Validations.
declare
var_id number := :p3_del_id;
begin
commit;
Delete from mytable where record_id = var_id;
commit;
end;
I don't get error messages but record is not deleted.
Thanks for help in advance.
RobertRobert,
That's the problem. With that type selected, change the value in the textbox to just: DELETE
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen
http://sourceforge.net/projects/plrecur
You can reward this reply by marking it as either Helpful or Correct ;-) -
How to supress the header if there is no detail record in the report
Hi,
I am trying to create a report using the TEXT_IO utility in oracle forms. The header part is created in one program unit and detail part is created in another program unit. How can I supress the header if there is no detail part? I came to know that I can use HOST command . How can I use this? Can any one help me in resolving this?
My report should apppear in the format specified below.
case number : 1
Name Address1 Address2 State ZIp
XXXXX XXXXXXX XXXXXXXx XXXXX XXXxx
case number: 2
Name Address1 Address2 State Zip
YYYYY YYYYYY YYYYYYY YYYYY YYYY
Edited by: 837462 on Feb 16, 2011 6:12 PMHi
i think it's a better idea to paste ur code here...
but logically... i supposed u have 2 function header_function & detail_function e.g. both functions returns either 1 or 0 if there is data then it returns and the contrary if returns 0
In the calling these functions i e.g. WHEN-BUTTON-PRESSED u need to validate as follow
DECLARE
v_header_output varchar(2);
v_detail_output varchar(2);
BEGIN
v_header_output := header_function ( PARAMETERS ... , ,);
v_detail_output := header_function ( PARAMETERS ... , ,);
IF v_detail_output = 0 THEN
v_header_output := 0; -- or u can do some works that change the return of the header_function to null or 0
END IF;
END;Hope it works...
Regards,
Abdetu... -
Pulling the latest records from the datasource to BW
Hi,
I need to pull the most recent records from a custom table on R/3 side. I make use of infoset query to retrieve data from two different tables. One custom table and the other SAP table MAKT. I created a transaction data... Datasource make use of infoset to extract the data on R/3 side.
Is there a place where I can write code to play around with the data... is there any user exit to write the code for this purpose.
Need help...Trx CMOD:
1. Enter the Project name; if you dont have an existing project and u have to create one.
Select a good name for a project..say ZBIW..and then enter the name and click on create button.It will take u to new screen.There give short text for project name.
Above u will see 'enhancement assignments' button.Click it and in the new screen add enhancement RSAP0001.
Save and remember to activate project too..
(save in appropriate transport request)
2. go to components select the required function module.
EXIT_SAPLRSAP_001 for Transactional DS
EXIT_SAPLRSAP_002 for Master DS
Hope it helps.
Regards -
Incomplete Data on report (report does not show all records from the table)
Hello,
I have problem with CR XI, I'm running the same report on the same data with simple select all records from the table (no sorting, no grouping, no filters)
Sometimes report shows me all records sometimes not. Mostly not all records on the report. When report incomplete sometimes it shows different number of records.
I'm using CR XI runtime on Windows Server 2003
Any help appreciated
Thanks!Sorry Alexander. I missed the last line where you clearly say it is runtime.
A few more questions:
- Which CR SDK are you using? The Report Designer Component or the CR assemblies for .NET?
- What is the exact version of CR you are using (from help | about)
- What CR Service Pack are you on?
And a troubleshooting suggestion:
Since this works on some machines, it will be a good idea to compare all the runtime (both CR and non CR) being loaded on a working and non working machines.
Download the modules utility from here:
https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip
and follow the steps as described in this thread:
https://forums.sdn.sap.com/click.jspa?searchID=18424085&messageID=6186767
The download also includes instructions on how to use modules.
Ludek -
How to run report to show all the records in the form view of Siebel 8.1.1
Hi.
My template has "for-each" section and there are more than 1 records in the form view. But when generating report, there is only one record in the report. Can anyone offers help? Thanks a lot.
Edited by: user11948585 on 2009-11-18 下午6:08Hi ,
Could you generate a sample XML from BIP Administrator for the IO on which report is based , and apply it to RTF and see if you are getting the desired values.
Thanks!!
Maybe you are looking for
-
HT1657 How do I Sync a movie rental with my iPhone?
How do I Sync a movie rental from my computer with my iPhone?
-
My old email was hacked and my password corrupted. Now I have a new Apple ID but cannot cancel the old ID as I no longer have access to that email address. How do I cancel the old ID and merge my purchases and details with the new Apple ID?
-
When I send a mail with a picture I get from 4 to 17 in return to my trash can.
What ca I do to avoid having from 4 to 17 copies of one mail sent with a photo added, returning to my trash basket in addition to one filed as a draft?
-
Safari becomes unresponsive when opening Yahoo
Strange indeed. I've been using Safari on both my Windows-based desktop and my W-b lap. My desk pc has an AMD 64, and 2 gigs of Ram. I keep it clean, fast, safe, and in selective startup. Today, I opened it and let it go to the Apple start page. I sc
-
Matching, syncing between iTunes and iPhone
I am "lucky" to be one of the new iPhone 5 owners, after switching back from two years with android. Part of the reason for my switch was iTunes Match, which has been a constant confusing dissappintment. After several iPhone restores, lengthy phone c