How to get employees PERNR,ENAME,MAIL information under manager
Dear Experts,
is they have any standard function module to find employees information under the manager.
I need empnumber(PERNR), Ename, Mailid employees information under the manager..
please help me.
Regards
CALL FUNCTION 'RH_STRUC_GET'
EXPORTING
act_otype = 'O'
act_objid = w_objid
act_wegid = 'B002'
ACT_INT_FLAG =
ACT_PLVAR = ' '
act_begda = w_begda
act_endda = w_endda
ACT_TDEPTH = 0
ACT_TFLAG = 'X'
ACT_VFLAG = 'X'
AUTHORITY_CHECK = 'X'
TEXT_BUFFER_FILL =
BUFFER_MODE =
IMPORTING
ACT_PLVAR =
TABLES
result_tab = it_result
result_objec = it_objec
result_struc = it_struc
EXCEPTIONS
no_plvar_found = 1
no_entry_found = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
try this u will get positions of employee under the manager
then u can get pernr from IT-0001 or from IT-1001 for that positions,
then get required data from IT-0002 & IT-0105(email address if maintained check subtype).
reward points if found helpful.
Similar Messages
-
how to get "my destionation" on notications? under todays view on my iphone 4 no option to toggle on/off
*** I should add that it fails when it says "Restoring iPhone Firmware".
-
How to get employee no(pernr) based on the organizational unit
HI,
I am using LDB PNP in my program nd have used my own report category with Organizational unit,begin date and end date in the selection screen.
Now I have to get all the active employee of that organizational unit.so tell me how to get this
Explain about GET and PROVIDE statement
Regards,
KiruthiHi !
To get active employees reject separated employees ( action )
i.g
******Data fetch*****
start-of-selection.
get pernr.
if pernr-massn eq '14'.
reject.
else.
it_active-sapid = pernr-pernr.
endif.
ORGEH : Organizational Unit
ORGTX: Organization unit text
********Organization*************
*data text type char30.
SELECT SINGLE ORGEH from pa0001 into IT_ACTIVE-ORGEH where PERNR = IT_ACTIVE-SAPID.
SELECT SINGLE ORGTX from t527x into IT_ACTIVE-ORGTX where ORGEH = IT_ACTIVE-ORGEH and SPRSL = 'EN' .
if sy-subrc eq 0.
write: 160 sy-vline, IT_ACTIVE-ORGTX.
else.
clear: IT_ACTIVE-ORGTX.
write: 160 sy-vline, IT_ACTIVE-ORGTX.
endif.
**************Organizational ID ******************
select single ORGEH from pa0001 into it_active-Org where pernr = it_active-sapid and begda le pn-endda and endda eq '99991231' .
if sy-subrc eq 0.
write: 180 sy-vline, it_active-org .
else.
clear: it_active-org .
select single ORGEH from pa0001 into it_active-org where pernr = it_active-sapid and endda EQ '99991231' .
write: 180 sy-vline, it_active-org.
endif.
Regards
Sheetal -
How to get next batch of mails from GMail?
Hello,
I can not get next batch of mail from Gmail. I thought how this is question for gmail but they have respond me this:
"Thanks for your interest in Gmail and in Google. Because we're testing Gmail, there is some information we're unable to share."
Does anyone can tell me how to do this?
Thanks in advance!
Best Regards,
Nikola PutnikYou cannot
-
How to get Employee Picture in Smartforms
Hi Experts
Please help me out in getting employee picture in Smartforms
I have used the following FMs
1. HR_IMAGE_EXISTS
2. SCMS_DOC_URL_READ
By using these two FM i got the URL and i am able to get the picture in my Report Program,by using FM 'ISM_URL_SHOW'.
But Please tell how to get this picture in Smartform .
As i am generating Employee Biodata and in that i need employee Picture.
Please HELP me ....
Thanks & Regards
Shaveta PrabhakarHi,
U need pictures in smartforms for that just try this one I think so it will help full to u.
First Upload that picture in the se78 that photo must be in the bitmapformat(picture.bmp).
steps are:
goto se78>graphics->import--->it asks the file path here,fill those details
Then goto Smartform--->In which page u want to put the picture,
there click that page and goto Background picture,
here give the name of that picture and select the resolution and positin of the picture there.
Then u will get the picture in the output.
Regards,
Surya -
How to get the addition DML Error information when using PL/SQL?
Given the following statements:
drop table bob;
create table bob
col1 number(6,2),
col2 number(6,2) not null
insert into bob(col1, col2) values (123.12, null);
insert into bob(col1, col2) values (123.12, 12345.12);
commit;
I get different behavior from Oracle error messages.
Here is the sample output:
Table dropped.
Table created.
insert into bob(col1, col2) values (123.12, null)
ERROR at line 1:
ORA-01400: cannot insert NULL into ("BOB"."COL2")
insert into bob(col1, col2) values (123.12, 12345.12)
ERROR at line 1:
ORA-01438: value larger than specified precision allows for this column
Commit complete.
Note that in the first error (1400) the generated error message contains the name of the problematic column ("BOB"."COL2"). Also note that in the regurgitated statement the error pointer (*) is at the far left. In this case, the regurgitated statement is of no use to me because the error message identifies the culprit column.
However, in the second error (1438) the generated error message is very generic and does NOT indicate the problematic column. In addition, in this case the error pointer (*) of the regurgitated statement has moved to point to the troublesome column. In this case, I must use BOTH the error message and the regurgitated statement to completely understand the problem.
This difference in how error messages are constructed causes difficulty within PL/SQL. If PL/SQL happens to generate a 1400 error message, then simply capturing the error message and giving it to the user provides enough information for him/her to solve the problem. However, if a 1438 error is generated then the resulting error message has insufficient information for the user to pursue the problem.
So my question is, within PL/SQL do you know how to get your hands on Oracle's regurgitated statements so that they can be presented to the user to assisted him/her in problem resolution?
Thanks.I don't think it's that easy. Notice that if you put the insert into an actual pl/sql block, you don't get the correct column pointer anymore.
BEGIN insert into bob(col1, col2) values (123.12, 12345.12); END;
ERROR at line 1:
ORA-01438: value larger than specified precision allows for this column
ORA-06512: at line 1
Richard -
I have several e-mail addresses . . . how to get them all in Mail?
I'm new to Mail and get my primary e-mail just fine (att.yahoo). I have several other e-mail addresses from different domain names -- work, organizations, etc -- how do I get these as well in mail.
I know there is a simple answer to this but I haven't found it.
Thanks.I have a similar add to apple mail issue: I am trying to add my NYC Board of Education e mail. But I can't figure out what to write in the Outlook Wel Access Server.
If anyone can help me , I put Exchange Server as my account type. -
How to get notes from Apple Mail to iPad Notes?
Greetings,
I can not seem to find any way to get notes from Apple Mail on my Mac to Notes on my iPad.
What the heck do I have to do?
There is no Notes sync option in iTunes.
Also, I can not sign in to MobileMe in my System Preferences. It alway says the member name or passowrd is wrong. How do I find out what my member name is? I only know my Apple ID which is an email addres, and that does not work. I am able to sign into MobileMe on my iPad.
HelpOn your phone. If you have Notes turned to On in Settings>iCloud, and also had notes on the phone prior to turning on this setting, you should have two accounts in the notes app: On My iPhone and iCloud (listed as your iCloud ID).
Did you have notes on your phone prior to turn on Notes in Settings>iCloud? Is Notes turned to On in Settings>iCloud now? -
How to get swoosh sound when mail gets sent
How to get the swoosh sound back when mail gets sent?
I'm talking about my iMac desktop. I have OSX 10.9.5. I used to hear the swoosh sound when I sent an e-mail. Suddenly it's gone, and I can't find out how to get it back. I miss it!
-
hello friends,
i want to know how to get Body of mail
thank u
bye
somuhai
i will describe in detail
i want to separate the body and attachment of body and i should save with the body with the .body extension and i will not change attachment's extension.
i use the message.getContent() to get body. it is working fine while for a mail with out attachment but for a mail with attachment diplayed as the object.
and i also used message[i].getInputStream() method to get body even then
i could not get and the outfile look's like this
----------MailBlocks_8C8578F65F2833A_23FC_9973_mblkn-m02.sysops.aol.com
Content-Type: text/plain; charset="us-ascii"
hello this test mail
Try the New Netscape Mail Today!
Virtually Spam-Free | More Storage | Import Your Contact List
http://mail.netscape.com
----------MailBlocks_8C8578F65F2833A_23FC_9973_mblkn-m02.sysops.aol.com
Content-Type: application/octet-stream; name="Test.java~"
Content-Disposition: attachment; filename="Test.java~"
Content-Transfer-Encoding: base64
aW1wb3J0IGphdmEuaW8uKjsKaW1wb3J0IGphdmEudXRpbC4qOwpjbGFzcyBUZXN0CnsKCXB1
YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZyBhcmdbXSkKCXsKCQl0cnl7CgkJQnVmZmVy
ZWRSZWFkZXIgYnI9bmV3IEJ1ZmZlcmVkUmVhZGVyKG5ldyBJbnB1dFN0cmVhbVJlYWRlcihT
eXN0ZW0uaW4pKTsKCQlTeXN0ZW0ub3V0LnByaW50bG4oIkVOVEVSIGRhdGEgdG8gYmUgc2Vh
cmNoZWQgICIpOwoJCVN0cmluZyBtYWlsPWJyLnJlYWRMaW5lKCk7CgkJCgkJRmlsZSBmPW5l
dyBGaWxlKCJmMi50eHQiKTsKCQlGaWxlSW5wdXRTdHJlYW0gZmlzPW5ldyBGaWxlSW5wdXRT
dHJlYW0oImYyLnR4dCIpOwoJCUlucHV0U3RyZWFtUmVhZGVyIGlzcj1uZXcgSW5wdXRTdHJl
YW1SZWFkZXIoZmlzKTsKCQlCdWZmZXJlZFJlYWRlciBicjE9bmV3IEJ1ZmZlcmVkUmVhZGVy
KGlzcik7CgkJU3RyaW5nQnVmZmVyIHNiPW5ldyBTdHJpbmdCdWZmZXIoKTsKCQlpbnQgbGVu
PShpbnQpZi5sZW5ndGgoKTsKCQlmb3IoaW50IGk9MDtpPGxlbjtpKyspCiAgICAJCXsKCQkJ
aWYoYnIxLnJlYWRMaW5lKCkhPW51bGwpCgkJCXsKICAgICAgICAJCQlTdHJpbmdUb2tlbml6
ZXIgc3Q9bmV3IFN0cmluZ1Rva2VuaXplcihicjEucmVhZExpbmUoKSk7CgkJCQl3aGlsZSAo
c3QuaGFzTW9yZVRva2VucygpKSAKCQkJCXsKCQkJCQlpZihtYWlsLmVxdWFscyhzdC5uZXh0
VG9rZW4oKSkKCQkJCQl7CgkJICAgICAgCQkJCSAgIFN5c3RlbS5vdXQucHJpbnRsbihzdC5u
ZXh0VG9rZW4oKSk7CgkJCQkJfQogICAgIAkJCQl9CgkJCX0KICAgIAkJfQkJCgkJfQoJCWNh
dGNoKEV4Y2VwdGlvbiBlKQoJCXsKCQkJU3lzdGVtLm91dC5wcmludGxuKGUpOwoJCX0KCX0K
fQo=
----------MailBlocks_8C8578F65F2833A_23FC_9973_mblkn-m02.sysops.aol.com-- -
How to get name of default mail server?
Hi ,
I need to get the name of default mail server . In 1.5 i can get this using
System.getenv("MAIL_SERVER");.
How do i get this in 1.4?
Since getenv() is depricated in 1.4 , how can i get the name of mail server in 1.4?
plz help me....How do i get this in 1.4?Pass the environment variable to your JVM (windows) with the -D parameter
java -Dmail_server="%MAIL_SERVER%" myClassthen in your code
String mail_server = System.getProperty("mail_server");--
http://www.rgagnon.com/howto.html -
How to get logged-in user/group information in WebLogic Portal 10.3.2
Hi bros.
I have a codesnipet to get information about user who actually logged in weblogic portal:
import javax.security.auth.Subject;
import javax.security.auth.login.LoginException;
import com.bea.p13n.security.Authentication;
import com.bea.portal.tools.security.user.*;
public class UGMSummary {
private static final String username = "weblogic";
private static final String password = "webl0gic";
public UGMSummary(){
public void test(){
try {
Subject tmp = Authentication.authenticate(username, password);
//PolicyItem pi = new PolicyItem();
//System.out.println("######## " + Authentication.getCurrentSubject().toString());
UserIDBuilder builder = new UserIDBuilder();
UserID uid = builder.createResourceID();
System.out.println("######## Admin ? " + Authentication.isAdministrator(tmp));
System.out.println("######## Anonymous ? " + Authentication.isAnonymous(tmp));
System.out.println(" ######## " + uid.getUserName());
} catch (LoginException e) {
System.out.println(e.getMessage());
//e.printStackTrace();
}Some println commands above are used to mark in console. I can ensure that there is an user (admin) logged in weblogic system by executing command: Authentication.isAdministrator(tmp);
Output of codesnipet above is:
######## Admin ? true
######## Anonymous ? false
######## nullMy problem is impossible to use UserID object to get username of weblogic user. Output of command: uid.getUsername() is: null
Somebody tell me why my code doesn't work though it can authenticate an user.
Thank in advance.
ps:
Some Javadoc for UserID can be found here:
http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14255/index.html
http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14255/index.htmlHi, Kevin.
I'm glad to see your response again. I found some interesting information from your recommendation link. At this time, I know that impossible to get users/groups information by using DelegatedAtnProxyManagerControlFacade (ref: http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14255/com/bea/portal/tools/ugm/controls/DelegatedAtnProxyManagerControlFacade.html) interface.
But, I dont know how to get an instance of an object that implemented this interface. My friend give me a codesnipet that shown the way to get a DelegatedAtnProxyManagerControlFacade by using this codesnipet in a GlobalController:
try
DelegatedAtnProxyManagerControlFacade delegatedAtnProxyManager = (DelegatedAtnProxyManagerControlFacade)getControl(DelegatedAtnProxyManagerControlFacade.class);
catch (PolicyRefException e)
reportPolicyRefException(e);
catch (OperationNotSupportedException e)
reportOperationNotSupportedException(e);
}But I dont know what global.GlobalController actually is ?
I've asked Google for information but I got nothing. Do you know any documentation that describes about this controller ?
Thanks, regards !
Doubt_Man. -
How to get Mobile number and other information from SIM card
Hi,
I like to get mobile number,mobile user name and other information from SIM card using j2me program.Is there is any API for this one.
Any one give guidelines to me how to get this.
with regards,
latchiyaPlease use the search! this topic has come up lots of times already.
-
Wiki Server: how to get rid of the "mail" nav menu item
How do I get rid of the "mail" nav menu item at the top right of our Wiki? Our mail server isn't switched on so I wouldn't have expected it to show in the first place.
I solved my issue, and it can probably help with yours too. Sounds like you'll have to enable web archives in order to disable them for individual groups.
See my lonely thread at:
http://discussions.apple.com/thread.jspa?messageID=7006339#7006339 -
How to get back my deleted mail message
how to get back my deleted message
Not very likely, but It's possible, but you must quit using the Computer immediately.
Either boot this one in Target mode...
http://docs.info.apple.com/article.html?artnum=58583
And recovering from another Mac, or booting this Mac from another HDD, then using Data Rescue II...
http://www.prosofteng.com/products/data_rescue.php
(Has a Free Demo to see if it could or not, but you'll need another drive to recover to).
Or professional Data Recovery Services.
BUT, every second you use that Mac the chances will be slimmer.
Maybe you are looking for
-
Why won't my Mac with Mountain Lion OS recognise my external Samsung hard drive?
Why won't my Mac with Mountain Lion OS recognise my external Samsung hard drive?
-
WRT160Nv3 trouble connecting laptop using Vodafone secure remote acces
I have a WRT160Nv3 router installed at home. My home laptops, gameconsoles and iPhone could be connected thru Cicso Network Magic. To get my netgear WGPS606 printerserver connected, I had to disable my windows firewall, connect it with CNM and enable
-
Registry error in my itunes and I have tried to reinstall a number of times and it doesn't fix it.
-
Plz tell me step by step procedure of bapi_inspectionplan_create using LSMW .
-
WLC with AP´s different ap´s brands
The Cisco WLC it´s able to handle aps of differents brands?