BDC to hiring employee
Dear All expert,
I am developing a program to hire employee.But after 'call transaction' , the database have not been updated.
It seems the new employee number already assigned , I think it in buffer.
Is there any way to get the data from this kind of buffer? all let the BDC to update ?
Hi ,
We can hire employee using PA40 Transaction code. I think u r mistake when u recoding the BDC. Let u check first
whatever u recording tcode again u process and check. if any issue replay me.
Reagrds,
Srinu
Similar Messages
-
BDC for Hiring a Employee through hiring action
Hi Experts,
We have done BDC for hiring action.
We do have PA & OM integrated. T77S0 PLOGI ORGA "X".
After hiring is compelted through BDC holder relationship is not appearing for position.
But when we are individually hiring an employee, position is assigned to a holder.
Please advice.
Regards,
IFFHi,
During BDC, the integration PA-OM is not processed... you have to run RHINTE00 report.
Kr,
m. -
HR_MAINTAIN_MASTERDATA for hiring employees
Hi,
I am trying to use HR_MAINTAIN_MASTERDATA for hiring employees and creating a list of infotypes. I have tried with a number of infotypes as well as with just 0000, 0001 and 0002.
I am using 'DIALOG_MODE = 2' to see the steps as the function module progresses, I keep getting this error about Infotype 169. After creating IT0000, proceeds to IT0001 and then straight to IT0169 even though I do not have it on PROPOSEDVALUES. When it hits 169, I get the error saying the Infotype 171 cannot be read for Pernr xxxxxxxx on mm/dd/yyyy (begin date).
I do not face this problem when I manually go through PA40. I have tried various combinations and still get the same issue.
If you have any ideas, I would greatly appreciate those.
Thanks,
Jay ViswanathanHi Mr. A,
I have Action = 'INS' which is the default value (same as not sending any value).
Normal hiring process takes me through 0000, 0001, 0002 etc .. however the function module stops at 169 before going to 0002.
Thats whats confusing.
Thanks,
Jay -
HR_MAINTAIN_MASTERDATA or BDC for Hiring action
Hi,
I would like to know which is a better process for hiring an employee: HR_MAINTAIN_MASTERDATA or BDC.
Also,
please let me know the disadvantages of using HR_MAINTAIN_MASTERDATA for this.Hi Dude,
Better go for FM only Insted of BDC..
REPORT ZD.
data: person_info like PPROP occurs 0 WITH HEADER LINE,
msg_result like BAPIRETURN1,
hr_return like HRHRMM_MSG.
person_info-infty = '00298'.
person_info-fname = 'P0298-MASSG'.
person_info-fval = '01'.
append person_info.
person_info-infty = '0298'.
person_info-fname = 'P0298-ORDNU'.
person_info-fval = 'Ô-12345678'.
append person_info.
person_info-infty = '0298'.
person_info-fname = 'P0298-ORDDT'.
person_info-fval = '20070102'.
append person_info.
person_info-infty = '0298'.
person_info-fname = 'P0298-LOCAT'.
person_info-fval = '1'.
append person_info.
person_info-infty = '0298'.
person_info-fname = 'P0298-REMAR'.
person_info-fval = 'xyz'.
append person_info.
person_info-infty = '0298'.
person_info-fname = 'P0298-ORDST'.
person_info-fval = ''.
append person_info.
person_info-infty = '0298'.
person_info-fname = 'P0298-ACQDT'.
person_info-fval = '20071107'.
append person_info.
CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
EXPORTING
PERNR = '00000012'
MASSN = '01'
ACTIO = 'MOD'
TCLAS = 'A'
BEGDA = '20050201'
ENDDA = '20050201'
* OBJPS =
* SEQNR =
* SPRPS =
SUBTY = '0011'
WERKS = 'UA01'
* PERSG =
* PERSK =
* PLANS =
DIALOG_MODE = '0'
LUW_MODE = '1'
* NO_EXISTENCE_CHECK = ' '
* NO_ENQUEUE = ' '
IMPORTING
* RETURN =
RETURN1 = msg_result
HR_RETURN = HR_RETURN
TABLES
PROPOSED_VALUES = person_info
* MODIFIED_KEYS =
MESSAGE msg_result TYPE 'I'.
MESSAGE HR_RETURN TYPE 'I'.
exit. -
Hi,
Scenario: I have hired an employee, and he posses master data. now i need to hire the same employee (thru PA40)with same master data. system is giving error message "identical data" and exiting.
Question: 1. where in the system would check the duplication of master data?
2. where can i change the error message to warning message and proceed further?
Please suggest.Hi VenkateshKalai ,
i think system has got hard coded these fundtion modules which gets called every time we save the actions infotype from PA40....
this is the main program where it is called
Fields
Main Program SAPMP5X0_CE
Source code of MPPERSFM
ENDIF.
LEAVE SCREEN.
ENDIF.
ENDIF.
ENDIF.
PERFORM RE529A USING PSPAR-MASSN. "QNUCE
IF t529a-funch EQ '1'. "QNUCE
PERFORM check_employee. "QNUCE
ENDIF. "QNUCE
123456789012345678901234567890
MOVE 'FILL_PROPOSED_VALUES_XXXX' TO ROUTINE.
MOVE SY-DYNNR TO DYNNR.
MOVE DYNNR TO ROUTINE+21(4).
MOVE FCODE TO XCODE.
CLEAR FCODE.
CASE XCODE.
there isnt any dynamic actions which is being called.....
regds -
Re-Hiring Employee Error Msg- Employee Active Since____
Gurus-
I have a case where i need to move an employee to a new company code. I thought in order to do that I need to terminate the employee and re-hire him. When doing so, I get an error stating that the employee is still active since the original hiring date.
How can I correct this issue? I'd like to be able to use the same employee number.
Thanks in advance,
DonnaGurus-
I need to write a rule where if the current time pair is a certain attendance type it needs to stop processing and skip to another rule.
Does this look like the correct format?
ZR10 Personnel Calculation Rule ZR10
HRS=Z001 Set
HRS?0 Decision op. HRS
GCY TR30 Goto PC rule
>
GCY ZR11 Goto PC rule
Thanks in advance,
Donna -
How to handle late hired employees
We are using ukhrms.
i have a situation where by employees in our company are delayed by HR to do the entries because of the delay in the employee's medical report from the clinic.
Following is the case:
employee joins on calendar month Jan 2010 and he is not processed in the monthly payroll for JAN 2010. When Calendar month Feb 2010 comes, the payroll user opens the pay period for JAN 2010 and the system is date tracked back to 01-jan-2010 and the employee(s) is/are created in the system. The reason of doing this is to avoid delay in the annual bonus to be paid to the employee by for example 1 month.
Q1) how can we pay such employee in February 2010?
Now, another concern is if we do as above mentioned then when the company issues Arrears to employees (i.e. every 6months or 8 months) from JAN 2010 to JUNE 2010
Q2) how will the system get the arrears for the Jan 2010 payroll that was not processed for the late hires that were done in calendar month FEB 2010 by date tracking to 01-JAN-2010?
Edited by: 594647 on Mar 3, 2010 1:04 PMFollow the below steps.
1. Create an assignment status mapped to active assignment, payroll process to do not process -> lets say "my status".
2. Create the employee in January (the policy should be changed to create employee in the same month itself i.e. January in the current example) with Assignment status "my status".
3. Run Payroll for January. Since the assignment status has payroll process flagged to do not process, the employee is not paid in January.
4. In February, update employee's assignment status to Active Assignment from January (Date track to January).
5. Run Retropay by Element for Employee (Include Employee in assignment set) with start date = January and End Date = February. Arrears Element entries for January are created in February.
6. Run Payroll for February. Employee is paid with February and January arrears. -
Hi,
I am able to hire an employee through PA40 , it dynamically updates IT0003.
I am trying to hire an employee through hr_maintain_masterdata . It does not update IT0003 and produces a short dump .
What may be going wrong?
Thanks,
RohitHi,
Have a look at this thread
INFOTYPE 0003 IN DYNAMIC ACTIONS batch input
Check program RPUTRBK0
Regards,
Manoj. -
While hiring, how to display subtype to the employees
Hi,
can any one help me out.....
how to display the subtype 002 (temporary addresses ) to the infotype 0006 while hiring employees?
Thanks & Regards
PadmasreeHi,
You might have defined your action type (Table T529A)). For that action, you might have defined an infogroup. Go to that infogroup (Table V_T588D) and select your User group. For example, if your Infogroup is 10 and User group is 01, entry should be in the following manner:
User Group No Operation Infotype Infotype Text Subtype
01 03 INS 0006 Addresses 002
This should work.
Regards,
Suhasini -
No transport Request asking while BDC recording
i am using bdc in HR for hiring employee.Now when i run transaction 'PA40' through SHDB...it is nt asking for REQUEST,which results no emp. is getting saved through BDC.
While i try manually 1 by 1 emp, it ask for transport request.
Please help me why its happeningHi,
Transport request is not a problem. It will not affect the creation record. Try to cancel the transport request when you are creating manually than also the record gets created.
I think you are not updating all the Infotypes required. Check with the Functional Guy what are the dynamic actions for Hiring the Employee. In dynamic actions they link few infotypes after that only the record will be created.
Regards,
Ramu N. -
Report for Hiring Action Along with BASIC Pay
Dear
I have created a BDC for hiring action for which data is updated in infotypes 0,1,2,6,7,8,9,14,15,16,41,105,587,588 mentioned in the infogroup.
Earlier we are not creating entries in 0008 now we need to BASIC PAY in the hring Action.
What should be the best apporch.
Either we create perner by giving infotype values 0,1,2. and put this values in internal table and then update other infotypes.
OR
In a single fo we provide all the data related to infotypes by using PA40.
Now record need to be created of few of additonal infotypes which is not part of hiring action infogroup like 19,21,22,23,185.
Thanks & Regards,
RaviThanks for your valueable comment.
AS hiring action it is must to input values of infotype 0,1,2.
So acccording to you firstly, i need to hire a person through bdc.
So for next infotypes i need to do by PA30. But for this i need pernr which i created in first step.
how it is possible to get perner created and then go for one by one infotypes sepratley.
Rav Jordan
Edited by: Rav Jordan on Dec 14, 2011 7:15 AM -
Hi ,matically
how to create automatic vendor creation via PRAA.
Is this prgm can run in back ground and will updat enewly hired employees automatically.
GKHi GK,
Yes this can be done.
Follow the steps mentioned in this doc - http://scn.sap.com/docs/DOC-27098
Thanks
Vipin -
Employee cost should hit to Internal order
Dear Friends,
We started new plant and hired employers ,cost center profit center not ready yet( we created one Internal order as over head order ).
Employee Cost through Payroll so HR People has already created a new Organizational Unit and we have tagged it to an Internal Order. We have hired some test employees and have run payroll for this newly hired employees.
So the system is throwing the following errors.
Error 1)*Account assignment objects are incorrect. No substitution is possible.*
*Message no. 3G209*
*Diagnosis*
*The account assignment object check showed that, from the point of view of CO, the specified account assignment is not valid, and cannot be replaced by the employee's master cost center or a substitute cost center. This item cannot be posted.*
Error 2)Internal error: No valid return value for segment found
Message no. 3G330
Diagnosis
No valid value was returned as a result of the segment check. The Customizing settings for the general ledger, however, request a value for the account assignment of the segment.
Error 3)No segment found
Message no. FAGL_ORG_UNITS007
Diagnosis
No segment could be derived for the current line.
However, in the Customizing settings for General Ledger Accounting, you have selected the segment as a mandatory balancing field. This means that a segment must be assigned in each line item.
System Response
The posting is rejected.
Procedure
Edit your segment derivation or make changes to the Customizing settings for document splitting.
Kindly suggest me onthis its very urgent.
Regards,
Sudha.Dear Raviteja,
Thanks for your Reply ,
Allready i checked the link which you have provided but our case is different.
Actually the Employee Cost should hit to Internal order not to cost center.(that is our requirement)
While creating internal order i didnt maintain any profit center bcoz cost center and profit centers are not ready yet for time being we are planning to move Employee cost to internal order later we will settle to Cost centers once its ready.
Thanks & regards,
Swapna.
Edited by: swapnasudha chowdary on Jan 24, 2012 11:59 AM -
Can I use bdc in web dynpro?
Hi,
I have a fronted application in web dynpro which is using function module which I wrote which uses bdc for creating employee (I haven't found a function which does that without using bdc). The problem is that nothing is happening, the employee is not being created if this function is being called from web dynpro.
If I call this function module through abap debugger, everything is ok.
Any ideas?
Regards
LadislavHi,
You can't call a BDC in Web DynPro's.
Only You can use RFC FM's or BAPI's.
Regards,
Anji -
Call Transaction 'PA40' ALWAYS returns with error code
Hi,
I'm having issues with updating personnel actions using CALL TRANSACTION 'PA40'. The call always ends with an error code.
I checked the message table and there are no error messages, only warnings and status messages. Warning and information messages are usually skipped in the BDC...I've coded an 'ENTER' to past the warning but this does not work either as the subsequent infotype screen fields are then not filled correctly.
The following values for addition OPTIONS are used:
data: opt like ctu_params.
opt-dismode = 'N'.
opt-updmode = 'A'. ('S' makes no difference)
opt-defsize = 'X'.
opt-nobinpt = 'X'. ( ' ' makes no difference)
I've tried using 'PA30' for the same actions but I get the same problem. I've used call transaction 'PA30' in many programs and I've never come across this problem.
Is there perhaps a config setting somewhere to fix this? I've tried hiring employees using HR_MAINTAIN_MASTERDATA with the employee existance check off but there's a couple of problems there as well - sample code for hiring an employee would be very helpful...
I need your help urgently and would appreciate your assitance immensely. (I'm working on 4.6C.)
Thank you.
LMThe easiest way to resolve this is to set
opt-dismode = 'E'.
this way it will run in background and jump out when it hits an error, and it's much easier to see what the real issue is.
I'm assuming you used SHDB first to get the recording?
Maybe you are looking for
-
My old hard drive had a problem, I can get info from it, I just want to get my old bookmarks.
-
Error when call webservice on servlet
Hi All, I'm having a problem when calling webservice inside the servlet on the WebLogic environment. My code: * Webservice: package ws; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.Resu
-
I have some open office documents stored in a backup folder. Everytime I try to open one, it will appear as if it's going to open but doesn't. How can I open this document. It's originally a wps file
-
I have never had any problems with my iCal until recently, the program will not open. When I click on the icon in my dock, it will bounce at least once, but then stop without ever opening the program. Is there any way I can re-install the program or
-
Using an ATV2 with all the latest updates my ATV has a seriously annoying problem with it's screen-saver. No matter which images I select it will ignore my selection and show things like movie posters or all of the photos I have loaded not the specif