How to get Manager id automatically when Employee Id is given.
How to get Manager id automatically when Employee Id is given.
1) I created a simple BO with two elements namely
1.Employee Id
2.Manager id
How to get employee's first name and last name?
And how will i get manager id automatic when i click employee id in element field.
Anbu.
Have you tried to use "APPS.FND_CONCURRENT" API?
http://etrm.oracle.com/pls/trm11510/etrm_pnav.show_object?c_name=FND_CONCURRENT&c_owner=APPS&c_type=PACKAGE
http://etrm.oracle.com/pls/trm11510/etrm_pnav.show_object?c_name=FND_CONCURRENT&c_owner=APPS&c_type=PACKAGE%20BODY
Thanks,
Hussein
Similar Messages
-
How to get pricing date automatically when billing
Does anybody know where can I set, to get pricing date automatically when billing? (BTY must by the Sales order type)?
Thanks you guy.Hi check in t-code VOV8 and enter sales order document type you can see pricing date setting as well as you can change manually pricing date while billing creation of billing VF01.
Hope this will help you.
Best Regards
Sainath -
How to get days and months when two dates are given
Hi All,
I have a requirement where I need to return the number of months and days between given dates.
I dont need to take the year into account as the dates difference is always less than an year
I have 28-jun-2012 and 31-jan-2013 as dates.
I'm working on 10g
when I do select months_between(:a,:b) from dual and provide those dates it gives me 7.09677
I want it to give as 7 months and 9 days or what ever the exact days are.
Your inputs are much appreciatedBluShadow wrote:
874719 wrote:
Thanks a lot,BluShadow for your answer and would you mind giving it for the year as well like 0 years 7 months 3 days?Your original post said:
I dont need to take the year into account as the dates difference is always less than an yearNow you've got the idea, why not have a go yourself first, and then if you're still not getting it, post what you've tried so we can help you.Oh... go on... I'm in a good mood today...
SQL> ed
Wrote file afiedt.buf
1 with t as (select date '2012-06-28' as start_date, date '2013-01-31' as end_date from dual union all
2 select date '2012-02-29', date '2012-06-30' from dual union all
3 select date '2010-02-28', date '2012-06-30' from dual union all
4 select date '2012-02-29', date '2012-06-15' from dual
5 )
6 --
7 select start_date, end_date
8 ,months_between(end_date,start_date) as mnth_bet
9 ,floor(months_between(end_date,start_date)/12) as yr
10 ,floor(mod(months_between(end_date,start_date),12)) as mnth
11 ,case when to_number(to_char(end_date,'DD')) >= to_number(to_char(start_date,'DD')) then
12 to_number(to_char(end_date,'DD')) - to_number(to_char(start_date,'DD'))
13 else
14 (to_number(to_char(last_day(start_date),'DD'))-to_number(to_char(start_date,'DD')))+
15 (to_number(to_char(end_date,'DD')))
16 end as dys
17* from t
SQL> /
START_DATE END_DATE MNTH_BET YR MNTH DYS
28-JUN-2012 00:00:00 31-JAN-2013 00:00:00 7.09677419 0 7 3
29-FEB-2012 00:00:00 30-JUN-2012 00:00:00 4 0 4 1
28-FEB-2010 00:00:00 30-JUN-2012 00:00:00 28 2 4 2
29-FEB-2012 00:00:00 15-JUN-2012 00:00:00 3.5483871 0 3 15 -
How to get the Useru2019s position when the user doesnu2019t have CP relation
We have a custom program which will add / delete attributes (In transaction PPOSA_BBP). It is working fine for users which were assigned with CP relation But it fails for users which doesnu2019t have CP relation (since we are getting the position of users form HRP1001 then we are retrieving the existing attributes based on the position after that updating the attributes) as we are getting the position from HRP1001 it fails for users were no CP relation.
Help us how to get the Useru2019s position when the user doesnu2019t have CP relation. Suggest us any function module or how to query the HRP1001 or some other table if exists
Regards
PaulHi Paul,
Have a look at these tables.
Using table BUT000 the central business partner data are stored, f.e. partner type, partner names, partner number, partner guid, person number, etc. In table BUTBKK the bank data to a business partner are stored.
Central business partner address data
The table ADRC is used for the address of a business partner. Table BUT020 links the business partner number with the address number. Using table BUT021 several addresses to a business partner with different usages (modes), f.e. correspondence or delivery address, can be stored. The personal data of a business partner person are stored with key person number in table ADRP. The person number is assignd to a business partner person in table BUT000. Communication data of business partners as e-mail, telephone, fax, etc. are stored in the tables ADDR1 u2013 ADDR12. The business address of a contact person or an employee consists of the organization address (company resp. org.-unit) and of an address addition, which describes f.e. a building, a room number, etc. The address addition is stored in table ADCP and is identified by the keys address number of the organization address and person number.
Relationships between business partners
Table BUT050 contains the relationships between a business partner organization and a business partner person using relation types. The relation types are defined in table TBZ9, f.e. the relation type u2018has employeeu2019 corresponds to identifier u2018BUR010u2019, the relation type u2018has contact personu2019 corresponds to identifier u2018BUR001u2019. Table BUT051 stores communication data of a contact person relationship (compare to table ADCP). Table BUT052 stores several address numbers to one business partner relationship (including a standard flag).
Hope this helps,
Kind Regards,
Matthew -
Based on http://forums.adobe.com/thread/1308132?tstart=0 I decided to add each question seperately:
Hello, I'm quite interested in buying Lightroom 5.2. I tried the RC which ran out now. Yet, I have a several questions that I can't really find good conclusive answers to, that I'd like to get answered before buying LR. Please don't write maybe like this or that (assumptions), since I don't want to start my whole workflow and then realize that I have to change everything around, so please answer, if you know for sure that something works and you are, preferably, using that method too.
This is the biggest question, where I mainly want a conclusive answer: How do I manage Lightroom photos when using 2 computers, keeping all edits made on either one of them, using the same photos for editing. I won't use DNG. Details: I mainly use my older MacBook Pro, but would like to be able to use my PC as it's way better (Specs: i5 2500K, 16GB RAM, SSD, USB3, nVidia GTX 560 TI etc.). I have 2 external HDs that I could use, one for Backup and one for the actual Photos/Edits. I'll probably need to use it as my internal HDs are quite full, and I can't just delete stuff or move it to an (Developer programs, Lossless music, etc.).
Based on this, how do I back up the whole thing e.g. Photos folder (all photos and edits, and preferably presets too)?I believe it should be possible to work cross-platform without having to relink files each time, or without having to keep exporting/importing the catalog, by keeping the single catalog and the image library on the one external drive which is then switched between systems as needed.
Obvious first requirement is an external drive that is formatted in such a way (e.g FAT32) that it can be used on both platforms in read/write mode. Given that, if the catalog AND the images parent folder are both established at the same level in one overall parent folder, then it should be possible to take advatage of Lightroom's ability to use relative paths rather than absolute paths to detect the images, no matter if the drive is named (Mac) or lettered (PC). This is how "export as Catalog" works, i.e. it creates a "package", aka a parent folder, containing the catalog and a replica of the exported images folder hierarchy alongside the catalog. Take that "package" to another system (same OS or not) and "it just works" even if the drive letter is different or the OS is different....because the relative path from catalog to images is still the same.
I haven't tested this cross-platform (though I have between different PC systems with different drive letters) so for me it's still just a theory, but there may be others who have done this successfully. -
How to get Work schedule repor of employees
Hi all
Can any one help me out in
how to get work schedule report of employees who are works in different shifts in an organization.
Thnks in Advance
AnushaHi Anush,
Find the SAP Standard reports for Work schedules:
- PT03 - Display Work Schedule
- PT63 - Personal Work Schedule (even PT61 also helpful as biswajit said)
- PT_DSH20 - Daily Work Schedule
Otherwise you have Time Managers Workplace/ Ad Hoc Query reports to view detail reports, which are user friendly for maintain time data.
TC for Time managers workplace is PTMW
TC for Ad-hoc query is S_PH0_48000513
I suggest you to go with Ad-hoc and select all fields that what ever output you want and view the results (even you can upload also)
Cheers,
TG
Message was edited by: TG -
How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?
How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?
Hi,
I do generate XML-Files by using DBMS_XMLGEN with output by UTL_FILE
but it seems, the xml-Datafile I get on end is not really UTF-8 encoding
( f.ex. cannot verifying it correct in xmlspy )
my dbms is
NLS_CHARACTERSET = WE8MSWIN1252
NLS_NCHAR_CHARACTERSET = AL16UTF16
NLS_RDBMS_VERSION = 10.2.0.1.0
I do generate it in this matter :
declare
xmldoc CLOB;
ctx number ;
utl_file.file_type;
begin
-- generate fom xml-view :
ctx := DBMS_XMLGEN.newContext('select xml from xml_View');
DBMS_XMLGEN.setRowSetTag(ctx, null);
DBMS_XMLGEN.setRowTag(ctx, null );
DBMS_XMLGEN.SETCONVERTSPECIALCHARS(ctx,TRUE);
-- create xml-file:
xmldoc := DBMS_XMLGEN.getXML(ctx);
-- put data to host-file:
vblob_len := DBMS_LOB.getlength(xmldoc);
DBMS_LOB.READ (xmldoc, vblob_len, 1, vBuffer);
bHandle := utl_file.fopen(vPATH,vFileName,'W',32767);
UTL_FILE.put_line(bHandle, vbuffer, FALSE);
UTL_FILE.fclose(bHandle);
end ;
maybe while work UTL_FILE there is a change the encoding ?
How can this solved ?
Thank you
Norbert
Edited by: astramare on Feb 11, 2009 12:39 PM with database charsetsMarco,
I tryed to work with dbms_xslprocessor.clob2file,
that works good,
but what is in this matter with encoding UTF-8 ?
in my understandig, the xmltyp created should be UTF8 (16),
but when open the xml-file in xmlSpy as UTF-8,
it is not well ( german caracter like Ä, Ö .. ):
my dbms is
NLS_CHARACTERSET = WE8MSWIN1252
NLS_NCHAR_CHARACTERSET = AL16UTF16
NLS_RDBMS_VERSION = 10.2.0.1.0
-- test:
create table nh_test ( s0 number, s1 varchar2(20) ) ;
insert into nh_test (select 1,'hallo' from dual );
insert into nh_test (select 2,'straße' from dual );
insert into nh_test (select 3,'mäckie' from dual );
insert into nh_test (select 4,'euro_€' from dual );
commit;
select * from nh_test ;
S0 S1
1 hallo
1 hallo
2 straße
3 mäckie
4 euro_€
declare
rc sys_refcursor;
begin
open rc FOR SELECT * FROM ( SELECT s0,s1 from nh_test );
dbms_xslprocessor.clob2file( xmltype( rc ).getclobval( ) , 'XML_EXPORT_DIR','my_xml_file.xml');
end;
( its the same when using output with DBMS_XMLDOM.WRITETOFILE )
open in xmlSpy is:
<?xml version="1.0"?>
<ROWSET>
<ROW>
<S0>1</S0>
<S1>hallo</S1>
</ROW>
<ROW>
<S0>2</S0>
<S1>straޥ</S1>
</ROW>
<ROW>
<S0>3</S0>
<S1>m㢫ie</S1>
</ROW>
<ROW>
<S0>4</S0>
<S1>euro_</S1>
</ROW>
</ROWSET>
regards
Norbert -
How to get those Char Description when i record please give a solution
Hi Experts
when i try to extend using BDC the meterial all data is getting copied to new plant but in MRP3 Configure varients is not getting copied in bdc i am getting all the values from parent plant but these values are not getting displayed in new plant for only *MRP3 Configure varients
how to get those values please give a solution
and
when i am trying to make the BDC recording of creation of meterial in this process
in MRP3 when i give configurable meterial = Lamp or CT or VOLTMETER and when
i go for configurevariants button it's not displaying any Char Description for the perticular meterial
but in general when i creat a material process there Char Description are coming where i can give the values
how to get those Char Description when i record please give a solutionHi Maen Anachronos
i am Getting popup where i can give any value
but in creation of meterial for a perticular config meterial there is will be 1 templete in which we will get some constant Char Description where we'll have some options to give the value
but when it 's done in BDC Recording it's not displaying any values Char Description then how can we decide the values to what to give when Recording -
In windows 7, how to make firefox start automatically when I turn on the computer
In Windows 7, how to make Firefox start automatically when I turn on the computer. Note, I am asking how to do this with Windows 7, not xp, not vista.
You need to place a shortcut to open Firefox in the Start > Programs > Startup folder.<br />
That is basically the same in all Windows versions. -
How to get the search option when we are creating new view
Hi,
How to get the search functionality when we are creating new view.
Ex:- if we see the standard component BT112S_SC. Under this
AdvancedSP is the view,
same kind of view if i want to create new view with same bol entity in my new component. I am unable to get that search functionality.
for search functionality,,i think view should inherit the super class CL_BTSRV_ADVS_CNTRL, but in my new view controller class, i am unable to find this class.
Can anybody give me some inputs on this.
Thanks,
neelamIn case you are still not able to proceed please refer the following blog.
http://blogs.moovar.com/sap/sap-crm-web-ic-create-a-new-search-view-and-result-view
Regards,
Harshit -
How can java programs execute automatically when it connects to network
Good Day dears...
How can java programs execute automatically when it connects to network.
Thanks in Advance friends Shackir884924 wrote:
Good Day dears...
How can java programs execute automatically when it connects to network.What is "it"? That is, execute when what connects to the network?
Your computer? If that's what you mean, this is not a Java question. It's an OS operational/administrative question. Executing any program, whether written in Java or not, based on some system event has to do with that system, not with the program. If it's possible to do this, you'd do it exactly the same way for a Java program as you would for any other program.
Or is "it" the program itself? If this is what you mean, then it's a nonsensical question. For the program to connect to the network and detect that it has connected to the network, it must already be executing, so asking how to execute it at that point is meaningless.
Finally, I'll point out that "connecting to the network" is a pretty meaningless phrase. Or rather, it has so many potentially valid meanings that it's impossible to know which one you're referring to when you use that phrase. And I'd be willing to bet you don't have a clear picture of that yourself. -
How to get on your ipad when it is disabled
how to get on your ipad when it is disabled
FORCE IPAD INTO RECOVERY MODE
1. Hold Sleep/Wake button down and slide to turn off iPad
2. Turn on computer and launch iTune (make sure you have the latest version of iTune)
3. Plug USB cable into computer's USB port
4. Hold Home button down and plug the other end of cable into docking port. Do not release button until you see picture of iTune and plug.
5. Release Home button.
ON COMPUTER
6. iTune has detected iPad in recovery mode. You must restore this iPad before it can be used with iTune.
7. Select "Restore iPad"... -
In mdx how to get max date for all employees is it posible shall we use group by in mdx
in mdx how to get max date for all employees is it posible shall we use group by in mdx
example
empno ename date
1 hari 12-01-1982
1 hari 13-06-2000
by using above data i want to get max dataHi Hari3109,
According to your description, you want to get the max date for the employees, right?
In your scenario, do you want to get the max date for all the employees or for each employee? In MDX, we have the Max function to achieve your requirement. You can refer to Naveen's link or the link below to see the details.
http://www.sqldbpros.com/2013/08/get-the-max-date-from-a-cube-using-mdx/
If this is not what you want, please provide us more information about the structure of you cube, so that we can make further analysis.
Regards,
Charlie Liao
TechNet Community Support -
Does anyone know how to get a imessage back when deleted
does anyone know how to get a imessage back when deleted
The only way is to restore from a backup that has the message you want. If you do this you will lose anything since that backup.
-
How to get second maximum salary from employee table(sql query)
how to get second maximum salary from employee table(sql query)
dude there is no matter of structure .........that user already said its from employee table ...............its basic table in sql and there is no need to specify the table structure
.........i think u got my point I think you are the one who didn't understand Sarma's point.
Give a man a fish and you feed him once. Teach a man how to fish and you feed him a life long.
>
and the query is
select max(sal) from emp where sal<(select max(sal)
from emp);
this will give the 2nd max salary from the emp tableBtw: You solution is bad, because it needs to scan and sort the table emp twice. And a better solution has been given already.
Message was edited by:
Sven W. - reordered statements
Maybe you are looking for
-
When I plug the iPod into the computer, it continues as normal to upload the iPod. However, after a couple of seconds of trying, my computer comes up with a message saying that the iPod update attempt has failed, and that it cannot read or send to th
-
I recently upgraded my camera from Nikon D700 to D800. For two weeks tethering to LR 5.3 worked impeccably. The day before a major shoot I upgraded to newly released 5.4 which promised tether support for my backup camera, Nikon D 610, although 5.4 s
-
XMLDocument print (no indent)
Hallo, I need to print out the content of an XMLDocument in a String in a "flat" mode (without spaces or CRLF between tags). The method print() in XMLDocument seems the simplest way to print out... but it produces a formatted output (with spaces or C
-
SMWMQUEUES - what does status "ready" mean
SMWMQUEUES lists all outbound queues by name in CRM. All my queues are in status NOSEND . They currently can not conntrans so I am wondering if this is some indication that their site is not correctly identified. Does anyone know why all the othere q
-
Trace on User activity in the system
Hi Experts, We have ECC6.0 installed in our organization, and now we want to find out the below points- 1. Report on what time which users logged into the system. 2. What are the t-codes or transaction they have executed in the system 3. How much tim