Filter report by back ground color or by condition
I'd like to filter my report by conditions like iif(Parameter is true, Fields.speed.value > 100 or Fields.speed.value > (speedlimit +15), nothing). I tried using Dataset filter as following set up, but it won't return the order with speed
over 100 or over speedlimit by 15 km/h.
FilterExpression: [Speed]
>
=iif((Parameter.Boolean.value = true, 100 or (fields.Speedlimit.value +15), 0).
Then i filter all the cell that when speed is under the condition like
iif(speed > 100 or speed > (speedlimit+15), "PINK", "White")
but I don't know whether I could filter report by back ground color.
Anyone please help me with any solution.
thanks.
Thank you very much for the solution.!
It works when i select "true' for the parameter.
But instead of showing all orders when "false", it shows orders under condition Fields!Speed.Value>(Fields!SpeedLimit.Value+15.
Do you have any idea why?
all order number is 1000
number of orders with Field.Speed.Value > 100 is 13
number of orders with Fields!Speed.Value>(Fields!SpeedLimit.Value+15
is 340
number of orders with Fields!Speed.Value>100
or Fields!Speed.Value>(Fields!SpeedLimit.Value+15 is 353
I'm getting 353 when "True" 340 when "False"(I do want 1000)
Similar Messages
-
Set back ground color to a particular cell in table view
hi,
iam working on a jspDynpage and have a htmlb table view for which i need a way to set back ground color to a particular cell in table view, the color has to be set based on a value..is there a way to do it without using an iterator...well iam using a cellRenderer for the table but cant find a way to set the colors...if anyone does have a way please do reply...regardsYou can mention the color in <b>textview</b> as well as <b>Label as follows:</b>
<htmlb:textView text = "<span style='background-color: #00FF00'>My Textview</span>"
design = "EMPHASIZED" />
<htmlb:label for = "MyLabel"
text = "<span style='background-color: #00FF00'>Label </span>"
encode = "false"/>
Reward each helpful answer
Raja T
Message was edited by:
Raja Thangamani -
Hi All,
Can we run alv report in back ground,if yes how?
Thanks&Regards.
Srikanth.Vhi Ramu,
Run in Background but make sure it is alv list, not alv Grid FM. if you are uisng alv list not problem , but if you are using alv grid then you can code like this..
if sy-batch = ' '.
call 'REUSE_ALV_GRID_DISPLAY'.
else.
call 'REUSE_ALV_LIST_DISPLAY'.
endif.
if you are using OO alv then write this code..
CALL METHOD cl_gui_alv_grid=>offline
RECEIVING e_offline = off.
IF off IS INITIAL.
CREATE OBJECT g_custom_container
EXPORTING container_name = g_container.
ENDIF. -
I would like to change my back ground color in one frame for a logo that i am using I am able to change it on the canvas but not on the timeline?
Are you using FCPX? It doesn't have a canvas. Do you really mean one frame, like 1/30th of a second? Add a custom generator underneath the logo. Make it whatever color you want. Make it however short you want.
-
How to eliminate extra white when hovering over with a back ground color?
I just finished my menu and I notice that the hovering color is not hiding all the white. Does someone know how to eliminate extra white when hovering over with a back ground color?
http://www.tammyfarringtoncreative.com/test/index.html
Thanks!You have heights on the ul, li as 36px and a line-height of the text of 35px so they are not matching up. Personally speaking I would normally recommend using padding on the links to create the height and not set the height on the ul or li elements.
-
Problem when printing Alv Tree Report in back ground
Hi,
I am using SUBMIT ...TO SAP-SPOOL WITHOUT SPOOL DYNPRO with GET_PRINT_PARAMETERS FM.Its working fine.
My problem is that my SUBMIT report have TREE STRUCTURE as output so when i am running my program one blank screen is coming with heading DISPLAY LOG TREE because of TREE STRUCTURE.when i click on back button then only further processing happens.
How to avoid this TREE STRUCTURE SCREEN ???
Is there any other way to pass your list o/p to SPOOL other than .....TO SAP-SPOOL..?
Thanks in advance.in foreground when u run ALV report it holds maximum fields and displays in 1 single row, but the case is not in back ground...When any report is run in background, the default size for a line is 255 chars...So, if it more it gets splitted into 2 line item....This is how back ground job works for a report though it is a normal report or alv report.
-
Submiting report in back ground with values
Hello all abapers,
I m working on one application where one module pool program will take input from user for user id and password. After verification, one back ground report will be scheduled by this program to change user pw and add some role in user's profile.
when i schedule the prg in background i need to pass some values like user id and password entered on module pool screen...
how do i pass it to background job when scheduling and how bg job prg will read these values..
please advise me as its needed asap...
thanks in advance,
jigs.
any helpful suggestions will be rewarded.Hi,
Put the following code in user command:
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = 'ZSUBMIT'
IMPORTING
jobcount = jbcnt
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4
IF sy-subrc <> 0.
ENDIF.
SUBMIT <program to be submitted> WITH P_user_id = user id VIA JOB 'ZSUBMIT' NUMBER jbcnt AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = jbcnt
jobname = 'ZSUBMIT'
strtimmed = 'X'
EXCEPTIONS
CANT_START_IMMEDIATE = 1
INVALID_STARTDATE = 2
JOBNAME_MISSING = 3
JOB_CLOSE_FAILED = 4
JOB_NOSTEPS = 5
JOB_NOTEX = 6
LOCK_FAILED = 7
INVALID_TARGET = 8
OTHERS = 9
IF sy-subrc <> 0.
ENDIF.
A job called 'ZSUBMIT' will be released in background.
Please try and award points if useful.
Thanks and regards,
S. Chandra Mouli. -
Problem submitting a report in back ground
Hi,
I'm trying to submit a report in background and I always get an error saying make an entry in all required fields. But it works perfectly fine in foreground. I'm not sure what am I doing wrong. Pls suggest.............I'm not using any front end FMs...
SUBMIT RKAEP000 via selection-screen
USING SELECTION-SCREEN 310
with p_tcode eq 'KOB2'
WITH SELECTION-TABLE seltab
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
AND RETURN.Hi chesat
u just compare ur code with this...
Using JOB_OPEN,JOB_SUBMIT,JOB_CLOSE
Demo Program:
REPORT YJob .
DATA : v_jobhead LIKE tbtcjob.
DATA : v_jobcount LIKE tbtcjob-jobcount.
DATA : v_eventparm LIKE tbtcjob-eventparm.
DATA : v_flg_released TYPE c.
DATA: e_error.
DATA: running LIKE tbtcv-run.
TYPES: esp1_boolean LIKE boole-boole.
CONSTANTS: esp1_false TYPE esp1_boolean VALUE ' ',
esp1_true TYPE esp1_boolean VALUE 'X'.
CONSTANTS: true TYPE boolean VALUE esp1_true,
false TYPE boolean VALUE esp1_false.
PARAMETERS: v_jobnam LIKE tbtcjob-jobname,
v_report LIKE sy-repid,
v_varian LIKE raldb-variant,
v_uname LIKE sy-uname.
START-OF-SELECTION.
add the new job
CALL FUNCTION 'JOB_OPEN'
EXPORTING
delanfrep = 'X'
jobname = v_jobnam
IMPORTING
jobcount = v_jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc <> 0.
e_error = true.
ELSE.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
authcknam = v_uname
jobcount = v_jobcount
jobname = v_jobnam
report = v_report
variant = v_varian
EXCEPTIONS
bad_priparams = 1
bad_xpgflags = 2
invalid_jobdata = 3
jobname_missing = 4
job_notex = 5
job_submit_failed = 6
lock_failed = 7
program_missing = 8
prog_abap_and_extpg_set = 9
OTHERS = 10.
IF sy-subrc <> 0.
e_error = true.
ELSE.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
EVENT_ID = IC_WWI_WORKPROCESS_EVENT
EVENT_PARAM = V_EVENTPARM
EVENT_PERIODIC = 'X'
jobcount = v_jobcount
jobname = v_jobnam
strtimmed = 'X'
IMPORTING
job_was_released = v_flg_released
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
e_error = true.
ELSE.
DO.
CALL FUNCTION 'SHOW_JOBSTATE'
EXPORTING
jobcount = v_jobcount
jobname = v_jobnam
IMPORTING
ABORTED =
FINISHED =
PRELIMINARY =
READY =
running =
SCHEDULED =
EXCEPTIONS
jobcount_missing = 1
jobname_missing = 2
job_notex = 3
OTHERS = 4.
IF sy-subrc <> 0.
e_error = true.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF running = space.
EXIT.
ENDIF.
ENDDO.
ENDIF.
ENDIF.
ENDIF.
Are u using any ALV display while prinitng..?? -
Download ALV report in back ground in local directry
thanks to all but my porblem is download the ALV report in background in local directry.
sriram.HI ,
Find the small code to download the file in background.
n SAP ABAP you can transfer the contents of the internal table to a file. This is required when you wish to extract data from SAP tables into a flat file. This file can then be used to transfer data to another SAP or NON SAP system. This can also be used for an interfacing when you wish to transfer data on a daily or a weekly basis from R/3 to NON R/3 or SAP. The command used to create a file on the application server is as follows.
OPEN DATASET
Please see example code below.
REPORT ZEX_DATATOFILE .
*& ABAPLOVERS: Data Transfer
Parameters to enter the path
PARAMETERS FILENAME(128) DEFAULT '/usr/tmp/testfile.dat'
LOWER CASE.
Table Declaration
TABLES VBAK.
Data Declaration
DATA D_MSG_TEXT(50).
Get data for file transfer
DATA INT_VBAK LIKE VBAK OCCURS 100
WITH HEADER LINE.
SELECT * FROM VBAK INTO TABLE INT_VBAK.
SORT INT_VBAK BY VBELN.
LOOP AT INT_VBAK.
WRITE: / INT_VBAK-VBELN,
INT_VBAK-KUNNR.
ENDLOOP.
Opening the File
OPEN DATASET FILENAME FOR OUTPUT IN TEXT MODE
MESSAGE D_MSG_TEXT.
IF SY-SUBRC NE 0.
WRITE: 'File cannot be opened. Reason:', D_MSG_TEXT.
EXIT.
ENDIF.
Transferring Data
LOOP AT INT_VBAK.
TRANSFER INT_VBAK-VBELN TO FILENAME.
ENDLOOP.
Closing the File
CLOSE DATASET FILENAME.
Regards,
Rajesh Akarte -
Hi experts ,
i want to give background color in the header of alv ..i am using header by spliting container in 2 parts....so how it can be possible ?
Thanks and Regards
Priyank DixitCheck the DD_STYLE_TABLE program.
different colors.
cl_dd_area=>col_textarea.
cl_dd_area=>col_tree_level1.
cl_dd_area=>col_tree_level2.
cl_dd_area=>col_tree_level3.
cl_dd_area=>col_tree_level4.
when you are intializing the document you can use this method and set the background color
CALL METHOD document->initialize_document
EXPORTING
background_color = cl_dd_area=>col_tree_level4. -
How to run a report in back ground
how to run a report in background with out using job open, submit , close is there any other function module to run report in background.
Hi,
There are two ways for you to handle,
one manually setting up the job through SM36 which is better and convinient,
secondly through program using FM's JOB_OPEN, SUBMIT, JOB_CLOSE.
Find below steps in doing both:
Procedure 1:
1. Goto Trans -> SM36
2. Define a job with the program and variant if any
3. Click on start condition in application tool bar
4. In the pop-up window, click on Date/Time
5. Below you can see a check box "Periodic Job"
6. Next click on Period Values
7. Select "Other Period"
8. Now give '15' for Minutes
9. Save the job
Procedure 2 via Program:
Below is a sample code for the same. Note the ZTEMP2 is the program i am scheduling with 15mins frequency.
DATA: P_JOBCNT LIKE TBTCJOB-JOBCOUNT,
L_RELEASE(1) TYPE c.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = 'ZTEMP2'
IMPORTING
JOBCOUNT = P_JOBCNT
EXCEPTIONS
CANT_CREATE_JOB = 1
INVALID_JOB_DATA = 2
JOBNAME_MISSING = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SUBMIT ZTEMP2 VIA JOB 'ZTEMP2' NUMBER P_JOBCNT
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
WITH DESTINATION = 'HPMISPRT'
WITH IMMEDIATELY = SPACE
WITH KEEP_IN_SPOOL = 'X' AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = P_JOBCNT
JOBNAME = 'ZTEMP2'
STRTIMMED = 'X'
PRDMINS = 15
IMPORTING
JOB_WAS_RELEASED = L_RELEASE
EXCEPTIONS
CANT_START_IMMEDIATE = 1
INVALID_STARTDATE = 2
JOBNAME_MISSING = 3
JOB_CLOSE_FAILED = 4
JOB_NOSTEPS = 5
JOB_NOTEX = 6
LOCK_FAILED = 7
INVALID_TARGET = 8
OTHERS = 9.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Hope the above helps you.
<b>Reward points</b>
REGARDS -
Scheduling report in back ground after the previous report is executed
Hi,
There is one report which will be executed manually, once that is executed my report should be executed automatically in background.
Pls help me in how to do this.
Thanks,
LuckyHi,
In the first report, try this code:
DATA l_jobcount TYPE tbtcjob-jobcount.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = 'TEST_JOB'
IMPORTING
jobcount = l_jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc <> 0.
CASE sy-subrc.
WHEN 1.
MESSAGE e054(bl)
WHEN 2.
MESSAGE e008(mi_badi)
WHEN 3.
MESSAGE e009(mi_badi)
WHEN 4.
MESSAGE e703(fkjo)
ENDCASE.
ENDIF.
SUBMIT z_second_program
WITH p_param1 = 'TES'
WITH s_select_option IN s_range
VIA JOB 'TEST_JOB' NUMBER l_jobcount
AND RETURN.
IF sy-subrc EQ 0.
p_submit = true.
ENDIF.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = l_jobcount
jobname = 'TEST_JOB'
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
invalid_target = 8
OTHERS = 9.
IF sy-subrc <> 0.
CASE sy-subrc.
WHEN 1.
MESSAGE e012(mi_badi)
WHEN 2.
MESSAGE e013(mi_badi)
WHEN 3.
MESSAGE e009(mi_badi)
WHEN 4.
MESSAGE e014(mi_badi)
WHEN 5.
MESSAGE e015(mi_badi)
WHEN 6.
MESSAGE e541(scpr)
WHEN 7.
MESSAGE e267(arch_ana)
WHEN 8.
MESSAGE e216(xm)
WHEN 9.
MESSAGE e727(fkjo)
ENDCASE.
ENDIF. -
Reporting agent - Back ground scheduling
Hello Gurus,
I am trying to schedule the reporting agent scheduling package in Background... Is it possible to schedule it in Background when executing via Process Chain.
Thank youThanks for the Info.
But the situation that I am facing is.. I have a remote cube and the regular cube attached to a multiprovider which is used to reconcile BW report with that of R/3 tables.
When I execute the report in BW ... the data that is read from R3 tables ... it is under DIA process.
the time out is set to 20 minutes. and everytime the report is executed it is saying uncaught exceptiona and when I check in the log it says time exceeded.
Is there anyway that I can schedule the R/3 side job to a Background job (so that there would be no timeout).
I hope I am clear..
Please help me on this issue. -
Remove the back ground color.
Good day all! Can anyone help with this little problem?
I'm adding a flash button to Dreamweaver. No problem! But!!
The background image that the flash button sits upon has a gradient
fill. And I want there to be no background color on the flash
button. So I dont see a white or any other color behind the flash
button!
Thank's all!You are looking for "wmode", a attribute in the html param
tag and embed
tag. There are some limitations to using this since not all
browsers
recognize wmode.
<param name="wmode" value="transparent">Add the
following parameter to the
EMBED tag:wmode="transparent"More info on wmode here:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14201--
Dan
Mode --> Adobe Community Expert*Flash Helps*
http://www.smithmediafusion.com/blog/?cat=11*THE
online Radio*
http://www.tornadostream.com
<--check this*Must Read*
http://www.smithmediafusion.com/blog"satrop"
<[email protected]>
wrote in message news:eve1lb$l6s$[email protected]..
> Good day all! Can anyone help with this little problem?
> I'm adding a flash button to Dreamweaver. No problem!
But!! The
> background
> image that the flash button sits upon has a gradient
fill. And I want
> there to
> be no background color on the flash button. So I dont
see a white or any
> other
> color behind the flash button!
>
> Thank's all!
> -
How to change style (back-ground color) in selectBooleanCheckbox?
Hi
I've got selectBooleanCheckbox:
af:selectBooleanCheckbox text="selectBooleanCheckbox 1"
label="Label 1" />
I can change background color of text="selectBooleanCheckbox 1" and label="Label 1"? just by adding inlineStyle="background-color:rgb(255,255,66)"
SO, How can I change background color in space BETWEEN text and label (just at the checkBox)?Hi,
the inline style property only styled the DOM node of the component. ADF Faces components are complex DHTML components that you style by writing a custom skin (see developer guide for skinning). If you don't want to write a custom skin, use Firebug to determine the style class generated for this component
Frank
Maybe you are looking for
-
Create a new view in a enhance component
Hi All, I want to create a new view for sales order and quatation in a component BP_factsheet.When i craete new view ,it is asking about some value like model node, bol entity, higher level, bol realtion.after that is is asking context node
-
Can I use one Time Capsule to backup two MacbookPro in the same house?
Can a Time Capsule backup more than one Mac? Or do I need to buy one TC for each Mac I have ?
-
Controlling Sound Within Buttons
I have just recently purchased Adobe Flash CS5 and have read through the entire "Classroom In A Book" for Adobe Flash CS4 Professional. However, the book never went into much detail into what I am trying to do. I'm creating a website for me and my f
-
Very slow wireless internet for netcfg 2.5.4
Dear all, Ever since I upgraded my entire system, including netcfg, wifi on my Thinkpad X61 (iwlagn driver) and my local home network had been dead slow. Thing is, on another network I'm not experiencing this problem at all with the latest netcfg ver
-
Reinstall Photoshop CC 14.2
I need to reinstall Phot0shopp CC version 14.2. I have not been able to find a way to revert back to the previous version from Photoshop CC 2014 release. Any ideas hot revet back to the previous Photoshop release?