Prob in HR_MAINTAIN_MASTERDATA
Hi
am using fm HR_MAINTAIN_MASTERDATA to upload Hire data and am getting two drop downs on personnel data screen one is Titel and other is DOB for me DOB data is coming properly but Titel is not coming and in technical details its name is Q0002-ANREX .
i have tried lot ways but dont know why data is not coming to this field and there is not check table for this structure .but still it is showing 4 values eg Mr,Miss,Mrs and all.
code is like ....
Data VALUES LIKE Pprop OCCURS 0 WITH HEADER LINE.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'Q0002-ANREX'.
VALUES-FVAL = '2'.
APPEND VALUES.
clear values......
VALUES-INFTY = '0002'.
VALUES-FNAME = 'Q0002-GBPAS'.
VALUES-FVAL = '01021990'.
APPEND VALUES.
clear values.
etc...
CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
EXPORTING
PERNR = p_pernr
MASSN = '03'
ACTIO = 'INS'
TCLAS = 'A'
BEGDA = SY-DATUM
ENDDA = '99991231'
OBJPS =
SEQNR = '000'
SPRPS =
SUBTY =
WERKS = 'DE10'
PERSG = '1'
PERSK = 'DC'
PLANS = '00000001'
DIALOG_MODE = '1'
LUW_MODE = '1'
NO_EXISTENCE_CHECK = 'X'
NO_ENQUEUE = 'X'
IMPORTING
RETURN =
RETURN1 = w_bapireturn
HR_RETURN =
TABLES
PROPOSED_VALUES = values.
MODIFIED_KEYS =
I have doubt that in this FM the table Values has type Pprop ,which is having INFTY field so may be this FM will not update data for a structure like Q0002-ANREX.
but at other side its taking values for 'Q0002-GBPAS' which is Birthday field but may be because its not an drop down and Titel field is drop down
pls share your input on this ..if am missing some thing.
Regards
Meeta
Hi Txs for your good response i gave points for that my Titel prob is solved but it now started new prob its prompting me on address screen to enter city name and postal code manually .
code is like ,
my Titel field prob solved but now it is giving new prob its stopping on address page which was not happing earlier dont know why like city name and postal code screen its prompting me to manually enter..
code is ,
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-ANRED'.
VALUES-FVAL = '3'.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-VORNA'.
VALUES-FVAL = 'Uma'.
APPEND VALUES.
clear values.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-NACHN'.
VALUES-FVAL = 'Shankar'.
APPEND VALUES.
clear values.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'Q0002-GBPAS'.
VALUES-FVAL = '01021990'.
APPEND VALUES.
clear values.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-NATIO'.
VALUES-FVAL = 'DE'.
APPEND VALUES.
clear values.
VALUES-INFTY = '0006'.
VALUES-FNAME = 'P0006-ORT01'.
VALUES-FVAL = 'berlin'.
APPEND VALUES.
clear values.
VALUES-INFTY = '0006'.
VALUES-FNAME = 'P0006-PSTLZ'.
VALUES-FVAL = '56789'.
APPEND VALUES.
clear values.
VALUES-INFTY = '0007'.
VALUES-FNAME = 'P0007-SCHKZ'.
VALUES-FVAL = 'NORM'.
APPEND VALUES.
clear values.
VALUES-INFTY = '0105'.
VALUES-FNAME = 'P0105-USRID'.
VALUES-FVAL = '122'.
APPEND VALUES.
clear values.
VALUES-INFTY = '0105'.
VALUES-FNAME = 'P0105-USRID_LONG'.
VALUES-FVAL = 'nehaatgmail.com'.
APPEND VALUES.
clear values.
VALUES-INFTY = '0105'.
VALUES-FNAME = 'P0105-USRID'.
VALUES-FVAL = '122'.
clear values.
CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
EXPORTING
PERNR = p_pernr
MASSN = '03'
ACTIO = 'INS'
TCLAS = 'A'
BEGDA = SY-DATUM
ENDDA = '99991231'
OBJPS =
SEQNR = '000'
SPRPS =
SUBTY =
WERKS = 'DE10'
PERSG = '1'
PERSK = 'DC'
PLANS = '00000001'
DIALOG_MODE = '1'
LUW_MODE = '1'
NO_EXISTENCE_CHECK = 'X'
NO_ENQUEUE = 'X'
IMPORTING
RETURN =
RETURN1 = w_bapireturn
HR_RETURN =
TABLES
PROPOSED_VALUES = values.
MODIFIED_KEYS =
if w_bapireturn-type = 'E'.
write : w_bapireturn,values.
else.
write :/ 'Employee',p_pernr,'Has Created Successfully'.
CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
EXPORTING
NUMBER = p_pernr
IMPORTING
RETURN = w_bapireturn.
pls let me know what am missing ?
Regards
Meeta
Similar Messages
-
Problem while using HR_MAINTAIN_MASTERDATA
Hi Experts,
We are facing a prob;em while trying to use hr_maintain_masterdata for hiring action, the following message is being thorwn.
Feature P0001 has not been activated yet
Message no. P0604.
can anyone please help us regarding the same ?
Do we need to some configuration or any more FM call before using HR_MAINTAIN_MASTERDATA ?
We have searched the forum but unfortunately did not find anything.
We are just calling the FM for creating the employee, if we want to try it via PA40 then its' work fine and the employee is also created but problem is thrown while we are calling the FM. Please find the parameter which we used while calling the FM.
PERNR 00000000
MASSN
ACTIO INS
TCLAS A
BEGDA 03/09/2014
ENDDA 12/31/9999
OBJPS
SEQNR 000
SPRPS E
SUBTY
WERKS NU10
PERSG 6
PERSK B1
PLANS 99999999
DIALOG_MODE 0
LUW_MODE 0
NO_EXISTENCE_CHECK X
NO_ENQUEUE
We passed the folloiwng parametrers in table PROPOSED_VALUES..
P0000-MASSN
P0000-MASSG
P0000-STAT3
P0000-STAT2
P0001-BUKRS
P0001-WERKS
P0001-PERSG
P0001-PERSK
P0001-BTRTL
P0001-GSBER
P0001-SACHZ
P0000-PLANS
P0002-ANRED
P0002-NACHN
P0002-VORNA
P0002-PERID
P0002-GBDAT
P0002-GESCH
We have tried by changing LUW mode and other but it did not work.
It will be really helpful if someone can help regarding the same.Hi
2 solutions for your problem.
1. Use the FM- RH_PNNNN_MAINTAIN to maintain the Master Data.
2. Use FM- HR_INFOTYPE_OPERATION to insert the data to the Infotypes.
CALL FUNCTION 'RH_PNNNN_MAINTAIN'
EXPORTING
act_fcode = lc_fcode
act_plvar = lc_plvar
act_otype = lc_otype
act_objid = gs_retail-objid
act_infty = lc_intyp
act_istat = lc_istat
act_begda = lv_sdate
act_endda = lv_edate
act_pnnnn = gs_p1000
act_enqueue = ' '
suppress_dialog = lc_dialog
act_commit_flg = lc_commitflg
IMPORTING
act_mess_info = gs_1000
EXCEPTIONS
infty_not_valid = 1
no_plvar = 2
object_not_defined = 3
otype_not_valid = 4
no_authority = 5
action_rejected = 6
no_gdate = 7
fcode_not_supported = 8
OTHERS = 9.
IF sy-subrc <> 0.
ELSE.
COMMIT WORK.
ENDIF. -
I got the charger flex or pin changed and now the apps dance on the screen, photos open and zoom in, then out, the other apps open and close. I have already restored the device with Itunes and prob is still there. What can be the problem? Any suggestion will be welcome. Thank you
THANKS for your prompt reply Bluetooth is off in my laptop and IPhone.. and in fact the reset is the only thing that can make it back to normal. But for a lil while. I wonder if it is the touch, or the home botton... both things are very expensive to replace, so I wouldn't like to spend $$ and continue having the prob.....
-
How to know "pernr" after creation of employee with HR_MAINTAIN_MASTERDATA
Hello,
Anybody any idea how you can know the pernr of the employee you created with HR_MAINTAIN_MASTERDATA?
Problem I am facing:
I create a new employee using HR_MAINTAIN_MASTERDATA.
As I do not have all information required yet, I only update/insert IT0000.
(otherwise the program asks me to "Fill in all required fields")
Then I want to fill up the other IT with HR_INFOTYPE_OPERATION, but I don't know the number that was created.
Can anybody help me?
Thanks.Have you checked the exporting parameter from the fm call?
EXPORTING
*" VALUE(RETURN) LIKE BAPIRETURN STRUCTURE BAPIRETURN
*" VALUE(RETURN1) LIKE BAPIRETURN1 STRUCTURE BAPIRETURN1
*" VALUE(HR_RETURN) LIKE HRHRMM_MSG STRUCTURE HRHRMM_MSG
a® -
hi iam having prob with the following decode function
declare
c varchar2(20);
begin
select decode(deptno,
10, 'accounting',
20,'Research',
30 ,'sales',
40,'operations','UNKNOWN') into c from dept where loc='DALLAS';
dbms_output.put_line('DEPARTMENT in DALLAS'||c);
select decode(deptno,
10, 'accounting',
20,'Research',
30 ,'sales',
40,'operations','UNKNOWN') into c from dept where loc='INDIA';
dbms_output.put_line('DEPARTMENT IN INDIA'||c);
end;
iam getting no_data_found exception which is reasonable..but what happened to 'unknown' clause in decode function.
thank u
rajivDECODE only works on rows returned from the database. If there are no rows, DECODE has nothing to work on.
Consider:
SQL> SELECT DECODE(dummy, 'X', 'Found a row', 'No row')
2 FROM dual;
DECODE(DUMM
Found a row
SQL> SELECT DECODE(dummy, 'X', 'Found a row', 'No row')
2 FROM dual
3 WHERE 1=2;
no rows selectedIf you want to have c contain UNKNOWN when there are no rows returned, you need to do something more like:
DECLARE
c VARCHAR2(20);
BEGIN
BEGIN
SELECT DECODE(deptno, 10, 'accounting',
20,'Research',
30 ,'sales',
40,'operations','UNKNOWN')
INTO c
FROM dept
WHERE loc='DALLAS';
EXCEPTION
c := 'UNKNOWN';
END;
DBMS_OUTPUT.Put_Line('DEPARTMENT in DALLAS'||c);
BEGIN
SELECT DECODE(deptno, 10, 'accounting',
20,'Research',
30 ,'sales',
40,'operations','UNKNOWN')
INTO c
FROM dept
WHERE loc='INDIA';
EXCEPTION
c := 'UNKNOWN';
END;
DBMS_OUTPUT.Put_Line('DEPARTMENT IN INDIA'||c);
END;HTH
John -
ISE 1.2 - Multiple NICs/Load Balancing for DHCP Probe
Hello guys
Just prepping an ISE 1.2 patch 8 setup in our organization. I am going for the virtual appliances with multiple NICs. It will be a distributed deployment with 4 x PSNs behind a load balancer and there is no requirement for wireless or guest user at the moment. I've got 2 points I will like to get some guidance on:
Our DC has a dedicated mgmt network and I plan to IP the gig0 interface of the PANs, MNTs and PSNs from this subnet. All device admin, clustering, config replication, etc will be over this interface. However, RADIUS/probe/other user traffic to the ISE PSNs will be over the gig1 interface which will be addressed from another L3 network. Is this a supported configuration in ISE?
I intend to use the DHCP probe as part of device profiling and will ideally like to have just an additional ip helper to add to our switch SVI config. Also, it will appear that WLCs can only be configured for 2 DHCP servers for a given network so another consideration for when we bringing our WLAN in scope. We however use ACE load balancers within our DC and from what I have read, they do not support DHCP load balancing. Are there any workarounds to using the DHCP probe with multiple PSNs without having to add each node as an ip helper/DHCP server on the NADs?
Thanks in advance
SayreHello Sayre-
For Question #1:
Management is restricted to GigabitEthernet 0 and that cannot be changed so you should be good there
You can configure Radius and Profiling to be enabled on other interfaces
Even though you are not using guest services yet, you can dedicate an interface just for that. As a result, you can separate guest traffic completely from your production network
Take a look at this link for more info:
http://www.cisco.com/c/en/us/td/docs/security/ise/1-2/installation_guide/ise_ig/ise_app_c-ports.html
For Question #2
If you are using a Cisco WLC and running code 7.4 and newer you don't need to mess with the IP helper configurations.
The controller can be configured to act as a collector for client profiling and interact with the DHCP thread along with the RADIUS accounting task that is running on the controller. The controller receives a copy of the DHCP request packet sent from the DHCP thread and parses the DHCP packet for two options:
–Option 12—HostName of the client
–Option 60—The Vendor Class Identifier
After this information is gathered from the DHCP_REQUEST packet, a message is formed by the controller with these option fields and is sent to the RADIUS accounting thread, which is in turn transmitted to the ISE in the form of an interim accounting message.
Both DHCP and HTTP profiling settings are located under the "Advanced" configuration tab in the WLC
On the other hand, you can also use Anycast for profiling. You can check out some of Cisco Live's sessions for more info on that. Here is one that is from a couple of years (There are more recent ones that are available as well):
http://www.alcatron.net/Cisco%20Live%202013%20Melbourne/Cisco%20Live%20Content/Security/BRKSEC-3040%20%20Advanced%20ISE%20and%20Secure%20Access%20Deployment.pdf
I hope this helps!
Thank you for rating helpful posts! -
I'm try to buy a movie from iTunes with my I pad 3 and it tells me there is not enough local storage and when I go to my local storage there is a lot on free storage I also restarted my ipad but still the same prob what do I do?
5GB is typically not enough space to download a movie. Often, movies take from 3 - 5 GB to begin with. The only option you have is to delete more things from your iPad. You can remove unused Apps, pictures, music, text message (messages with pictures can take up a lot of space), email messages, books, magazines etc.
-
Issue in FF v 3.6.10: I have a web page which have more than 20 link, clicking on each of these link opens up a pop-up using window.showModalDialog, for the first consecutive 20 popup opens up without any prob but for the 21st n more click it block the popup and do not open. This is m problem, the real user on the web page can click on more than 20 link in such a scenario it may create problem, please help
Your above posted system details show outdated plugin(s) with known security and stability risks.
*Shockwave Flash 9.0 r999
Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
*http://www.adobe.com/software/flash/about/
In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
http://java.com/en/download/faq/firefox_newplugin.xml
See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html -
Hiring action with reference Pernr via HR_MAINTAIN_MASTERDATA
Ciao,
I need some help to solve the following problem:
I get all needed data for an hiring action via external interface and need to perform the hiring action with HR_MAINTAIN_MASTERDATA by passing a reference personel number to the function.
my problem: theres no chance to pass the parameter RFPNR to HR_MAINTAIN_MASTERDATA and so the function does not link the new PERNR to the CP of the RFPNR
therefore, the function creates a new employee with a new central person (CP) instead of linking the new employee to the central person of the passed RFPNR and copying the relevant infotypes
my question: does somebody know how to make HR_MAINTAIN_MASTERDATA work with the reference Pernr (RFPNR) ?!
alternatively I could delete the link between the new employee and it's (new) central person, insert a new link between the central person of the referenced employee and the new employee and delete the crfeated central person of the new employee.
as result I would have correct links to the CP BUT I'm facing the problem, that the infotypedata of the CP was not taken over to the new linked employee ...
is there any function or report, that copys relevant data (infotypes) from a central person to it's linked employees (PERNRs) ?!
would be nice if anyboday could help me or give me a small hint
thanks,
MarkusI found the solution by myself ....
Problem: hr_maintain_masterdata crashes with shortdump while writing an hiring action.
Cause: we implemented infotype enhancements via userexit where parameter VIEKN is queried. The parameter VIEKN is saved in infotype 3. In LUW-mode 3 theres no existent IT0003 when hiring a person (because nothing is written to database) that causes the shortdump ...
solution (workaround): First I have to call maintain_masterdate just with infotype 0000 (without reference pernr!) ... that triggers the creation of it0003 by the system itself ... then I have to call a second maintain_masterdata with all the other infotypes of the action and everything works fine! Now the new person is in the system and while creating the person, the system also created a new central person and a link between the new CP and the new person.
after doing this (and did'nt get any failure!) I have to determine the central person (CP) of the referenced person, making a new link between the new person and the referenced persons CP, deleting the link between the new person an d the new CP, deleting the new cp and every thing works fine!!!! the reason for this is: infotype 31 just shows the "links" that are defined in OM
if anybody is interested in more details, just contact me
Edited by: Raabiat on Apr 4, 2011 11:35 AM -
Prob. with iTunes, Phone won't shut off. Tks.
3GS with 6.1.3 Prob. with iTunes. When I want to close out of iTunes after a Podcast the App will not close out when I hit Home. All other Apps shut down, only prob. is with iTunes. Cant turn phone off goes back ti iTunes when turned on again. Tks.
I hope the previous replies are wrong. It was my understanding that even when Match is turned off in iTunes, music previously matched or uploaded to iCloud will stay there, associated with my Apple ID, even through a cold boot etc. If you want to remove songs from iCloud, but keep them locally, do this:
1. Click "Store" in the iTunes top Menu
2. Select "Turn on iTunes Match" (if it isn't already turned on)
3. Close iTunes.
4. Hold down the Shift key while you open iTunes - this will prompt you to choose or create a (new, locally empty) Library in a different folder from your main Library.
5. Now you should see ONLY music that is stored in iCloud.
6. Delete them all. iTunes will show a checkbox or button for you to click to delete the selected items from iCloud.
7. Turn off iTunes Match (see #1)
8. Restart iTunes with the Shift key again, so you can get back to your main Library - with Match turned off. -
Prob with iTunes on Vista! Please Help!
hi guys,
i am getting the following error message when i install iTunes 7.5 version
[IMG]http://img403.imageshack.us/img403/8344/itunesprobbo9.jpg[/IMG]
i also tried iTunes 7.4 version but i am getting the same error message
iTunes used to work before, but suddenly the prob
i tried unistalling and installing the app again but in vain...
Please Help!
Thanks in advance!
-Manish“iTunes.exe – Bad Image” ... “C:\Windows\system32\mssip32.dll is either not designed to run on Windows or it contains an error. Try installing the program using the original installation media or contact our system administrator or the software vendor for support.”
Okay. Literally, it's saying that one of the dlls associated with Cryptographic Services on the PC is damaged. That can cause an iTunes launch failure.
... However, most of our experience here at Discussions is with troubleshooting these sorts of messages on Windows XP systems, rather than Vista and I don't have a Vista box handy for reference.
So, if you don't receive any further replies here, it might be best to try posting instead at the Windows Vista Community Discussions Groups. Fingers crossed someone there might be better placed to help you troubleshoot this:
http://windowshelp.microsoft.com/communities/newsgroups/en-us/default.mspx
(Not trying to get rid of you here, just trying to get you on the radar screens of people who might be in a better position to help.) -
Telegraph app does not allow access to newspaper. Says. Have not paid sub but pay via iTunes Store. Telegraph says it is an iTunes prob but I can't get to talk to anyone there! Any suggestions please?
Just got this -
Dear iTunes Customer,
You recently received an email informing you that your iTunes Match Subscription could not be auto-renewed. We have resolved the problem and your iTunes Match Subscription has been renewed.
We apologize for the delay with your auto-renewal. If you have any questions, please contact AppleCare at http://www.apple.com/support/itunes/
I hope everyone else is all set too. -
hi, have a iphone/macbook itunes prob. i connected my phone to mac to add songs, and it wiped 99% of music from my phone. on the mac it still lists the songs on my phone but they are greyed out. can anyone help? very frustrated and want my music back.
I am having the same problem. I have just tried this. Unplug iphone > open itunes > delete all music from itunes library > close itunes > re-open itunes > add music from original folder > plug in iphone > select songs > press sync > unplug iphone using eject button onscreen > checked phone .... still nothing in music folder on phone. On itunes the "On this iphone" tab the songs remain there but greyed out.
-
itunes in my laptop is not showing my iphone5 (7.0.4) but it has no problem wat so ever showing in another laptop...and my laptop has no prob showing other iphones
Hi siva samba,
If you are having issues with your iPhone not being recognized in iTunes, you may find one of the following articles helpful:
iOS: Device not recognized in iTunes for Windows
http://support.apple.com/kb/TS1538
iOS: Device not recognized in iTunes for Mac OS X
http://support.apple.com/kb/TS1591
Regards,
- Brenden -
iTunes took back my entire library to force me to subscribe to Cloud, but now it will not re-download all of my purchases, and the Cloud also seems to want to wipe my iPad (has done it twice). 2 hours on the phone with Apple no help. Anyone w/same prob?
I guess I should have been more clear. One morning (5 days ago now) we realized that our complete itunes library was gone--all media (music, shows, movies, podcasts) was gone and could not be located on our hard drive. When I went onto itunes under the "help" section there was a comment that you could upgrade your itunes to Cloud and then access all your purchases and either re-download them or play them from the itunes page. So, I upgraded itunes and went about accessing all my purchases(thousands of dollars worth of media--so you can imagine my stress). Meanwhile, my husband was at work with his ipad and realized that everything was gone--all his apps, music, even apps for work that were downloaded at his work. Completely gone. I told him that I had found everything on Cloud and that he could probably just re-download everything when he got home but we both agreed it was weird. When he got home he noted that only about 1/3rd of our purchases were available on the Cloud website--all of my son's shows were still not there and many albums that we had bought over the last year were still missing. My husband called Apple yesterday and spent two hours on the phone with them. He said it was all very mysterious as they would not admit or deny anything and he said that he spoke with several people that were very ambiguous about what had happened and were careful about what they said. They agreed to re-release to us all of the media that we could not access on Cloud, but that they could not provide us with media that had copyright expired. They basically said it was our fault for not backing everything up on a separate system. While we explained that we do have a back up hard drive, we don't back up every time we make a purchase--so we haven't done so for several months. Then, this morning my husband was on his ipad and a message popped up that froze the ipad and it said that he needed to sync into itunes. He did so and then when he went back to unplug to go to work he realized everything was gone again! All his apps, music, everything. He was so upset because he saw no reason why this keeps happening.....Any thoughts??
Maybe you are looking for
-
Compare creation of Datasources and JMS Queues : SAP vs (Weblogic/Websphere
I am used to creating JDBC Datasources and JMS Queues on Weblogic/Websphere thru their Admin applications. Can someone compare/contrast that process to that on SAP's netweaver ( either using NWA or Visual Administrator). Thanks
-
SQL CASE STATEMENT IMPLEMENTATION
REquirment • Add indicator to the end of the files, (position 1051 in both extracts, either have value of Y or N). o DUAL COVERAGE (Y/N) • Logic to determine indicator values from Member Eligibility Table: o For ‘Y’ indicator: o When dbo. CMC_MEPE_PR
-
Use ADF in E-Business suite r12
Hi I user E-Business suite r12, is there any document how to use ADF embded inside OAF. Thanks
-
How to get keydate properties in the report.
Dear Experts, One of my query have a Keydate Properties which promote users when refreshing data. And then in the report, when I try to use function UserResponse("dp.kd.value") to get the value of this date, the result is a nubmer such as "1249084800
-
can i write this type of syntax in where clause :where (id,name,sal) in(10,'xxx',2000)