Picking up data from infotype 0025
hi all,
I want to read some data from infotype in my abap program. In infotype 0025, in the tab 'Appraisals where Appraisee' , when I click on the first link, say 'Supervisor appraisal', I get a screen where there is a table . I want to select the value of 'HAP_S_DYNP_3100_TB-COL_01_VALUE_TXT', but HAP_S_DYNP_3100_TB is a structure and COL_01_VALUE_TXT' is a field of a table control, so how to pick up this kind of data in my program???? Please suggest some sample code for that.
Thanks
Ribhu
hi all,
I want to read some data from infotype in my abap program. In infotype 0025, in the tab 'Appraisals where Appraisee' , when I click on the first link, say 'Supervisor appraisal', I get a screen where there is a table . I want to select the value of 'HAP_S_DYNP_3100_TB-COL_01_VALUE_TXT', but HAP_S_DYNP_3100_TB is a structure and COL_01_VALUE_TXT' is a field of a table control, so how to pick up this kind of data in my program???? Please suggest some sample code for that.
Thanks
Ribhu
Similar Messages
-
Data Retrieval from infotype 0025
hi all,
I want to read some data from infotype in my abap program. In infotype 0025, in the tab 'Appraisals where Appraisee' , when I click on the first link, say 'Supervisor appraisal', I get a screen where there is a table . I want to select the value of 'HAP_S_DYNP_3100_TB-COL_01_VALUE_TXT', but HAP_S_DYNP_3100_TB is a structure and COL_01_VALUE_TXT' is a field of a table control, so how to pick up this kind of data in my program???? I tried RHPA_APPRAISEES_APP_READ but this function does not give me any results.
Thanks
yogeshHi Yogesh,
Make use of below FMs to fetch the data from IT0024 -
* Fill t_pernr_tmp with employees (PERNRs) as follows -
t_pernr_tmp-plvar = '01'.
t_pernr_tmp-otype = 'P'.
t_pernr_tmp-sobid = '00000001'. "give employee number here
append t_pernr_tmp.
* READ QUALIFICATION
CALL FUNCTION 'RHPP_Q_PROFILE_READ'
EXPORTING
begda = w_low "provide date in sy-datum format
endda = w_high "provide date in sy-datum format
with_stext = c_x
with_qk_info = c_x
TABLES
OBJECTS = t_pernr_tmp
profile = t_qual_data
EXCEPTIONS
no_authority = 1
wrong_otype = 2
object_not_found = 3
undefined = 4
OTHERS = 5.
* here t_qual_data will have qualification data.
*after that make use of FM 'RHPE_QCAT_BRANCH_READ_UP' and the *t_qual_data table to read the branches of qualification data. -
XI Adapter Engine Not picking the data from FTP Server ?t
Hi All
We have upgraded oracle in our landscape
from 10.0.2.0.2 to 10.2.0.4.0
we have Redwood System , which runs the interfaces
Redwood initiates Our Satellite XI system to pick the data from the ftp server
but after the upgrade , it is not able to pick the data from the ftp server .
when checked in the Satellite XI Adapter engine getting following error
"XI Engine Error occurred while connecting to the ftp server java.net.socketException:Connection Reset"
but we are able to ftp from Satellite XI Adapter engine to ftp system manually but why Satellite XI Adapter engine is not the
picking the file (ie data) from the ftp server.
Immediate Response is highly appreciated
Regards
Edited by: sidharthmellam on Nov 23, 2009 11:54 AMHi Sidharth,
Please give me the FTP connection parameters mentioned in the channel.
Did you try stopping and starting the channel ?
If not please stop and start the channel.
Also catch the default trace and paste it.
Cheers...,
Raghu. -
Hi,
My client wants me to download all the data in infotypes(std and custom) from production client. Then they will migrate this data to their new system. What would be the approach for downloading?
1. Through SE16N (we are not authorized to use SE11/SE16)? But couldnt save the data to local file when we use se16n.
even i get se11 authorization -> we can download only 64,000 records in excel. Do i need to split? or any other way?
2. Write custom progms to download data from infotypes.
3. Any data migration tools ?
4. Basis can do client copy?
Thanks!Hi,
U can write a report to donwload data, but my preferde way is to use the hr toolbox (Transaction PU12), it's very simple to use .
Here is a link to know how ti use it :
http://shafiq.us/sap/index.php?option=com_content&view=article&id=47:hr-interface-toolbox-pu12&catid=36:pu12tutorial&Itemid=14
i Hope it helps u. -
Hi Experts,
I have to fetch all data from infotype 0581,can you suggest me how to do this
in sap abap-hr.
I am not using LDB in my report.
Thanks&Regards
PriyaranjanYou can use Function module "HR_READ_INFOTYPE"
-
How to upload data in infotype 0025 (Appraisals)
I want to make an upload program for infotype 0025 (Appraisals). The program will upload the data in 'Potentials' but I cannot make a recording work in it. Each time the system posts the data into next row and recording does not work since the line number is fixed in recording. There is no + sign to add a row at the top. Can someone please tell me a way to do this or if there is a Function Module that can upload data into infotype 0025.
ThanksDear Sohaib,
This upload could not be performed by BDC recording. You will have to make use of around four Appraisal BAPI's to create an entry in Infotype 25(Appraisals). I had the same scenario of uploading appraisal data here at NBP(National Bank of Pakistan). Here is the link for the article i wrote,covering this topic in depth,along with the complete solution:
http://scn.sap.com/docs/DOC-32084
If you like this article,kindly flag it as a 'Correct Answer.
Regards,
Fahad -
Reading dates from infotype 41
I need to obtaint a subtype of date from infotype 41 but the problem is that infotype 41 has many fields like
dar01 - dat01, dar02 - dat02, darN - datN the subtype that I need is the '01' but I don't know how to get it becuase sometimes is in the dar01, or in the dar02, or darN, is there any function module that can help me?
Thanx in advanceHi ,
This exactly what you are trying to do
*--Decleare internal table
TYPES : BEGIN OF ty_pa0041,
pernr TYPE pa0041-pernr,
dar01 TYPE pa0041-dar01,
dat01 TYPE pa0041-dat01,
dar02 TYPE pa0041-dar02,
dat02 TYPE pa0041-dat02,
dar03 TYPE pa0041-dar03,
dat03 TYPE pa0041-dat03,
dar04 TYPE pa0041-dar04,
dat04 TYPE pa0041-dat04,
END OF ty_pa0041.
DATA : lt_pa0041 TYPE STANDARD TABLE OF ty_pa0041,
ls_pa0041 TYPE ty_pa0041.
*--Read Secondment end date ( For my case it's RG)
SELECT pernr
dar01 dat01 dar02 dat02 dar03 dat03 dar04 dat04
INTO TABLE lt_pa0041
FROM pa0041
WHERE pernr = gs_final-pernr AND
endda = '99991231'.
*--Find out corrosponding date according to 'RG'
LOOP AT lt_pa0041 INTO ls_pa0041.
IF ls_pa0041-dar01 = 'RG'.
lv_date1 = ls_pa0041-dat01.
ELSEIF ls_pa0041-dar02 = 'RG'.
lv_date1 = ls_pa0041-dat02.
ELSEIF ls_pa0041-dar03 = 'RG'.
lv_date1 = ls_pa0041-dat03.
ELSEIF ls_pa0041-dar04 = 'RG'.
lv_date1 = ls_pa0041-dat04.
ENDIF.
ENDLOOP.
I hope it fits your requirement -
How to retrive data from infotype 0008 &0021 and dispaly as alv output
hi all,
i have to read data from infotype 0008 and infotype 0021 and display as alv grid..
can any one help me..
<removed by moderator>
regards,
viswanath
Moderator message: please search for information and try yourself before posting here.
Edited by: Thomas Zloch on Jan 12, 2012Hello Sourabh,
If I am not wrong, there are two parts two your query...
a) Data or Content Retrieval
b) Displaying Retrieved content
Here is my feedback
a) The Content can be Retrieved using the FM ARCHIV_GET_TABLE.
Pass the Archive Object, SAP Object and the SAP Object ID and based on the Connection table entries (TOA*), the underlying Content Repository (T-code OAC0) is determined and a request for synchronous retrieval is made to the Content Server.
b) Display of Retrieved content is normally done through dedicated viewers (Ex: Livelink Viewer) or front-end applications (Excel, Word) based on the Protocol (OAA3/OAA4) specified in the Content Reository Configuration. Hence, to my knowledge, you cannot display the content directly in the Smartform.
With Regards
Vijay Gajavalli -
How to retrieve time data from infotypes 2001 and 2002 when we use PNPCE
Hello Everyone,
I am new in using PNPCE ldb.In the requirement i have to retrieve time data from infotypes 2001 and 2002 between the begda and endda.I tried using the macro RP-READ-ALL-TIME-ITY to retrieve data.But its not supporting.Can some body help me in doing this.
THanks in Advance..
Regards,
Chinni.Hi
Try the following code:
REPORT ZHRTM41.
nodes peras.
Tables: PERNR.
Infotypes: 2001.
start-of-selection.
get peras.
rp_read_all_time_ity pn-begda pn-endda.
end-of-selection.
loop at p2001.
write:/ p2001-abwtg,p2001-stdaz.
endloop.
It worked for me when using PNPCE. let me know if you have any problem
Thanks,
V.Nagaraju -
SD delivary report not pick up data from ship-to-party
Hi ABAPER,
I have a report which is pick up data from likp, lips,kna1.But when ever i execute this program it will display report.But in my report the ship-to-party and sold-to-party data will not display in my report. This report is open delivary report. Any one can give me solution.
Thanks in advance.
Regards,
SouravHi Saurav,
from delivery select sales order
***Ship-to-party
SELECT SINGLE kunnr FROM vbpa INTO itab-kunnr1
WHERE vbeln = sale order
AND posnr = order item
AND parvw = 'WE'.
***Bill-to-party
SELECT SINGLE kunnr FROM vbpa INTO itab-kunnr2
WHERE vbeln = sale order
AND posnr = order item
AND parvw = 'RE'.
Regards
Srimanta -
How can i Pick the data from the string
Hi Gurus
How can i Pick the data from the string using regular expressions. for ex:
1) 10000-san0001
2) 3000000-rani0001
3) 30-super003
its doesnt mainain how many characters.
like this i got string. now i only want after the symobl( -) text (san
rani
super) .how can i pick that
can anyone provide me regular expressions.
Thanks & Regards
Sandya
Edited by: sandya rani on Jan 29, 2010 2:51 PMREPORT ZTEST.
data: str1 TYPE string,
str2 TYPE string,
str3 TYPE string,
lenth TYPE string,
str4 TYPE string,
temp type i value '0'.
data: ii type i value '0',
jj type i value '1'.
Data : begin of itab OCCURS 0,
l_string type string,
end of itab.
itab-l_string = '3000000-GUNDALA20001'.
append itab.
clear itab.
itab-l_string = '2045677-iCVj1001'.
append itab.
clear itab.
itab-l_string = '3000-ragh30001'.
append itab.
clear itab.
loop at itab.
MOVE 0 TO ii.
MOVE 1 TO jj.
SPLIT itab-l_string AT '-' INTO: str1 str2 .
clear: itab-l_string,str1.
lenth = strlen( str2 ).
while temp < lenth.
str4 = str2+ii(jj).
if str4 CA 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' or str4 CA 'abcdefghijklmnopqrstuvwxyz'.
if sy-subrc = 0.
CONCATENATE str3 str4 into str3.
endif.
ii = ii + 1.
ENDIF.
temp = temp + 1.
ENDWHILE.
write: / str3.
clear: itab, ii, jj,str1, str2, str3, str4,temp, lenth.
Endloop. -
How to Extract Data from IT 0025 and Modify the layout for Printing
Hi All,
Query----> My client has a requirement to output the appraisal data in a given format from IT 0025. (The entire appraisal done for the employee)
I would like to know from where this data will be picked up is this data stored in some cluster table and how can we change the layout for printing in the desired format?
Note: PA and PD is Integrated. When we create appraisal in IT 0025 no record gets created in PA0025, in which table does the record gets created and how to retrieve the data?hello,
normally stored in pa0025.
are you using the old or new appraisal system?
if you are using the new one. its not stored in pa0025 it is done with relationships..
regards
stefan -
KE30 is not picking the data from summarization level
Hi Techies,
We are facing one issue in KE30 tcode.
We are able to run the same report in our QLTY, its showing "Data is getting fetched the data from summarization level 33" and we can see the output within 5 mins, But if we use same parameters in PRO, its showing "Data is getting fetched from segment level".
So we are not getting data in PRO, its throwing TIME_OUT error....
Request you to suggest how we can map these summarization level to the particular report.
*We have already rebuilt and refreshed the summarization levels, then also it is being picked from segment level.
Thanks in advance,
NIck LoyHi,
In KE30 right click on the report. Click on change. Go to the options tab. In the performnace block check if radio button "use a summarization level" is selected.
If the customizing is correct then the select stamenet generated by the report may not be in sync with the summ level i.e. the chars in the selection of the report must be there in the summ level.
regards
Waman -
Function module for access OM Data from infotype 1001
We had a function module for accessing OM data viz. Infotype 1001. Could you let me know.
Advanced thanks,
Dasaradh kosanaHi Dasaradh,
Do you want the fm which fetches the data from HRP1001 , if this is the case you can use this FM RH_READ_INFTY_1001.
Reward Points if it is helpful
Regards,
Kiran I -
Hello Experts!
I am a beginner in ABAP programming and I have problem with one of my task.
I would like to get all users first and last names from infotype p0002. I've created a class, and method but only thing I've found in the Internet was something like this:
DATA: lt_data TYPE REF TO data,
return LIKE sy-subrc.
FIELD-SYMBOLS: <table> TYPE STANDARD TABLE.
CREATE DATA lt_data TYPE STANDARD TABLE OF PA0002.
ASSIGN lt_data->* TO <table>.
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = '3'
infty = '0002'
begda = '18000101'
endda = '99991231'
IMPORTING
subrc = return
TABLES
infty_tab = <table>
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
me_it = <table>.
ENDIF.
any suggestions how I can use it for all users and how to get data from the result? or is it useless for this task? help pleaseHi Andrew,
There is absolutely no problem with the query i.e. everyone have a beginning and it is upon us how we take it to final stage.
Leave things apart, the answer to your query is suggested below.
Structure:
TYPES: Begin of typ_pa0002,
pernr type pernr_d, "Personnel No.
begda type begda, "Begin Date
endda type endda, "End Date
nachn type PAD_NACHN, "Last Name
vorna type PAD_VORNA, "First Name
namzu type namzu, "Salutation
end of typ_pa0002,
typ_t_pa0002 type standard table of typ_pa0002 initial size 0. "Table Type Definition
Data: l_it_pa0002 type typ_t_pa0002, "IT for PA0002 " Internal Table Definiton
lv_pernr type pernr,
lv_begda type sy-datum,
lv_endda type sy-datum.
"Data Declaration
lv_pernr = '3'.
lv_begda =.'18000101'.
lv_endda = '99991231'.
"Data Retieval from PA0002 DB Table
select pernr
begda
endda
nachn
vorna
namzu
from pa0002
into table it_pa0002
where pernr = lv_pernr
and endda GE lv_endda
and begda LE lv_begda.
Please validate the same at your end and let me know in case you require any further inputs from my end.
BR/Thanks
Pranav Agrawal
Maybe you are looking for
-
MacBook Pro Retina Wont Connect back to Monitor
Hey Everyone, I have a MacBook Pro Retina Early 2013 15in that is running OS X Yosemite - 10.10.2 - Graphics Card: NVIDIA GeForce GT 650M 1024 MB At Work for the past 1.5 years i have been connecting to a Dell Monitor via a DVI to HDMI Cable to use a
-
Windows NT Error code = 87 when stopping Oracle9iASHTTPServer service
We are using Portal 3.0.9.8.2 When you stop the the Oracle9iASHTTPServer service in NT crashes Dr Watson and with Windows NT Error code = 87 (could not attcah application). When we restart the service it works fine.
-
MAC iPod video converting program (that does more than one at a time?)
hey i am trying to find a free or paid for program that will convert my videos for my ipod for mac. i have the mpeg streamclip but it only does one video at a time and i have about 600 music videos i'm trying to do. any input? thanks
-
File-to-File Scenario Stopped Working
I have a file-to-file scenario that was working fine until recently. The logs show that the inbound (file to XI) part is successful. There are no logs for the outbound part. It is almost like the input file just goes to no-mans-land. I had prints
-
HT1349 Importing pics from my 4s.
When attempting to import pics from my 4s into Windows Live Photo Gallery, I get the error message, "Cannot ssave this file due to problems with the pictures properties." And this message blinks constantly and is difficult to close. Any ideas on how