Assignd functions to an org unit
Hello,
Which functions can I assign to an org unit?
Hi Iris,
Functions are possible applications in which the organizational unit is valid.
With these functions you can control which attributes are available and which properties the attribute have.
You can assign one or more functions to an organization unit. This means you can use one org unit for different areas, for example, an org unit can be a sales organization in the Sales scenario and a service org in the service scenario.
You can maintain different attributes depending on the assigned function.
You have three options to select on the Function tab in transaction PPOMA_CRM (Maintaing Org units)
Sales, Service, Marketing
The corresponding attributes can be maintained on the attribute tab page by selecting one of the three attribute maintenance scenario Sales, Service, Marketing.
I hope your query is answered.
regards
Srikantan
Reward Points if useful
Similar Messages
-
Function Module to show all jobs in that Org Unit.
Does any one know is there any Function Module which gives all the jobs that comes under that Org Unit. for example if org unit 10 has 2 Sub Org Units(11 and 12) and 3 jobs(20, 21 and 22) under it. and the Sub Org Unit 11 and 12 has 1 job each( 30 and 40). When you run for org unit 10 it should give all 5 jobs (20, 21, 22, 30 and 40).
Hi Fayyaz
Well you use a FM RH_READ_INFTY_1001 to discover the relationships between an ORG Unit and Jobs.
Alternative, you can write a simple query to extract data from HRP1001 to find the jobs under an Org Unit. Because Jobs are related to an Org Unit and this relationship is stored in Infotype 1001/HRP1001.
Reward Points, If helpful.
Regards
Waz -
Function module to find wheather a user is heading any Org unit
Function module to find wheather a user is heading any Org unit
Hi Experts,
I need to know if a user(SY-UNAME) is heading any Org unit(Check box marked for Head of own organisational unit in TCODE PPOMA_CRM for position in Basic Data). Is there any FM for this? I am trying to use FM RH_STRUC_GET but not able to find.
Any help would be highly appreciated.Method get_assignments_of_user of class cl_crm_ppm_um_toolkit solved this problem.
-
Function Module for fnding all employees under an Org Unit
Hi,
Is there any Function module to find the employees of an ORG Unit .
I need to specify the Org unit Name and get the employees out of it .
I looked at the FM
HRCM_ORGUNIT_EMPLOYEE_LIST_GET .
It has import parameters as
OTYP
OBJID
PATH_ID
What values do i need to pass.hi,
chk this.
call function 'HRCM_ORGUNIT_EMPLOYEE_LIST_GET'
exporting
plvar = p_plvar
otype = 'O '
objid = s_orgeh-low
begda = p_effdt
endda = p_effdt
* PATH_ID = 'O-S-P'
tables
pernr_table = i_pernr
exceptions
path_error = 1
root_error = 2
no_employees_found = 3
others = 4
Thanks,
Anver -
Function module to read positions in a Org unit
Hi
Is there any function module that gives list of positions in a particular org unit.
Or is there any other way?
Regards,
KrishnaHi Krishna,
You can use "RH_STRUC_GET ". In import parameters pass the following values,
ACT_OTYPE = 'O'
ACT_OBJID = <Org Unit Object Id>
ACT_WEGID = O-S-P
ACT_PLVAR = 01
ACT_BEGDA = <Start Date>
ACT_ENDDA = <End Date>
ACT_TDEPTH = 0
ACT_TFLAG = 'X'
ACT_VFLAG = 'X'
AUTHORITY_CHECK = 'X'
You will get all the positions and persons under that org unit in the RESULT_TAB table. You can read this table to read the positions alone.
Thanks,
Prasath N -
Function that return Company Code given an Org Unit ID
Hi folks,
As per subject, is there any such function?
I seem unable to find. Straightforward way is just select bukrs from hrp1008 using the Org Unit OBJID. However, that table only stores direct assignment. I.e. many Org Unit actually have the company code inherited from parent OU. So if my OU doesn't have account assignment, must go to its parent OU to find, if parent OU doesn't have, again must go up and search. And so on..
If there's already such function, I don't want to re-invent the wheel.
Thanks!
Regards,
OlyviaI know it's an old topic, but the answer could be helpful for others:
use RH_STRUC_GET as suggested, standard WEGID OMACC_U will return the objects maintained in 1008 (including BUKRS, WERKS, BTRTL). -
Hi
I have created a TEM query in SQ02, based on infoset \SAPQUERY\HR_TEM_E (logical database PCH), in which I am outputting object name and date (P1000), and org unit (P8004).
The output on the org unit name corresponds to the most current version of the org unit, but my requirement is for it to match to the date that the course object exists, i.e. historical.
Would anyone know a way to code this field, or whether there is a functional solution to this?
Please do let me know.
Anyone?
Edited by: minttea on Aug 10, 2010 3:52 PMHi..
Pls check below code to fetch the tesxt of historical org unit. hope it will help.
*//Internal table declaration.
DATA : lt_00 TYPE STANDARD TABLE OF pa0000,
lt_psn TYPE STANDARD TABLE OF zhrpositions,
lt_ret TYPE STANDARD TABLE OF bapiret2,
lt_01 TYPE STANDARD TABLE OF pa0001,
lw_01 TYPE pa0001,
lw_psn TYPE zhrpositions,
lt_comps LIKE zstr_hr_comps,
lt_return LIKE bapiret2.
Thanks,
kl
Edited by: Narayana on Aug 10, 2010 10:50 AM -
HCM-ORG MANAGMENT Config error, in creation of Org Units.
Hi Experts,
I am trying to configure the HCM-Organization Management in ECC 6.0, When I try to maintain an Org Unit, the system prompts with an Information Message as stated below, since it was an information message, i continued creating the Org Unit, but when I am trying to save the entry, Now system shows me the same message and doesnt allow me save the entry and prompts me with same message...
No evaluation path specified for structural evaluation
Message no. 5A249
Diagnosis
You want to start structural reporting, but you have not specified an evaluation path according to table T778A.
Can any of you help me in this regard.
Best Regards,
KishoreJ.Hi Amosha,
When i try to do it through the expert mode..The following error shows in the task bar
For infotype 1000 in status 4, function INSE is not allowed
Message no. 5A043
Best Regards,
KishoreJ. -
Can a position be linked to more than one org unit by A012 relation in SRM?
Hi All,
In the HR Org structure in ECC, a position (S) can have more than one A012 relation with different organization units (O).
For example:
S 123 has a A012 relation with Org unit A; validity date: 04/04/2006 to 12/31/9999
S 123 has a A012 relation with Org unit B; validity date: 06/01/2006 to 12/31/9999
org unit B falls under Org unit A in the Org unit hierarchy structure.
But, in SRM I find that only one relation A012 linking S to O can be maintained, which is:
S 123 has a A012 relation with Org unit B; validity date: 06/01/2006 to 12/31/9999
I tried passing the data again through PFAL transaction (update mode), but the data in SRM does not change.
Is this standard behaviour? Can't a person manage more than one org unit in SRM?
I am currently working on SRM 5.0 with ECC 6.0 as backend.
Regards,
AncyHi,
This functionality only relates to users who are professional
purchasers. It means that they can be responsible for more than one
purchasing group. In past releases, they were responsible for the
purchasing group that they hung from in the org structure. Since some
customers wanted that they could be responsible for more than one
purchasing group, but the system would not allow the purchaser to belong
to more than one org unit. Hence they introduced the new functionality
that I described above. However it is not technically possible for a
user to belong to more than one org unit since this would lead to
inconsistencies in the way that the attributes work.
I hope this helps.
Kind Regards,
Edel. -
Org unit from managers desktop
Hi All,
I've created a report and it's been attached with the managers desktop.Now when I call this report from managers desktop, I want to read the Organization unit in my report before doing anything. I'm using PNP logical databse.With PCH logical database I could read the org unit but with PNP I can't read until I reach to GET PERNR statement. I can't use PCH logical databse as the requirement is to run the report based on employee number selection within that org unit.
It works fine even with PNP also but the customer wants to have cutomized screen to go back and forth years to see the report and while executing this custom funtionality , it's not picking the correct org unit.So I want to store the org unit the very first time when I'm calling the report and then I'll pass the same stored org unit for further functionality.
If anyone has idea how to grab this org unit , pls let me know. Will award points.
Thanks
AlokAlok,
That is how I coded the Org.stru logic in my code ( FYI - I used LDB PNP ) ..
SELECT-OPTIONS: pnpobjid FOR PERNR-orgeh NO INTERVALS.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR pnpobjid-LOW . "OUTPUT.
CALL FUNCTION 'RP_PNP_ORGSTRUCTURE'
EXPORTING
begda = SY-DATUM
endda = SY-DATUM
plvar = '01'
TABLES
pobjid = pnpobjid.
Loop at P_obj.
And in HRp1000 OBJID = p_OBJ-LOW
endloop .
Hope this will help !
Good luck !
Saquib Khan -
How to find Org unit User has selected
Hi All,
We are setting up printing on our CRM 5.0 system (Web interaction centre) and was wondering if anyone knows of a way to find out what Org unit the users is logged on as ??
We are using Actions to print specific smartforms off for the users and need the prints to go to an assigned printer.. We are hoping to use a printer that is assigned to the 'Default Printer' attribute in the org structure (PPOMA_BBP)
As you will be aware users can be in many positions (under the org units) in the org structure and when we log onto the Web IC we get the option of which one we would like to use... Is there a function that can read this Org unit so we can use it in the printer determination BADI to decide what printer the prints will go to ???
Many Thanks
GazAs soon as you make the profile selection,IC sets the profile and org unit in the session.
You can read them using
Data: lv_prof type ref to if_ic_profile,
pname type string,
orgunit type crmt_ic_org_unit.
lv_prof = cl_ic_profile_service=>get_instance( ).
pname = lv_prof->get_profile( ).
org_unit = cl_crm_ic_services=>get_org_unit( ).
Thanks,
Thirumala. -
How to find users logged on Org Unit
Hi All,
We are setting up printing on our CRM 5.0 system (Web interaction centre) and was wondering if anyone knows of a way to find out what Org unit the users is logged on as ??
We are using Actions to print specific smartforms off for the users and need the prints to go to an assigned printer.. We are hoping to use a printer that is assigned to the 'Default Printer' attribute in the org structure (PPOMA_BBP)
As you will be aware users can be in many positions (under the org units) in the org structure and when we log onto the Web IC we get the option of which one we would like to use... Is there a function that can read this Org unit so we can use it in the printer determination BADI to decide what printer the prints will go to ???
Many Thanks
GazIn case anyone is still looking for this solution, here is how:
data: lr_usett type ref to cl_crm_ui_user_cb.
lr_usett = cl_crm_ui_user_cb=>get_instance( ).
call method lr_usett->get_org_object
importing
ev_org_objid = lv_objid
ev_org_objtype = lv_otype. -
Need the Org Unit till the parent node the employee is attached to
Hi,
We have a requirement to find out the Sales Org the User is attached to as well get list of all sales org above it till the main node. Basically its reporting for Org Unit to the upper chain.
I am sure there should be some standard FM or report to achieve this. If any of you are aware, pls help.
Regards,
chandra.Try
HRCA_SALESORG_GETDETAIL
HRCA_SALESORG_LIST
RH_BM_GET_TOP_NODE
<b>TIP</b>
<b><u>Go to SE37-> F4-> Function module = "RH","HR"
Max no of hits = 999999 Click "Execute"
Find "Nod" or "Sale" or "Org"</u></b>
Hope thisll give you idea!!
<b>P.S award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise" -
Determine the superior Org Unit for a given Organisation Unit.
Hi,
I am using the Sequential Access method of accessing the PCH Logical Database.
Is there any macro available to determine the superior Org Unit of the current Organisation Unit being looped at using the GET OBJEC statement.
I cannot access the STRUC internal table as I do not want to use structural access.
At the moment I am using the function module RH_ENTH_READ_STRUCTURE. Is this a good way of doing this or is there any PCH functionality for this?
Any help would be much appreciated.
Thanks and regards,
PriyaThanks for the input.
I just was concerned if either way would cause a performance issue while i'm already in the GET OBJEC loop.
Anyway, for now I think I'll continue using the function module. I guess a direct SELECT on HRP1001 would require explicit authority check.
If someone else has a comment on this topic do post it in. I have time till next week to finalize on my approach.
Thanks once again Suresh!!!
Regards,
Priya -
Cost center behind an org. unit
Hi,
how can I get the cost center assigned to an org. unit ?? I am not talking about relationship A011; this works only if the relationship is available in the object´s master data. The problem is when the cost center is inherited from the org. unit above or from the one above this one or from .....
Another problem is when the position is vacant; I cannot read IT 0001 for the employee.
Is there any function or BAPI for that ??
Thanks a lot.Hi,
thanks both but it does not help. I´ll try to explain it other way. You create in CO a cost center and you create an org. unit in HR. You can then assign 1 or more org. units to the cost center. I am looking for that union. Relationship A011 is not much of a help.
In the org. structure, a lower-level org. unit inherits the cost center from the father or grandfather org. unit, if we did not assign it to a cost center.
I don´t want to read the higher-level org. unit for finding A011 or one level higher if A011 is not available or another higher level.
Maybe you are looking for
-
Show Image in an SQL Report Region
Hi, I'm having some trouble with showing an image in an sql report region. I used the Upload/Download Tutorial in the HTMLDB How-Tos and it worked well. Now, I have the following in the query region: select s.facilityid, s.id, s.name, s.subject, '<im
-
Cannot download movie purchase on Ipod touch
Im somewhat challenged when it comes to this. IM 47. LOL I purchase a movie on Itunes. It was downloaded on my ipod touch, from one computer in my home with windows vista on it. I bought a new laptop and tried to sync my ipod to it. I noticed after t
-
Can't get in and out markers to work
In Pro 7, I can't find the In and Out markers on some clips I've downloaded off Limewire. When I go File:New audio and record blank noise for a few seconds, the markers appear. How can I get the markers and trim down my Limewire clips? Thanks g5 dual
-
Explain Plan changed using "IN"
Hi , I am using one of the query as below select a.x, b.y, c.z from a,b,c where a.x in ( select x from temp where col=b.y) i checked explain plan this query is going to access full table x i have index on x for temp table. i need to check b.y in subq
-
Optimal way to retrieve data from a linked server?
Hi, If I create a view for our "Support Calls" list inside our database the SQL code looks like this... Code Snippet SELECT CALL.REFERENCE AS CallRef, CALL.CUSTOMERREF AS CustomerRef, CUSTOMER.NAME, DATEADD(hh,CALL.OPENHRS, DATEADD(n, CALL.OPENMIN