In ABAP HR how to get job using position
In ABAP HR how to get job using position (Using Infotype 1001)
Hi anilkumar,
1. u have the position
u want the Job
2. In hrp1001 table
OTYPE = 'S' (for position)
OBJID = POSITION (AS ABOVE)
SCLAS = 'C' (for finding job)
<b> SOBID = XXXXXX (here u will get the JOB)</b>
regards,
amit m.
Similar Messages
-
In abap report how to get substitute Materials
Hi Friends,
In abap report how to get substitute Materials. Is there any function module or bapi available other than Function 'PRODUCT_SUBSTITUTION'
Will appreciate your suggessions with poits.Hi anilkumar,
1. u have the position
u want the Job
2. In hrp1001 table
OTYPE = 'S' (for position)
OBJID = POSITION (AS ABOVE)
SCLAS = 'C' (for finding job)
<b> SOBID = XXXXXX (here u will get the JOB)</b>
regards,
amit m. -
Hello Gurus,
I have a job in SM37 scheduled using the prog. RSBATCH1 with var.&0000000000049. When I go to SE38, give the program name and the var and execute it, there is nothing entered in the 'Jobname' in the user selection screen.
But when it is executed it runs two(2) Infopackages for that variant.
I want to remove one of the infopackages. How do I achieve this?
Where can I get more info on how to schedule jobs using
RSBATCH1.
Thanks in advance
SimmiHi Simmi,
If the variant is like "var.&0000000000049" in the job then the program does not ahve any variant.
To remove the infoapckage for that job goto the infoapckage -> scheduling tab -> Scheduling option -> remove the job from "after job" tab.
Bye
Dinesh -
How to get image using Http and how to save in Smulator
Hi guys,
Am working in black berry bold. i dont know how to get image using htp connection and one more thing i need to save this image in side simulator directory............. what are the specific API i should...
Guide me.........If you want the input image size you need to pass it in as parameters.
A discussion thread on this topic is:
http://forums.adobe.com/thread/29948
-- Daniel R. <[email protected]> http://danielr.neophi.com/ -
Hi out there. To capture a screen shot one uses: Command-Shift-3 or 4. I have done this for a long time. Now suddenly neither screen shot command works anymore. Suggestions how to get this useful function back? Thanks, Georgx
Command-Shift-3 and 4 works just fine on several Macs that I have here.
Try restarting your Mac....or post in the specific support area for your Mac model....for more advice.
https://discussions.apple.com/index.jspa -
Issue in ABAP- HR : How to get executive assistant of Vice President...
Hi,
My requirement is: if employee is Vice President i need his/her executive assistant. I saw in HRP1001 table there is one relationship Z81(Custom type)... I am not finding correct logic to get executive assistant.
Anybody can suggest me how to get his/her position or personnel number(executive assisstant)
Thanks,
MaheedharHi ,
Issue solved by own. In SAP we dont have specific logic to find VP and above VP level. I confirmed with HR . SO i am writing logic in diff level.
Thanks,
Maheedhar -
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 -
How to get the baselinegrid position for a line?
Hi All,
How to get the baselinegrid position for a line in a paragraph?Hi,
2nd line baseline grid for yourPara paragraph is:
yourPara.lines[1].baseline;
last line baseline is:
yourPara.endBaseline;
Jarek -
How to get job grouping by Job in HR moudle
Dear experts,
I need to enhancement a field which is Job grouping in PPOSE. I have add this field in screen. but i don't know how to get the value by Job.
which table can i use?
Please reference the details in the attached for new screen.Hi
I think you can ou HRP1000 to get the job n job family.
Like You have a job number 40000001 , you go in HRP1000 , choose otype = JF and pass OBJID as 40000001 , this willl give you job family.
In order to get the text , you can use table HRP1001.
Regards
Vaibhav Juneja -
How to Schedule Job using Database Control for SQLPLUS script?
Hi All,
I am using Database version 10.2. I would like to schedule a SQLPLUS script job using Database control (Not using Grid Control!). The following is the script.
========================================================
define OEM_FRIENDLY=1
define OWB_BACKGROUND=0
set serveroutput on
set verify off
whenever sqlerror exit failure;
define REPOS_OWNER='&1.'
define LOCATION_NAME='&2.'
define TASK_TYPE='&3.'
define TASK_NAME='&4.'
define SYSTEM_PARAMS='&5.'
define CUSTOM_PARAMS='&6.'
alter session set current_schema = &REPOS_OWNER.;
set role owb_d_&REPOS_OWNER., owb_o_&REPOS_OWNER.;
variable exec_return_code number;
begin
-- Initialize Return Code
:exec_return_code := wb_rt_api_exec.RESULT_FAILURE;
-- Run Task
:exec_return_code := wb_rt_api_exec.run_task('&LOCATION_NAME.',
'&TASK_TYPE.',
'&TASK_NAME.',
'&CUSTOM_PARAMS.',
'&SYSTEM_PARAMS.',
&OEM_FRIENDLY.,
&OWB_BACKGROUND.);
end;
exit :exec_return_code;
===========================================================
Is it possible to schedule SQLPLUS script with 6 different parameters? If yes then how can I schedule for monday to friday or only for Saturday and sundays.
Please provide brief steps.
Thanks for your help in advance.
- MehulLet me explain to you about scheduler.
You can schedule a pl/sql stored procedure TEST_S as follows...
Begin
dbms_scheduler.create_job(
job_name=>'MY_JOB',
Job_Type=>'STORED_PROCEDURE',
job_action=>'TEST_S',
start_date=>sysdate,
repeat_interval=>'freq=monthly;BYDAY=MON,TUE,WED,THU,FRI',
end_date=>null');
END;
You can also also execute o/s script like .bat or .sh. For this job type should be EXECUTABLE.
Example of converting a .sql script in .bat script...
insert.sql
insert into dept values(50,'IT','LONDON');
exit
insert.bat
sqlplus scott/tiger @insert.sql
Executing now...
C:\Documents and Settings>insert.bat
C:\Documents and Settings>sqlplus scott/tiger @insert.sql
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 1 08:01:00 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
1 row created.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - P
oduction
With the Partitioning, OLAP and Data Mining options
C:\Documents and Settings>
So first read about DBMS_SCHEDULER and do the work in prompt. Then you can go and schedule it even by database control.
Scheduling by database control...
http://www.oracle.com/technology/oramag/oracle/04-jul/o44tech_dba.html
Scheduler
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm#CIHEHDHA
PS: By default each job you created is disable state. Please enable it by enable procedure of DBMS_SCHEDULER package. -
How to get job ID/alias of jobs within a job group programatically
We are trying to automate the export of job group/job definition from tidal in xml file, we know that you can use REST API to get job definition as xml.
by using http://localhost:8080/api/tes-6.0/Job.get/<Job ID/alias>
but the problem is when you use it for group it does not tell you what are all the child of this job group.
here is the output you get from REST API
<entry><id>354</id><title>TestJOb</title><source>com.tidalsoft.webclient.tes.dsp.db.datatypes.Job</source><tes:job><tes:agenttype>6</tes:agenttype><tes:childrencount>6</tes:childrencount><tes:agentostype>1</tes:agentostype><tes:ownername>IDX_Workgroup</tes:ownername><tes:agentname>machinename</tes:agentname><tes:parentname>\Test</tes:parentname><tes:rerundependency>N</tes:rerundependency><tes:dependencylogic>1</tes:dependencylogic><tes:durationminimum>60</tes:durationminimum><tes:parentactive>Y</tes:parentactive><tes:unixprofile>0</tes:unixprofile><tes:type>1</tes:type><tes:normalexittorange>0</tes:normalexittorange><tes:estimatedmethod>1</tes:estimatedmethod><tes:predecessorsvalue>N</tes:predecessorsvalue><tes:isnotes>false</tes:isnotes><tes:historyretention>30</tes:historyretention><tes:jobdetailid>354</tes:jobdetailid><tes:durationestimated>60</tes:durationestimated><tes:trackingmethod>1</tes:trackingmethod><tes:active>Y</tes:active><tes:durationmaximum>60</tes:durationmaximum><tes:repeat/><tes:id>354</tes:id><tes:dirty> </tes:dirty><tes:ownerid>13</tes:ownerid><tes:fullpath>\Test\TestJOb</tes:fullpath><tes:concurrency>3</tes:concurrency><tes:isrunbook>false</tes:isrunbook><tes:excludeabnormalduration>4</tes:excludeabnormalduration><tes:inheritrepeat>Y</tes:inheritrepeat><tes:inheritoptions>Y</tes:inheritoptions><tes:disablecarryover>1</tes:disablecarryover><tes:normalexitfromrange>0</tes:normalexitfromrange><tes:successorsvalue>N</tes:successorsvalue><tes:inherittimewindow>N</tes:inherittimewindow><tes:lastusermodifiedtime>2013-05-13T00:47:30-0700</tes:lastusermodifiedtime><tes:allowrerun>Y</tes:allowrerun><tes:parentid>18</tes:parentid><tes:agentid>2</tes:agentid><tes:priority>50</tes:priority><tes:inheritagent>N</tes:inheritagent><tes:name>IDX.TestWebService</tes:name><tes:nearoutage>3</tes:nearoutage><tes:saveoutputoption>Y</tes:saveoutputoption><tes:alias>354</tes:alias><tes:allowunscheduled>Y</tes:allowunscheduled><tes:createtime>2013-05-12T23:32:05-0700</tes:createtime><tes:inheritcalendar>N</tes:inheritcalendar><tes:waitOperator>N</tes:waitOperator><tes:exitcodenormaloperator>1</tes:exitcodenormaloperator><tes:lastchangetime>2013-05-13T00:47:30-0700</tes:lastchangetime><tes:clientcachelastchangetime>2013-05-13T00:47:30-0700</tes:clientcachelastchangetime></tes:job></entry>
it gives you number of child in the group, but does not give further info like what are the JOb ID/alias of children.
we need this information to dynamically get job definition of all the jobs within a job group.
Any help much appreacited.Solved myself.
-
Hi,
I have this xml file stored in operator.xml
<Operator>
<Customer>
<Name>sam</Name>
<Street>albert str.</Street>
<ZipCode>45454</ZipCode>
<City>NY</City>
<Country>USA</Country>
<EMailAddress>[email protected]</EMailAddress>
<MeterNumber>1000</MeterNumber>
<MeasuringUnit>kWh</MeasuringUnit>
<Reading>
<Month>1</Month>
<Value>900</Value>
</Reading>
<Reading>
<Month>2</Month>
<Value>725</Value>
</Reading>
<Reading>
<Month>3</Month>
<Value>950</Value>
</Reading>
</Customer>
</Operator>I have the following getter statements in my code:
String name=req.getName();
int month=req.getMonth();Now, I want to get value for particular customer (by checking name for equality with getter) and for particular month( by checking for equality with getter).
I have written the following statements:
final String filename="operator.xml";
SAXBuilder builder=new SAXBuilder(true);
Document doc=builder.build(filename);
Element root=doc.getRootElement();How to proceed further using JDOM. I am confused with getChild(), getChildText() etc.,
thanks,Obtain values with the JDom XPath class selectSingleNode and selectNodes methods.
SAXBuilder saxBuilder=new SAXBuilder("org.apache.xerces.parsers.SAXParser");
org.jdom.Document jdomDocument=saxBuilder.build(new File("c:/input.xml"));
org.jdom.Element zipcodeNode= (org.jdom.Element)(XPath.selectSingleNode(jdomDocument,"/Operator//Customer/zipCode")); -
How to get InitialContextFactory using RMI/IIOP without using weblogic.jar
Hi Robert
I know this is an old post. but I am interested in knowing how to get the
initial context using RMI/IIOP without the use weblogic specific classes
like weblogic.jndi.WLInitialContextFactory . If you have a code snippet that
you can provide as an example, it would be just great.
thanx in advance
Daya Sharma
See comments inline...
Stewart Wachs wrote:
I would like to get an initial context to Weblogic JNDI from a client.
code snippet:
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFacorty");
ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
try {
Context ctx = new InitialContext(ht);
catch(...) {
This works fine when I include weblogic.jar (and other dependend weblogic
jar's) in the classpath.
Is there a way to access WL JNDI from a client without the weblogicclasses
in the classpath?If you are using WLS 6.1, you could use RMI/IIOP to do this but in general,
the
answer is no, you will need at least some of the weblogic classes on the
client.
If not, is there a lightweight jar available for distribution for client
JNDI connectivity?This is something in the works. In addition, a colleague and I are working
on
a white paper that describes the "Thin Client Options with WebLogic Server"
that we hope to make available in the not too distant future...
Are there any licencing issues with distributing the weblogic classes to
clients that need to access WL JNDI?No. WLS is licensed by the server so you are free to distribute
weblogic.jar
to your clients.
Hope this helps,
RobertTake a look at the RMI/IIOP section of our whitepaper "Small Footprint
Client options for BEA WebLogic Server" at:
http://dev2dev.bea.com/resourcelibrary/whitepapers.jsp?highlight=whitepapers
Daya Sharma wrote:
Hi Robert
I know this is an old post. but I am interested in knowing how to get the
initial context using RMI/IIOP without the use weblogic specific classes
like weblogic.jndi.WLInitialContextFactory . If you have a code snippet that
you can provide as an example, it would be just great.
thanx in advance
Daya Sharma
See comments inline...
Stewart Wachs wrote:
I would like to get an initial context to Weblogic JNDI from a client.
code snippet:
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFacorty");
ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
try {
Context ctx = new InitialContext(ht);
catch(...) {
This works fine when I include weblogic.jar (and other dependend weblogic
jar's) in the classpath.
Is there a way to access WL JNDI from a client without the weblogic
classes
in the classpath?
If you are using WLS 6.1, you could use RMI/IIOP to do this but in general,
the
answer is no, you will need at least some of the weblogic classes on the
client.
If not, is there a lightweight jar available for distribution for client
JNDI connectivity?
This is something in the works. In addition, a colleague and I are working
on
a white paper that describes the "Thin Client Options with WebLogic Server"
that we hope to make available in the not too distant future...
Are there any licencing issues with distributing the weblogic classes to
clients that need to access WL JNDI?
No. WLS is licensed by the server so you are free to distribute
weblogic.jar
to your clients.
Hope this helps,
Robert -
How to get or use "kTextFrameOversetChangeMsg" as serviceid?
Hi all
I've developed a small plugin for handling textframe overflow. I've used service ids "kBeforeSaveDocSignalResponderService", "kBeforeSaveAsDocSignalResponderService". But actually I've to run it, only when overflow occurs.
Steven suggested to use "kTextFrameOversetChangeMsg". I tried, but I dont know exactly how to use it as service id. Could anyone suggest on this?
thanks in advance
A.HakkimThank u both. Pls suggest me how to get serviceid from "kTextFrameOversetChangedMsg".
-
How to get and use mouse information?
I want to write a simple program for getting mouse location, and if the location of the mouse is within an area, then a red dot show on the screen.
Could anyone please teach me how to get mouse location?
Thankshttp://java.sun.com/docs/books/tutorial/uiswing/events/mouselistener.html
http://java.sun.com/docs/books/tutorial/uiswing/events/mousemotionlistener.html
http://java.sun.com/docs/books/tutorial/uiswing/events/mousewheellistener.html
Doh! Too slow!
Message was edited by:
DrLaszloJamf
Maybe you are looking for
-
If I share an iPhoto library between multiple users, will the Faces, Events, and Places be automatically usable by all users, or will each user have to tag all the photos (e.g. if a user tags a face, will a different user have to do it in their own i
-
I called AT&T yesterday & she couldn't find a 3G problem in my area. Does anyone have the problem with the singal bars going UP & DOWN all the time (even on my WIFI it happens). Will a software fix that when Apple releases a update? I didn't notice i
-
Can I adjust size of the photos on front page of the photo album template?
When I am working on a Photo Album page, how can I make the "front page" photos larger? I am talking about the photos arranged in rows, not the photos that show in the slide show carousel. Is it a set size in the Photo Album template or is it a conse
-
IPhoto and Photo Stream.
If you delete a picture from iPhoto, does the photo automatically get deleted from Photostream?
-
Hi, Can a server join a MDW and UCP at the same time? It seems that after i enrolled a instance which has joined a MDW, the collection data uploaded to UCP data warehouse only. So can UCP use exist MDW data directly? thanks.