Hr_maintain_masterdata to create new emp, error='Pers num not yet assigned'
Hi All,
I'm going to need to use the fm hr_maintain_masterdata to create a new employee. I've done up a test program just to get it working before i begin. When i run the code below i keep getting the error 'Personnel number has not yet been assigned'. Can anyone tell me what i'm doing wrong? Or can anyone tell me where i can find info on how to use this FM.
data: t_prop_vals type table of pprop,
modified_keys type table of pskey,
return type bapireturn,
return1 type BAPIRET1.
data: wa_prop_vals type pprop.
move '0000' to wa_prop_vals-infty.
move 'massn' to wa_prop_vals-fname.
move 'A1' to wa_prop_vals-fval.
append wa_prop_vals to t_prop_vals.
move '0000' to wa_prop_vals-infty.
move 'massg' to wa_prop_vals-fname.
move '01' to wa_prop_vals-fval.
append wa_prop_vals to t_prop_vals.
move '0001' to wa_prop_vals-infty.
move 'werks' to wa_prop_vals-fname.
move '1101' to wa_prop_vals-fval.
append wa_prop_vals to t_prop_vals.
move '0001' to wa_prop_vals-infty.
move 'persg' to wa_prop_vals-fname.
move 'F' to wa_prop_vals-fval.
append wa_prop_vals to t_prop_vals.
move '0001' to wa_prop_vals-infty.
move 'persk' to wa_prop_vals-fname.
move '01' to wa_prop_vals-fval.
append wa_prop_vals to t_prop_vals.
call function 'HR_MAINTAIN_MASTERDATA'
exporting
pernr = '02000511'
MASSN = 'A1'
actio = 'INS'
tclas = 'A'
begda = '20081204'
endda = '99991231'
importing
return = return
return1 = return1
tables
proposed_values = t_prop_vals
modified_keys = modified_keys
exceptions
others = 1.
if not return1 is initial.
write: return1-number.
write: return1-message.
else.
message s054(hrwpc_pcr).
endif.
Many Thanks,
Liz.
Hey,
Thanks for the response to you too. Can you explain a little more what you mean by ' it is interfearing with number ranges'. I've checked the documentation on se37 and didn't find it much help to be honest.
Regards,
Liz.
Similar Messages
-
To change charging account upon creating new emp group
Dear experts,
Our company want to create new emp group.I have problem to understand concept of employee grouping
account determination.
1. How do I know the new emp group that i created goes to what emp grouping.
2. If I want to change to new grouping, what should I do
3. How to check whether the emp grouping that I created goes to the coorect emp grouping
I'm quite worry if i'm make mistake during creating new em group.
Thanks in advanceif your Question is related to posting
Than try to configure the Symbolic accounts as per the ESG for more info read the documentation and use of the feature PPMOD
or else if you are looking at for the Groupings of EG and ESG
SM30 , V_503_ALL
After cofigureing you will be haveing Testing or UAT right so not a problem with any Errors or issues -
In iPhoto 11, I know how to create new libraries. I do not know how to split my large existing library into the new libraries?
You need to use the iPhoto Library Manager.
(66928) -
i create new id and i can not sign in because i must provide credit card and i have not one what should i do ??
Here's how to change or remove the payment info:
Change or remove your payment information from your iTunes Store account (Apple ID)On your iPhone.
Check this article to create an account without a credit card info:
Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method -
Error in RFC Code -EPG 001Personnel number not yet assigned
Dear Freinds,
i have requirement where the custom infotype which has been created with
the fields ZNOTENROLED,ZEMPLOYEE1,zEMPLSPCHLD1,ZEMPCHLOTH. This
fields they want in Portal. So i have created an RFC( by making the function module
remote enabled).
Now to test whether the function module is working or not i have unchecked the remote enabled.
however there is problem in my function module iam getting the error as follows
EPG 001Personnel number not yet assigned from t he function module
HR_INFOTYPE_OPERATION'.. Iam giving the code please correct me
Import parameters ( i have given my custom infotype fields)
EMPLOYEENUMBER LIKE P9004-PERNR
BEGINDATE LIKE P9004-BEGDA
ENDDATE LIKE P9004-ENDDA
NOTENROLEDINSUR LIKE P9004-ZNOTENROLED
EMPLOYEEINSUR LIKE P9004-ZEMPLOYEE1
EMPLSPOUINSUR LIKE P9004-ZEMPLSPCHLD1
EMPLCHILD1INSUR LIKE P9004-ZEMPCHLD1
EMPLCHILDOINSUR LIKE P9004-ZEMPCHLOTH
Export parameters
RETURN LIKE BAPIRETURN1
in the source code i have given as follows
call function 'BAPI_EMPLOYEE_ENQUEUE'
exporting
number = employeenumber.
call function 'HR_INFOTYPE_OPERATION'
exporting
infty = '9004'
number = employeenumber
subtype = subtype
objectid = objectid
lockindicator = lockindicator
validityend = enddate
validitybegin = begindate
recordnumber = recordnumber
record = p9004
operation = 'INS' "change
nocommit = ' ' " nocommit
importing
return = return
exceptions
others = 0.
*deque
call function 'BAPI_EMPLOYEE_DEQUEUE'
exporting
number = employeenumber.
i have executed the function module by entering the follows
EMPLOYEENUMBER 00002315
BEGINDATE 01062007
ENDDATE 31032007
NOTENROLEDINSUR Space
EMPLOYEEINSUR X
EMPLSPOUINSUR Space
EMPLCHILD1INSUR LIKE Space
EMPLCHILDOINSUR LIKE Space
in the return value i got the above error EPG 001Personnel number not yet assigned from t he function moduleDear Thiru,
thank you for answering to my question you almost answered my question, but i have one more clarification please ,
the qustion is i have already created the strucutre through infotype creation(PM01)
the following fields ZNOTENROLED,ZEMPLOYEE1,zEMPLSPCHLD1,ZEMPCHLOTH. for my structure (P9004).
so as per you i have created one more structure with 5 fields ZNOTENROLED,ZEMPLOYEE1,zEMPLSPCHLD1,ZEMPCHLOTH.
so could you pleae let me know the code which i updated in my question initially would be sufficient for calling in the portal.
if you have any similar code please do give me so that i complete theRFC function module correctly so that it can be work in the portal
as i havent worked on webdynpro. please help me in this regard
thanks in advance.
regards
syamla -
SMQ2 Error: Delivery has not yet been put away / picked (completely) in ECC
Hi All,
I am processing an Outbound Scenario..everything is fine until SMQ2 shows an error in ECC system. SMQ2 shows me the following error:
Delivery has not yet been put away / picked (completely)
Message no. VL609
My outbound delivery which was distributed to EWM system has overall picking status as blank (Not relevant for picking).
Our system is recently upgraded to EhP6, since then we are seeing this issue. Interestingly VL01NO (Delivery without reference to Order) works properly.
Other ECC-EWM integration settings are fine. Delivery Type and Item Category also look good.
I could not be able to find any OSS Note relevant to this situation.
Could you anyone help me.
Thanks
Mahesh.Further what I see in this Outbound Scenario in EWM is when I am creating Outbound Delivery meant for EWM system with ref. to Sales Order, "Picking" tab shows EWM WHN but also shows Overall WM status as "Transfer Order Required" which is not correct.
If I remove Storage Location and re-enter then Over all WM status and Over all Picking status fields come as blank. But after all EWM processing, SMQ2 queue (FM: BAPI_OUTB_DELIVERY_CONFIRM_DEC) fails with error
Delivery has not yet been put away / picked (completely)
Message no. VL609.
Any thoughts?
Thanks
Mahesh -
I need help getting my music from my USB to itunes onto my new computer. I have not yet downloaded itunes to my new computer, because I wanted to know how to do things first.
Is there no ANSWER TO THIS PROBLEM?
-
Error:-They have not been assigned to VMS role
Hi.
When i enter t Code VELO it shows me error
"They have not been assigned to VMS role"
this error was not there when there was no configuration.
Reg,
AmolHi,
As far as I know, you need to maintain business org details (like org name, positions, business partners etc) in the ppoma_crm tcode. Then have to assign a position to your user ID. This assigns the business role as well.
This link should be helpful:
http://www.sapcrmsecurity.com/SAP%20CRM%20Business%20Role.html
Regards,
Srikishan -
Hi, guys,
When I tried to created new provider to link to external application web page. I got the error:
=========================================
Error: An error occurred when attempting to call the providers register function. (WWC-43134)
The following error occurred during the call to Web provider: Unable to initialize new provider instance: java.lang.NumberFormatException: (WWC-43147)
==========================================
Also the Jserv.log file for the error are:
===========================================
[20/06/2001 13:10:25:203 PDT] myfirstjsp/javax.servlet.ServletException: Unable to initialize new provider instance: java.lang.NumberFormatException:
at oracle.portal.provider.v1.http.HttpProvider.getProvider(HttpProvider.java:339)
at oracle.portal.provider.v1.http.HttpProvider.service(HttpProvider.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code)
at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
at java.lang.Thread.run(Thread.java:479)
==========================================
But when I try to access the page by
http://mycompany.com/servlet/myyahoo, It can find the provider file. Here is I got:
===============================
Congratulations! You have successfully reached your Provider's Test Page.
Checking for components:
Oracle XML parser: detected
Oracle JSP: detected
Recognizing initArgs: Usual initArgs are provider_root and sessiontimeout.
provider_root: D:\oracle\products\ora9ias\jpdk\provider\myyahoo
sessiontimeout: 1800
==========================================
Anyone met the problem before, please give me some advise. Thanks!
MikeHi, Sue,
Thanks again for the help.
I follow the two files again. Let first go over the sample one. When I http the location: http://myhost/servlet/sample, then I got:
====================================
Congratulations! You have successfully reached your Provider's Test Page.
Checking for components:
Oracle XML parser: detected
Oracle JSP: detected
Recognizing initArgs: Usual initArgs are provider_root and sessiontimeout.
provider_root: D:\oracle\products\ora9ias\pdk\pdk\jpdk\provider\sample
sessiontimeout: 1800000
=========================================
It looks fine for me. Then I continue the steps to register the provider by following steps:
==============================
Under the Administer tab (on Oracle Portal home page), click on Add a Portlet Provider within the portlet called Provider.
Fill out Provider information for the Sample.
Name: SampleWebProvider
Display Name: Sample Web Provider
Timeout: 100
Timeout Message: Application Timed Out
Implementation Style: Web
Provider Login Frequency: Once per User Session
Register on Remote Nodes: No
URL: http://myserver.mydomain.com:port/servlets/sample (replace this with your URL)
Check the following radio button: The user has the same identity in the HTTP providers application as in the Single Sign-On identity.
Proxy: No (As long as no proxy is required to contact the Provider Adapter).
Click OK.
=======================================
I got :
==================================
Error: An unexpected error occurred: ORA-00001: unique constraint (PORTAL30.WWPRO_PROVIDERS_UK1) violated (WWC-43000)
==================================
And the following is from the log file jserv.log
================================
[03/07/2001 14:04:22:984 PDT] sample/init
[03/07/2001 14:16:43:156 PDT] urlsample/init
[03/07/2001 14:16:43:437 PDT] oracle.jsp.JspServlet: init
[03/07/2001 14:17:39:656 PDT] page/oracle.webdb.page.ParallelServlet: init
[03/07/2001 14:17:39:703 PDT] page/Starting a pool of 25 handlers.
=========================================
It did not give me any hint.
Now I following D:\oracle\products\ora9ias\jpdk\installing.url.html step by step.
Everything is fine to I typed http://myhost/servlet/urlsample, I got:
===============================
Congratulations! You have successfully reached your Provider's Test Page.
Checking for components:
Portlets are:
URLPerlPortlet
URLMicrosoftportlet
XMLFilterPortlet
URLIllustration
Oracle JSP: detected
Recognizing initArgs: Usual initArgs are provider_root and sessiontimeout.
provider_root : D:\oracle\products\ora9ias\pdk\pdk\urlservices\provider\urlsample
sessiontimeout : 1800000
====================================
I feel good so far.
then I follow the following step by step:
===================================
Under the Administer tab in the Oracle 9iAS Portal homepage, click on Add a Portlet Provider within the portlet called Provider.
Enter Provider information for the Sample.
Name: URLSamples
Display Name: URL Services Samples
Timeout: 10
Timeout Message: URL Services Samples Timed Out
Implementation Style: Web
Provider Login Frequency: Never
Register on Remote Nodes: No
URL: http://myserver.mydomain.com:port/servlets/urlsample (replace this with your URL)
Check the following radio button: The user has the same identity in the HTTP providers application as in the Single Sign-On identity.
Proxy: No (As long as no proxy is required to contact the Provider Adapter).
Click OK.
=================================
Until I click OK, then I got it fine.
and I can see the "URL Services Samples"
in my "Display Portlet Repository".
Then I did it again for the sample case above, After I click OK, I got:
=================================
Error: An error occurred when attempting to call the providers register function. (WWC-43134)
An unexpected error occurred: ORA-29532: Java call terminated by uncaught Java exception: Expected 'EOF'. (WWC-43000)
An unexpected error occurred: Expected 'EOF'.
at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java:205)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:207)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:169)
at oracle.webdb.provider.web.SoapResponseGenerator.doParse(SoapResponseGenerator.java:109)
at oracle.webdb.provider.web.SoapResponseGenerator.generateResponse(SoapResponseGenerator.java:69)
at oracle.webdb.provider.web.HttpProviderDispatcher.dispatch(HttpProviderDispatcher.java:775)
at oracle.webdb.provider.web.HttpProviderDispatcher.registerProvider(HttpProviderDispatcher.java:251)
(WWC-43000)
=====================================
I am confused until here the URLSample works, but not the Sample? Please be advise. Thanks!
MIke -
When trying to create a new server farm in the sharepoint foundation 2013 we get a following error :
The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.
PS C:\Users\Administrator> New-SPConfigurationDatabase
cmdlet New-SPConfigurationDatabase at command pipeline position 1
Supply values for the following parameters:
DatabaseName: SharePoint_Config
DatabaseServer: PC78\SQLEXPRESS,25111
FarmCredentials
Passphrase: *********
New-SPConfigurationDatabase : One or more types failed to load. Please refer
to the upgrade log for more details.
At line:1 char:1
+ New-SPConfigurationDatabase
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Share...urationDatabase:
SPCmdletNewSPConfigurationDatabase) [New-SPConfigurationDatabase], SPUpgra
deException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPCon
figurationDatabase
And the error log is shown below :
Microsoft.SharePoint.Upgrade.SPUpgradeException: One or more types failed to load.
Please refer to the upgrade log for more details.
at Microsoft.SharePoint.Upgrade.SPActionSequence.LoadUpgradeActions()
at Microsoft.SharePoint.Upgrade.SPActionSequence.get_ActionsInternal()
at Microsoft.SharePoint.Upgrade.SPUtility.GetLatestTargetSchemaVersionByMajorVersion(Type typeActionSequence, Int32 majorVer)
at Microsoft.SharePoint.Upgrade.SPUtility.get_CurrentSPSiteWssTargetSchemaVersion()
at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase database, SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, Int32 compatibilityLevel, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, Strin... b712a522-fa85-49eb-b59c-dedf55295504
...g secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, String sscRootWebUrl, Boolean useHostHeaderAsSiteName, Boolean overrideCompatibilityRestriction)
at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, Int32 compatibilityLevel, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, Boolean useHostHeaderAsSiteName)
at Microsoft.SharePoint.Administration.SPAdministrationWebApplication.CreateDefaultInstance(SqlConnectionStringBuilder administrationContentDatabase, SPWebService adminService, IdentityType identityType, ... b712a522-fa85-49eb-b59c-dedf55295504
...String farmUser, SecureString farmPassword)
at Microsoft.SharePoint.Administration.SPFarm.CreateAdministrationWebService(SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword)
at Microsoft.SharePoint.Administration.SPFarm.CreateBasicServices(SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword)
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword, SecureString masterPassphrase)
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuil... b712a522-fa85-49eb-b59c-dedf55295504
...der configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, String farmUser, SecureString farmPassword, SecureString masterPassphrase)
at Microsoft.SharePoint.PowerShell.SPCmdletNewSPConfigurationDatabase.InternalProcessRecord()
at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord() b712a522-fa85-49eb-b59c-dedf55295504
Error Category: InvalidData Target Object Microsoft.SharePoint.PowerShell.SPCmdletNewSPConfigurationDatabase Details NULL RecommendedAction NULL b712a522-fa85-49eb-b59c-dedf55295504
Leaving ProcessRecord Method of New-SPConfigurationDatabase. e9ae5ba6-c499-0000-d35c-aee999c4cf01
we are using server 2012 R2 and we don't have office 2010 installedYes,SQL server is on the same server as SharePoint
SQL has both the permissions Securityadmin
and DBcreator roles on SQL Server.
When we run those sharepoint management shell commands the database will be created with the error
msg (shown in attachment) -
Error while Creating new Position-Data fields have not been filled (no. 5A135)
Dear Consultants,
My client using SAP HCM form 2008, now they want to create new positions to the existing system,
To create new positions I am using T Code : PP03, while creating I am getting error "Date Fields have not been filled- Error Message No - 5A135", I want to create the positions valid from 01.04.2014. please do needful why this error is coming
Regards,
NareshHi,
It is mandatory to give the org unit to which the position is being associated with.
Give the org unit and try saving it.
Thanks,
Sriram -
Hello I Recive That error in creating new application using apex 3 (oracle xe)
I loged in by user HR (DBA)
ORA-20001: Unable to create modules. ORA-20001: create_table error: ORA-20001: Excel load run ddl error: ORA-01031: insufficient privilegesuser495543,
Try granting CREATE TABLE privilege to HR.
- Christina -
GL Legal Entity Create New Address error
Hi sein/hel
I got this error >
ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1674 ORA-12545: Connect failed because target host or object does not exist in Package xle_legal_address_swi Procedure create_legal_address
when I am creating new address.
Thanks a lotHi yxes;
Please check below and see its helpful:
Error 'ORA-29273: HTTP request failed': While Using The HR_PERSON_ADDRESS_API.UPDATE_PERSON_ADDRESS API [ID 818295.1]
Unable To Create Legal Entity, Error Ora-29273, Ora-06512, Ora-12545 [ID 437725.1]
Regard
Helios -
Could i use 'HR_MAINTAIN_MASTERDATA' to create new employee ?
Dears
it seems using PA40 to create new employee.
i just want to create simple person with infotype 0000, but when i using 'HR_MAINTAIN_MASTERDATA' it will automitically jump into new screen of new infotype such as 0001 without push saving button the same as i use PA40.
How could i control the screen sequence ?Hi,
You cannot create Employees using this FM HR_MAINTAIN_MASTERDATA. This FM can be used to maintain infotypes AFTER an employee/applicant has been created in SAP(pa40).
i think there are no FMs to create Employees. There are FM's to create,update,delete,delimit etc other infotypes but IT0000(actions) Need to be performed either using PA40 or thru other mass data entry precedures like LSMW etc. where Recording of a transaction is performed.
and coming to the jumping of screens u mentioned, it is initiated by Infogroups, where the sequence of infotypes to be maintained while performing an action are defined.
you can remove the infotypes you dont want to maintain by identifying the infogroup and deleting it from there.
also for this FM 'HR_MAINTAIN_MASTERDATA' the important import parameter itself is PERNR? how are u using this FM to create an employee?
any special reason why u wanna use a Function module to create an employee?
Message was edited by:
Hruser -
Can't create new BeehiveOnline Workspace "You do not have the required..."
I'm trying to create a new BeehiveOnline Workspace. I follow the instructions from the FAQ, but as soon as I click on the "New/Workspace" option, I receive this error "You do not have the required privileges to create a workspace in this Location"
The location looks like "/Oracle" but when I click on the associated "+" icon, nothing else displays.
I am trying to create this new workspace around Mid-Day on Sunday in Australia, so is it possible the system is "down", or is this a genuine privileges error? and if so how do I fix it?This error is caused by you not having workspace creation rights - BeehiveOnline has restrictions on who can create workspaces. Go to beehiveonline.oracle.com and click on the right button. Find out who the group administrator is of your group and ask them to grant you workspace creation rights.
Phil
Maybe you are looking for
-
Since the upgrade to 3.6.9 was released today, we are now getting the following error on one of our secure websites. Our SSL certificate has been in place since March and is generated by Thawte. This site works fine in Internet Explorer and worked fi
-
I attempted to mail a large video file 23 Mb to my parents. The video was to big for yahoo and now it's stuck in the "Recovered Messages (Yahoo)" part of my mailbox. What makes it even worse, is there are now 3035 duplicate files of the same thing.
-
Hi, I'm getting a short dump at the execution of the statement READ DATASET. The short dump says a character was found that cannot be displayed in one of the two codepages. I've tried using NON UNICODE addition but have realised that it's not the pro
-
Can quicktime pro capture video stream?
Can QT pro record video streams off the internet? I thought it was only able to capture embedded video files. Video streams aren't donwloaded into cache, so they have to be saved as they're received. Could someone clarify? Thank you.
-
C# Calling SAP RFC/Web Service Failure
Hi SAP Experts, I am facing this problem. When an external system is calling my SAP RFC/Web Service, the external system(which is not SAP) is not getting the correct value. But when I test the RFC in SAP GUI It is working correctly. When I test betwe