Personnel number in automatically created confirmations CO11N
Hello experts,
I want to enhance the order confirmation (CO11N). I have extended the screen to give two personel numbers in one confirmation and have done an append to table AFRU for the second number. For automatically created confirmations I have to take the personel number and personel number 2 from the last confirmation and to add them.
The User Exit CONFPP06 haven't a reference to table AFRU. It's only possible to give one personel number to the export interface - it doesn't know my append field.
Therefore I had a look on the BADI WORKORDER_CONFIRM. But all methods have only import parameters - no export. How it is possible to make changes on the current confirmations? Is there any global available access to the current AFRUD?
Regards Thomas
Hi,
Try with the below exits :
CONFPP07 (screen exit for co11n)
CONFPP04 (updating screen fields) This has got exporting parameter
EXPORTING
*" VALUE(AFRUD_EXP) LIKE AFRUD STRUCTURE AFRUD
CONFPP05 (while saving co11n)
Put a break point in all the three Exits, and check out.
Thanks,
Shailaja Ainala.
Similar Messages
-
Enter more than one personnel number for the same confirmation in CO11N
More than one labor working on Machine work center simultaneously.
So that during production orders confirmation in CO11N we need to enter more than one personnel number for the same confirmation but in CO11N the system allow me to enter only one personnel number.
Note: I can not distinguish between the productions for each labor so that I can not enter separate confirmation for each labor.Hi,
You can use the User Exit: CONFPP07 Single Screen Entry: Inclusion of User-Defined Subscreens
for this purpose..
Take help from the ABAPer for this enhancement..
Regards,
Siva -
Multiple personnel number assignment in the confirmation
Hi Experts
Can anybody tell me how to assign multiple personnel numbers for each operation confirmation of the production order. System is not allowing me to assign the multiple employee codes in the confirmation.
I have maintained No. of individual capacities in the work center capacity category of Labor and assigned one personnel number for each individual capacity.
I have tried to change the confirmation screen settings in the IMG, but still system is not allowing me to assign multiple personnel numbers.
Please suggest me how to achieve this.
Regards
PrabhakarHi ,
Thank you very much for your quick reply . I will check with my ABAPER and let you know .
I am unable to Log in with my previous user id , so sorry , I am unable to give you any points .
Regards
Prabhakar
Edited by: preddy27 on Jan 25, 2011 9:04 AM -
Automatically created reservation as "reserv" on MD04 screen. How?
Hi Experts,
can you advise please, i have a number of automatically created reservations, shown on MD04 as Reserv. line and the same line as Transf.
Based on that reservation, there is purchase requisition created.
I'm trying to find how these reservations were created, and i'm not able to find production order, sales order and actually nothing.
MB51 shows just 101 and 201 movements.
Please help.
Regards,
AnrdreyHi All,
first of all thanks a lot for your answers.
However, the question is how these reservations were created, and based on what.
I'm not able to see any demand in the system (production order, sales order, anything).
And i'm not able to get how these reservations were created.
Normally, there would be purch. req. or planned order generated in case of good is missing at plant level, else, there would be nothing generated.
Please advise.
Best Regards,
Andrey -
Using BAPI to create Personnel Number.
Greetings SAP Gurus,
I have a requirement to create and fill infotypes 0000, 0001 and 0002 from a legacy system flat file. While searching the forums i have seen a few posts recommending the use of HR_MAINTAIN_MASTERDATA. Will this actually create a Personnel Number? If not are there any HR BAPIs that will?
My plan right now is to run a BDC for infotype 0000, use HR_MAINTAIN_MASTERDATA to fill most of the Infotype 0001, use BAPI_PERSDATA_CREATE to fill most of Infotype 0002 and finally use HR_INFOTYPE_OPERATION to fill in any fields not covered by the previous BAPI and FM. Is there a better way to approach this problem?
Thanks for your time and knowledge,
Alex ODellthere is a number range object for personnel numbers, transaction PA04.
the ranges can be set externally or internally. if you do not provide a personnel number with the hiring action (subtype of infotype 0000) the pernr is taken from the internal part of the number range.
it is recommanded to create the action type with infotype order 0000 -> 0002 -> 0001 because there are fields ENAME and SNAME in infotype 0001filled automatically from infotype 0002.
infotype 0003 is created automatically in the background as well as objects P (Person) and CP (Central Person) with relations in infotypes 1000 and 1001. -
Goods receipt is automatically created at the time of confirming the transf
Hi,
we are following the confirmation control key inbound delivery process.
I am making an inbound delivery with refernce to the purchase order.
then i am making a putaway against the inbound delivery through LT0F and creating a transfer order against the inbound delivery.
Then i am confirming the transfer order through LT12, when i am confirming the transfer order the goods receipt is automatically created without manuallyy doing a PGR in inbound delivery.
Can any one let meknow how to avoid the creation of the auto GR at the time of confirming the putaway TO
SunilHi,
In LT0F check in the initial screen -->control data -->weather the adopt put away quantity field value is 4. If it is 4 then the GR will be posted automatically.
Regards,
Bharat. -
Hi
I'm facing following problem. I made a new setup of LO-extraction 2LIS_04_P_ARBPL just for one order. The order has one operation "10" with one quantitiy confirmation from person "123".
INIT-Load: I get the data correct .
Delta-Load: I get the quantity confirmation correct but without personnel number.
I made a new quantity confirmation for user 123 and operation 10. My delta load books the quantity correct but without personnel number. The field PERNR is initial.
I didnt' found any reason. please help.
regards
PascalMapping errors. Solved on own.
-
How to create personnel number as FI Customer in system?
Dear Community,
I am new in HR, and have requirements to create from HR personnel an FI customers fro internal billing. Can you guide me how to do it in HR?
Best regards, ArtemHI,
For HR personnel no. you need to go PA40 tcode here you can update all the fields.
Then one personnel number will be generate.
If you want to create for this perner to vendor account you need to FK01.
Thanks and Regards,
Revathi. -
Network confirmation with Personnel number
Hi,
In project systems, While confirming the Network with personnel number, the planned cost is calculating based on Activity rate maintained in KP26. However for actual costs, the calculation is from HR I assume. Am I right?
If it is from HR, where in HR the time sheet rate is maintained for the personnel number?
Thanks,
PrabhaHi,
I got the answer.
FYI
If the network confirmation is entered with the personnel number, the system is looking for the "Position" in HR master and based on that it is picking the workcenter assigned with this resource. So the cost is from the activity assigned in the workcenter even though the network is confimed with a different work center.
Thanks for your responses, it helped me in tracing out this issue.
Regards,
Prabha -
Pbm in creating a personnel number using 'HR_MAINTAIN_MASTERDATA' Bapi
HI experts,
I have a Z FM which is used to create a new employee personnel number. Im getting the following details as input to this FM and these are passed to the 'HR_MAINTAIN_MASTERDATA' which is called inside the Z FM.
Infotype 0000 - Begda
Infotype 0001 - position, personnel area, emp group, emp subgroup, personnel sub area
Infotype 0002 - last name, name prefix, first name, nick name, initials, forms-of-adress key, date of birth
All these input values are passed in the relevant input parameters as well as to the input table 'PROPOSED_VALUES parameter of the 'HR_MAINTAIN_MASTERDATA' FM.
But this FM is not generating a personnel number. It returns the following error.
T ID NUM MESSAGE
E 00 058 Entry 10 0 does not exist in (check entry)
What is the reason for this error?. can the experts help me out to overcome this issue?
Regards,
ShanthiHi,
When i executed the same FM in one of my client's system, it generates a personnel number.
My requirement is to try the same in my IDES. So i used the same FM in my IDES. But it generates this error in my IDES. I have given the values from IT 0000, 0001 and 0002.
Regards,
Shanthi
Edited by: Shanthi on Oct 23, 2009 2:11 PM -
Could you describe me how to create a PERSONNEL NUMBER.
I will use it in PM (plant maintenance)
Laurehai
to create a personnel number there are two ways
1. let the system generate
2. you give manually
these two ways are defined in IMG
and in that u also specify which number ranges are system generated and which are manually given
so then when u di the hiring action these numbers will be alloted
you use a feature called NUMKR in which internal number ranges(system generated) are used in which scenario and manual ones in which scenario
regards
nalla -
Is It Possible To Create Different Personnel Number For One Employee
HI Experts,
My Client need to get Different Personnel number for one employee,i.e for Trainee one Personnel number need to generate and same person when moving from Trainee to Probation another new personnel number should generate and again when same person move from Probation to Permanent another new personnel number should generate.
1. How to generate 3 different Personnel number for One employee?
2. How these 3 Personnel number should get linked, if want to get report for this one employee?
Kindly help me.
Thanks,
Lavanya
Message was edited by: Sikindar AHi Lavanya,
Your requirement can be fulfilled but not recommended...
As you want to generate different position number at different stage of employment....
i.e Trainee to Probation to Permanent...
First go for Trainee Position Hiring .... and generate first Number Say 5000000
Then suppose employee complete training after 1 Yrs.. then again go PA 40 enter date as 01.01.2015 say... & execute... & give Ref. Personnel Number (5000000) & different position number... this time...
This will link up all the personnel date from previous hiring record... & as per your need you can modify it.... Finally one more number be generated....
Similarly,, you can do for Permanent employee...
Once training or Probation period gets completed you can lock/ separate that employee number
Report ...
You can get necessary details in IT0031...& with different Position numbers which you will using at different stage of hiring...
Hope this should sort your issue..
Regards,
Veeram -
Infotype to link Personnel Number with Vendor Master Record
Hi All,
pls help me what infotype to link Personnel Number with Vendor Master Record in AP module.
Customer require when Create Employee then system automatic gernerate Vendor Master.
pls help us.
ThanksHi,
PRAA works absolutely fine. I have external number range for vendors.
There is an option so that you can create HR accounts in vendor accounts
Path:Accounting> Financial accounting>Travel
management>Personal-Related Master Data> Create Vendors (tr.code PRAA)
Look at this description:
From the HR master data, this program creates a batch input session for
maintaining person-specific vendor master records.
The report can process vendor master records as follows:
o Initial set up (create/add missing company code segment)
o Uupdate (change completely according to vendor and HR reference)
o Change (only according to HR master data, for example, name
Block
The following infotypes from HR master data are taken into account for
the key date specified:
o Actions (Infotype 0000)
o Organizational Assignment (Infotype 0001)
o Personal Data (Infotype 0002)
o Permanent Residence (Infotype 0006 Subtype 1)
o Bank Details (Infotype 0009 Subtype 0 or 2)
All other required data is taken from a reference vendor that you can
specify as a parameter when you start the program. Note that for the
reference vendor, reference data must exist for all company codes that
are applicable according to HR master data. Since program RPRAPA00 cannot
assign vendor master record numbers externally when creating
vendor master records, you must be sure that the reference vendor is
assigned to an account group that requires internal number assignment.
If no house bank is specified in the reference vendor, this is
determined via feature TRVHB (Implementation guide for 'Travel Expenses'
-> Transfer to Data Medium Exchange -> Set up Feature for Determining
House Bank according to the employee's organizational situation.
The link between the HR employee's master record and the corresponding
vendor master record is set up by entering the personnel number in the
company code segment of the vendor master record.
General program flow
Program RPRAPA00 creates a sequential work file in the specified
directory. Ensure that you use a global directory that can be accessed
by all application servers; a directory is automatically proposed. The
work file is later transformed into a batch input session by the
subsequent program RFBIKR00, which is started automatically.
In test run mode this program delivers information messages which
document the creation of a batch input session. Since each information
message must be confirmed manually, the test run should only be
performed for a small number of personnel numbers.
In productive run mode, however, the program RFBIKR00 is automatically
started as a job; the information mentioned above is stored in the job
log in this case.
Initial setup of vendor master records
Corresponding vendor master records are created from the infotypes
listed above and the non-HR-specific information from the reference
vendor. During the process, the personnel number is stored in the
company code segment of the vendor master record. Persons who already
have a vendor master record with corresponding personnel number are
rejected in this run.
If a vendor master record already exists for a personnel number, but
without a company code segment for the company code in which the
employee exists at the key date entered, the program adds the required
company code segment to the vendor master record. You must however
activate the checkbox "Create new company code segment for existing
vendor master records".
The HR master data used is the info type record valid on the key date
entered.
Update of vendor master records
The corresponding vendor master records are updated from the infotypes
listed above and the non-HR-specific information from the reference
vendor. Persons who already have a vendor master record with
corresponding personnel number are rejected in this run. The system uses
HR master data from the infotype records valid for the key date.
Change vendor master records according to HR master data
All HR-specific data is changed in the vendor master records for
personnel numbers that have changes since the date recorded under '...
with last change since'. The system uses HR master data again from the
infotype records valid for the key date specified.
Block vendor master records
All vendor master records which correspond with the selected personnel
numbers are blocked for posting.
User exits
For the following situations, two empty routines are supplied in the
includes RPRAPAEX and RPRAPAEX&H5F001 which you can adapt to your
requirements.
o The employee's last name is entered in the sort field in the vendor
master record. If you do not want this to happen, you can program
the situation you want in the user exit routine
'set&H5Fmc&H5Ffield&H5Fby&H5Fuser'.
o If the address editing in the vendor master record does not suit
your requirements, it can also be changed. For this purpose you have
the user exit routine 'set&H5Faddress&H5Fby&H5Fuser'.
o If you want to assign numbers to the vendor master records to be
created via external number assignment (for example, vendor master
record number &H3D personnel number), you can adjust the user exit
routing 'SET&H5FVENDOR&H5FNO&H5FBY&H5FUSER' (in include RPRAPAEX&H5F00). Note
that
the account group of the reference vendor must also have external
number assignment.
Note that in each case a thorough knowledge of the programming
language
ABAP/4 is necessary.
Set up vendor master records in a separate system
The distribution of personnel master data from a HR system to an FI
system is a prerequisite for creating, changing, and blocking vendor
master records.
In the section Master Data Distribution (link to separate HR unit) of
the ALE IMG, an explanation is given regarding the way in which the
FI
System is supplied with the relevant employee data from the HR System
In the FI System, report RPRAPA00 described here can be used to
create,
change, and block vendor master records.
Other wise try with VPE1 t.code.
Regards
Devi -
Personnel number 00000000 could not be locked; lock 00000000 failed twice
Hi!
I'm trying to create new person to SAP HCM by using SAP ERP HCM Process and Forms functionality. Process is defined to be fast entry process: NO_WORKFLOW value in workflow template.
I have defined process' attributes CENTRAL_PERSON as blank and PERNR attribute to get default value from business process logic's (DEF) from SAP_PA (infotype 1: 0001-PERNR).
When process is trying to check values it gives me error "Perosnal number 00000000 could not be locked; lock 00000000 failed twice". Error's message class is HRASR00_FBD and message number is 011.
I debugged the ISR process and the actual error is raised in CL_HRPA_MASTERDATA_ENQ_DEQ class' method ENQUE_BY_PERNR.
ABAP call stack is this:
35 CL_HRASR00_PAITF_MAPPER=======CP CL_HRASR00_PAITF_MAPPER=======CM00F 14 METHOD IF_HRASR00_MAPPER~LOCK_OBJECT
34 CL_HRASR00_DISPATCHER=========CP CL_HRASR00_DISPATCHER=========CM00X 22 METHOD PROCESS_LOCKING
33 CL_HRASR00_DISPATCHER=========CP CL_HRASR00_DISPATCHER=========CM017 24 METHOD FSCN_DO_OPERATION
32 CL_HRASR00_DISPATCHER=========CP CL_HRASR00_DISPATCHER=========CM00R 803 METHOD PROCESS_DATA_CONTAINER
31 CL_HRASR00_DISPATCHER=========CP CL_HRASR00_DISPATCHER=========CM00G 178 METHOD DO_OPERATION
30 CL_HRASR00_DISPATCHER=========CP CL_HRASR00_DISPATCHER=========CM00I 24 METHOD IF_HRASR00_DISPATCHER~CHECK
29 CL_IM_HRASR00ISR==============CP CL_IM_HRASR00ISR==============CM004 496 METHOD IF_EX_QISR1~SCENARIO_PROCESS_USER_COMMAND
28 CL_EX_QISR1===================CP CL_EX_QISR1===================CM004 16 METHOD IF_EX_QISR1~SCENARIO_PROCESS_USER_COMMAND
27 SAPLQISR9 QISR_CL_ISR_WEB_UI_PROXY 2025 METHOD PROCESS_USER_COMMAND
26 SAPLQISR9 LQISR9U07 499 FUNCTION ISR_PROCESS_EVENT_INTERNAL
25 SAPLMPO_46CFF_ISR_SERVICE LMPO_46CFF_ISR_SERVICEU06 184 FUNCTION ISR_PROCESS_EVENT
24 SAPLMPO_46CFF_ISR_SERVICE LMPO_46CFF_ISR_SERVICEU12 157 FUNCTION ISR_PROCESS_EVENT_WD
23 CL_QISR_UI_PROCESS_EVENT_MODELCP CL_QISR_UI_PROCESS_EVENT_MODELCM003 6 METHOD IF_QISR_UI_DATA_MODEL~EXECUTE
22 /1BCWDY/9KIHZOTJM1O6VWFQPCJ4==CP /1BCWDY/B_9KIHZOTJM1O6VWIWGPVP 2032 METHOD CALL_RFC_ISR_PROCESS_EVENT
21 /1BCWDY/9KIHZOTJM1O6VWFQPCJ4==CP /1BCWDY/B_9KIHZOTJM1O6VWIWGPVP 1487 METHOD CALL_ISR_PROCESS_EVENT
20 /1BCWDY/9KIHZOTJM1O6VWFQPCJ4==CP /1BCWDY/B_9KIHZOTJM1O6VWIWGPVP 108 METHOD IWCI_QISR_UI~CALL_ISR_PROCESS_EVENT
19 /1BCWDY/9KIHZOTJM1MJA1NASP4F==CP /1BCWDY/B_9KIHZOTJM1MJA1SLVIT2 6357 METHOD _OVR_4T5KF0KFFIXZTMN23D48RVJME
18 /1BCWDY/9KIHZOTJM1MJA1NASP4F==CP /1BCWDY/B_9KIHZOTJM1MJA1SLVIT2 127 METHOD IF_PROCESS_START~NAVIGATE_TO_REVIEW_FORM
17 /1BCWDY/9KIHZOTJM1MJA1NASP4F==CP /1BCWDY/B_9KIHZOTJM1MJA1SLVIT2 5656 METHOD ONACTIONCHECK_AND_SEND
16 /1BCWDY/9KIHZOTJM1MJA1NASP4F==CP /1BCWDY/B_9KIHZOTJM1MJA1SLVIT2 976 METHOD IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER
15 CL_WDR_DELEGATING_VIEW========CP CL_WDR_DELEGATING_VIEW========CM005 6 METHOD INVOKE_EVENTHANDLER
14 CL_WDR_ACTION=================CP CL_WDR_ACTION=================CM00A 38 METHOD IF_WDR_ACTION~FIRE
13 CL_WDR_WINDOW_PHASE_MODEL=====CP CL_WDR_WINDOW_PHASE_MODEL=====CM00U 95 METHOD DO_HANDLE_ACTION_EVENTS
12 CL_WDR_WINDOW_PHASE_MODEL=====CP CL_WDR_WINDOW_PHASE_MODEL=====CM002 94 METHOD PROCESS_REQUEST
11 CL_WDR_WINDOW=================CP CL_WDR_WINDOW=================CM00V 12 METHOD PROCESS_REQUEST
10 CL_WDR_MAIN_TASK==============CP CL_WDR_MAIN_TASK==============CM00I 77 METHOD EXECUTE
9 CL_WDR_MAIN_TASK==============CP CL_WDR_MAIN_TASK==============CM00U 6 METHOD IF_WDR_RUNTIME~EXECUTE
8 CL_WDR_CLIENT_ABSTRACT_HTTP===CP CL_WDR_CLIENT_ABSTRACT_HTTP===CM01A 114 METHOD HANDLE_REQUEST
7 CL_WDR_MAIN_TASK==============CP CL_WDR_MAIN_TASK==============CM00J 85 METHOD IF_HTTP_EXTENSION~HANDLE_REQUEST
6 CL_HTTP_SERVER================CP CL_HTTP_SERVER================CM00D 594 METHOD EXECUTE_REQUEST
5 SAPLHTTP_RUNTIME LHTTP_RUNTIMEU02 1216 FUNCTION HTTP_DISPATCH_REQUEST
4 SAPMHTTP SAPMHTTP 13 MODULE (PBO) %_HTTP_START
3 2 PBO MODULE %_HTTP_START
2 SAPMHTTP 2 PBO SCREEN 10
1 0 TRANSACTION ()
Our SAP levels are these:
SAP_BASIS 731 0004 SAPKB73104
SAP_APPL 606 0004 SAPKH60604
SAP_HR 604 0049 SAPKE60449
SAP_HRRXX 604 0049 SAPK-60449INSAPHRRXX
So, I'm out of ideas. How to prevent locking for person number 00000000 when creating new employee by using SAP HCM Processes & Forms?
Best regards,
-TimoHi!
I asked this from SAP. I got following answer:
Error "Personnel number &1 could not be locked; lock & failed twice - HRASR00_FBD 011" is sometimes raised due to default value of field PERSG, PERSK, and WERKS. Can you please make sure that these fields have a manual default value assigned on your process to be sure that pernr can be generated?
You can also try to check whether standard hire processes like HIRE_01 or HIRE_10 are working correctly or same lock error is raised.
I valuated also PERSG, PERSK and WERKS and after that the process was valuated with new personnel number taken from number range.
So result was that new number was taken from number range immediatelly when my data entry form was shown (I use process without workflow = fast entry) --> If user uses to form without saving (= abort new employee creation), one number is taken from number range, but not used. I ended up with solution that system is not getting the number automatically in start of the process (= I don't valute those PERSG, PESK and WERKS, they are valuated in form by user anyway). Instead I take manually new number form employee's number range (RP_PREL) before the data checks by using function module NUMBER_GET_NEXT.
Hopefully the solution by valuating PERSG, PERSK and WERKS works for you.
-Timo
Message was edited by: Timo Saviahde
I tried to edit my answers text to contain readable formatting --> no matter what I do, it shows my text without correct line brakes and other stuff... -
From personnel number to person number
Hi,
I do have user name and personnel number of an employee. How can I get the person number of this employee as it is used in address data, for example table ADR6? What's the link between personnel number and person number/address number?
Regards,
RobertHi
personnel number and person ID number are two different Terms.
Personnel number is PERNR
When a new employee is hired, the system automatically creates the external person ID and stores it in the Person ID infotype (0709).
This is used majorly in the case of Concurrent employment
Ravee
+91.99206.33669
Maybe you are looking for
-
Nfe de Entrada (Importação) código do País Inválido
Experts de GRC-NFE, Estamos com um problema em uma nota de entrada de importação da Argentina onde o Sefaz de Goiás está rejeitando a Nfe devido ao código do país errado. Na NFe o código é 639, porém a Sefaz de Goiania diz veemente que tem que ser 06
-
I want to block sales orders from 21.11.2008
Hi Gurus, I have a scenaio like this we have open orders basing on those orders users can create invoice upto 21.11.2008. After that the system will not allow to create invoice with reference to those orders. please put me light on this regards satis
-
Questions on exporting and the trash folder?
A friend has i Photo 5 on here iMac (older) and I was trying to copy some of the pictures out of the Trash folder, it wouldn't do it. Well it would copy the file number but it would read zero kilobites. Not sure why this happening, but even in the tr
-
Everything sluggish after upgrade to Yosemite on Macbook Pro
Recently upgraded to Yosemite on MBP Late 2011. 8GB of Ram and plenty of harddrive space. Everything is unbearably slow. Typing lags, programs take forever to open. Please help. Etrecheck below. EtreCheck version: 2.0.11 (98) Report generated Novembe
-
Kennt sich jemand noch mit dem Adobe Acrobat 9 aus?
Ich habe seit einigen Wochen alle Dokumente mit dem Adobe Acrobat 9 bearbeitet. Mir ist heute von einem meiner Kunden aufgefallen, dass er die PDF mit seinem Smartphone geöffnet hat und die "nicht bearbeitete" Version des Dokuments geöffnet hat. Er b