PA Secondary Infotype
Hi,
I want to know which are the seceondary infotypes used in the system.
Can anyone help me from where I can get to know about secondary Infotypes.
Rgds,
Lata
Many country versions require country-specific fields that are attached to all international infotypes. To prevent international infotype structures from being overloaded with country specific fields, the fields are moved to additional infotypes. The data however is maintained as a single unit .The primary and additional(secondary) infotypes are maintained together on one screen in an infotype view which is defined using T582V and T582W. Both the infotype records have an identical infotype key
Example(for US)-Primary infotype 0021 is used for stroing data of Family Member/ Dependents. It has a secondary infotype 0335(HR Master Data: Infotype 0335 (infotype 21 view - PT)) associated with it. If you have a family member or dependent in 0021, where do you store the Social Security Number of this realted family member/dependent? SSN of the dependent goes into PA0335.
P.S- The SSN for the employee himself is stored in the infotype 0002: PA0002-PERID.
Similar Messages
-
Creation of Secondary Infotypes
Hello gurus,
I have to create secondary infotypes for IT0021 for the country Sweden. I am trying the transaction code PM01....but I don't get to see the IT View option in the menu so as to initiate secondary infotype creation.
Request your urgent help.Hi
Having not worked on a Swedish project can't say that I know what you actually require, however SAP make it fairly clear about not creating your own IT view.
Standard settings
SAP delivers infotype views for several chosen infotypes - especially for
those of relevance to the German civil service.
Activities
Do not create any of your own infotype views.
Do not change the settings for assigning infotypes and views.
If it is a legislative requirement it should've been delivered by SAP, if it's a new legislative type requirement it should be delivered by SAP although I can't find any recent OSS note covering this. The standard SAP help also doesn't mention any country specific requirements with regards to Sweden and IT0021.
Cheers
Euan -
IT0002 New Infotype Framework with Secondary Infotype Short Dump
In our new ERP 6.0 system, we are seeing a short dump, ASSIGN_BASE_TOO_SHORT in CL_HRPA_INFOTYPE_0002_BE when hiring a Belgium employee. It appears in the new Framework, the SPECIFIC_INITIAL_COMPUTATIONS method of CL_HRPA_INFOTYPE_0002_BE is expecting there to already be data in IT0108 (secondary infotype for Belgium IT0002). However, during a hire, this data has not been filled yet. That will be done during the processing of the IT0002 itself.
I looked into IT0021 for the US, where IT0106 is a secondary infotype and the issue isn't present. The code in the SPECIFIC_INITIAL_COMPUTATIONS of CL_HRPA_INFOTYPE_0021_US is written entirely different without the use of field symbols, so maybe it is a coding issue?
Has anyone else run into this issue, or know if we are possibly missing configuration that would keep this issue from happening?Suresh,
Yes, we have seen that note, and we have those changes implemented. We are still having an issue. The issue is related to any IT0002 with a secondary infotype so that includes Belgium, Brazil, Korea just to name a few.
It appears the PNNNN2 structure within the SPECIFIC_INITIAL_COMPUTATIONS method is null (because it hasn't been created yet), and that is causing the short dump. I can't believe this is working as expected because there is no way the IT0108 can be assumed to have a value in it, or you could never hire anyone.
Bob -
To add secondary infotype to Family Member/Dependents for all the countries
Hi,
I have a requirement to add secondary infotype IT 0106 to the infotype Family Member/Dependents for all the countries. I have used table T582V. But still it is not appearing. Please help.
ThanksHi,
You need to do following steps .
~ Maintain Feature "IVWID " for your country grouping
~ Maintain table "V_T582V"
"Country grouping as per "IVWID " 0021 V106 MP010600 0100 Family Member/Dependents
~Maintain table "V_T582W"
~Maintain table T591S -
Problem using function module for infotype 21
hi
im uploading the infotype 21 (family details) through function module hr_infotype_operations. i found that infotype 0106 (family/related person)
is a secondary infotype and that a record is created for 0106 ,everytime you create a record in 21. so i upload the family data of an employee using the function module for infotype 21 initially. and then fetch the same record from the table pa0106 and modify the same record with other information.
for example : u have the address details of a dependent(father subtype 11) in infotype 21. this address data is stored in the table pa0106 . im not able to modify the record for infotype 0106 using the function module 0106.
i would like to know the reason for the same. Is it because that infotype 0106 is a secondary infotype and u cannot modify the record using the fn module..?/
thanks
sridharanHi Sir,
I am also facing the same issue...i need to update dependents Information Date Of Birth n Perid(Which is stored in IT0106)...in IT 0021..
Kindly correct my code....
I am using the following code for this...
data: w_return type bapireturn1.
data: p0021_struc TYPE p0021,
p0106_struc TYPE p0106,
p_pskey TYPE pskey.
start-of-selection.
get pernr.
p0021_struc = p0021.
p0021_struc-favor = 'Gaurav'.
p0021_struc-fgbdt = '05/10/1955'.
Move p0021_struc-favor to p0021-favor.
p0106_struc = p0106.
p0106_struc-stras = '2235 BOmbay Road'.
p0106_struc-perid = '123456789'.
MOVE p0106_struc-stras to p0106-stras.
Enqueue personnel number
call function 'BAPI_EMPLOYEE_ENQUEUE'
exporting
number = pernr-pernr
importing
return = w_return.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = p_pskey-infty
number = p_pskey-pernr
subtype = p_pskey-subty
objectid = p_pskey-objps
lockindicator = p_pskey-sprps
validityend = p0021-endda " '99991231'
validitybegin = p0021-begda
record = p0021_struc
operation = 'mod'
tclas = 'A'
dialog_mode = '2'
nocommit = p_test
VIEW_IDENTIFIER = '07' "p0003-viekn
secondary_record = p0106_struc
IMPORTING
return = w_return
key = familykey
EXCEPTIONS
OTHERS = 0.
Enqueue personnel number
call function 'BAPI_EMPLOYEE_DEQUEUE'
exporting
number = pernr-pernr
importing
return = w_return. -
Hi,
While saving infotype 8 , a user exit gets called which calls infotype 7 for new entry. Infotype 7 is modified with with subscreens from Infotype 107.
While calling infotype 7 via infotype 8 , the fields on the subscreen of infotype 7 are not enabled , how these can be enabled for entry.
Although i can assign value to subscreen field , i can not make it editable . Any idea how the subscreen field can be enabled ? (in loop at screen . i don't get the subscreen name)
Also when i run infotype 7 independently , the all subscreen fields are enabled.
Do reply.
Thanks.Hi,
To make the field editable you need to change the Configuration using SPRO. The infotype 0107 is secondary infotype. If you need to update the Infotype 0107, you need pass along with Primary infotypes for ex Infotype 7 etc.
Hope this will be helpful.
Raja T -
Document/Information on infotype 0342 and 0343
Dear all,
I would like to know where can I find the document on specific infotype?
For example, 0342 and 0343, I find that they cannot input directly, but have no idea what the role they play in the system and would like to find out.
Any pointer will be welcome.
Thanks in advance.
Regards
BillCertain infotypes are considered to be secondary infotype (can't be view directly, but would need to be part of another infotype), and this is set up in T777D.
If you look at view V_T582V for your country, IT0342 is used along with IT0002 (personal info), and IT0342's used along with IT0016 (contract elements). -
Invalid parameter SECONDARY_RECORD-PSKEY Error in Personal Data Screen
Hi All,
We are using EHP6. The Personal Data iview is throwing an error while trying Edit something.
I am able to add a new register but getting the following dump while trying to Edit/Save
This apply for all the employees.
This apply for all the employees.
I looked through SAP Note-1815863 - Dump in Class CL_HRPA_INFOTYPE_CONTAINER Method. However all the tables mentioned in that Note seemed to be configured properly.
Any help will be appreciated.
Short Dump
Error while processing your query
What has happened?
The URL call sap/bc/webdynpro/sap/HRESS_A_PERSINFO was terminated because of an error.
Note
The following error occurred in system DEV : Invalid parameter SECONDARY_RECORD-PSKEY , value 1008119301067 9999123120130621000
The error occurred on application server HRE_05 and in work process. 8
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_HRPA_INFTY_CONTAINER_DATA~MODIFY_SECONDARY_RECORD of program CL_HRPA_INFOTYPE_CONTAINER====CP
I have checked:
Report RPUPAV00.
Subtype config, inconsistent data.
I updated table V_T582V & V_T582W.
I maintained tcode-GENIL_MODEL_BROWSER.
I also have checked the following:
sap > bc> webdynpro > HRESS_A_PERSINFO ----check this once activate or not ...right click and check is it activated or not
I also have run the report RPUFIXDS for that personal number, , however the issue follow.
The error not occur when I delete the register for the the following V_T582V & V_T582W, however the fields for the infotype secondary not appear in the dynpro of the infotype 0002.
Thanks
RegardsThere could be several possible causes
Usually this error occurs if a secondary infotype functionality has been delivered via SP or SNOTE for infotype 0002 but the PERNR you are using does not have secondary infotype record
Tables V_T582V & V_T582W determine if a secondary infotype will be used - if you remove entries here this will deactivate the secondary infotype useage - this might be one way to resolve the issue - but perhaps you wish to use the secondary infotype - in some cases it might be required- for example ESS might expects a secondary infotype and throw an error if there is an issue
If you wish to use the secondary infotype you need the delivered entries in V_T582V & V_T582W and you need to run RPUPAV00 for any PERNR that has a 0002 record existing prior to the new secondary infotype being introduced to ensure they have a secondary infotype record key that matches the primary infotype key -
I Need info on feature IVWID?
HI gurus,
How you all doing? I would like to know some information about the feature IVWID i.e. what it is used for, how this is set up and what is related to. Are there any other tables which need to be maintained apart from IVWID feature. Please explain this.
Thank you all and have a happy new year!
JEss..Hi,
IVWID ('Infotype view indicator')
The IVWID feature modifies the the Infotype View Indicator, which is the field PA0003-VIEKN.This is assigned to the following organizational data in this feature: personnel area, employee group, employee subgroup and country grouping.
The view indicator is used to group infotypes into views.
The view indicator may not be changed since the records of the "primary" and "secondary" infotype must always have the same keys. To ensure this, the view indicator is stored in the "Payroll Status" infotype (0003).
The feature contains the decision tree, to update on the VIEKN field, you should run the following report.
Report RPUFACEVIEKN of note 1447867...
Best Regards,
Venkat.
Edited by: Venkateswara Sarma Bhamidipati on Dec 28, 2010 3:33 AM -
Hi,
I need to update infotype 759 of employees under an organisational unit, when manager approves Compensation Plan for this Org. Unit through MSS. Is there any BAdi or ways to achieve this?
In need a BAdi where I can access Org.Unit selected by manager Or someother work arounds...
Thanks in advance
AnuHi,
Why do you need a BAdI? SAP standard process should be enough. Once the manager has approved reviews, you need to run standard report RHECM_CHANGE_PROC_STATUS through transaction PECM_CHANGE_STATUS. The main change is to u201Cactivateu201D the desired reviews. The activation will update IT0759 and also secondary infotypes like IT0008, IT0015 etc. depending on the review.
Please understand the process by reading up SAP online help:
1. Perform Reviews
http://help.sap.com/erp2005_ehp_04/helpdata/en/93/01eb6646add949949b828d3e9a03c6/content.htm
2. Performing a Review
http://help.sap.com/erp2005_ehp_04/helpdata/en/05/3873db65a4074f8d2a020d6537c618/content.htm
3. Activate Reviews
http://help.sap.com/erp2005_ehp_04/helpdata/en/4e/c485837ed9034cb38432e9449182f6/content.htm
4. Change Compensation Process Status (RHECM_CHANGE_PROC_STATUS)
http://help.sap.com/erp2005_ehp_04/helpdata/en/6a/1288e9373efc4b997b4bd4b64f831f/content.htm
Source: help.sap.com
Hope this helps.
Donnie -
Error in PA40: missing secondary record for infotype 0001
Hi Experts,
while changing the job code of employee i am getting below error in the PA40 transaction for IT0001 .
Error : missing secondary record for infotype 0001 Key
could you please tell me why this message is coming.
Advance thanks,
Regards
RamHi,
Please check out whether any user exits are maintained.
Check ZXPADU01/ZXPADU02 includes.
Please also check out whether there are dynamic actions configured for IT0000 and IT0001 via V_T588Z.
Regards,
Dilek
Edited by: Dilek Ersoz Adak on Dec 16, 2009 3:19 PM -
Bank Infotype Subtype Not appearing in ESS
Hello all, I am working with a client who allows employees to create/maintain up to 3 bank accounts. Our PA person has set up the following:
Infotype 0009 with Subtype 0 as the MAIN bank
Infotype 0009 with Subtype 1 as OTHER bank (can specify % or $ amount)
Infotype 0009 with Subtype 91 as SECONDARY bank.
Everything appears to be set up properly in V_T7XSSPERSUBTYP as follows:
10 -> 0009 -> 0 -> B1
10 -> 0009 -> 1 -> B3
10 -> 0009 -> 91 --> B3
The PROBLEM is this: when viewing the bank information on ESS, the SECONDARY bank does not allow the user to specify % or $ amount. Our PA person created subtype 91 by copying subtype 1, and she sees the $ or % field in the bank end, but it is not appearing in ESS.
Any clues?
Thanks!
CassyThe reason is prety startight forward. These fields are been enabled via web dynpro coding for subtype '1'.
Just in if condition for subtype 1 in the web dynpro coding also include subtype 91
by adding a or condition.. I do not remember the exact view name but it is pretty easy to find the view name and the exact place where you need to do this by looking at the De velopment compnent in NWDS
regards
rajk
null -
Updating hr infotype pa0305 with 'HR_INFOTYPE_OPERATION'
Hi everyone i'm trying to update hr infotype pa0305 using fm HR_INFOTYPE_OPERATION but it doesn't work maybe using in worng way.
Maybe someone knows how can i use the second structure q0305 passing trough the parameter called "secondary records".
Thanks in advance,Sorry for the late, the problem was that the part structure of p305 is empty; the part of wage type and amount exactly.
CLEAR lv_return .
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '0305'
number = wa_alvgrid2_error-pernr
subtype = ''
OBJECTID =
LOCKINDICATOR =
validityend = wa_alvgrid2_error-endda
validitybegin = wa_alvgrid2_error-begda
RECORDNUMBER =
record = st_0305
operation = 'INS'
tclas = 'A'
dialog_mode = '2'
nocommit = ' '
view_identifier = '15'
secondary_record = st_q0305
IMPORTING
return = lv_return
KEY =.
maybe I am in wrong when I pass the secondary record. -
Create employee with detached infotype framework
Hello,
I'm desperately trying to create a new employee with the decoupled infotype framework, without success.
I try to save IT0000 and IT0003 (as secondary record) at first, but when I call the 'if_hrpa_masterdata_bl~get_infty_container' method, a 'cx_hrpa_missing_infty_data' exception is raised because the framework can not find any IT0003 record for the new employee (of course, since I'm trying to create it!).
So I can't do any insert since I can't get any container...
Thanks in advance.
MathieuSo, isn't there a way to create an employee with the detached infotype framework?
Here is the code I used to try to create an employee in the system:
*-- Get business logic from masterdata factory
CALL METHOD cl_hrpa_masterdata_factory=>get_business_logic
IMPORTING
business_logic = lo_masterdata_bl.
TRY.
CREATE OBJECT lo_message_list.
*-- THIS IS WHAT DOESN'T WORK. Since I can't get a container, I can not do anything else.
lo_masterdata_bl->get_infty_container(
EXPORTING
tclas = c_employee_tclas
pskey = ls_pskey
massn = '00'
massg = '00'
no_auth_check = abap_true
message_handler = lo_message_list
IMPORTING
container = lo_infty_container
is_ok = success
*-- Message management
*-- Update old data with new one
lo_infotype_container ?= lo_infty_container.
lo_infty_container ?= lo_infotype_container->modify_key( ls_pskey ).
lo_infotype_container ?= lo_infty_container.
lo_infty_container ?= lo_infotype_container->modify_primary_record( pnnnn ).
IF pnnnn2 IS NOT INITIAL.
lo_infty_container ?= lo_infotype_container->modify_secondary_record( pnnnn2 ).
ENDIF.
*-- Insert record
CALL METHOD lo_masterdata_bl->insert
EXPORTING
massn = space
massg = space
update_mode = ls_update_mode
no_auth_check = abap_true
message_handler = lo_message_list
IMPORTING
is_ok = success
CHANGING
container = lo_infty_container.
*-- Flush
IF flush_immediately EQ abap_true.
CALL METHOD lo_masterdata_bl->flush
EXPORTING
no_commit = space.
ENDIF.
*-- Message management
CATCH cx_hrpa_violated_assertion INTO lo_exception.
*-- Message management
ENDTRY. -
Problems with Upload record to Infotype 2010 together with Cost Assignment (PREF)
Hi
I create program using your guide
http://scn.sap.com/people/aditya.palekar/blog/2010/01/19/uploading-a-pa-infotype-record-with-cost-assignment
but I have two problems:
If I call method "CALL METHOD ref2->modify_data" is obligatory parameter SECONDARY_RECORD, but I update only infotype 2010 as PRIMARY_RECORD and PREF (I don't have secondary record).
When for secondary_record use same record as primary_record, give me an error. When for secondary_record use null record give me a error.
I try used "ref2->MODIFY_PRIMARY_RECORD" and "ref2->MODIFY_PREF" together, but using method "CALL METHOD g_masterdata_bl->INSERT" updated only last record (in this case is PREF because is call as last method"ref2->MODIFY_PREF")
What InfoType is Secondary_Record for InfoType 2010?
I have problem with NO COMMIT data. Method "CALL METHOD g_masterdata_bl->flush" have a parameter no_commit with two possible options. When I use no_commit = 'X', this commit data even if this do don't commit.
Why still commit data? When this method no_commit data?
Thank youHi
I create program using your guide
http://scn.sap.com/people/aditya.palekar/blog/2010/01/19/uploading-a-pa-infotype-record-with-cost-assignment
but I have two problems:
If I call method "CALL METHOD ref2->modify_data" is obligatory parameter SECONDARY_RECORD, but I update only infotype 2010 as PRIMARY_RECORD and PREF (I don't have secondary record).
When for secondary_record use same record as primary_record, give me an error. When for secondary_record use null record give me a error.
I try used "ref2->MODIFY_PRIMARY_RECORD" and "ref2->MODIFY_PREF" together, but using method "CALL METHOD g_masterdata_bl->INSERT" updated only last record (in this case is PREF because is call as last method"ref2->MODIFY_PREF")
What InfoType is Secondary_Record for InfoType 2010?
I have problem with NO COMMIT data. Method "CALL METHOD g_masterdata_bl->flush" have a parameter no_commit with two possible options. When I use no_commit = 'X', this commit data even if this do don't commit.
Why still commit data? When this method no_commit data?
Thank you
Maybe you are looking for
-
I cannot get iTunes 7 to download
It started when I reset my PC. When i got it to work correctly, iTunes was the only thing that would not come up. I tried downloading it from the site, but whenever i try nothing happens. It brings me to the 'Thank You' page but no download box appea
-
New BI Publisher Desktop (incl. Template Builder for Word) patch available
This is a patch for Template Builder 10.1.3.4 and 10.1.3.4.1 The patch address the following issues: 8463992 - INCORRECT IMPLEMENTATION OF XLIFF SPECIFICATION 8392756 - PROBLEM WITH CROSS-TAB(PIVOT TABLE) IN TEMPLATE BUILDER 9283891 - TB DIALOG DOES
-
with the OS 6.1.3 my Camera is not working the shutter is close out and My WiFi graied out need help Thanks
-
Hello, Can anyone recommend the best book for a complete novice to Illustrator? Ive a background in GIS and am wanting to learn to improve my cartographic skills. Does anyone know if theres a book out there that caters towards cartography in illustra
-
Crash when opening effects browser
Hi i have a problem when trying to access the effects browser. It crashes Final Cut every time, after pref deleting, deleting window layouts & holding alt/cmd to trash prefs. could anyone help?