Hi All,
I am new to HR-ABAP programming. My requirement is:
For a given pernr in date range, find all the managers with their names.
l have to access HRP1001 and find the position(S) for the pernr(P) and for the position, check if there is any manager, if no manager, then go one level up. Get the following info.
Employee Details
Employee Id
Employee Name           
Employee’s address
Employee’s dependent details
Employee’s Manager Details
How to find the relations?


Hi Swati,
this is to get the position of the person: Select sobid
otype = P, objid = pernr, rsign = A, relat = '008', sclas = S. this will give the position for the person(pernr).
then  for getting the supervisor: select the sobid.
otype = P objid = pernr, rsign = A, relat = '002' , sclas = P.
if sy-subrc = 0.
to get the supervisor's position: select the sobid.
otype = P , objid= sobid(of the supervisor), rsign = A, relat = '008', sclas = S.
supervisor not found

Flow chart like tree traversing

I m facing some problem to traverse a a graph sort of thing. What i m doing is I have one flow chart sort of thing. I have one start node and one stop node and many nodes between these two. Which algo you guiess will suggest to implement for traversi

Breadth First Traversal of a Tree...

Hi, I want to make a program to print every node of a tree in a Breadth First Search (BFS)/Traversal. Since, BFS searches a tree in levels (i.e. 1st the root, then it's Children, then Grand Children etc from left to right), this is where I'm stuck. H

Combining recursive tree traversal subroutine and calling method?

I wrote the following bit to take a TreeMap of string (words) and build into one long inorder traversed string (alphabetical order). Works fine-this isn't a do my homework problem =). But I have two questions: 1. How, if any, is it possible to combin

Changing the application wide default focus traversal policy

Hi, I have a Swing application built using JDK1.3 where there lots of screens (frames, dialogs with complex screens - panels, tables, tabbed panes etc), in some screens layouts have been used and in other screens instead of any layout, absolute posit

HELP please in ** Traversing through folders **

Hi, I have a small java program which when given a particular folder will generate an "index.html" file with "ahref" to all the files and folders in the selected folder. I have pasted the code below. It uses a small text field and butt

ADF Tree Traversal from one node to its leafs

Hello, after a titanic effort I have been able to add a checkbox next to each node of an adf tree table. This checkbox is based on an "helper" entity attribute (not mapped to a column table on the database). My next huge problem is to perform an

Traversing a JList

Hi, I created a JList and when the focus is transferred to JList, I used arrow keys to traverse the List values. For example if the list has values 1 2 3 4 When I reach 4, if I press upward key, it takes me to 3. Is there a way where after reaching 4

How to traverse through a RowKeySet?

I have a RowKeySet for a tree. At a time only one node from this set must be set as selected node. I have a next and previous button. When I click next I must traverse to next row in the rowkeyset and when i click previous I must traverse to previous

***? another "requires deep traversal," yet i haven't changed anything

Starting standard backup Mounted network destination using URL: afp://XXXX.afpovertcp.tcp.local/XXX Backup destination mounted at path: /Volumes/XXXX MacBook Backup Disk image /Volumes/XXXX MacBook Backup/XXXX MBP_0016cb98dc45.sparsebundle mounted at

How can I traverse a tree item

It seems unable to do many things using tree item in forms 6i. For instance, how can I traverse a tree, how to implement drag-drop function within it. Many intel- ligent functions are hard to accomplish in a tree item without trigger when-mouse- ente

How to Purchase group configer in dev system and how to traverse quality

Hi All I need ur help regarding for how to configer the Purchaseing  group in dev system and how to traverse to Quality and production. Thanks HappyHi, You can create the Purchasing Groups using the following settings. SPRO-MM-Purchasing-Create Purch

Traversing in a loop weekly

Hi, I have a loop in which I would like to Select query on weekly basis starting from the last date, essentially traversing backwards week-by-week.  For example the table below represents the sample data for the query within loop, without WHERE claus

Traverse a file

How would I traverse a directory structure ...and also read the content of each file Advance ThanksRm. wrote: I ve listed the files but i am not able to read its content.....Why not? Did you not find the part of the tutorial that describes that? Or d

JTextPane - Need to override TAB insert for traversal

I am using the JTextPane for HTML support. I want the TAB key to default to traversing components instead of inserting tabs or spaces. For JTable and JTextArea I was able to clear the focus traversal keys and they correctly defaulted to the standard

Help using ListIterator to traverse a tree

Need help traversing a tree. I have built the tree and now I am trying to traverse it to print it out. The main tree is a LinkedList, and each object on the list has a LinkedList of "children" which may or may not be empty. My thought was to hav

Traversing through Array

I am trying to have an array of say size 30 and I want to traverse through it one by one and display the results digitally. I tried using INDEX ARRAY function but keeps on giving me a constant value and does not traverse through to the next element a

How to count the number of calls that traversed the DB lookup node successfully

Hi All, I need to obtain the number of calls that successfully traversed the DB  lookup node. Can you please let me know, what is the variable I need to add after the DB lookup node to capture the number of succesful calls. Kindly help.Hi Nirmala, I

XPath vs Dom Traversal

I've heard XPath is more efficient than using the DOM api to traverse the XML. I am just curious if this is true or not. ThanksYes , Xpath is faster . Probabaly , your DOM package supports XPath either directly or via an add-on, so you can use both.R

Bluetooth issues w/ IPhone 6 & Chevy Traverse

I Had the iPhone 5 and my Bluetooth worked great in my Chevy traverse. Now that I have the iPhone 6 I am experiencing constant issues with the Bluetooth and traverse functions.  The phone number shown on incoming and outgoing calls does not match the

Traversing the entire nodes of an xml document ?

Hi, I want to traverse through the entire nodes of an if_ixml_document. which is the best way to do this? Please find the sample document. <text>     <id>          <guid auto="false">                432543254543          </g