Employee number vender number link
Hi all,
i want to that is there any table which have the links between employee number and vendor number. like 100XXXX employee number having E10XXX vendor number.
thanks for ur reply and help...
Hi Nilesh,
When you create a vendor through FK01, then vendor no. and pernr get stored in table LFB1. But in this there is no functionality like 100XXXX employee number having E10XXX vendor number. This just links the vendor nos. and pernr.
Regards,
Kanupriya
Similar Messages
-
Structural authorization - creation of employee number
Hello Experts,
We are facing an issue with strutural authorization in creation of employee number,
I have tested without assigning stuctural authorization and it process the hiring action and generates the employee number
(Hiring action is carried through the adobe form which inturn calls the ABAP Function module),
for the same user if i assign Strctural profile with Function module RH_GET_MANAGER_ASSIGNMENT ( User is assigned to an employee who is Chief ) the hiring action which has to happen through adobe form is not happening and when we check in the program it is throwing an error as Failed strutural authorizations.
I checked whether the employee which has to generate lies within the organization unit of the manager ( who is chief) and it does lies with in the same org unit.
can you please help me in analysing why the employee is not getting gereating though the user is having proper HR authorizations and Strutural authorization assigned.Hi.
After 2½ days of frustration I finally nailed this.
Function group RHAC, that handles the authority checks, initially buffers a table called VIEW containing all objects available for the user. As stated earlier in this conversation, SAP handles creation of relations in HRP1001 (links PA and OM). At this point the new employee number is appended to buffered table VIEW in function group RHAC.
When execution the PA40 activity through CALL TRANSACTION, the creation of the relations are not handled - and the same goes for updating the buffered table VIEW. The table can be updated using the function module RH_VIEW_ENTRY_INSERT from the same fundtion group:
This example might be useful
data: ls_view_entry type hrview,
ls_related_object type hrobject.
ls_view_entry-plvar = '01'.
ls_view_entry-otype = 'P'.
ls_view_entry-objid = lv_pernr.
ls_view_entry-begda = '18000101'.
ls_view_entry-endda = '99991231'.
ls_view_entry-maint = 'X'.
ls_related_object-plvar = '01'.
ls_related_object-otype = 'S'.
ls_related_object-objid = lv_ny_objid.
call function 'RH_VIEW_ENTRY_INSERT'
exporting
view_entry = ls_view_entry
related_object = ls_related_object.
Best regards
Poul Steen Hansen
Senior Technical Consultant
EDB Consulting Group A/S, Denmark -
Structural authorization - creation of employee number in webdynpro or abap
Hello Experts,
We are facing some problems with the combination of structural authorizations and the creation of a new employee.
When we use PA40 to create a new employee this does not give any problem.
In the webdynpro we first execute a call transaction PA40 to apply infotype 0000 and 0001. This works well.
Except that the call transaction does not set the connection between PA and OM. (so we did program this ourselves)
In PO13 and the table HRP1001 the same relations are made as when we use PA40 in the sap gui.
After this we do call transactions PA30 for the next infotypes.
When we check the SU53 it gives a message: problems with structural authorizations object P (with the employeenumber) starting at 01.01.1800, enddate is empty.
The employee is manager and connected with his userid in infotype 0105.
We use in the structural profile the function module RH_GET_MANAGER_ASSIGNMENT
We checked with transaction HRHAUTH.
User has been adjusted to the tables T77UA etc.
We do not use workflow in this webdynpro
We used the trace function when this was executed, but it did not give more information about missing structural authorizations.
This issue was before on SDN (Structural authorization - creation of employee number) but unfortunally there was no solution there for the issue!
Hope one of you can help me to find the solution!
With kind regards,
Rita MensinkHi.
After 2½ days of frustration I finally nailed this.
Function group RHAC, that handles the authority checks, initially buffers a table called VIEW containing all objects available for the user. As stated earlier in this conversation, SAP handles creation of relations in HRP1001 (links PA and OM). At this point the new employee number is appended to buffered table VIEW in function group RHAC.
When execution the PA40 activity through CALL TRANSACTION, the creation of the relations are not handled - and the same goes for updating the buffered table VIEW. The table can be updated using the function module RH_VIEW_ENTRY_INSERT from the same fundtion group:
This example might be useful
data: ls_view_entry type hrview,
ls_related_object type hrobject.
ls_view_entry-plvar = '01'.
ls_view_entry-otype = 'P'.
ls_view_entry-objid = lv_pernr.
ls_view_entry-begda = '18000101'.
ls_view_entry-endda = '99991231'.
ls_view_entry-maint = 'X'.
ls_related_object-plvar = '01'.
ls_related_object-otype = 'S'.
ls_related_object-objid = lv_ny_objid.
call function 'RH_VIEW_ENTRY_INSERT'
exporting
view_entry = ls_view_entry
related_object = ls_related_object.
Best regards
Poul Steen Hansen
Senior Technical Consultant
EDB Consulting Group A/S, Denmark -
Same Employee Number two Vendor Codes
Hi All
I created an employee as vendor by linking his personnel number in FK01 but when I tried to create the another vendor with same employee number the system is allowing me to do so. Am i missing any config or is it a standard process in SAP to allow to vendor codes for one employee number.
Expecting your replies.
Regards
RajaramHi,
yes why should this be not possible? Normally you cretae the "employee" vendors e.g. for the travel management with TC: PRAA, so just think the case one employee is working in company code A (assigned to personell area A) he gets paid his travel expenses through the vendor account in cc A, then the employee moves to another company e.g B in assigned to Personell Area B then he gets paid on his vendor account cretaed in cc b but stil has the same employee number.
I hope this help a little bit to explaing why it should be possible to allow this,
Regards, -
Queries: user id and employee number ,and reponsibility and menu exclusions
Hi,
I have two different queries that are requested and I do not have a document to guide me in the tables relationships.
Query 1:
need to represent the reponsibility name asscociated with the name of menu and the functions excluded from that menu in the responsibility.
i was only able to retrieve the reponsibility name and the menu name, i do not know what is the table that contains the menu exclusion and how can i link it to the responsibility.
Please help, my query so far is as follows:
SELECT DISTINCT e.application_name, a.responsibility_name
--,a.LANGUAGE,
--,b.responsibility_key
, c.user_menu_name
,c.DESCRIPTION
,fme.prompt, fme.description
,fme.MENU_ID,frf.ACTION_ID
FROM apps.fnd_responsibility_tl a,
apps.fnd_responsibility b,
apps.fnd_menus_tl c,
apps.fnd_menus d,
apps.fnd_application_tl e,
apps.fnd_application f,
apps.fnd_menus_tl apm,
fnd_menu_entries_tl fme,
FND_RESP_FUNCTIONS frf
WHERE a.responsibility_id(+) = b.responsibility_id
AND b.menu_id = c.menu_id
AND b.menu_id = d.menu_id
AND e.application_id = f.application_id
AND f.application_id = b.application_id
AND a.LANGUAGE = 'US'
and apm.menu_id = fme.menu_id
and fme.MENU_ID(+)=c.MENU_ID
and b.RESPONSIBILITY_ID=frf.RESPONSIBILITY_ID
Query 2 :
It is required to represent the employee info associated with their associated reposnsibilities.
i could not link the employee number to the user id.
how can i join the two tables: fnd_user and per_all_people_f
PLEASE HELP ME.Hi,
need to represent the reponsibility name asscociated with the name of menu and the functions excluded from that menu in the responsibility.
i was only able to retrieve the reponsibility name and the menu name, i do not know what is the table that contains the menu exclusion and how can i link it to the responsibility.See these documents.
Note: 948512.1 - Checking Functions Associated with a User Menu or a Responsibility
Note: 468013.1 - Code Snippet for querying responsibilities and users in 11i Applications
Query 2 :
It is required to represent the employee info associated with their associated reposnsibilities.
i could not link the employee number to the user id.
how can i join the two tables: fnd_user and per_all_people_f Refer to the following docs for the requested query.
Note: 227103.1 - How Do I Find Person_Type Information in 11.5
Note: 332904.1 - How to Find Employees Who Have Logged In
Note: 332794.1 - Employee & User E-mail Syncronization
Regards,
Hussein -
Identifying Tables - Employee number field and email address field
We need to identify specific tables for data extraction purposes.
The tables we need are - "employee number" tables (used in SU01) and "email address" field - (techinical info. field name - SMTP_ADDR)
Thanks.
MarieIf you are looking for email addresses tied to user master records, then the table is ADR6, you must link to this thru USR21.
* Get email address
clear smtp_address.
select single adr6~smtp_addr into smtp_address
from usr21
inner join adr6
on usr21~addrnumber = adr6~addrnumber
and usr21~persnumber = adr6~persnumber
where usr21~bname = sy-uname.
Not sure that I've ever seen an employee number tied directly to a user in SU01.
Regards,
Rich Heilman -
Trusted recon populating manager ID based on manager employee number
Hi,
I am doing a trusted recon using GTC connector against HR database. The matching key is the employee number. In the HR data I don't have the manager ID instead, I have manager employee number. During the account creation process, I would like to fetch the manager account ID and populate it. I also have to do the same during the update process as well (if the manager changes, I need to do an update).
Please let me know how can I accomplish this?
Thank you very muchDo it as following:
- Create a UDF Manager Employee Number in OIM UDF.
- map your HR field with this UDF, so after reconciliation is completed this UDF has the value of Manager Employee Number
- Write a Task Scheduler which does the following:
a) Read all the OIM users for the UDF=Manager Employee Number
b) On the basis of this UDF it extracts the USR_KEY for the manager
c) Update the users one by one using OIM API'S for the manager information extracted.
That's the standard practice for linking User-to-Manager.
For Updates:
- Attach a process task like Change User Manager Employee Number to the Xellerate User process.
- Take the new value of the UDF and again do the same steps as told above to update the use for its new manager.
- Do this in an adapter task with java code.
- Attach this adapter to the process task of first step.
Thanks
Sunny -
How to Customize Employee Number Generation?
m trying to generate a custom employee,applicant numbers through a dummy business group.
I've created on Application: Oracle E-Business 11.5.10.2 the work structure and am now on the step of customizing the employee generating number.
I followed the link steps:
Below steps already done:
Technical Side:
1- Create New Sequence in DB.
-----Sequence Code----------
DROP SEQUENCE APPS.APPSLEAD_CUST_NUMB;
CREATE SEQUENCE APPS.APPSLEAD_CUST_NUMB
START WITH 1
MAXVALUE 999999999999999999999999999
MINVALUE 0
NOCYCLE
NOCACHE
NOORDER;
2- Create New Package for issuing the numbers.
----------Package Code--------------
Create or replace package appslead_package as
Function get_emp_custom_number (
p_business_group_id IN number
,p_legislation_code IN varchar2
,p_person_type IN varchar2
,p_person_number IN varchar2
,p_party_id IN number
,p_person_id IN number
,p_national_id IN varchar2
,p_date_of_birth IN date
) return varchar2;
end appslead_package;
Create or replace package body APPSLEAD_PACKAGE as
Function GET_EMP_CUSTOM_NUMBER (
p_business_group_id IN number
,p_legislation_code IN varchar2
,p_person_type IN varchar2
,p_person_number IN varchar2
,p_party_id IN number
,p_person_id IN number
,p_national_id IN varchar2
,p_date_of_birth IN date
) return varchar2 as
/*Check if the person id is exists on the system or not*/
cursor person_exists is
select employee_number,applicant_number,npw_number
from per_all_people_f
where party_id = p_party_id;
--and p_effective_date between effective_start_date and effective_end_date;
lseq_num number;
l_next varchar2(30);
l_emp_num varchar2(30);
l_apl_num varchar2(30);
l_npw_num varchar2(30);
begin
open person_exists;
fetch person_exists into l_emp_num,l_apl_num,l_npw_num;
if person_exists%notfound then
Select to_char(Appslead_Cust_Numb.Nextval) Into lseq_num From Dual;
l_next := 'AppsLead-'||lseq_num;
return l_next;
Else
If p_person_type = 'EMP' then
l_next := l_emp_num;
Elsif p_person_type = 'APL' then
l_next := l_apl_num;
Elsif p_person_type = 'CWK' then
l_next := l_apl_num;
End if;
End if;
Close person_exists;
return l_next;
end get_emp_custom_number;
End appslead_package;
Functional Side:
1- Create or Modify Business Group Employee numbering method to Manual.
2- Create New Formula Function.
3- Create New Formula EMP_NUMBER_GENERATION with Type "Person Number Generation"
------Formula Script--------
EMP_NUMBER_GENERATION
Create Custome formula for generation employee number*/
DEFAULT FOR Person_Number IS ' '
DEFAULT FOR Party_ID IS 0
DEFAULT FOR Person_ID IS 0
DEFAULT FOR National_ID IS ' '
DEFAULT FOR DATE_OF_BIRTH IS '1900/01/01 00:00:00' (date)
DEFAULT FOR Hire_Date IS '1900/01/01 00:00:00' (date)
INPUTS ARE
Legislation_Code (text),
Person_Type (text),
Person_number (text),
Party_id,
Person_id,
Date_of_birth (date),
Hire_date (date),
National_ID (text)
Next_Number = '0'
Invalid_msg = ' '
IF Person_Type = 'EMP' then
Next_Number = TO_CHAR(Get_Emp_Custom_Number(Legislation_Code,Person_Type,Person_Number,Party_Id,Person_Id,National_ID,Date_Of_Birth))
Else
Invalid_msg = 'This is not an person_type of Employee!'
Return Next_Number
Now, when I create a new employee I need the employee number to appear as
"AppsLead-Emp-00001"
But its not, and the screen of employee master is not allow to create an employee without filling the number.
How to do the same?
What should be the Employee Number Generation ?
1- Automatic generation with Global Sequencing
2- Manual
If your answer is manual, in the employee master screen, the employee id is required and when you create the employee the id should be entered.there are some fast formula you can use.
Please check metalink -
Function module to retrieve the account number linked to an SD invoice item
Hi all,
I should retrieve the gl account number linked to a certain SD invoice item. The
program starts from VBRK and VBRP data. Is there a function module which
enables to get it starting from these header lines? I already used the function
module: RV_INVOICE_ACCOUNT_DETERM ( release: 4.0 ), but in some cases it
doesn't seem to function properly ( the export table TKOMV doesn't contain a
value for the SAKN1 field ). For the invoices for which the function isn't able to
retrieve the account number, the standard accounting analysis functionality returns
the following message: account determination carried out via KOFI type. So I'm
searching for a function module that's able to retrieve the account number in these
cases also.
Thanks in advance.
Adriano.Dear Adriano,
Try with Function Module 'SD_DETERMINE_ACCOUNT_INVOICE '.
Additional Info:
BAPIs related salesorder:
BAPI_SALESORDER_CHANGE Sales order: Change Sales Order
BAPI_SALESORDER_CONFIRMDELVRY Sales Order: Confirmation of Delivery; Document Flow Update
BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDATA Create Sales Order, No More Maintenance
BAPI_SALESORDER_GETLIST Sales order: List of all Orders for Customer
BAPI_SALESORDER_GETSTATUS Sales Order: Display Status
BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
FM:
MB_ADD_PURCHASE_ORDER_QUANTITY (Reading and adding open purchase order quantities)
SD_SALES_ORDER_STATUS_WWW for complete details including the delivery information.
Hope this will help.
Regards,
Naveen. -
How do i change the phone number linked to my apple id
Hi there
I have just got a contract iPhone with 3 network.
Got my PAC code and my number was transferred over today.
I have turned the phone on and off again as requested but the number linked to my apple id is still the old number
Whenever I call anywhere my number comes up correctly but anyone I text gets the wrong number
Please help as all my friends are getting very confusedTap "Manage your Apple ID"
https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/ -
How to get BU, Company, Group details with the help of Employee number
Hi Friends,
How to get information related with Employee like Business unit, Company, Business Group and other details.
PravinYes Arul.
I want to get these information in a custom Java webdynpro application but if you can guide me how to get these values in SAP-Hr. Can you just give me details of tables. I have Employee number(pernr) with me and want to fetch Group, Company, Business Unit.
With rgds,
Pravin -
I want to understand if we change User logon Name to Employee Number format in Active Directory for all User accounts, then what would be the impact on existing profile. Whether we need to change it manualy or it will connect to same profiles in terminal
session.
As i observed it create new profile after logon name changed to employee number where existing users profile settings get fails to load and prompt for new settings (such as outlook reconfiguration, share drive mapping etc.).
Kindly let me know the proper process to overcome with this, how to connect same existing roaming profile with employee number format change.Hi,
What if we change the user name of user account, will it have impact on roaming profiles.
Yes, it will affect roaming profiles. Please rename the roaming profile folder as the new user account name, in addition, change the profile path in ADUC.
Here is an related article below for you:
How to Rename a Windows 7 User Account and Related Profile Folder
http://social.technet.microsoft.com/wiki/contents/articles/19834.how-to-rename-a-windows-7-user-account-and-related-profile-folder.aspx
Best Regards,
Amy -
How to Create an Custom Employee Number Generation ...
Dear Friends,
We are Implementing HRMS Suite Version12i, for one of the Client in Middle east.
One question about Custom Person Numbering.
How to create custom employee numbering Based on the User Person Type?
Example:
Two person types
o Permanent Employee
o Probationary employees
We Need to give two different numbering schemes for each person type.
eg Permanent Employee will use a seq begin 100000 whereas Probationary employees (other user type) will use a sequence beginning 200000.. Can any pls let me know how to handle the Custom Employee Number Generation (with Setups)
With regards
SwpanaHi,
Could you please help me to write/or send a sample of a Person Number Generation Formula.
I don't see the noteid : 279458.1 on metalink,I get the following message:
Article or Bug cannot be displayed. Possible reasons are:
The article Id or bug number was entered incorrectly. Please check and try again.
The article Id or bug number does not exist (was referenced incorrectly).
The article or bug is not classified as publicly accessible ("non-public").
The content is being updated and it is temporarily unavailable but will be made available again soon.
If you still have questions about why you could not access this article or bug, please use Feedback.
Please help!! -
Partner functions (R/3- CRM) based on employee number (KNVP-PERNR) or CP
Hi all gurus,
I am trying to replicate an partner-function base on personnel number/employee number for customers from R/3 to CRM.
For those partner-functions only the employee number is filled in KNVP-PERNR (the KNVP-KUNN2, KNVP-LIFNR and KNVP-PARNR are empty).
If I follow the replication process I don't see the employee number getting mapped to the "bapimtcs structure" (in function module COM_BUPA_MWX_CREATE_REL) and therefore those partnerfunctions are not replicated to CRM.
(all employees are entered in HR-R/3 and downloaded to CRM as business partners)
Basically this is exatly the same situation described in the following forum:
[Replicate partner functions (R/3->CRM) base on employee number (KNVP-PERNR) |Replicate partner functions (R/3->CRM) base on employee number (KNVP-PERNR)]
What (function modules/configuration) is necessary to get those partner-functions being replicated to CRM?
Unfortunately I was pretty unable to collect valid solution track.
Thanks in advance,
AndreAHi Andrea,
We were able to solve the exact same issue.
Here are steps used by us to fix the issue :
IMG Settings in CRM :
SPRO>CRM>Basic Functions>Partner Processing> Date Transfer>Distribution of Partner Functions from SAP ECC into CRM>
Partner Function = VE
Funciton = Employee Responsible(00000014) ( can be any other partner function which is a employee)
Usage= CRM
Also make sure the following settings are also done
SPRO>CRM>Basic Functions>Partner Processing> Date Transfer-->Distribution of Partner Functions from CRM into SAP ECC
Funciton = Employee Responsible(00000014)
Partner Function Cat = Employee
Scenario = CRM
R/3 func = VE ( even though you are using the PE partner function in ECCwe use VE here as you know VE is the german version of PE)
Type = MR master record
Also make sure that SAP Notes 1020514 and 1099363 have been applied in ECC.
Let me know if you have any issues. This should fix it.
Thanks
Edited by: Venkat_30 on Dec 14, 2011 5:15 AM -
Custom Employee Number Generation Using Fast Formulas
Hi,
I have a requirement to generate custom employee numbers like "EMP100001". we have already created a business group with the setting of Employee number generation as Automatic. but we need to generate custom employee number as Format given above instead of automatic number generation.
I have created my own PL/SQL Package to generate custom employee number as per Person Type. Also created a Fast Formula Function with the following parameters -
Name = Get_Custom_Number
Data Type = Text
Class = External Funtion
Alias Name = NULL or what you want the alias to be
Description = Returns the next custom number value
Definition = CUSTOM_EMP_NUMBER_GENERATION.Get_Custom_Number (PL/SQL Function)
Proving the following Context usages and Parameters details to the Fast Formula Function -
Context usages:-
Number = 1
Context Name = BUSINESS_GROUP_ID
Data Type = Number
Parameters as defined in PL/SQL function
1 p_legislation_code Text Input Only
2 p_person_type Text Input Only
3 p_person_number Text Input Only
4 p_party_id Number Input Only
5 p_person_id Number Input Only
6 p_national_id Text Input Only
7 p_date_of_birth Date Input Only
Than i created a Fast Formula using the following navigation
Total Compensation > Basic > Write Formula
with following details -
Name = EMP_NUMBER_GENERATION
Type = Person Number Generation
Description = Returns next Employee number
and wrote my formula code.
When i created a Employee from Enter and Maintain People screen it is showing automatic number instead of my custom employee number.
I m not able to find where i m missing the logic or some parameters?
If anyone has come across such situation, please provide some pointers here.
Thanks
RenuWhat is the application release?
Please review these docs and see if it helps.
Is it Possible to Update Generate Employee Number Method From Automatic to Manual? [ID 393827.1]
Need To Change The Employee Numbering From Automatic To Manual [ID 291634.1]
Unable to Switch From Auto to Manual for Employee Number Generation in Shared Hr [ID 452044.1]
How to Prefix a Zero on Custom Employee Numbers [ID 822425.1]
How To Implement Custom Person Numbering Using FastFormula Based on User Person Type Instead of System Person Type [ID 372696.1]
Thanks,
Hussein
Maybe you are looking for
-
My entire iTunes library is on my Mac Desktop. Macericks/iTunes 11.1.5, and I sync my iPad mini to that. I am travelling for a month, and the iTunes library is greater in size than the iPad can store. I am also taking my MacBook Pro with me. How can
-
Retrieving data from a BW Query runs endlessly in Crystal
Hi, I have installed Crystal Reports 2008 SP2 with SAP BO Integration Kit 3.1. When I create a new file from a SAP BW 7 Query I everything works fine (field selction etc) until I run it and try to extract data from the database. I can enter the param
-
Duplicate photos now in Photo from iPhoto
Hi, I uploaded photos from my Mac to my iPad(3) using Photosync. The album appears nicely under Albums in the Photo app along with the pics in Camera Roll. I then make my edits in iPhoto (latest relase). So then, in iPhoto, i have the pics with the l
-
Flash update messed up FF Add-ons and the Open New Tab button.
FF told me that I needed to update Flash, so I said OK. Whereupon all of my FF Add-ons disappeared. Seems that FF needed to check with the mother ship to find out if everything were compatible with this new Flash update--but the mother ship was not a
-
Hi, I've a requirement to create an ABAP report to determine Address Details (PO Office, Region etc.) of an Employee assigned under a particular node in Sales Org. Could anyone suggest me how can I extract this information? Any FM, BAPI or Table etc.