Changepointers HRMD_A infotype 2003
Hello,
We are using the changepointer mechanisme for sending messages from our SAP system to PI.
If we change for example infotype 0001 changepointers are created in BDCP2.
But when we change infotype 2003, then changepointers are not created.
In BD64 we dont use the filter option, so we expect that for every infotype a changepointer is created.
Please advise how changepointers can be created for infotype 2003.
Pieter
Hi,
if you check in transaction WE30 the IDOC type (I do not know which one you are using, but I checked the latest one HRMD_A07), you will see that there is no segment for infotype 2003 (it should be something line E1P2003), so this means infotype 2003 is not included per standard. If you need to included additiona infotypes for distribution, please check note 105148.
Regards,
Ana
Similar Messages
-
I want to enhance infotype 2003.
I'm going through PPCI transaction, i've created structure CI_2003 with a new field.
I've created modulpool ZP200300, and i've inserted a new entry in table T582C.
But when i check the infotype via PA30 my new field is not shown,
Any ideas???Unfortunately you cannot enhance the Time Infotypes.. pl take a look at this
Re: Add new field to 2001 infotype -
Programming HR Infotype 2003 updates
Hi
I have a requirement to create infotype 2003 (Substitution) records from a bespoke infotype 9007 that I have just created. I am wanting to avoid a BDC session (naturally) and was therefore leaning towards IDocs or BAPIs. I have spotted the IDoc HRSM_D01 that I could possibly use and then execute the report RPTEXTPT to process the data from the staging tables.
What I wanted to know, was whether this would be the correct way forward, or is there a cleaner/more future proof way. We are currently on 46C and are starting an upgrade to ECC 6.0 in Jan '07.
Thanks in advance.
Ian
It appears I should be using the HR_INFOTYPE_OPERATION FM.
Message was edited by: Ian Stubbings
Message was edited by: Ian StubbingsTamás Nyisztor wrote:
> Unfortunately SAP lacks perfection, deal with it.
Hi Tamás,
Of late i've been dealing with HR_INFOTYPE_OPERATION frequently & if you dig deep into it you'll see that there is a BDC being done using CALL DIALOG on dialog module HR_MAINTAIN_MASTER_DATA !!! And you must be knowing CALL DIALOG is obsolete.
Anyways there's always an excuse of downward compatibility though
BR,
Suhas -
Cost assignement using infotype 2003
Hello,
How can I change cost assignement using Infotype 2003.
I have created the infotype 2003 with the ney cost center, and table C1 is generated in the time evaluation, but in payroll the cost center is still the master cost center of IT0001.
How can I change the cost center using infotype 2003 and transfered to the payroll?
thx.
EnriqueThanks Santhosh for the answer.
So I can understand that the cost center will not be changed from IT2003 for the payroll, it only be changed if change in IT0001 or IT0027. true?
Why IT2003 have the option to change cost assignment?
I was doing some tests and could see that if a time wage type (for example an attendance) is generated in the same period of the IT2003 these wage type is transfered to the payroll with the new cost assignment . Is it the standard behavoir of the IT2003?
The only way to change the cost assignment for all the payroll (instead of IT0001) for a period is using IT0001 or IT0027?
thanks,
Enrique -
Change infotype 2003 when changing infotype 2001
Hi,
When changing some infotype 2001, I need to make a change for the same date in infotype 2003. So, I'm using BADI HRPAD00INFTY, method BEFORE_OUTPUT so I can change infotype 2003.
I already can change the infotype in that BADI, but after changing infotype 2001, which means on PAI, it seems that the old value of infotype 2003 is saved in memory, so it does not assume the new value there, and it gives me a warning message that I want to avoid with this development.
When I leave the transaction, infotype 2003 is updated, so that is working.
Do you have any idea how can I save the change in infotype 2003 in memory, so when changing 2001 it will recognize it?
Thanks in advance.
Best regards,
Sónia GonçalvesYou can try using the function call 'HR_INITIALIZE_BUFFER'.
Arya -
Update HRMD_A infotypes from inbound Idoc
Hi again all,
I am trying to send inbound HRMD_A06 idocs to SAP to update infotypes for employees. The idocs are received by SAP, processed by the correct application and stored in the database for the employee. But the values already stored in the infotypes should be delimited based on the new data, and it is not!
The new value, ie. IT0105 subty 0010 (email) has the previous values:
BEGDA: 20040101
ENDDA: 99991231
INFTY: 0105
SUBTY: 0010
USRTY: 0010
USRID_LONG: [email protected]
The idoc sent to SAP contains the following values (which are stored successfully in the database):
BEGDA: 20050201
ENDDA: 99993112
INFTY: 0105
SUBTY: 0010
USRTY: 0010
USRID_LONG: [email protected]
The new values are stored correctly for the correct employee, but the previous values are not delimited! SAP only adds the new value to the list of infotypes for the employee. The previous values should be set so ENDDA = 20050131.
Currently there is no way to know which value is the valid one, as both values are currently valid. We are using time constraint 2 (only one value valid at any time), but this seems not to be functioning.
Does anyone have any experience with this?
Any help is highly appreciated.
Br,
KennethHi Senthil,
That was apparently a typo from me... The ENDDA is set as 99991231. But according to OSS note 134085 the inbound HRMD_A idocs are bypassing all consistency checks and time constraint checks. But I have managed to overwrite the previous value if the new BEGDA and ENDDA at least covers the previous BEGDA and ENDDA, and BEGDA >= hire-date. Even though I can't delimit records, I can live with this solution.
Thanks for your reply.
-Kenneth -
ALE Message type HRMD_A Infotype 0001 is incorrect using PROOF flag = X
Hi
We have an issue using HRMD_A for Infotype 0001 with the PROOF flag swithed on. Using the PROOF flag triggers a call of HR_MAINTAIN_MASTERDATA instead of a direct write to db tables. However sometimes the update of Infotype 1 is incomplete and records are lost. The data goes through a transformation in the inbound BAdi, here I have checked the sequence is still correct. But when the data is written to Infotype 1 it seems to overwrite the last entries.
If anyone has any experience with this, I would be very interested for any input.
Thanks in advance
SonnyHi Sandip
Thx for your response. If I understand you correctly you suggest I use the HR_INFOTYPE_OPERATION. This could be an alternative, but I would prefer to understand the reason behind the error.
HR_INFOTYPE_OPERATION actually calls HR_MAINTAIN_MASTERDATA, so this FM might not solve the issue, but it does give the option for updating one record at a time.
Sonny -
IDOC - HRMD_A - Infotype 35
Guys , everytime i change infotype 2 for example a new idoc is created with this new information, however i want to do this for infotype 35 , i mean send the idoc again but without send any information of the infotype 35. how could i achive this ?
thank you very much for your advice .Hi,
make sure infotype 0035 is included in the filter in your distribution model. Change pointers are just created for infotypes included there.
Regards,
Ana -
Read/write hr infotype 2003 note
Hi,
Does anybody know how to read or write a note (accessible through F9) from ABAP? I cannot seem to get the usual object/name values to access through READ_TEXT.
I have tried through macros without success.
Thanks for any help,
PhillipHi Phillip,
Text will be stored in PCL1 cluster.Please see one
way of reading data from Cluster.
* Include for PCL1
INCLUDE RPC1TX00.
CLEAR gs_p0219.
CLEAR gt_p0219_text.
REFRESH gt_p0219_text.
SELECT * INTO CORRESPONDING FIELDS OF gs_p0219
FROM pa0219
WHERE pernr = gd_pernr
AND subty = '5'
AND endda = '99991231'.
ENDSELECT.
IF gs_p0219-itxex = 'X'.
gs_p0219-infty = '0219'.
* Get IT0219 comments from cluster table PCL1
CLEAR tx-key.
MOVE-CORRESPONDING gs_p0219 TO tx-key.
MOVE '0219' TO tx-key-infty.
IMPORT text-version
ptext
FROM DATABASE pcl1(tx)
ID tx-key.
IF sy-subrc = 0.
* Write out text
LOOP AT ptext.
WRITE ptext-line TO gt_p0219_text-text_line.
APPEND gt_p0219_text.
CLEAR gt_p0219_text.
ENDLOOP.
ENDIF.
ENDIF.
In the same way you can write using EXPORT statement to the PCL1.
Hope this is helpful to you.
Thanks&Regrads,
Siri. -
Data upload into infotype 2003
Hiii
I have a customer requirement to upload flat file containing
below fileds into IT2003
PersNo,
Begindate,
Endate,
Daily work schedule.
currently they are using LSMW.
Can i use Function Module HR_INFOTYPE_OPERATION'
to upload in to IT2003
Regards,
naziYes. for data which u have for Upload ,U can surely use the FM HR_INFOTYPE_OPERATION
with Operation options :
COP Copy
DEL Delete
DIS Display
EDQ Lock/unlock
INS Create
LIS9 Delimit
MOD Change
INSS Create for Actions is not converted to Change
Apart this u will be reqd to Use BAPI_EMPLOYEE_ENQUEUE : so that the records stored for this
person cannot be accessed.
Once done with operation ,end it with BAPI_EMPLOYEE_DEQUEUE.
Regds,
AS -
Calling infotypes in module pool programming
Hi experts,
I want to guide end user to infotype 2003 using pa30 in dialog programming. I am able to take it to pa30 by 'call transaction' but i want it to directly go to 2003 in pa30 for the same employee.
Need you help please.Hello Rekha
you can use :
set parameter 'PER' <employee number>
set parameter 'ITP' '2003'
set parameter 'SUB' <Subtype>
call transaction 'PA30' skip first screen.
Reward points if helpful -
Absence amount in infotype 2001 without taking wrok schedule into account
Hello
We are using CATS. For the purpose of available hours of an employee only the total of a week is needed. So for instance 25 h/week. We set up a week workschedule 25h/week with day schedule of 5 hours per day (hours evenly spread over the 25 hour week). However, I run into the problem that when I want to enter a leave in infotype 2001 for a certain day only 5 hours is allowed. But I need/want to enter 8 hours in infotype 2001 (user works 8, 8, 4, 5, 0).
If it works in infotype 2001 then it will also work in CAT2 and CAT6. Can anyone explain me how to set this up. I checked the following:
V_001P_D- Group Personnel Subareas for Attendances and Absences
V_T554S-Define Absence Types
V_554S_O - Determine Entry Screens and Time Constraint Classes
V_T551C - Define Counting Classes for the Period Work Schedule
V_503_E -Group Employee Subgroups for Time Quotas
V_001P_I - Group Personnel Subareas for Time Quotas
V_556R_B- Deduction rules for absence quotas
T556C- Counting rule
V_554S_Q - Assign Counting Rules to Absence Types
V_554Y_B and table V_T554Y
But I got lost somewhere in the tables above, the entries seem fine. I thought I had it with table V_554S_O where I set the availability on 9, but that did not help. The field "whole day" (P2001-ALLDF) is grayed out next to the field number of absence hours (P2001-STDAZ). We only us HR for CATS purposes.
I think I'm overlooking something for a particular setting in one of the above tables? I'm not an HR consultant so .... tabel V_556R_B is a very cryptic one for me. Further in table T556C I checked and unchecked "Work according to daily work schedule", but still no effect, also other combinations..... Also this table T556C I do not understand....
What I only need is specfic settings so that I can enter more absence hours in 2001 then in the workschedule is permitted. No updates in any other infotypes are necessary. From the help documentation it seems possible, but I don't seem to get it working....
Thanks in advance.
Kind regards
Mirko
Edited by: Mirko Polisini on Feb 8, 2009 9:50 PMHello,
We need to implement HR as lean en mean as possible, so time evaluation is no issue. Just want to post 0190 (Leave) in infotype 2001, 8 hours for a workschedule day that for instance only has 5 hours. Else user needs to create 2 lines in CAT2, 5 hours and another on same day with 3 hours. During CAT6 I get the problem that the 3 hours cannot be posted, besides the fact that this workaround is very userunfriendly.
Hoping that setting up infotype 2003 is not necessary, makes just things more complex (HR is just a means to an end for using CATS). Does it mean that I then need to create and absence type that is attached to infotype 2003? How does it work?
Thanks in advance for your help.
Kind regards,
Mirko -
Hi,
We have a custom infotype which updates many other infotypes the code was written for PA30. We now for various reasons (ESS etc.) have to migrate the code and make the code decoupled.
I have read SAPHELP -> [Developing an Infotype in Personnel Administration -> ...Modify Existing Records|http://help.sap.com/erp2005_ehp_03/helpdata/EN/43/a503b963161bbfe10000000a1553f7/frameset.htm]
and fully understand how to do this through containers - even have a good example with itype 0045 (CL_HRPA_INFTY_0045) which updates itype 0078.
To achieve the above the attribue a_masterdata_buffer has to be instantiated. The condition for this is if Legacy_Mode = false.(CL_HRPA_MASTERDATA_FACTORY=>Delayed_constructer( ) instantiates a_masterdata_buffer)
The only way i can see this happening is if Concurrent Empoyment is activated.
CALL METHOD cl_hrce_masterswitches=>check_released is true (note 520965)
and the following entries are activate in table T77S0
CCURE MAINS the master switch
CCURE GLOPY payroll of global employees
CCURE GLEMP management of global employees
Is there another way? Can containers be used another way?
if not
What is the implication of turning on concurrent employment - given we dont want to use any of the features?
cheers
JSPHi Ian,
Sorry to ask using your thread..But, were you able to answer your question? I'm having the same issues. I plan on updating infotype 2003 (SAP_PT) and 0007 (SAP_PA). I need to update either one of them but not both and I'm getting error in HCM Process and forms.
Thanks! -
Dear Guru's ,
Does anyone know in which table the cost assingment recorded in infotype 2003 is stored.
It is not stored in table Pa2003.
We need this data for migration.
Kind regards.Hi,
the cost assignment is stored in table ASSOB_HR.
Regards
Mark-André -
Problem with multiple calls to hr_infotype_operation in a loop
Hi,
Im using infotyp 2003 with the following situation. For a date, e.g. 2011/07/20 and a person_nr I have several time entries, like 08:00-09:00, 10:00-12:00, 15:00-17:00. Now I read the entries with HR_READ_INFOTYPE and store them back unmodified with hr_infotype_operation in a loop in the same report.
data: i_p2003 type standard table of p2003.
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
* TCLAS = 'A'
pernr = person_nr
infty = '2003'
BEGDA = '20110720'
ENDDA = '20110720'
* BYPASS_BUFFER = ' '
* LEGACY_MODE = ' '
* IMPORTING
* SUBRC =
tables
infty_tab = i_p2003
EXCEPTIONS
INFTY_NOT_FOUND = 1
OTHERS = 2.
loop at i_p2003 assigning <p>.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '2003'
number = person_nr
validityend = '20110720'
validitybegin = '20110720'
record = <p>
operation = 'MOD'
dialog_mode = '0'
IMPORTING
return = return_struct
key = personaldatakey
EXCEPTIONS
OTHERS = 0.
endloop.
the first call to hr_infotype_operation succeeds but the following operations fail because of collision. This example is stupid, I know, but it shows the core of a problem I have in a more complex report.
I face the problem that several calls to HR_INFOTYPE_OPERATION cause a collision error even if there cannot be a collision because the data are unchanged.
Any hints on this.
Regards,
JOPHi, you must execute a 'BAPI_EMPLOYEE_ENQUEUE' before 'HR_INFOTYPE_OPERATION' and a 'HR_EMPLOYEE_DEQUEUE' after.
See next example:
Bloqueo del empleado
CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
NUMBER = PERNR.
IF SY-SUBRC IS INITIAL.
Si se pudo bloquear el empleado intenta
insertar el infotipo
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '2001'
NUMBER = P0001-PERNR
SUBTYPE = i_p2001-subty
VALIDITYEND = acdate
VALIDITYBEGIN = acdate
RECORD = i_p2001
RECORDNUMBER = '000'
OPERATION = 'INS'
TCLAS = 'A'
DIALOG_MODE = '0'
NOCOMMIT = ' '
IMPORTING
RETURN = I_RETURN
KEY = I_KEY.
IF SY-SUBRC IS INITIAL.
VARGT = 'Y'.
ELSE.
VARGT = 'N'.
ENDIF.
No se hace COMMIT debido que el estandar lo realiza
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Desbloqueo del empleado
CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
EXPORTING
NUMBER = PERNR.
Regards,
Diego.
Maybe you are looking for
-
How to share dependant jars across rars & ears / avoid classcast exceptions
<b>How can one share dependant jars between a ear application and a resource adapter and avoid getting a ClassCastException? </b> <P> In some appservers(such as Oracle) the resource adapter is the parent of your ear classloader, so a single instance
-
Printer :- HP Deskjet 3050A is not copying and printing properly
Hi , Could some body help me, i am tring to pring or copy my document but printer give me only paper with black and white lines or color lines. see in attached image . please advise me what should i do to fix this. thanks regards sumit
-
How do you add DNS server to a VNET?
I'm trying to create a VM to serve as a DNS server for my VNET, but when I attempt to create a new VM, I'm forced to select one of the subnets I created, which would render it inaccessible from all other subnets. How are you supposed to create a VM i
-
Help required in accessing a file on shared path
Hi, I am trying to access a file present in a shared location using a custom component. When i run my Java code the file is accessible. But when i deploy the same code on livecycle as a custom component, the code is not able to access the file. The l
-
Hello, I would like to know if there is any Standard way in SAP to be able to see the modifications for a production order. I would like to see modifications in quantities or components. Does anybody knows if it is possible to retrieve that informati