T582A Update Custom infotype information
Hi experts,
I created custom infotype but the table T582A does not have my custom infotype IT9009 data.
please let me know T582A is update manually Using maintenance view or it updates while creating infotype .
Please send your Suggestions.
Thanks in advance.
Regards,
Sivakumar.A
hi
Table T582A - is used for customer settings in Administration infotypes.
the info type that u created is for admistration .
Hope this will give u lead to solve ur problem
Cheers
Snehi
Similar Messages
-
Hi Expert,
I have one custom FM which is used to update the custom infotype but my requirement is when it get fail it should not update
the infotype but it is updating.Befor this FM we are performing operation i. e MASSN 07,08, .
This requirement is based on contract renewal when contract is not renewed it should not update custom infotype bue it is
updating when contract is not renewed through the above FM.
please give me some idea so that custom infotype should not get updated when contract is not renewed.But it is
updating the infotype what should i put to not update the infotype when contract is not renewal.
Below is my listed code.
IF lv_action = '09' OR lv_action = '07' OR lv_action = '08' AND lv_cr_renewal = ''.
CALL FUNCTION 'ZF_HCM_ALM_ABSENCE_DATA'
EXPORTING
i_pernr = lv_pernr
i_effective_date = lv_date
i_updation = 'X'
TABLES
T_ABSENCE_DATA =
t_return = lt_return_absence
Regards,
Md
Edited by: MdAddu on Jun 26, 2011 9:33 AM
Edited by: MdAddu on Jun 26, 2011 9:52 AMHi,
Write the code as :
IF ( lv_action = '09' OR lv_action = '07' OR lv_action = '08' )
AND lv_cr_renewal = ''. "-- contract renewed ...
CALL FUNCTION 'ZF_HCM_ALM_ABSENCE_DATA'
EXPORTING
i_pernr = lv_pernr
i_effective_date = lv_date
i_updation = 'X'
TABLES
T_ABSENCE_DATA =
t_return = lt_return_absence
Regards,
Srini. -
Creating / Updating Custom Infotype Records
Hello everbody,
We implement alot of custom HR infotypes in our system, both PA & HRP.
For the past several we have been using BDC (Batch-Input) recorded functions in order to update / create the records in our infotypes.
We're currently facing an upcoming ECC upgrade , and I would like to lead a change that will eventually lead to us using generic SAP supplied functions.
I've researched a few functions that might do the trick:
RH_INSERT_INFTY:
This one is giving me an SY-SUBRC 2 error code - Insert error, I tried to select a current record and insert it as different objid but this doesnt work.
HR_INFOTYPE_OPERATION:
I've read of several people that recommended using this function, but it is not released by SAP and I couldnt get it to work as well.
BAPI_HRMASTER_SAVE_REPL_MULT:
This one seems to work for sap infotypes but I dont think it suits custom infotypes.
What is the "official" way of doing such operations?
thanks in advance,
Eli.Hello Dilak,
Im currently trying to insert a new infotype record of infotype HRP9226.
First I call function RH_GET_NEXT_NUMBER to get an objid.
then I fill an HRP9226 line.
after this i call the function:
call function 'RH_INSERT_INFTY'
exporting
FCODE = 'INSE'
vtask = 'S'
ORDER_FLG = 'X'
COMMIT_FLG = 'X'
AUTHY = ' '
PPPAR_IMP =
OLD_TABNR = ' '
REPID = ' '
FORM = ' '
KEEP_LUPD =
WORKF_ACTV = 'X'
tables
innnn = hrp9226_line
ILFCODE =
EXCEPTIONS
NO_AUTHORIZATION = 1
ERROR_DURING_INSERT = 2
REPID_FORM_INITIAL = 3
CORR_EXIT = 4
BEGDA_GREATER_ENDDA = 5
OTHERS = 6
I'm getting an "Error_During_Insert" and Im out of options regarding what I can possibly do. -
Creating / updating Custom infotype with different screen
Hi All,
I have created custom infotype having different screen for different subtype(1,2).
From Subtype 1, indotype is automatically updated as it is a standard program. But for subtype 2 i am using HR_INFOTYPE_OPERATION for updating the record which is ending with error, as employee which i am trying to update is already locked by me only through PA30. So this function module ends with Complex error. Please suggest how to update the infotype with subtype 2.
Thanking you..
Best regards
AkshayHi All,
I have created custom infotype having different screen for different subtype(1,2).
From Subtype 1, indotype is automatically updated as it is a standard program. But for subtype 2 i am using HR_INFOTYPE_OPERATION for updating the record which is ending with error, as employee which i am trying to update is already locked by me only through PA30. So this function module ends with Complex error. Please suggest how to update the infotype with subtype 2.
Thanking you..
Best regards
Akshay -
Updating custom infotype with FM 'HR_INFOTYPE_OPERATION' dumps
Hi All,
While updating a custom infotype 9008 with FM 'HR_INFOTYPE_OPERATION', its giving adump.
Except. CX_HRPA_INVALID_PARAMETER.
I am using DIALOG_MODE as '1'. when I enter a valid field value to that particular field ( mandatory field) on that infotype, it gives dump.
Can you suggest something which will solve this?
Thanks.
Dipti.Hi,
Here is the dump.
Runtime Errors UNCAUGHT_EXCEPTION
Except. CX_HRPA_INVALID_PARAMETER
Date and Time 12.11.2008 07:23:32
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_HRPA_INVALID_PARAMETER' was raised, but it was not caught
anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_HRPA_RESOLVE_EXCEPTION=====CP' has to be
terminated.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_HRPA_INVALID_PARAMETER', was not
caught in
procedure "RESOLVE_EXCEPTION" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
Invalid parameter EXCEPTION, value
The occurrence of the exception is closely related to the occurrence of
a previous exception "CX_HRPA_VIOLATED_PRECONDITION", which was raised in the
program "CL_HRPA_MASTERDATA_FACTORY====CP",
specifically in line 6 of the (include) program
"CL_HRPA_MASTERDATA_FACTORY====CM004".
The cause of the exception was:
Precondition Violated
Missing RAISING Clause in Interface
Program SAPFP50P
Include FP50PE10
Row 2,152
Module type (FORM)
Module Name RESOLVE_EXCEPTION
Trigger Location of Exception
Program CL_HRPA_RESOLVE_EXCEPTION=====CP
Include CL_HRPA_RESOLVE_EXCEPTION=====CM001
Row 80
Module type (METHOD)
Module Name RESOLVE
Source Code Extract
Line
SourceCde
50
message_handler = message_handler.
51
return.
52
53
catch cx_sy_move_cast_error.
54
endtry.
55
END-OF-DEFINITION.
56
57
58
try_to resolve_missing_infty_data cx_hrpa_missing_infty_data.
59
try_to resolve_missing_authorization cx_hrpa_missing_authorization.
60
try_to resolve_invalid_feature cx_hrpa_invalid_feature.
61
try_to resolve_unexpected_message cx_hrpa_unexpected_message.
62
try_to resolve_missing_personid cx_hrpa_missing_personid.
63
try_to resolve_invalid_infotype_db cx_hrpa_invalid_infotype_db.
64
try_to resolve_invalid_customization cx_hrpa_invalid_customization.
65
try_to resolve_inconsistent_database cx_hrpa_inconsistent_database.
66
67
68
Just to ensure the macro can be used nowhere else.
69
DEFINE try_to.
70
END-OF-DEFINITION.
71
72
If we can not remap we would like to just re-raise the
73
exception like below like "RAISE EXCEPTION exception.".
74
Unfortunately the kernel will then forget about the
75
original source position.
76
77
So this is the fallback strategy. Calling this method
78
is only allowed if the exception can be resolved. Since
79
this is not the case we indicate a parameter violation.
>>>>>
RAISE EXCEPTION TYPE cx_hrpa_invalid_parameter
81
EXPORTING
82
previous = exception
83
parameter = 'EXCEPTION'.
84
85
ENDMETHOD.
Regards,
Dipti. -
Person is already being processed by in while updating an infotype through
Hi,
I am trying to update custom infotypes through BDC based on status change of employee in infotype 0000 , while the BDC is executing I am getting an error message 'Person is already being processed by - ' What is this error and how to rectify it ?Hi!
You can't call a transaction (with BDC) from inside a transaction (in a user-exit).
The call transaction contains a commit work - and this would corrupt the transaction logic of the first transaction. Even if you call something which is not currently locked by the first transaction, you should not do this.
Either make your updates after saving the first transaction or try to change values inside the first transaction in global data (internal tables / structures which will be saved by standard later).
Regards,
Christian -
Create Custom Infotype and handle Modification/Updation
Hi All,
I need to create a custom infotype and handle few checks while creating/updating the existing one.
I have gone through the existing threads and have figured out the creation part.
Could anyone tell me where i need to code the checks while creating/updating.
I tried editing the PBO/PAI of the Module pool program, but as its standard, is asking for access key. Do we need to code this in any userexit or implement BADI.
For example,
a) i need to check that only one instance of the infotype should be valid for an
employee at a time
b) This infotype should be created for only Employees and not contingent workers.
c) Few fields on the body section needs to be updated/modified.
Thanks and Regards
Manish.You can use the IN_UPDATE or AFTER_INPUT Methods of the BAdI HRPAD00INFTY to perform your validations.
Arya -
HR ABAP : Custom Infotype updations through FM HR_INFOTYPE_OPERATION
Hi All,
Actually, I want to update the custom infotype 3 fields as per my user inputs. I am fetching the data from the PA table acoording to sy-datum falling in the begda, enda limitations. now I am changing the field with new values in the work area. And pass with the following data to the FM.
But I am getting the error 'No data stored for 9008 in the selected period', eventhough it is already having a data in the database table. I had seen prvious therads, but could not get how they solved the issue.
Please provide the inpus for the following code.
( I had also passed the validity start and end from the database entry. at this moment it gets dumped at the statement
assign record to <record> casting type (tabname). "XDP UniCode
where tabname is proposed from t777d-ppnnn. which is a structure and having a value as P9008. If i change the value at debug point to PA9008. it works fine. is there anything extra i need to do to solve this issue? )
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '9008'
number = pernr
"SUBTYPE =
"OBJECTID =
"LOCKINDICATOR =
"VALIDITYEND =
"VALIDITYBEGIN =
"RECORDNUMBER =
record = wa_pa9008
operation = 'MOD'
"TCLAS = 'A'
"DIALOG_MODE = '0'
"NOCOMMIT =
"VIEW_IDENTIFIER =
"SECONDARY_RECORD =
IMPORTING
return = l_bapireturn
key = bapipakey_tab
Regards,
Brijesh PatelHi,
Check this code once
Read Infotype9004 Record for the personnel No
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
tclas = A
pernr = pernr
infty = 9004
IMPORTING
subrc = v_subrc
TABLES
infty_tab = it_pa9004
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
Read it_pa9004 into wa_pa9004 with some condition.
if sy-subrc eq 0.
Lock the employee for processing infotype 9004
CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
EXPORTING
number = wa_pa9004-pernr.
v_begda = wa_9004-begda.
v_endda = wa_9004-endda.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = c_9004
number = wa_9004-pernr
subtype = c_0001
validityend = v_endda
validitybegin = v_begda
record = wa_9004
operation = c_mod
tclas = c_a
dialog_mode = c_0
dialog_mode = '2'
IMPORTING
return = wa_return.
CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
EXPORTING
number = wa_pa9004-pernr.
endif.
reward the points if it is helpful.
Regards,
Srilatha -
HR ABAP : Custom Infotype updations
Hi All,
I am new to HR ABAP. Actually, I want to update the custom infotype 3 fields as per my user inputs. I am fetching the data from the PA table acoording to sy-datum falling in the begda, enda limitations. now I am changing the field with new values in the work area. And pass with the following data to the FM.
But I am getting the error 'No data stored for 9008 in the selected period'. I had seen prvious therads, but could not get how they solved the issue.
Please provide the inpus for the following code. I had also passed the validity start and end.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '9008'
number = pernr
SUBTYPE =
OBJECTID =
LOCKINDICATOR =
VALIDITYEND =
VALIDITYBEGIN =
RECORDNUMBER =
record = wa_pa9008
operation = 'MOD'
TCLAS = 'A'
DIALOG_MODE = '0'
NOCOMMIT =
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
return = l_bapireturn
key = bapipakey_tab
Regards,
Brijesh PatelHi Remi,
I have done the same thing. Please see the code. data is also available in the database. But the output is the error message. Please give some inputs on this.
***Updation of the PA9003 Infoty pe with the LTA amount and Medical Amount
SELECT SINGLE endda
begda
FROM pa0001
INTO (endda, begda)
WHERE pernr EQ pernr
AND endda GE sy-datum
AND begda LE sy-datum.
SELECT SINGLE *
FROM pa9003
INTO lwa_pa9003
WHERE pernr EQ pernr
AND endda >= sy-datum
AND begda <= sy-datum.
wa_pa9003 = lwa_pa9003.
wa_pa9003-zzallw = zzallw.
wa_pa9003-zzlta = zzlta.
wa_pa9003-zzmed = zzmed.
ADD 1 TO wa_pa9003-seqnr.
***Locking the object
CALL FUNCTION 'ENQUEUE_EPPRELE'
EXPORTING
pernr = pernr
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '9003'
number = pernr
subtype = wa_pa9003-subty
objectid = wa_pa9003-objps
lockindicator = wa_pa9003-sprps
validityend = wa_pa9003-endda
validitybegin = wa_pa9003-begda
recordnumber = wa_pa9003-seqnr
record = wa_pa9003
operation = 'MOD'
TCLAS = 'A'
DIALOG_MODE = '0'
nocommit = space
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
return = l_bapireturn
key = bapipakey_tab
***Unlocking the object
CALL FUNCTION 'DEQUEUE_EPPRELE'
EXPORTING
pernr = pernr.
Regards,
Brijesh Patel -
Updation problem in custom infotypes.
HI ALL,
I have created two custom infotypes, and the process is that one infotype updates the other infotype.
When i open the first infotype by pa30 and then open the second and changes some value which update the first infotype table. now when i go to first info type it shows the old value. untill i exit pa30 and start again then it shows the updated values. what is the solution for this.
Thanks.Hi abap sap,
It is becasue of PAI and PBO module itterations.
Go to the custom related program created with that infotype and insert your logic to clear the field contents.
Reward if useful! -
Hi Expects,
I am working on custom infotype creation. In my requirement I have used table control concept where user enters multiple records and updates the custom infotype.
For a single PERNR,SUBTYPE, BEGDA and ENDDA I want to update multiple records into the infotype using table control concept.
Ex: PERNR : 25
SUBTY: 2001
BEGDA: 01/01/2001
ENDDA: 12/31/2001
Here by using the function modules 'HR_INFOTYPE_OPERATION' or 'HR_MAINTAIN_MASTERDATA' I am trying to update the custom infotype where sequence number need to be increamented automatically for duplicate entries but only one record is getting updated instead of multiple records.
I have maintained the time constraint as '3'.
Please let me know the procedure to update multiple records at a time into custom infotype.
Regards,
Mahesh.Hi,
In the custom infotype table, if their are duplicate then the sequence number field value will be created automatically for time constainst '3' but using the function module it is not creating the sequence number but using the modify statement it is working fine.
Ex: Modify PA9002 from table GT_PA9002.
Please let me know the solution for updating multiple records into a custom infotype.
Regards,
Mahesh. -
Decoupling of customer infotypes; additional update mechanism
Hi
I am currently working in a project, were we are trying to decouple a number of own / customer infotypes (9xxx-infotypes), according to SAP's New Infotype Framework.
In this connection we want to use the recommendations by SAP, stated in the paper: "Business Logic Guidelines for Creating & Migrating Infotypes".
One of the challenges we have is that in the validation methods of the check class for the indiv. infotypes, we need to update other tables (Z-tables).
The guideline says: "additional updates for tables that lie outside the PAnnnn name range must be processed via the so-called additional update mechanism".
Does anyone know what this "additional update mechanism" is? can anyone point me to some documentation regarding this subject??If you would like to contact one of the UK based BT Care Team who moderate this forum, they should be able to help you.
They can be contacted using this link BT Care Team
They normally respond by phone or e-mail, within three working days, however you should get an immediate confirmation, with a tracking number.
There are some useful help pages here, for BT Broadband customers only, on my personal website.
BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones. -
Update BDCP table custom infotype custom field
Hi All,
I have created a custom infoype and added a custom field with in this infotype.
I have clicked change document button for the dataelement.
When i changed the value with in that infotype the entry is not updating in table BDCP.
When i changed the value in standard infotype the value is updated in table BDCP table.
Is it possible to update the BDCP table for custom infotype custom field.
If yes please let me know the procedure.
Thanks,Hi Tarangini,
Check the below transactions once again:-
BD61 - To activate the Change Pointers
BD50 - Activate the change pointer for the message type
BD52 - To include the fields which needs to be tracked
BD66 - Maintain Segment field and change document field.
Check all the above transactions once again and you could resolve the problem.
Thanks,
Mahesh. -
How to Custom Infotype in PA30 ( in Employee Information tab)
Can any one tell me ..
how to add my custom infotype in PA30 (Employee Information tab)
I don't how to add....
Tell me the procedure (Steps) to add in V_T588B.
Regards
Surendar THi Surendar,
Go to SPRO : Personnel Management - Customizing Procedures - Infotype Menus - Infotype Menu - Double click INFOTYPE Menu.
There from the Menu F4 help select "Employee Info" and click Continue.
First note the last number for your user group.
Click "New entries".
Write user group - last number+1, infotype number (9XXX) and save.
Good luck,
Dilek -
Dear Customer,
It hase come to our attention that your account billing Information records are out of date. That requires you to update your Billing Information. Failure to update your records will result in account termination records...
Click on the reference link below and enter your login Information on the following page to confirm your Billing Information records..
Verify Now >
Wondering why you got this email?
It's sent when someone adds or changes a contact email address for an Apple ID account. If you didn't do this, don't worry. Your email address cannot be used as a contact address for an Apple ID without your verification.
For more information, see our frequently asked questions.
Thanks,
Apple Customer Support
TM and copyright © 2014 Apple Inc. Apple Sales International, Hollyhill Industrial Estate, Cork, Ireland. Company Registration number: 15719. VAT number: IE6554690W.
All Rights Reserved / Keep Informed / Privacy Policy / My Apple ID
Anyone else get this today?
And yep i know this message doesn't go here however the ability to post in general postings to most viewers is lost to me in the ridicules way apple setup there supportIt's phishing. Forward it to [email protected] and then delete it.
(118880)
Maybe you are looking for
-
Video captures but won't dub or print to video
I am using Final Cut Pro 5.1. Capturing video works perfectly, but when I try to dub onto tape or print to video, all I get is black. What's really odd is that when I print to video and check "Automatically start recording," the DV deck DOES automati
-
TLB STO's created in ECC via cif are being created with Intercompany Markup
STO's created using TLB in APO when cif'd over to ECC6 get created with an Intercompany Markup. When created manually in ECC6 using ME21N the markup is not part of the pricing and is correct. Has anyone had this same situation?
-
Spanish (Espanol) anyone?
Hi, Where can I find Spanish punctuation, like upside down question marks, n-yays etc.? Thanks, Allan
-
HELP!Can't change text color photoshop 3d
Hi everyone! I am having a problem with Photoshop CC and the 3d text extrusion. I've never been able to change the color of my text using the Color Picker or changing the text color by going into the "Edit Source" feature and manually changing it. Ne
-
Hello, I am working with Soundtrack Pro 3.0.1 along with Final Cut Pro 7.0.3. More samples 'sounds' (no pun intended) like it would better, but I've read that there can be distortion going from 44.1 to 48 or 96. Here's what I'm doing: I have music fr