How to display balance days for annual leave in payslip report
hi all,
cn sm1 let me know how i can display the leave balance days of each employee on their payslip.
please let me know the tables where i can find the info of the employee annual leave days balance.
The leave defined is decreasing.
Plz i need your assistance gurus.
All comments are welcomed!
No one out there to response buddies?
Similar Messages
-
How to display "No data for yesterday" in a scheduled report on Webi
Hi All,
In Webi, I am working on scheduling reports and was asked by a user if the scheduled report on Webi can display "No data for yesterday/no orders for yesterday" when the report returns no data due to No Orders submitted or a business holiday. This sounded a good idea to me as this report only looks for previous days orders/sales and there are many instances when the report will return blank page due to no activity the day before.
Can anyone please guide me on the possibility of achieving something like this on Webi using Bex query.
Any help will be appreciated .
Thanks
GauravHi,
You can format the blocks in the report as "Hide When Empty" or "Hide When [some formula]" and have a blank cell added behind these blocks with a text "No Data for Yesterday"
Need to set the relative position and ordering for this accordingly. -
How to display different text for labels in Group Above Report Oracle Repor
Hello,
Is there a way to change the text that is displayed in Labels in a Group Above Report? For example, I have a Group Above report with my columns of data and above the columns I have my column labels, but I would like to be able to display various text, i.e. different labels based on condition. In other words, Column1 label could say Column 1 or This is Column1, based on a condition. This is Oracle Report Builder 10.1.2.0.2.
Thank you.968277 wrote:
I'm thinking it is possible with a Format Trigger, but I've only ever returned (TRUE) or (FALSE). I am very new to Oracle Reports Builder. Thanks.Hi,
Yes it's possible. and your are in the right place. use this true and false. For example
/*true means display, false means don't display */
if your_criteria_or_condition is ok then
return (TRUE);
else
return (FALSE);
end if;create as many label as your need and control with the code..
Hope this works..
Hamid
Mark correct/helpful to help others to get right answer(s).* -
How to display 6 days, 29 months, today, etc
Hi experts,
Been trying to figure out how to display 6 days, 29months, 1 month in result but couldnt figure out how. I searched in the internet and it gives me the idea of using add_months().
However, im not sure how am i gonna use it on my end.
For example,
Last login date was September 5, 2012. Then it should display 2 months. im not sure how to implement it on a query.
oracle version:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
"CORE 11.2.0.1.0 Production"
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - ProductionLet me know if you need more info.
regards,
jhi,
thanks for your response.
This is my query
select us.n_unitid
, u.c_externalid
, us.c_unitname
, (select to_char(sysdate,'MM') - to_char((to_date(max(d_date),'dd/mm/yyyy')),'MM') from dual) -- your query
, (select (to_char(max(d_date), 'dd.mm.yyyy'))
from userstats
where n_unitid = us.n_unitid) "Letzter Login Date"
, (select count(*)
from userstats
where n_unitid = us.n_unitid) "Logins"
from userstats us, unit u
where us.n_unitid = u.ip_unitid
and u.nf_statusid = 1
and us.n_groupid = 97
group by us.n_unitid, u.c_externalid, c_unitname;how would I add your query to my query? sorry if im asking so many questions.. you are using dual here. How would i get the d_date value from userstats table?
Thanks. -
How to display different icon, for different node of jtree
Hi All,
How to display different icon, for different node of jtreeyou haven't responded to my last post here: [http://forums.sun.com/thread.jspa?threadID=5323190&messageID=10382676#10382676|http://forums.sun.com/thread.jspa?threadID=5323190&messageID=10382676#10382676]
-
How To Display All Comments for a Planning Package
Hi,
I have the How-to guide mentioned in the subject and have now moved onto BI7. Is the guide still applicable in BI7 and how would I go about implementing the above How-to in IP instead of BPS?
Thanks,
AleThanks Marc.
I will use BW-BPS for the time being as I've seen screenshots of the solution in the how-to. Still need to answer the question here:
How To. Display All Comments for a Planning Package
As I have no idea how to achieve the functionality detailed in the thread above.
Thanks for your time Marc,
Regards,
Ale -
How to display icon symbols for a field in se38 program
HI
IAM VIJAY. PLS GIVE ME THE SOLUTION .
how to display icon symbols for a field in se38 program.
WITH REGARDS.
VIJAY.Hi
you cab use INCLUDE <ICON> and use standard icons provided by sap.
Sample code:
WRITE /20(2) ICON_DATE AS ICON.
WRITE /20(2) ICON_TIME AS ICON.
WRITE /20(2) ICON_ADDRESS AS ICON.
Thanks!! -
NOT WORKING -How To Display All Comments for a Planning Package
Hi All,
I am using How to Document "How To Display All Comments for a Planning Package" to display comments for list of "cost center" against different "fiscal/year" for Key Figure "Budget Amount".
Below is how the Layout looks like where comments are posted against Cost Center- year combination.
Cost Center 2007 2008 2009 2010 2011
3 2.00 2.00 2.00 2.00 2.00
4 2.00 2.00 2.00 2.00 2.00
6 2.00 2.00 2.00 2.00 2.00
7 2.00 2.00 2.00 2.00 2.00
This case is very similar to the example given in how to document but after following all the steps correctly in the document and also followings various forum links such as below , I am not able to display the comments for list of Cost Centers.
"How to...BSP display comments"...problem with row comment
Below are the issues being faced:
1) When i save the comments , the icon for comments (indicating that some comments have been entered) is not shown against selection of Cost Center-Year although the comment is saved.Comment are also visible in BPS0.
2) On execution "Web interface could not be loaded" - is the message that is shown in the area where BPS application should show all the comments.
Highly Appreciate any help with issues mentioned above.
Kind Regards,
Robin JohriHello Robin,
1) please check if you set the row/cell selection property correctly for the layout component in the web interface.
2) the error does not make sense since the comments are displayed in an iframe using a BSP application, not a web interface. Check the URL in the HTML text component.
Regards,
Marc
SAP Techology RIG -
How to display "action description " for an action
hi,
how to display "action description " for an actionhi,
Go to SPRO>Personal Management> Personal Administration--> Customizing Procedures --> Actions --> Setup Personal Actions/Create Reasons for Personal Actions.
I think it will solve your problem. -
How to display only Day value instead of DATE in Bex Report
Hi Experts,
We have a Month to date Report, in this report we need to display only day value instead of DATE value,
Like
if Date is 14.05.2010 we need to show only 14
Regards,
ChandraHi ,
Thanks for Quick Response
we does have the option to create the char(calday or ...) value variable replacement with char (calday or ...) info object, we can replace with Report r variable value only not with info object.
i hope we can replace the with info object only with formula variable with replacement.
My BEx Report is Designed like
Columns
0Calday
Rows
Plant
Keyfigures
Actual
Plan
Report output Looks like month to date
0CALDAY 01.06.2010 02.06.2010 03.06.2010
P1 ACTUAL 10 8 4
P1 PLAN 15 6 2
P2 ACTUAL 5 10 7
P2 PLAN 4 8 3
Report should be
0CALDAY 1 2 3
P1 ACTUAL 10 8 4
P1 PLAN 15 6 2
P2 ACTUAL 5 10 7
P2 PLAN 4 8 3
please let me know how can i achive this
Regards
Chandra -
How to display header title for 0MATERIAL texts in the query output?
Dear Bwers,
I have a requirement where i need to display headers titles for 0MATERIAL texts in the query output. (example "Material description"). Any ideas on how to do this?
Thanks
RajKamal,
Its is as below:
<b>Vendor</b> <b>Vendor Name</b>
1001 --- Bright Industries
1002 --- Glow Industries
I want to display the header title "Vendor Name" as the title in the column instead of displaying the text without any header title.
Thanks
Raj
Message was edited by:
Raj Singh
Message was edited by:
Raj Singh -
How to display help text for Region in a page having more than one region
Hi all,
I want to display help text for each region in my page. I have 5 regions in my page.
I have a big help text for each of my region so can any easy way is there to put the help text for each region more than 10 lines .I tried lot by searching forums but not able to implement. any document is there then please let me know.
Thanks in advance,
Amiti mean either if we click the region title name it should display some help text of near about 10 lines in a popup window.
Or on moseover whenever we will put the cursor into the region title then it should displat the help text message of line 10.
Hope you will get my qustion well.
Thanks,
Amit -
How to display values in top of page in ALV report
Hai,
This is my billing report program, i developed that object by using ALV but i could not able to use Top-of-page. please any one correct my code,
*& Report ZE0232_ALV_BILLING *
report ze0232_alv_billing.
type-pools: slis.
data: repid like sy-repid.
data: fieldcatalog type slis_t_fieldcat_alv,
wa_fieldcatalog type slis_fieldcat_alv.
data : ievent type slis_t_event,
wevent type slis_alv_event.
data: sal_text like tvkot-vtext,
DIS_TEXT LIKE TVTWT-VTEXT,
DIV_TEXT LIKE TSPAT-VTEXT.
tables: vbrk.
data: begin of i_vbrk occurs 0,
vbeln like vbrk-vbeln,
fkdat like vbrk-fkdat,
erdat like vbrk-erdat,
kunrg like vbrk-kunrg,
name1 like kna1-name1,
netwr like vbrk-netwr,
stext like tvkot-vtext,
dtext like tvtwt-vtext,
divtext like tspat-vtext,
end of i_vbrk.
selection-screen begin of block billing with frame.
parameters: salesorg like vbrk-vkorg.
select-options: dischanl for vbrk-vtweg,
division for vbrk-spart,
bildat for vbrk-fkdat.
selection-screen end of block billing.
select vbeln fkdat erdat kunrg netwr from vbrk into corresponding fields of table i_vbrk where vkorg = salesorg
and vtweg in dischanl
and spart in division
and fkdat in bildat.
select vtext from tvkot into sal_text where vkorg = salesorg and spras = 'EN'.
endselect.
select vtext from TVTWT into DIS_text where VTWEG IN dischanl and spras = 'EN'.
endselect.
select vtext from TSPAT into DIV_text where SPART IN DIVISION and spras = 'EN'.
endselect.
loop at i_vbrk.
move: sal_text to i_vbrk-stext,
DIS_TEXT TO I_VBRK-DTEXT,
DIV_TEXT TO I_VBRK-DIVTEXT.
modify i_vbrk.
endloop.
perform get_fieldcatalog.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = repid
I_GRID_TITLE =
i_callback_top_of_page = 'TOPS'
it_fieldcat = fieldcatalog
tables
t_outtab = i_vbrk
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
*& Form GET_FIELDCATALOG
text
<b>form tops.
write :/ 'Hai Welcome'.
endform. "tops</b>&----
*& Form get_fieldcatalog
text
form get_fieldcatalog.
wa_fieldcatalog-col_pos = '1'.
wa_fieldcatalog-fieldname = 'VBELN'.
wa_fieldcatalog-tabname = 'I_VBAK'.
wa_fieldcatalog-seltext_m = 'SALES DOCUMENT'.
WA_fieldcatalog-rollname = 'VBELN'.
wa_fieldcatalog-hotspot = 'X'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-col_pos = '2'.
wa_fieldcatalog-fieldname = 'FKDAT'.
wa_fieldcatalog-tabname = 'I_VBAK'.
wa_fieldcatalog-seltext_m = 'BILL DATE'.
WA_fieldcatalog-rollname = 'VBELN'.
WA_fieldcatalog-hotspot = 'X'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-col_pos = '3'.
wa_fieldcatalog-fieldname = 'ERDAT'.
wa_fieldcatalog-tabname = 'I_VBAK'.
wa_fieldcatalog-seltext_m = 'CREATED DATE'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-col_pos = '4'.
wa_fieldcatalog-fieldname = 'KUNRG'.
wa_fieldcatalog-tabname = 'I_VBAK'.
wa_fieldcatalog-seltext_m = 'CUSTOMER NO'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-col_pos = '5'.
wa_fieldcatalog-fieldname = 'NAME1'.
wa_fieldcatalog-tabname = 'I_VBAK'.
wa_fieldcatalog-seltext_m = 'CUSTOMER NAME'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-col_pos = '6'.
wa_fieldcatalog-fieldname = 'NETWR'.
wa_fieldcatalog-tabname = 'I_VBAK'.
wa_fieldcatalog-seltext_m = 'NET VALUE'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-col_pos = '7'.
wa_fieldcatalog-fieldname = 'STEXT'.
wa_fieldcatalog-tabname = 'I_VBAK'.
wa_fieldcatalog-seltext_m = 'SALES ORG'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-col_pos = '8'.
wa_fieldcatalog-fieldname = 'DTEXT'.
wa_fieldcatalog-tabname = 'I_VBAK'.
wa_fieldcatalog-seltext_m = 'DIS.CHANNEL'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-col_pos = '9'.
wa_fieldcatalog-fieldname = 'DIVTEXT'.
wa_fieldcatalog-tabname = 'I_VBAK'.
wa_fieldcatalog-seltext_m = 'DIVISION'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
endform. "GET_FIELDCATALOGHI see this report
you can know how to write TOP-OF_PAGE code
and insert LOGO also
*& Report ZTEST_ALV_LOGO
REPORT ztest_alv_logo.
TYPE-POOLS : slis.
*ALV Formatting tables /structures
DATA: gt_fieldcat TYPE slis_t_fieldcat_alv.
DATA: gt_events TYPE slis_t_event.
DATA: gs_layout TYPE slis_layout_alv.
DATA: gt_page TYPE slis_t_listheader.
DATA: gs_page TYPE slis_listheader.
DATA: v_repid LIKE sy-repid.
*ALV Formatting work area
DATA: w_fieldcat TYPE slis_fieldcat_alv.
DATA: w_events TYPE slis_alv_event.
DATA: gt_bsid TYPE TABLE OF bsid WITH HEADER LINE.
INITIALIZATION.
PERFORM build_events.
PERFORM build_page_header.
START-OF-SELECTION.
*perform build_comment. "top_of_page - in initialization at present
SELECT * FROM bsid INTO TABLE gt_bsid UP TO 10 ROWS.
*perform populate_for_fm using '1' '3' 'BUKRS' '8' 'GT_BSID' 'Whee'.
*USING = Row, Column, Field name, display length, table name, heading
*OR
PERFORM build_fieldcat.
gs_layout-zebra = 'X'.
*top of page event does not work without I_callback_program
v_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = v_repid
i_structure_name = 'BSID'
i_background_id = 'ALV_BACKGROUND'
i_grid_title = 'This is the grid title'
I_GRID_SETTINGS =
is_layout = gs_layout
it_fieldcat = gt_fieldcat[]
it_events = gt_events[]
TABLES
t_outtab = gt_bsid.
Form..............: populate_for_fm
Description.......: Populates fields for function module used in ALV
FORM populate_for_fm USING p_row
p_col
p_fieldname
p_len
p_table
p_desc.
w_fieldcat-row_pos = p_row. "Row Position
w_fieldcat-col_pos = p_col. "Column Position
w_fieldcat-fieldname = p_fieldname. "Field name
w_fieldcat-outputlen = p_len. "Column Lenth
w_fieldcat-tabname = p_table. "Table name
w_fieldcat-reptext_ddic = p_desc. "Field Description
w_fieldcat-input = '1'.
APPEND w_fieldcat TO gt_fieldcat.
CLEAR w_fieldcat.
ENDFORM. " populate_for_fm
*& Form build_events
FORM build_events.
DATA: ls_event TYPE slis_alv_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = gt_events.
READ TABLE gt_events
WITH KEY name = slis_ev_user_command
INTO ls_event.
IF sy-subrc = 0.
MOVE slis_ev_user_command TO ls_event-form.
APPEND ls_event TO gt_events.
ENDIF.
READ TABLE gt_events
WITH KEY name = slis_ev_top_of_page
INTO ls_event.
IF sy-subrc = 0.
MOVE slis_ev_top_of_page TO ls_event-form.
APPEND ls_event TO gt_events.
ENDIF.
ENDFORM. " build_events
*& Form USER_COMMAND
When user command is called it uses 2 parameters. The itab
passed to the ALV is in whatever order it currently is on screen.
Therefore, you can read table itab index rs_selfield-tabindex to get
all data from the table. You can also check r_ucomm and code
accordingly.
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
READ TABLE gt_bsid INDEX rs_selfield-tabindex.
error checking etc.
SET PARAMETER ID 'KUN' FIELD gt_bsid-kunnr.
CALL TRANSACTION 'XD03' AND SKIP FIRST SCREEN.
ENDFORM. "user_command
*& Form top_of_page
Your own company logo can go here if it has been saved (OAOR)
If the logo is larger than the size of the headings in gt_page,
the window will not show full logo and will have a scroll bar. Thus,
it is a good idea to have a standard ALV header if you are going to
use logos in your top of page.
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = gt_page
i_logo = 'ENJOYSAP_LOGO'.
ENDFORM. "top_of_page
*& Form build_fieldcat
*Many and varied fields are available here. Have a look at documentation
*for FM REUSE_ALV_LIST_DISPLAY and REUSE_ALV_FIELDCATALOG_MERGE
FORM build_fieldcat.
w_fieldcat-fieldname = 'BUDAT'.
w_fieldcat-seltext_m = 'Dte pst'.
w_fieldcat-ddictxt(1) = 'M'.
w_fieldcat-edit = 'x'.
Can change the position of fields if you do not want them in order
of the DDIC or itab
w_fieldcat-row_pos = '1'.
w_fieldcat-col_pos = '10'.
APPEND w_fieldcat TO gt_fieldcat.
CLEAR w_fieldcat.
ENDFORM. " build_fieldcat
*& Form build_page_header
gt_page is used in top of page (ALV subroutine - NOT event)
*H = Header, S = Selection, A = Action
FORM build_page_header.
For Headers, Key is not printed and is irrelevant. Will not cause
a syntax error, but is not used.
gs_page-typ = 'H'.
gs_page-info = 'Header 1'.
APPEND gs_page TO gt_page.
gs_page-typ = 'H'.
gs_page-info = 'Header 2'.
APPEND gs_page TO gt_page.
For Selections, the Key is printed (bold). It can be anything up to 20
bytes. It gets printed in order of code here, not by key value.
gs_page-typ = 'S'.
gs_page-key = 'And the winner is:'.
gs_page-info = 'Selection 1'.
APPEND gs_page TO gt_page.
gs_page-typ = 'S'.
gs_page-key = 'Runner up:'.
gs_page-info = 'Selection 2'.
APPEND gs_page TO gt_page.
For Action, Key is also irrelevant.
gs_page-typ = 'A'.
gs_page-info = 'Action goes here'.
APPEND gs_page TO gt_page.
ENDFORM. " build_page_header
<b>Reward if useful</b> -
How to prompt date range for a single column in reports
Hi All,
I am having a prompt which shows from date and to date, both these columns will come from day column of calendar .We want that our report values should be between the from date and to date.Can someone tell me how can this be achieved.Because if we build a report we will pull day column from calendar and say its prompted.How can we get the condition that day clumn should be between from date and to date of prompt.
Thanks and Regards,
AmritHi vineet,
Thanks for your reply
I am having one prompt where we will have two columns from date and to date, both these columns are coming from same column called day in mth_calendar.I am having 1 report where the date range should lie between from date and to date of prompt.In this case should I use your second suggestion or the first one.
Thanks,
Amrit -
How to create Data Template for creation of BI Pulisher Report
Hi,
I m having all the steps for creation of BI Pulisher report using Data Template, like 1st create Data Template, Add new Data Definition, upload Data Template, Create Concurrent Program and run the request, save o/p and create rtf layout, upload Template and again run Concurrent program to view output.
All steps are working fine.. but my simple question is every time we need to write code for Data Template i.e. xml file ? is there is tool or something which will create this Data template for us using rdf? or is there any other way ?
Please guide ..
Regards,
Priyanka.Hi;
Please see below note which could be helpful for your issue:
NOTE:367394.1 - About Oracle XML Publisher Release 5.6.2
Also see:
http://www.adivaconsulting.com/adiva-blog/item/5-datatemplate
http://apps2fusion.com/at/51-ps/262-xml-publisher-and-data-template-sql-query-to-develop-bi-publisher-reports
http://blogs.oracle.com/xmlpublisher/data_extraction/data_templates/
Regard
Helios
Maybe you are looking for
-
Sharing iPhoto Library - Order in which albums appear
A friend is sharing her iPhoto library on her iMac over her home wireless network to a MacBook Air. This works well except that the list of albums on the MacBook Air doesn't seem to bear any resemblance to the order in which they appear on the iMac.
-
PL/SQL cursor-collection related query
Hi all, I have a function which will take a collection (table of numbers) as a input argument. Each id in the collection corresponds to a set of columns.I need to return a cursor which will contain the resultsets for all the ids in the collection.How
-
Why does Image Capture stop recognizing Epson scanner after scanning several images? I have to stop and start the scanner in order for Image Capture to recognize it again.
-
Duplicate persistence unit name in war
Hi! I am using weblogic 10.3. I am trying to deploy a spring web application with two jars, that contain jpa entities with a persistence.xml. The persistence unit name in both persistence.xml is equal. That is for spring no problem, because i wrote a
-
Does anyone know if I can use my old Apple Laser printer 16/1600 with my iMac 10.6.8. When I switched to 10.6.8 it won't print. Can't find any software upgrades on the Apple support site. The printer does not have USB connection. It's a great printer