How to display record selection settings in the result
Hi,
CR 2008 and 2013 are being used, but this is a rather general question.
We are generating different schedules using one source file. Depending on the filter setting on the data scope, say CURRRENTDATE or last month, daily or monthly reports are sent out.
The problem is, when there is no data included in the report, we would like to put a message in the report saying "There is no data found in the period xyz". But so far we haven't figured out how to retrieve the different filter settings in the schedules.
Is there a way to do this? I do hope we don't have to create different .rpt files just for different schedules.
Any suggestions and opinions are appreciated.
While, the reports can be run manually by the user with a prompt asking the range or scheduled on the server and sent out automatically without interaction.
For the latter case, the prompt for date range was written as optional. And the record selection looks like this:
IF (HASVALUE({?dFrom}) AND HASVALUE({?dTo}))
THEN
{a_table.dDate}>={?dFrom}) AND {a_table.dDate}<={?dTo}
With the user input, everything is ok. But while scheduling a report on the server, we set the prompt to EMPTY and control the range by using a filter. For a daily report, the record selection changes to
{a_table.dDate}= CURRENTDATE-2
Here comes the problem. Without being able to read this value into the report, we don't know how to show period xyz in an empty report, because a daily report could also query CURRENTDATE or CURRENTDATE-10, depending on the schedule. The same applies to monthly reports. People can schedule a report to run once a month, but still query just CURRENTDATE by mistake.
So the most reliable information is to read out what is set in the filter...
Similar Messages
-
How to display lead selection ONLY in the ALV
HI All,
User would like display the selected records in ALV .
i suggested that add two button - "Display ALL" & "Display Selected" .
How can i only display the lead selection only in the ALV? or Hide un-selected records.
Please help.
Thank you so much
GordonHi,
Pelase have a look.. same requirement.
get_selected_elements method for ALV
Re: select rows in alv and show them in another alv in another view
Web dynpro ALV table copy selected row
cheers,
Kris. -
How to display only selected columns in the table on the tableview
Hi All,
I am displaying in the below tableview the data from the SFLIGHTS tables in the tableview using flow logic. It displays all the columns in the database table. How can I set in the code to display only selected columns and not all columns.
Also, in these columns displayed I want to make the key columns of SFLIGHT as non editable and the rest of the columns in SFLIGHT editiable. Can you please kindly share the code to implement this.
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
<htmlb:page>
<htmlb:form>
<htmlb:tableView id = "tv1"
visibleRowCount = "10"
selectionMode = "lineEdit"
table = "<%= flights %>"
filter = "SERVER"
sort = "server"
iterator = "<%= iterator %>" />
</htmlb:form>
</htmlb:page>
</htmlb:content>
Thanks
KarenHi,
Please try this code.
<!-- To display Table control on BSP page with table internal table it_hist --!>
<htmlb:tableView id = "TV_HIST"
headerText = "Previous History"
headerVisible = "TRUE"
footerVisible = "TRUE"
design = "ALTERNATING"
selectionMode = "LINEEDIT"
visibleRowCount = "5"
fillUpEmptyRows = "TRUE"
table = "<%= it_hist %>"
width = "500" >
<!-- to show selected columns give required field name --!>
<htmlb:tableViewColumns>
<htmlb:tableViewColumn columnName = "FIELD1"
title = "COLUMN1"
horizontalAlignment = "CENTER"
width = "65" >
</htmlb:tableViewColumn>
<htmlb:tableViewColumn columnName = "FIELD2"
title = "COLUMN2"
horizontalAlignment = "CENTER"
width = "65" >
</htmlb:tableViewColumn>
<htmlb:tableViewColumn columnName = "FIELD3"
title = "COLUMN3"
horizontalAlignment = "CENTER"
width = "65" >
</htmlb:tableViewColumn>
<htmlb:tableViewColumn columnName = "FIELD4"
title = "COLUMN4"
horizontalAlignment = "CENTER"
width = "65" >
</htmlb:tableViewColumn>
<!-- to make column editable set edit property to TRUE --!>
<htmlb:tableViewColumn columnName = "FIELD4"
title = "COLUMN4"
edit = "TRUE"
horizontalAlignment = "CENTER"
width = "65" >
</htmlb:tableViewColumn>
</htmlb:tableViewColumns>
</htmlb:tableView> -
How to display a select query record in a tool tip?
hi,
How to display a select query record in a tool tip?
for example i have a report employee. when i move the mouse pointer over a employee name, the tool tip should display the respective department id, department name...of that employee name.
select dep_id, dep_name ....from department where employee.....Is it possible?
thanksDear Skud,
Yes its possible..select ''||ename||'' from emp
other wise you can use jQuery tooptip or some other JScript bundles.
Thanks and Regards
Maheswara -
How to display records into a non table base block..
Hi,
Can anybody help me how to display records into a non table base block....
Find below is my coding but it only display the last record in the first line
in the block.
PROCEDURE CREATE_CARTON_QUESTION IS
CURSOR car_c IS
select /*+ rule */ question_id, question_description
from WHOP.QADB_QUESTIONS
where question_category = 'Carton'
and question_active_flag = 'Y';
v_found VARCHAR2(10);
v_status boolean;
v_error varchar2(150);
v_count number;
car_r car_c%rowtype;
begin
begin
select count(*) into v_count
from WHOP.QADB_QUESTIONS
where question_category = 'Carton'
and question_active_flag = 'Y';
exception
when no_data_found then
v_count := 0;
end;
if v_count > 0 then
for car_r in car_c loop
---populating carton questions
:la_carton.carton_question_id := car_r.question_id;
:la_carton.carton_question_answer := 'N';
:la_carton.carton_error_details := null;
:la_carton.attribute2 := car_r.question_description;
end loop;
end if;
end;
Thanks in advance.
Regards,
JunHi SNatapov,
Thanks for you reply but still I get this error...
FRM-40737 Illegal restricted procedure GO_BLOCK in WHEN-VALIDATE-ITEM trigger.
Please note that I call that program unit in the last field of my control block inside when-validate-item trigger the questions should be display in la_carton block which is my non-base table block.
Find below is the code....
begin
go_block('la_carton');
first_record;
for car_r in car_c loop
---populating carton questions
:la_carton.carton_question_id := car_r.question_id;
:la_carton.carton_question_answer := 'N';
:la_carton.carton_error_details := null;
:la_carton.attribute2 := car_r.question_description;
next_record;
end loop;
end;
Hoping you can help me this problem...
Thanks in advance.
Regards,
Jun -
i have 100 records can anybody tell me how i display records 10 at atime in jsp & by clicking the next button another 10 records displays in the same jsp. How i can do that thing.
You have to implement a page breake yourself.
Simple scenario would be to store a page number into a session:
session.setAttribute("page", selectedPage)
every time user clicks on a next page link
When displaying the record read the page and display only those which should be on the page
Integer selectedPage = session.getAttribute("page")
if (selectedPage == null) selectedPage = 1;
//display code goes here -
How to get latest record on top of the result list
Hi Gurus,
How to get latest record on top of the result list when you open the record.
saved data method in BT120H_CPL of OverView page and result list in ICCMP_INBOX.
Regards,
RaviHi
Try sort descending by on fileld "changed at ".
manipulate the sort depends on your requirement
Regards
Logu -
How to display properties of dimension on the input form and report in bpc
Dear Expert,
Please tell me how to display properties of dimension on the input form and report in bpc. I can only display dimension number.
thanks so much
hungthHi Hungh,
If your are using BPC 10 with EPM add in client, you can use the function:
EPMDimensionProperty ()
This function retrieves the properties of a specified dimension in a specified cell range.
Thanks, Safa -
How do I change default settings in the author field when I edit or insert a comment in a PDF?
How do I change default settings in the author field when I edit or insert a comment in a PDF?
Generally it gets this info from the Identity in the preferences. Unfortunately, I know of no way to change the Login Name that shows up in the comments. I need to look at newer versions of Acrobat on other machines, this is AA8.
-
hi all,
we a have a data target which was compressed and rolled up...
please do suggest us how to go for selective deletion if the data target was rolled up???
on what basis we need to do the selective deletion ??
thanks for ur understanding...
suggestions would be highly rewarded
regards
PrinceHi,
in the subsequent datatargets of your ODS:
if the requests are only rolled up, then you can delete those requests; now if your aggregates are collapsed then you'll have to dactivate them and reactivate them after. If not you can simply delete them.
then delete all the requests from your ODS up to the request right after the missing one. This will deactivate you ODS delta init. This is not a problem since when you'll have finished with the above your ODS and subsequent targets will have a consistent status in terms of data.
Reinit your ODS delta without datatransfer, reconstruct your missing request and the subsequent requests in your ODS.
Reactivate them (not all together as a single activation, but separately).
Then load the delta into your subsequent targets.
Now if the subsequent datatargets are collapsed then you'll have to either reinit with full load or selective delete them. the missing request in your ODS still must be reloaded before!
If you go for selective deletion you'll have to find the right selection criteria based on the data of your ODS. For instance if you can ensure that only a selected period is incorrect (all the ODS requests from the missing one to the last only contain data for JAN08) then you can selectively delete JAN08 from your subseq targets and perform a FULL load selecting JAN08 from your ODS.
Then perform an INIT without data transfer... you can then continue your deltas as usual....
hope this helps....
Olivier. -
How to have a selection screen in the smartform
Hi,
<i><b>How to have a selection screen in the smartform. <u>Could anybody share with the example of driver program and the smart forms</u> . Please send me ASAP</b></i>
Thanks
Shiva shekarHi,
Refer to this
http://www.****************/Tutorials/Smartforms/SFMain.htm
Thanks,
Anitha -
How to display multi-channel image in the 'proxy'?
There're many examples to show how to display composite channels in the 'proxy'. But I don't find any example to show how to display multi-channel image in the 'proxy'. I found that I can use PSPixelOverlay to display alpha channel data like this:
int nSpotChannel = gChannelCount - 4;
PSPixelOverlay* overlay = new PSPixelOverlay[nSpotChannel];
for(int i = 0; i < nSpotChannel; i++){
if( i != (nSpotChannel - 1) )
overlay[i].next = overlay + i + 1;
else
overlay[i].next = NULL;
overlay[i].data = gChannelData + (4 + i) * nPlaneBytes;
overlay[i].rowBytes = gProxyRect.Width() * gDocDesc->depth / 8;
overlay[i].colBytes = 1;
overlay[i].r = 230;
overlay[i].g = 161;
overlay[i].b = 174;
overlay[i].opacity = 255;
overlay[i].overlayAlgorithm = kStandardAlphaOverlay;
pixels.pixelOverlays = overlay;
Then, Seeing red part, it will trigger a new problem, that is how to get the color value of the alpha channel by plung-in itself? It seems that no channel color value info is in FilterRecord.
If you have other solution, please tell me. Many thanks!This is what I've been doing - was just curious if there was a way to see a more cohesive image.
If the individual EQ plugins are in fact the answer, is there any way to smooth how the Analyzer displays? The image I posted above, all of the tonal curves are very smooth. The analyzer tool shows a lot of peaks and valleys within the overall curve and it's hard to pinpoint each instrument's "sweet spot." Vocals for example are very hard to spot.
- Morgan -
How to display language key (0LANGU) in the query for BW report
Hi,
Can someone tell me how to display language key (0LANGU) in the query? I want to display which language (English or French) is used for material description in BW report. Thx.hi,
check if the infoobject is kept as lang dependent or not for material text, else you need to create a masterdata attribute with text and lang keys and do corresponding mapping, so then it can be displayed in your report
regards
laksh -
How to display my country flag on the task bar in osx mavericks?
How to display my country flag on the task bar in osx mavericks?
System Preferences > Keyboard > Input Sources
Checkmark the box beside "Show Input menu in menu bar". -
How do I highlight selected text in the Pages, Keynotes?
How do I highlight selected text in the Pages, Keynotes?
To answer your question foor your iOS Device using Pages or Keynote for iOS: You can't highlight as you might in many note taking apps for iPad, etc.
The best you can do at this point is to change the selected text's color by selecting the text > Style Menu (wrench) > Tap on the Font > Tap on the Color Box to reveal choices.
If you would like to join the chorus of folks wishing such a feature were in Pages and Keynote, you can leave feedback for the people at Apple:
http://www.apple.com/feedback/
Maybe you are looking for
-
I'm trying to create a new Apple ID but when I was putting on my information, there's a box asking for an ITunes gift code. What's this and how can I get one?
-
Posting goods receipt against Inbound Delivery
Hi, Our process is creating Purchase order with Confirmation control for Inbound delivery. Then we create a Inbound delivery. 1) After inbound delivery is done we do PGR through VL32N, the system updates the PO history with GR along with the Inbound
-
Nokia x3 help! menu button works for lock but not ...
i have a new nokia x3, around 2 months old, after restarting the phone one time, the main button (the menu button) works for locking/unlocking and even makes the keytone sound when you press it, but i cant open up the menu, its really annoying becaus
-
Bought a new computer tried to plug my Shuffle in to change and sync but no luck. Suggestions?
-
Looking for Forms 10g Training
Looking for Forms 9/10g accelerated training. Preferably somewhere in New York City area. Have looked at Oracle's own classes already. Also, interested in web-based class, if you can recommend something good. Thank you.