How to extract the number of employees (Head count) in a particulr month
Hi Experts,
We are trying to have a customized report on Having the employee headcount for a particular month with number of employees joined on the month and number of employees left the organisation.What is the way to get it.
Please advice.
V Sai.
Hi Vicky Sai,
The standard report is S_PH9_46000223 - EEs Entered and Left
If you want to obtain the numbers in the same screen you should do the following1
1 - access the report
2 - further selection button - select Action type and move it to the Selection fields (you will get it on the screen)
3 - select action Hiring and action Leaving (so that the report will only count these elements)
4 - Period - current month
5 - run the report
6 - you will now have to see the number of employees (unfortunately you cannot do Sum here as you could do in a Querry that you would build as you would add the Count field so we need to do a little trick)
7 - Change layout icon - View tab- select Preferred view instead of SAP List viewer ->Microsoft Excel
8 - Select a template - press save
9 - You will see now the report in the Excel format. You can do sums if you want, add formulas, or you simply delete the first line and just look at the latest line filled in (total number of EE who left or were hired during the month)
If you do your own Querry - you can skip the Excel part and make a screen variant with the Sums.
At least now you have 2 options that you can choose from
Regards,
Adriana
Similar Messages
-
How to extract the number from image using java
Hello every one
i want to develope a project which can extract the number from image
that i can use as inter or String or char.
Is there any API in java which provide this type of facility.
right now i m using java 5
thanks in Advance
JigneshIn my project i have a image in that i have a
co-ordinate (x,y) I am still puzzled as to what you seek. It sounds to me like you have a point (x, y) represented by p. in java it's just p.getX() p.getY()
i want to convert that cordinate to numeric form,
i mena i want to use that cordinate in somewhere else
in project.point.getX() point.getY()
So need to convert it into numeric form u can called
it OCR also.OCR is optical character recognition. If I want out and took a picture of the US Declaration of Independence and then wanted the words on the parchement in the picture in text form, then I would run the picture through a software program and it would try to optically recognise what lettering and number were present in the picture. In the end, I would have a text of what is written on the US Declaration of Independence.
Is that what you want? -
How to extract the number of the image which looks like a number
Now,I can generate a image which contains a random number,but I can not extract the number of the image.Any one can help me?
[url http://forum.java.sun.com/thread.jspa?threadID=779212&messageID=4433641#4433641]Crosspost.
-
OATS: How to return the number of tabs (tab count) in ADFPannelTabbed
Question: I have a ADFPannelTabbed Object wherein I want to validate whether a particular tabname exists or not. At present we have something like this: adf.panelTabbed(tabObject).GetText(1) and adf.panelTabbed(tabObject).GetText(2) and so on. However I want the count of the tabs that are available under adf.panelTabbed(tabObject), so that I can loop through it and check the tab existence based on the i value. something like below
For i=0 to tabcount
StrTabName = adf.paneltabbed(tabObject).GetText(i);
If(StrTabName.equals(MyInput){
info("PASS");
How to get the tabCount in this case.
URL: http://sc4512fwks.us.oracle.com:7111/productLifecycleManagement/faces/index.jspx
Steps: 1. Click on Concepts link
2. login with product_manager/Welcome1
3. Click on Create Requirement Specification
4. Enter Data and click on Save and close (Choose CreateNew radio button before saving)
5. The requirement gets created in a new tab and now I need to validate if the ADFPanel with tabName = "the one that is created in this flow" Exists.
Regards,
Kumari
Edited by: 837525 on Jun 26, 2012 4:14 AM
Edited by: 837525 on Jun 26, 2012 4:15 AMHi Vicky Sai,
The standard report is S_PH9_46000223 - EEs Entered and Left
If you want to obtain the numbers in the same screen you should do the following1
1 - access the report
2 - further selection button - select Action type and move it to the Selection fields (you will get it on the screen)
3 - select action Hiring and action Leaving (so that the report will only count these elements)
4 - Period - current month
5 - run the report
6 - you will now have to see the number of employees (unfortunately you cannot do Sum here as you could do in a Querry that you would build as you would add the Count field so we need to do a little trick)
7 - Change layout icon - View tab- select Preferred view instead of SAP List viewer ->Microsoft Excel
8 - Select a template - press save
9 - You will see now the report in the Excel format. You can do sums if you want, add formulas, or you simply delete the first line and just look at the latest line filled in (total number of EE who left or were hired during the month)
If you do your own Querry - you can skip the Excel part and make a screen variant with the Sums.
At least now you have 2 options that you can choose from
Regards,
Adriana -
How to optimize the number of battery cycle count?
Hello,
I'm using my MBP Retina display (Mid 2013 model) and I just found out my battery cycle count is 143. It's been a year since I bought it. Is that count normal? I don't use my laptop other than using it for browsing, Skype calls and word processing. I leave it charged all day and in the evening I use it up until a 60% charge is left. I can avoid this and leave it unplugged. Should I leave it unplugged and use the battery only when it is absolutely necessary to do so, to keep my battery cycle count low? Please suggest and thanks.Hello,
i may be wrong but I think the number of the battery's cycle is implemented by 1 each time you recharge to 100%. Even if you were for example at 70%, when you plug the charger to reach 100% it is counted as a cycle. -
Hi all,
Can any one tell how to get the number of files(.EPS) count inside a folder when the folder path is specified in VC++ 6.0?
Thanks in Advance.
Regards
myriazI'm a little confused by the question, but it sounds like you're asking how to count the number of files with a particular extension in a given directory? That's not really an AI SDK question, but it's a fairly easy one to find if you google it. If you're trying to use Illustrator to do it, AI doesn't have a general purpose file API. It has a few functions to do some things that Illustrator needs, but I don't think enumerating directories is one of them.
-
How to extract the details of the stored procedures in the database?
Dear all,
How to extract the details of them?
Bst Rgds,
EdwardHi Wa-Man Edward Chan,
Following is the PLSQL Block Which Will Give Package, Procedure, Function Source
set verify off
undefine which_object;
undefine which_line;
declare
Shows lines with context of:
VIEW
FUNCTION
PROCEDURE
TRIGGER
PACKAGE SPECIFICATION
PACKAGE BODY
The script uses to temporary tables ERROR_TABLE_TEMP and ERROR_CLOB_TEMP created with:
CREATE GLOBAL TEMPORARY TABLE ERROR_TABLE_TEMP(line number, text varchar2(4000));
CREATE GLOBAL TEMPORARY TABLE ERROR_CLOB_TEMP(TEXT CLOB);
v_offset number:= 5; -- Controls how many lines before and after the line in focus are to be shown
v_obj_name varchar2(100);
v_obj_type varchar2(100);
v_obj_type_new varchar2(100);
v_obj_line number;
v_counter number := 0;
v_text varchar2(32767);
v_subtext varchar2(1000);
v_from number;
v_len number;
v_marker varchar2(10);
v_found number;
v_line_from number;
v_line_to number;
v_long_text clob;
procedure ins_line (p_text in varchar2) is
begin
v_counter := v_counter + 1;
insert into error_table_temp(line,text)
values (v_counter,p_text);
end;
begin
delete error_table_temp;
select ltrim(rtrim(upper('&which_object'))), nvl(to_number('&which_line'),0)
into v_obj_name, v_obj_line
from dual;
begin
select decode(object_type,'PACKAGE','PACKAGE BODY',object_type)
into v_obj_type
from user_objects
where object_name = v_obj_name
and nvl(v_obj_line,0) > 0
and rownum = 1;
exception when no_data_found then
ins_line('ERROR: Object/line not found');
return;
end;
ins_line(v_obj_name||' ('||v_obj_type||')');
if v_obj_type in ('PACKAGE BODY','PACKAGE','FUNCTION','PROCEDURE') then
v_obj_type_new := v_obj_type;
ins_line('----------------------- PROGRAM LISTING -------------------------');
for code in (select trim(text) text, lpad(line,4,' ')||' '||decode(line,v_obj_line,'>>>>> ',' ') marker, type
from user_source
where name = v_obj_name
and line between v_obj_line-v_offset and v_obj_line+v_offset
order by decode(type,v_obj_type,1,2),line) loop
if v_obj_type_new != code.type then
ins_line(null);
v_obj_type_new := code.type;
v_counter := -100000; -- In order to show specification before body
ins_line(v_obj_name||' ('||v_obj_type_new||')');
ins_line('----------------------- PROGRAM LISTING -------------------------');
end if;
ins_line(code.marker||code.text);
end loop;
elsif v_obj_type = 'VIEW' then
select text
into v_text
from user_views
where view_name = v_obj_name;
v_line_from := v_obj_line-v_offset;
v_line_to := v_obj_line+v_offset;
v_obj_line := v_obj_line -1;
ins_line('------------------------------- PROGRAM LISTING -------------------------------');
for i in v_line_from..v_line_to loop
begin
if i = v_obj_line then
v_marker := '>>>>> ';
else
v_marker := ' ';
end if;
if i = 0 then
v_from := 0;
v_len := instr(v_text,chr(10));
else
v_from := instr(v_text,chr(10),1,i);
v_len := instr(v_text,chr(10),1,i+1) - v_from;
end if;
v_subtext := substr(v_text,v_from+1,v_len-1);
if v_len > 0 then
ins_line(lpad(to_char(i+1),4,' ')||' '||v_marker||v_subtext);
end if;
exception when others then
null;
end;
end loop;
elsif v_obj_type = 'TRIGGER' then
ins_line('----------------------- PROGRAM LISTING -------------------------');
delete error_clob_temp;
execute immediate 'insert into error_clob_temp (text) '||
'select to_lob(trigger_body) '||
'from user_triggers ' ||
'where trigger_name = '''||v_obj_name||'''';
select text
into v_long_text
from error_clob_temp;
v_obj_line := v_obj_line-1;
v_line_from := v_obj_line-v_offset;
v_line_to := v_obj_line+v_offset;
for i in v_line_from..v_line_to loop
begin
if i = v_obj_line then
v_marker := '>>>>> ';
else
v_marker := ' ';
end if;
if i = 0 then
v_from := 0;
v_len := dbms_lob.instr(v_long_text,chr(10));
else
v_from := dbms_lob.instr(v_long_text,chr(10),1,i);
v_len := dbms_lob.instr(v_long_text,chr(10),1,i+1) - v_from;
end if;
v_subtext := dbms_lob.substr(v_long_text,v_len-1,v_from+1);
if v_len > 0 then
ins_line(lpad(to_char(i+1),4,' ')||' '||v_marker||v_subtext);
end if;
exception when others then
null;
end;
end loop;
end if;
if v_counter = 0 then
ins_line('*********** NO CODE FOUND ***********');
else
ins_line(null);
end if;
exception when others then
ins_line('*********** ERROR: NOT POSSIBLE TO SHOW THE CODE ***********');
ins_line(' FEJL: '||sqlerrm);
end;
set linesize 4000
set heading off
set feedback off
set verify on
select text
from error_table_temp
order by line;
set linesize 80
set heading on
set feedback on
Prashant -
How to find the number of fetched lines from select statement
Hi Experts,
Can you tell me how to find the number of fetched lines from select statements..
and one more thing is can you tell me how to check the written select statement or written statement is correct or not????
Thanks in advance
santoshHi,
Look for the system field SY_TABIX. That will contain the number of records which have been put into an internal table through a select statement.
For ex:
data: itab type mara occurs 0 with header line.
Select * from mara into table itab.
Write: Sy-tabix.
This will give you the number of entries that has been selected.
I am not sure what you mean by the second question. If you can let me know what you need then we might have a solution.
Hope this helps,
Sudhi
Message was edited by:
Sudhindra Chandrashekar -
How to find the number of records per months in cube
Hi,
how to find the number of records per months for my all cubes?
Can i use the ListCube transaction to find totl number f records per cube monthwise ?
JimmyHi,
Here is a program to generate no of records and list of ODS and Cubes in Active version.Schedule this program in background and create a cube to load this information and schedule to the data from the file generated by the program. Schedule this all per you requirement.
1.Copy the code into your Z<programname> from Se38.
2.change the FILENAME in CALL FUNCTION 'GUI_DOWNLOAD' in the program to the location from where you can pick the information to load data to cube(eg Application server).
3.Save program.
4.Schedule the program in background as required
5.Create cube with infoobjects to hold no of records and Infoprovider name
6.Load this cube based on event after the program job is done.
Hence you can report on this cube to see no of records in CUBE or ODS in your box.
Please find the code below.
Cheers,
Kavitha Kamesh.
types: begin of itabs ,
tabname type dd02l-tabname,
end of itabs.
data: itab type itabs occurs 0 with header line.
data: counter type i.
data: begin of itab1 occurs 0,
tabname type dd02l-tabname,
counter type i,
end of itab1.
DATA: ITABTABNAME TYPE STRING.
DATA: LENGTH TYPE I.
DATA: OBJECT(30).
data: str(6) type c.
select tabname from dd02l into table itab where ( tabname LIKE '/BIC/F%' or tabname LIKE '/BIC/A%00' )
and TABCLASS = 'TRANSP' and AS4LOCAL = 'A'.
loop at itab.
select count(*) from (itab-tabname) into counter.
str = itab-tabname.
if str = '/BIC/F'.
LENGTH = STRLEN( ITAB-TABNAME ).
SHIFT itab-tabname BY 6 PLACES LEFT.
ELSEIf str = '/BIC/A'.
SHIFT itab-tabname BY 6 PLACES LEFT.
LENGTH = STRLEN( ITAB-TABNAME ).
LENGTH = LENGTH - 2.
endif.
itab1-tabname = itab-tabname(LENGTH).
append itab1.
itab1-counter = counter.
clear itab-tabname.
clear: COUNTER.
endloop.
*********** itab1
loop at itab1.
write:/ itab1-tabname, itab1-counter.
endloop.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
FILENAME = 'c:records.xls'
FILETYPE = 'ASC'
* APPEND = ' '
WRITE_FIELD_SEPARATOR = ','
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
* DAT_MODE = ' '
* CONFIRM_OVERWRITE = ' '
* NO_AUTH_CHECK = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = ' '
* TRUNC_TRAILING_BLANKS_EOL = 'X'
* WK1_N_FORMAT = ' '
* WK1_N_SIZE = ' '
* WK1_T_FORMAT = ' '
* WK1_T_SIZE = ' '
* IMPORTING
* FILELENGTH =
TABLES
DATA_TAB = itab1
* FIELDNAMES =
* EXCEPTIONS
* FILE_WRITE_ERROR = 1
* NO_BATCH = 2
* GUI_REFUSE_FILETRANSFER = 3
* INVALID_TYPE = 4
* NO_AUTHORITY = 5
* UNKNOWN_ERROR = 6
* HEADER_NOT_ALLOWED = 7
* SEPARATOR_NOT_ALLOWED = 8
* FILESIZE_NOT_ALLOWED = 9
* HEADER_TOO_LONG = 10
* DP_ERROR_CREATE = 11
* DP_ERROR_SEND = 12
* DP_ERROR_WRITE = 13
* UNKNOWN_DP_ERROR = 14
* ACCESS_DENIED = 15
* DP_OUT_OF_MEMORY = 16
* DISK_FULL = 17
* DP_TIMEOUT = 18
* FILE_NOT_FOUND = 19
* DATAPROVIDER_EXCEPTION = 20
* CONTROL_FLUSH_ERROR = 21
* OTHERS = 22
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
How to increase the number of rows in Status Oveview iView in MSS?
Hi
We have implemented MSS and have a question regarding Status overview iview.
The standard status overview iview of the team workset has 5 rows and we have to scroll using the arrow buttons to select/view a request.
Now can anyone explain me how to increase the number of rows in this iview? Is this somthing that has to be accoplished through web dynpro customization?
I checked the options in iView property and do not see any option to increase the number of rows.
please help
Thanks
-MichaelHi Micheal,
Well, I am not really sure, if you could accomplish this using customizing, but I am sure that you can accomplish this using the JDI. Well, you can extract the application's source code using JDI and then change the required display rows property and republish it.
Am not really sure if this is suggestable method for this requirement,but it can be achieved using this JDI stuff.
Regards
<b>Raja Sekhar</b><i></i> -
How to get the number of messages consumed by a MDB ??
Hi all,
How to get the number of messages consumed by a MDB displayed in OEM in a Java Application ???
DMS ??? what use DMS ???
tanksok.
Well using DMS is one way to get at these sorts of stats in a programmatic manner.
There's a Java API you can use, or you could call out to the Spy servlet to query the DMS stats in either text or XML form.
I don't have an MDB published so I can't show you specifiically, but here's the sort of query you can use to extract the data.
http://localhost:8888/dms0/Spy?format=raw&table=oc4j_ejb_stateless_bean&recurse=children
Which produces a table of the TEXT form:
<DMSDUMP version='9.0.4' timestamp='1163456821185 (Tue Nov 14 08:57:01 CST 2006)' id='8888' name='OC4J'>
<statistics>
/oc4j [type=n/a]
/oc4j/default [type=oc4j_ear]
/oc4j/default/EJBs [type=oc4j_ejb]
/oc4j/default/EJBs/jmsrouter_ejb [type=oc4j_ejb_pkg]
/oc4j/default/EJBs/jmsrouter_ejb/AdminMgrBean [type=oc4j_ejb_stateless_bean]
pooled.count: 11 ops
pooled.maxValue: 1 count
pooled.minValue: 0 count
pooled.value: 0 count
ready.count: 11 ops
ready.maxValue: 1 count
ready.minValue: 0 count
ready.value: 0 count
session-type.value: Stateless
transaction-type.value: Bean
/oc4j/default/EJBs/jmsrouter_ejb/EnqueuerBean [type=oc4j_ejb_stateless_bean]
pooled.count: 11 ops
pooled.maxValue: 0 count
pooled.minValue: 0 count
pooled.value: 0 count
ready.count: 11 ops
ready.maxValue: 0 count
ready.minValue: 0 count
ready.value: 0 count
session-type.value: Stateless
transaction-type.value: Bean
/oc4j/default/EJBs/jmsrouter_ejb/TimerHandlerBean [type=oc4j_ejb_stateless_bean]
pooled.count: 11 ops
pooled.maxValue: 0 count
pooled.minValue: 0 count
pooled.value: 0 count
ready.count: 11 ops
ready.maxValue: 0 count
ready.minValue: 0 count
ready.value: 0 count
session-type.value: Stateless
transaction-type.value: Bean
</statistics>
</DMSDUMP>
Or produces an XML document of the form:
http://localhost:8888/dms0/Spy?format=xml&table=oc4j_ejb_stateless_bean&recurse=children
You can use the Spy console to find the table that contains the details for MDB and then take it from there.
This is not what you specifically want to do, but it does provide a good overview of how DMS is used.
http://www.oracle.com/technology/pub/notes/technote_dms.html
-steve- -
How to extract the senders IP address of an email?
How to extract the senders IP adress of an email using applescript ??
Maybe this will help.
Extract email addresses from email header - Sender (From) - Mail -
How to extract the Fast Formula Body through database?
Hi All
The Oracle fast formulas are stored in the ff_formulas_f table under the column formula_text having the datatype long. I want to extract the formula text through back end. When I use the statement, Select formula_text from ff_formulas_f, I am getting only the first line.
How to extract the full formula text?
Regards
RahmanHere's a unix shell script to do it for you based on the info given by the other posters.
#!/bin/sh
if \[ "$1" == "" \]; then
echo Syntax: $0 FAST_FORMULA_NAME
exit 1
fi
ffname=`echo $1|tr \[:lower:\] \[:upper:\]`; export ffname
sqlplus -silent $ORAUSER/$ORAPASSWD <<END
set define off serveroutput on format wrapped linesize 512 pagesize 0 feedback off verify off heading off echo off pause off long 100000
column formula_text format a512;
select formula_text from ff_formulas_f where formula_name = '$ffname';
exit;
END
Also this will list the formula names given a substring:
#!/bin/sh
if \[ "$1" == "" \]; then
echo Syntax: $0 FAST_FORMULA_NAME
exit 1
fi
ffname=`echo $1|tr \[:lower:\] \[:upper:\]`; export ffname
sqlplus -silent $ORAUSER/$ORAPASSWD <<END
set define off serveroutput on format wrapped linesize 512 pagesize 0 feedback off verify off heading off echo off pause off long 5000
select formula_name from ff_formulas_f where formula_name like '%$ffname%';
exit;
END -
How to extract the actual XML document from soap message?
My problem is " how to extract the actual XML document from soap message? "
i just want to extract the attachment i.e. (pure XML document without any soap header or envolope).
i could be ver thank full if u could solve my problem.
[email protected]Hi,
This is some skeleton code for extracting an attachment from a SOAPMessage.
import javax.activation.DataHandler.;
import javax.xml.soap.*;
import javax.xml.message.*;
Iterator allAttachments = message.getAttachments();
AttachmentPart ap1 = null;
while(allAttachments.hasNext()){
ap1 = (AttachmentPart)allAttachments.next();
//Check that the attachment is correct one. By looking at its mime headers
//Convert the attachment part into its DOM representation:
if(ap1.getContentType() == "text/xml"){
//Use the activation dataHandler class to extract the content, then create a StreamSource from
//the content.
DataHandler attachmentContent = ap1.getDataHandler();
StreamSource attachmentStream = new StreamSource(attachmentContent.getInputStream());
DOMResult domAttachment = getDOMResult(attachmentStream);
domAttachment holds an xml representation of the attachment.
Hope this helps. -
How to delete the number saved in CALL FORWARDING list?
how to delete the number saved in CALL FORWARDING list? seems like the number cannot be deleted in CALL FORWARDING list, i tried several times...
he thing is, here are three numbers in the call forwarding list, one of them were set up by mistake, and none of them can be deleted.......it brothers me all the time. i already turn it off, but the number list is still there...Hello dennis130915 and welcome to the BlackBerry Support Community Forums.
The image you have uploaded is unable to be displayed.
Call Forwarding is a carrier controlled feature. Most likely, the number you see could be for the Voice Mail server.
It's advised you call your mobile service provider to further assist with this feature.
Thanks!
-HMthePirate
Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!
Maybe you are looking for
-
Wrong data when i create a report on infoset in BI 7.0
Customer No has the master data(C100,C200,C300,C400) and C300 and C400 are not performed any transaction in the cube. Created a infoset with left outer join on infoobject (Customer No) and the Infocube(which has the transactions done by the Customer)
-
Hi, I want to perform some arithmetic operations on my columns for eg. i want add the contents of column1 and column2 and store the result in column3. i've made these three columns editable. Can anyone help me in this regard.
-
Should I shoot in HD or SD?
This question comes up from time to time in this and other forums. Clearly, the answer would be to shoot in HD if the final result will be delivered in HD. But what if the final result will be delivered in SD, such as DVD? Does it still make sense to
-
Hi Chaps, I have Oracle 11g1 server side and am using the Oracle XDK 10.1.0.2.0 for Windows client side with Sun Java JDK 6 (1.6.0_06-b02). (I couldnt find an XDK for 11g1???) I have a table in my database that has an XMLType, its a very simple table
-
Library Will Not Populate - Please Help
I have a lot of music in my My Documents\My Music\iTunes\iTunes Music Folder. The iTunes preferences are set to point to that folder. When I open iTunes, however, none of the songs ever appear. If I have tried to recreate my library using this guide,