Query on 0024(skill infotype)
Hi all,
i need to upload mass data for info type 0024 (skill).
i need to use bapi for the same.
could any1 help me on this.
i am new to BAPI.
please help me from the start.
thanks
Anuj/.
Search before posting further
Edited by: Vijay Babu Dudla on Jan 29, 2009 8:45 AM
hi
check out this documentation
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5e11cf4a1611d1894c0000e829fbbd/frameset.htm
hope this helps
regards
Aakash Banga
Similar Messages
-
Error while creating a query for my custom infotype
Hi,
I have created a custom infotype with fields currency amount and currency field .
While I am creating a query for it its giving an error
Message no. AQ_AD_HOC221 Error when generating the report(see long text )
I tried to execute the standard program RPUMS40CCI but still I am facing same error .
I have also maintained table T777i for my infotype but still problem exists.
Please help.
PHi
Check in PM01 -
SAP Query to join action infotype with additional action infotype
We have created SAP Query on PA0000 which shows all actions that are executed for an employee.
The problem is that if two actions are exceuted on the same day then it shows only one action instead of showing both the actions.
As two actions are executed on the same day it will be stored in additional action infotype(0302).We tried to join PA0000(Action infotype) with PA0302(additional action infotype) in SAP Query by using joins(inner join/outer join) but it shows duplicate records.
Is there any way to get additional action along with records of action infotype without any duplication in SAP Query.All entries that are in PA0000 will be in PA0302, but not vice-versa so you just have to reverse what you are currently doing, i.e.: create a Query on PA0302 and join to PA0000, and then make sure your selection criteria is from PA0302 and not PA0000.
-
SAP Query - Reporting on Simulation infotype 2501
We defined reporting time types for the SAP delivered infotype 2501 to report from the ZL cluster. However, when we report the data using SAP Query, for a few records, the following is observed:
(1) Basic list output in Query report splits the record as only 50% (half) of the time is output when compared to the data in the cluster.
(2) If you also use the same field in a Statistics output, it seems to report the full amount of time as recorded in the cluster.
The discrepancy is noticed only in a very few records reported by SAP Query. We need to be absolutely sure as to why some records are not reported accurately by SAP query basic list output for the simulated infotype.
I would appreciate your help
Thanks
PascalHi Pascal,
Since the IT2501 is a "Simulated Time Infotype" you cannot look at the data in it, but you can confirm the data from the ZL cluster and the data from the employee. Since it is only this employee or a few employees, it is probably not the configuration of the time buckets for the IT2501, but you may want to make sure all time times are captured as you want. Then look at the time entries for this individual or individuals. Did they enter a time type that was not expected or configured? Is all their time approved and passed through Time Evaluation? Finally check the Master Data for the employee - is the Planned Working Time (IT0007) infotype correct or has it been recently changed? Is he in a special Cost Center (IT0027) or Project that is captured differently for time purposes?
Since it just one or a few individuals, I would suspect the Master Data and some inconsistant entry that affects the time cummulation for the IT2501.
Paul -
Query Related to Custom InfoType Modification on Screen ?
Hi There,
We had created a custom infotype 9003, for entering service related details of the govt.employees. Here in the req had a field regarding for Physically Handicap with only possible anwers as yes or no. so i went on creating two different field in the structure PS9003 two fields ZPHYC_Y & ZPHYC_N each having 1 character as input. after this i converted these two input fields to Radio button & combined them in group using Screen Painter also assigned a single function code to these two radio button. Now my other requirement is upon selecting Yes radio button a second field displaying a dropdown box of possible Phy.Category should be displayed. & upon selecting No the Box should remain greyed out. This is a typicall HR Requirement Please provide your suggestions
Edited by: priyeshosi on Apr 6, 2011 8:01 PMI have resolved this ticket by creating a subscreen inside the original Infotype screen & calling the custom visibility function module & at there doing LOOP AT SCREEN in PBO event of the subscreen.
Edited by: priyeshosi on May 10, 2011 10:19 PM -
How to update infotype 0024 in HR
Hi all,
I have a requirement to update the qualifications of an employee. That is, i need to modify the Proficiency value of a qualification (qualification tab) in IT 0024 and create new qualification record IT 0024.
Can someone help me what is the function module used to modify proficiency and create new qualification record in IT 0024.
Also, how to query IT 0024 data? Bcoz i have to read the qualification data first in order to modify the existing proficiency value? If we update IT 0024, then will this be reflected in OM (P to Q relation in HRP1001 table)?Hi,
IT 0024 is different from other infotypes. You need to use special FMs to read and write this infotype also delete it. Which are:
RHPP_Q_PROFILE_DELETE
RHPP_Q_PROFILE_READ
RHPP_Q_PROFILE_WRITE
RHPP_Q_PROFILE_WRITE_N_DIF
İ'm also adding some infos and code sample for you.
"declaration
DATA : profile LIKE hrpe_relaq OCCURS 0 WITH HEADER LINE.
"fill it
*& Form fill_profile
FORM fill_profile .
IF r_tpos = 'X'.
profile-tbjid = 50000041.
profile-profcy = 0003.
APPEND profile. CLEAR profile.
profile-tbjid = 50000042.
profile-profcy = 0003.
APPEND profile. CLEAR profile.
profile-tbjid = 50000043.
profile-profcy = 0003.
APPEND profile. CLEAR profile.
ELSE.
profile-tbjid = 50000044.
profile-profcy = 0003.
APPEND profile. CLEAR profile.
profile-tbjid = 50000045.
profile-profcy = 0003.
APPEND profile. CLEAR profile.
profile-tbjid = 50000046.
profile-profcy = 0003.
APPEND profile. CLEAR profile.
ENDIF.
ENDFORM. " fill_profile
"usafe of fM
DATA lv_objid LIKE p1001-sobid.
lv_objid = gs_24-pernr.
CALL FUNCTION 'RHPP_Q_PROFILE_WRITE'
EXPORTING
plvar = '01'
otype = 'P'
objid = lv_objid
* VTASK = 'D'
TABLES
profile = profile.
CLEAR lv_objid.
Çağatay -
Hi experts!!
Is possible to do queries and get information from Infotypes and RT table in the same time.
We would like to do a query with information from infotypes an RT table, we don't want do a query for the data from infotypes and another one to get data from de rt table (PC00_M99_CWTR).
How is possible to do this kind os queries?
Kind regards,
JulianTo check on how to use cl_hr_pay_access class, I would first try google and then the where used list button while reviewing said class in se24 tcode - example of use: RPCGR1K0
DATA: pay_access TYPE REF TO cl_hr_pay_access. "access of payroll result
CREATE OBJECT pay_access.
CALL METHOD pay_access->read_cluster_dir
EXPORTING
pernr = pernr
IMPORTING
cluster_dir = rgdir[]
EXCEPTIONS
OTHERS = 4.
CALL METHOD pay_access->read_pa_result
EXPORTING
pernr = p_pernr
period = p_rgdir
molga = '07'
IMPORTING
payroll_result = pay_result
EXCEPTIONS
no_authorization = 1
read_error = 2
country_version_not_available = 3
OTHERS = 4.
CALL METHOD pay_access->read_pe_result
EXPORTING
pernr = p_pernr
period = p_rgdir
molga = '07'
IMPORTING
payroll_result = pay_result_person
EXCEPTIONS
no_authorization = 1
read_error = 2
country_version_not_available = 3
no_person_data = 4
OTHERS = 5.
result will be held in pay_result_person->inter deep structure
RT is inter-rt
BT is inter-bt
Or you can use function PYXX_READ_PAYROLL_RESULT - again - google or where used in se37 tcode. standard use in RPCDCI00
* FORM GET_PAYRESULT *
* read the internationl part of the payroll result from sequential *
* number I_SEQNR. *
form get_payresult using i_seqnr like pc261-seqnr
changing cs_payxx_result type pay99_international.
field-symbols: <payxx_result> type pay99_international.
call function 'PYXX_READ_PAYROLL_RESULT'
exporting
employeenumber = pernr-pernr
sequencenumber = i_seqnr
changing
payroll_result = <pay_result>
exceptions
illegal_isocode_or_clusterid = 1
error_generating_import = 2
import_mismatch_error = 3
subpool_dir_full = 4
no_read_authority = 5
no_record_found = 6
versions_do_not_match = 7
error_reading_archive = 8
error_reading_relid = 9
others = 10.
if sy-subrc <> 0.
case sy-subrc.
when 5.
perform error using c_er_payauth i_seqnr space
space space c_yes.
when others.
perform error using c_er_readpay i_seqnr sy-subrc
space space c_yes.
endcase.
endif.
assign component 'INTER' of structure <pay_result>
to <payxx_result>.
cs_payxx_result = <payxx_result>.
endform. " GET_PAYRESULT
Good luck. -
Dear All,
When i am running adhoc query for a particular infotype iam getting fine.
My issue is iam not getting the start and end date of the record.
can any body help me out how to get the start date and end date of each record.
Thanks in advance
Regards
Ananya.KHi,
If you want to add the dates to the output of the querry, While creating/editing the query, you should add feilds ENDDA and BEGDA for the infotype to get the start and end date correct.
If this does not answer your question, could you explain your query in detail?
Thanks,
Dhiraj -
Hi All,
This is regarding a problem in the adhoc query.
For one adhoc query in the selection field only personnel number is there. The adhoc query selects from 0022-infotype.In this case if the reporting period is ALL, all infotype records belonging to 0022 infotype are selected. Even if the end date of the infotype record is less than the initial date of Org.assignment.
For the second adhoc query in the selction field only
personnel area is there. In this case the adhoc query doesnot select infotype record belonging to 0022 infotype
if the end date of the infotype record is less than the Org.assignment.
Can anyone explain me this strange behaviour.
Points will be rewarded.
Regards,
AravindSome more additional info about the problem.
Suppose in the selection screen there are 4 fields
Company code, Personnel area, Personnel sub area and Personnel number.
If you fill both Personnel subarea and personnel number,
data record belonging to education infotype but whose end date is greater than the start date of Org.assignment
infotype is not selected.
But if you fill only personnel number the same data record belonging to education infotype is shown with blank values for Org.assignment.
I tried debugging and found out that in the first case
since there is no Org. assignment record for the time period of the education infotype nothing is shown.
In the second case, it is allowed to be shown with blank values for Org.assignment.
Any explanation for this behaviour? -
Problem with a Currency field in Adhoc Query - HR
Hi,
I have an Adhoc query that uses Custom infotype fields (Z infotype and z fields).
The currncy field also has a reference field in the infotype (of type waers).
Wehen we try to get the ouput of the Adhoc Query it gives following error:
The report cannot be generated because the internal description is invalid or incomplete, or because the selection screen is too large.
Regenerate the assigned InfoSet, and read the log. If the InfoSet is OK, make sure that at least one field is given as output.
If you used the 'Refresh' icon to start the query, use the 'Output' menu option to execute the query. This gives you a full screen display of the data.
If an output was generated, the query cannot work with actual data in the construction view. In this case, always use the 'Output' function to execute the query.
I have already tried a number of solutions:
1> Regenerate the infoset...
2> make the field as an additional field and write my own code for it (the error comes before the code as i kept a breakpoint but it stopped before that)
if i add other fields of this infoset instead of this field, then those appear in the output.
Any solutions ??
thanks in advance,
AnujHi,
Is the problem not clear or no one has an answer?
Please reply with some suggestions..
Regards,
Anuj. -
HR ABAP : Read Infotype.
Hi,
I have small query regarding HR abap infotype.
Take example of infotye PA0001. From this infotype I require to retrieve all PERNR which are effective on today (say 22nd Nov 2006).
Is there any standard Function Module or micro available?
Thanks,
Sunil Bhavsarhmmm sunil but functions also use select statements somewhere deep down to get the data you want. only difference is that there are more checks involved which are not when you do select straight away (like authorisation for infotype 0001 can already be included in the function)
It is only from a programming point of view always advisable to use functions or bapis to retrieve or alter information if the are around so you are certain that when you upgrade that the functions keep on working while you're own code might not because of changes in the system
I don't see a faster way to make the select
select pernr from pa0001 into corresponding fields of table i_pernr
where... (see above example).
it always help to look in se11 at pa0001 to see which fields are indexed. if you can you can optimize you're code by adding keyfields to you're where statement to minimize you're selection.
i'm not behind sap now but if the company is for instance a keyfield you can do
select pernr from pa0001 into corresponding fields of table i_pernr
where company = 'companycode'
Message was edited by:
A. de Smidt -
SAP HR - Infotype 0021 in 0006
Hi,
We have made an enhancement to infotype 0006 and added the standard field FAMSA ( From P0021 ). On creating a SAP Query using SQ01 for Infotype 0006, the field FAMSA(Type of family record ) appears along with "Text:Type of family record".. No problems so far...
When the query is run, thid text field doesn's show up values whereas the field FAMSA does as it is a part of PA0006 now.
I have added the Explicit Search help for field FAMSA...
On debugging the standard query I found out that the text is obtained from table T591S on passing the infotype as 0006 and the subty...
Whereas table T591s has values for field FAMSA when infotype is 0021..
But because the field FAMSA is created under PA0006, the infotype values is passes as 0006..
Any suggestions??Hi,
As already told by Param you are getting the Default values for Company code, Personal area, Personal Sub Area and Business Area because of Account assignment infotype - IT1008 - for your position or Org Unit
Go to PPOME and check the Account assignment of your position or Org unit. The default values are stored here.
or else you can also check from PO10 or PO13 and infotype 1008.
You will have PA value defaulted on IT 0000 screen and others defaulted on IT 0001 screen.
You can change these values on respective screens. A warning will be issued but you can overwrite them.
hope this helps
Ajay -
ABAP Query insterting 'NO' on output
Hi Gurus!
I've created an ABAP Query which reads various Infotypes in HR.
There are screen modifications which hide\display certain fields on Infotypes depending on the Country Grouping.
However, on my Query, when I run for a Country for which a field(s) are hidden, the Query enters the value 'NO' on the Query output.
Basically, the screen modification has the field(s) hidden for that Country - so no data can be maintained for it.
But the field(s) is available for other Country Groups.
If I run the Query for an Employee, it returns the value 'NO' in a column even though no value can be maintained in the field as it's hidden by the screen modification.
Does this make sense?
Here's an example:
On each Employee Master in Bahrain (Country - BH), the date of a Medical Examination must be indicated.
This Infotype also exists for Employees in Ireland (Country - 11) - however the 'Date of Medical Exam' field is hidden by a screen modification.
When I run my Query, it inserts the word 'NO' in the 'Date of Medical Exam' field when it's run for EEs in Ireland.
This field is hidden on the Infotype as it's not required.
Do you know if the ouput value can be left blank instead of inserting the word 'NO' when the Query is selecting data from fields which are hidden via screen modifications???
Thanks,
kAT LINE-SELECTION.
case sy-cucol.
when 16 OR 17 . "Col No
DATA: BDCDATA TYPE TABLE OF BDCDATA.
DATA: ITAB TYPE TABLE OF BDCMSGCOLL.
DATA: PROGRAM LIKE SY-REPID,
WA_BDCDATA TYPE BDCDATA.
WA_BDCDATA-PROGRAM = 'SAPMV45A'.
WA_BDCDATA-DYNPRO = '0102'.
WA_BDCDATA-DYNBEGIN = 'X'.
WA_BDCDATA-FNAM = 'VBAK-VBELN'.
WA_BDCDATA-FVAL = IT_ITAB-VBELN.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
CALL TRANSACTION 'VA03' USING BDCDATA MODE 'A'
MESSAGES INTO ITAB.
Regards
Ravi -
Change / update Infotype u201C0000u201D during/after the 759 process
Hi All,
Can anybody tell me the process to
change / update Infotype u201C0000u201D during/after the 759 process.
Is there any BADI or Exit or any other way to update Infotype '0000' when we make changes in infotype '0759'??
Thanks in advance..Hi Friends,
I too have a same query to update the infotype " 0000 " Actions. During or After the changes of the compensation process infotype " 0759 " .
Could any body can give me a suggestion of Update FM or BADI or any Exits to update the
infotype " 0000 ".
Regards,
Vikram.C -
Dear Gurus,
I am implementing recruitment modules and actions which I am going to configure is following
Initial entry of basic data, Call for Interview/Test, Reject applicant, Put applicant on hold, Offer applicant contract, Applicant rejects contract And Prepare to Hire
Infotypes which suggested using for recruitment are the following
Applicant Action (4000),Applications(4001),Vacancy Assignment (4002), Applicant Activities (4003),Status of Applicant Activity (4004),Applicant Personnel Number (4005),Organization Assignment (0001),Personal Data (0002),Address (0006) and Education (0022).
Anybody can suggest that any more infotypes I need to add as per standard and how I have group these infotypes as u201Cinfogroups u201Ccorresponding to each Applicant actions like
Initial entry of basic data INS 0001 Organizational Assignment
MOD 4001 Applications
INS 0006 Addresses
Thanks and Regards
CarlosFollowing are the standard infotypes which are available in standard system support. For grouping, please have a look of table, VV_T588B_IAP____AL0,
Infotype Infotype name
0001 Organizational Assignment
0002 Personal Data
0006 Addresses
0007 Planned Working Time
0008 Basic Pay
0009 Bank Details
0014 Recur. Payments/Deds.
0015 Additional Payments
0016 Contract Elements
0022 Education
0023 Other/Previous Employers
0024 Skills
0028 Internal Medical Service
0041 Date Specifications
0042 Fiscal Data A
0077 Additional Personal Data
0105 Communication
0107 Working Time
0108 Personal Data B
0109 Contract Elements
0185 Personal IDs
0190 Construction Pay: Previous ER
0280 GB View for Contractual Elements
0336 Suppl. it0002 (PT)
0342 Personal Data HK
0343 Contract Elements HK
0395 External Org. assignment
0396 Expatriate attributes
0398 Contractual Elements BR
0432 View: Type of Employment
0433 GB View for Bank Details
0465 Documents
0480 Enhancement: Contracts Processing
0488 Leave Scheme
0493 Education (PS-SG)
0502 Letter of appointment
0539 Personal Data
0623 Career History (Public Sector BE)
0625
0633
0695
4000 Applicant Actions
4001 Applications
4002 Vacancy Assignment
4003 Applicant Activities
4004 Applicant Activity Status
4005 Applicant's Personnel Number
Maybe you are looking for
-
Everything correct, but the images are not there
Ok, with the podcast I do, All Things Gaming throught www.upstatefighting.com, I went throught and added the album art for the cast in the feed that we use. I checked in the store, and the image shows up. But when I resubscribe to the podcast, the
-
Only using Quick Edit to interact with a list/view in Sharepoint 2013
Hello All, I would like users to only interact with a view in Quick Edit mode as it has all the functions I need (Edit,add and delete) without having to open Web Forms. Is there a way to hide the "New Item" link on all current and future views for a
-
Everything on this card works fine. But when i try the tv in on my camcorder its not in color. Im using the Intervideo winproducer that came with the card with a COLOR sony camcorder. Any ideas?
-
How can I copy all of G/L accounts from one company code to another company code?
-
when I try to install this update I get the message an error has occured The operation couldn't be completed. (NSURLErrorDomain error -3001.)(102) - can anyone help my get the update please?