Infotype 25 Table
Dear guys
Can any body tell about table used by Infotype 25. Table PA0025 has no records in it. But still infotype has appraisals maintain in it.
Adnan,
Are you sure you are looking at the Appraisals records in PA20? because when you look at it through PA20 it shows some other infotypes data too like Qualifications.
Also, this question could better be answerd in HCM forum at this link: SAP ERP Human Capital Management (SAP ERP HCM)
Similar Messages
-
Is it worth using select query on infotype tables
Hi Experts,
I might be posting in the wrong column, but i just need to know is it worth using a select query on Infotype tables (PAxxxx)?? or should we prefer using the function modules for data fetching?
If select is not suggested, what is the reason for that?
Rgds
PrateekHi ,
Its not said that u cant write select on PAXXXX tables . Yes of couse LDB are there to fetch the data but it depends on
the requirement when to write a select and when to consider using in LDB .
Generally when you are looking at say 8 to 10 tables of infotypes with free selection , then LDB is suggested to fetch the data .
if you are looking to fetch the data for say some tables for a restricted selection (where clause) then select is used .
If i want to write a program using select only then fetching data from infotypes tables for large no of records will lead to
more time consumption which becomes easier in LDB as they are fetched in hierarchy level based on keys .
Normally it will be a combination of LDB and select querys in the development scenario
Br,
Vijay. -
How to link Infotype Table Data to Logical Database
We have historical data in one of our system brought by using diret insert queries on Infotype tables. Now, we are facing a problem that this data is not visible from PA20/PA30. Also, while using Logical Database in programs, we are not able to extract data from Infotypes using GET events.
Does anybody have any idea/solution to this kind of problem?What made you to take decision to make direct table updates? I am not sure if this was the correct way. Anyway, whether all the module pool programs are in place foe these custom infotypes. You dont have to do anything else to have logical database program to fetch data for custom infotypes. Check if eveything in PM01 is configured correctly.
-
Hi,
all infotypes are stored in one table.plz tell me that table name???
itz urgent for me.
Thanks
P>SRIKANTHHi,
All infotype tables are stored in the table:
<b>DD02L</b>
reward if useful
regards,
ANJI
Message was edited by:
Anji Reddy Vangala -
Hello,
May I know how can I load an infotype table at the initialization stage and read it later on using the READ TABLE statement? I would appreciate if someone could offer me an example on this. Thanks!
AnyiSure, you can just do a fetch.
data: ipa0001 type table of pa0001 with header line.
initialization.
select * into table ipa0001 from pa0001.
Then you can read it later....
read table ipa0001 with key pernr = p_pernr.
Regards,
Rich Heilman -
Modifying Infotype Table STRUCTURE
I need to a new FIELD to the structure of IT PA0008.
Please suggest ways/pdf's/links for the same.Modifying infotype tables is not recommended - but I have seen append structures added to some of the tables and working OK. May cause some issues with an upgrade in the future?
Another option is to just create a Z table with an identical key structure, and store your customer data in parallel to the infotype data. Less likely to have any impact on critical functionality like payroll.
Andrew -
Adding a column in infotype(table control)
i want to add a column in table control of infotype 0591. i need to add age for every nominee.
i cant edit standard sap mp prog. so i thouhgt of copying it into zprogram, and now i have to assign it to that standard infotype so that this infotype will trigger my zmp program.
any suggestions on this?Hi
You cannot modify or copy the standard SAP generated program. Say if you wanted to add new field you could have done by doing the view deifnition for that infotype in tbale T582C or T582V. But since you want to add a new table control column i think you may have to create new infotype in PM01, else the std. functionality may be affected. You can check SAP help for creation of new infotypes.
~ Ranganath
PS : Reward points for all useful answer ! -
Dropdown list in infotype table control
Hello,
I am creating a custom HR infotype with dropdown list field. This field holds a key but displays a text from text table. Dropdowns contents are dependant on Start Date of the infotype record and I am using PBO module to fetch this data. Everything works fine except one detail. Infotype has automatically generated overview table control, which holds various data including Start Date of infotype record and the dropdown field in question. And even that would work well if not for the date, in case when I drop the date check dropdowns in all rows get populated. Currently it seems to only use the date on the last row of the table control and subsequently fails to correctly populate dropdowns in all other rows. With no access to SAP code which populates table control, how do I get the date for each individual row?
Best regards, ArminsHi Marty,
For this you have to create 2 nodes
1. A node which will be bound to the table. This will be a singleton node.
2. A node for dropdown. This node should be inside the table node and should be a non-singleton one.
Check the singleton properties of both the nodes above.
Whenever you will create an element for table node, an instance of the dropdown node will be automatically created.
To set the value in this dropdown at leadselection, you can use the below logic
1. Assume you know the value of the fruit to be set in the dropdown
2. for(int i = 0; i < wdContext.nodeFruit().size(); i++)
if( wdContext.currentTableNode().nodeFruit().getFruitElementAt(i).getFruit().equals(fruitName) )
wdContext.currentTableNode().nodeFruit().setLeadSelection(i);
break;
Hope this helps you. -
Reg:structure of infotype table
Hi,
Can i get the details regarding the structure of infotype .......
(ie table structure,,screeen structure so on)..
Thanks & Regards
shiva ramHi Shiva,
Following are the components of infotype ..
tables
screen
modulepool
infotype number
time constrain.
Tables:
Table with naming conversion paxxxx is created ,where xxxx infotype number (9999).
which includes
pakey-intilisation data
pshd1- log details
psxxxx-contains actual fields of the infotype
ci_pxxxx--exits for standard infotypes ..for
enchancements....
apart from these it includes pxxxx--structrure of infotype.
and qxxxx.-screen fields for the infotype..
screeen
For very infotype there exists 3 screens
1000--intilisation or dummy screen
2000-where actual the user enters the data
3000 -list or orview screen.
Module pool
exits module pool program with naming conversion
MPXXXX00.....where xxxx is infotype number...
which consists of 5custom includes and 3 standard includes....
Custom Includes are
MPXXXX10---INTIALISATION
MPXXXX20--DEFAULT VALUES
MPXXXX30--VALIDATION
MPXXXX40--SUBROUTINES
MPXXXX50--LIST OR OVERVIEW SCREEN.
Standard Includes
MPPDAT00------INTILISATION SCREEN
MPPERS00---PBO/PAI FOR STANDARD INFOTYPE
FPP50PSB --BUFFERING THE INFOTYPE
Thanks & Regards
Suman -
Transporting InfoType Table change to Production
Hi,
I had added a field in structure CI_P0008 which is a structure to add custom fields to IT 0008.
I then adjusted the table (PA0008) thru se14.
Is it necessary to perform any other activity before sending the structure to Production?
The PS table has another Standard Structure PS0008.
Please advice.Check if the table PA0008 is displaying the values for that field when u r entering any value from PA30 and saving the infotype...
Check if there r any validations need to be done on this field. If there r any validatiosn required, u need to make changes in program MP000800.
Rest, be assured to transport the changes to production.
Tahnks,
Shakir -
Custom field in Infotype via custom table
Hi experts,
I have the following scenario:
1.I have added a new custom field to the standard PA infotype through PM01.
2.The field is a code(e.g contract code) and the contract desciption is to be strored in a separate custom table.
My question is:
How/where to write the code to insert values into the custom table ,when such infotype is created?Is there a standard function module for this?Any sample/pseudo code would be highly helpful.
thanks in advance,
KCPleae see my comments to your questions:
1.This one relates to pont 2 of your reply:How and where to declare the custom table as a check table in the CI?in SE11?when I open the infotype table in SE11 and try to declare the 'contract code' as a check field,I am being asked the access key.Please let me know if there is a correct way of doing so.
Go to SE11. Give the main table name associated to the Infotype(PANNNN). Click display. Scroll to the bottom and you see te CI include associated with it. Double click on it. It shows you the details of the fleds and in the include. Go to Change mode here. It does not ask for the access key as this is your custom extension. Scroll to the right and you can assoicate the master table as check table against the field.
PS:You can go to CI include directly in edit mode also from SE11.
2.In the infotype entry screen,If I want to show the only those values of the 'contract code' which are present in the custom table,what is the best advised solution?
I implemented this also on our extension. You add the value help in the module pool and add custom search help code there.
This way you can display the code and its description in the search help.
Edited by: Raj Julakanti on Oct 12, 2008 7:49 PM -
Updating a customer infotype detail table (in PIQSTM) from an interface
We have a customer infotype that has a header table (HRP....) and a detail table (HRT.....) and we have this attached to transaction PIQSTM. This works fine. However, we now have a requirement to update the infotype via an interface and we have hit a problem using the standard function modules. We have tried, for example, using FM 'HRIQ_PNNNN_MAINTAIN' but have found that whilst it updates the header ok, if any detail record exists it is always overwritten. We need to keep the existing detail records attached to the same header.
I've debugged the way our tables are updated when saved in PIQSTM and can see that there is a lot going on with buffers. It seems that buffers are updated and then FM 'RH_BASE_UPDATE_DB_DIALOG' is called, ultimately resulting in an insert to our detail infotype table. In our interface program, obviously I would prefer not to update the table directly. I guess BDC is always an option but again, I'd prefer not to use it if possible.
Has anyone out there done this and can offer me any advice ?
thanks,
Malcolm.Malcom,
Try to feed old HRT record and New records(from interface) to Insert/update info-type function module.
Thanks,
Prabhat Singh -
Hr-abap infotype 0070(courtorder -GB)
Hi all,
I have problem for pa0070 infotype table .pa0070-crtty this is my field name.
in this field have valves like this (CSD,CSDN,CSL,EWC,EWF,EWN,EWP,
EWT,ISDN,NIN,NIP,SCA1,SCA2,SCA3,SCA4,SCEA,SCMA,SDAS,SEA)
so here i got problem i wanna to disply what ever is in last char i will display
ex: CSD means we display D,
CSDN means we display N,
like this we display.
in o/p i want to display last char.
in CRTTY field have CHAR 4 (Data length).
in this field have min 3 char or 4 char .
so i wann to display last character.
Reg,
Kris.try code,
like
data:c(4).
data d(4).
c = 'abdc'.
d = c+3(1).
write:/ d.
it will displaying last character..
dont forget to reward point if helpful.
Regard,
Imran -
How to retrive delta changes in Infotype
Dear All
I am working on development of New Interface program from SAP to 3rd party application and this will run on daily.
I want to retrive <b>delta changes</b> record alone in 10 infotype tables.
I checked the Tech.setting of these 10 infotype table and came to know that log data changes & Maintain as transparent table check box is selected.
But i couldn't find any record in the table: DBTABLOG
Is there is any other table where the delta change in the Infotype get saved.
The infotype am checking is IT0000,IT0001,IT0002..etc
Could any one help me to solve this issue...
Definitely I will reward for best answer
Regards
BabuHi Babu,
please use RPUAUD00 program.
you can do assign above program in your interface by using SUBMIT.
another way. you create one Z function module, here you do submit RPUAUD00 program.
Please find sample code as below.
RP_PROVIDE_FROM_LAST p0167 space pn-begda pn-endda.
IF p0167-aedtm GT wa_last_create_date.
l_search_text = '.Benefit Plan.'.
l_infotype = '0167'.
PERFORM check_for_change USING l_search_text l_infotype
CHANGING wa_changes.
IF wa_changes EQ c_checked.
RETURN.
ENDIF.
*& Form CHECK_FOR_CHANGE
text
FORM check_for_change USING p_search_text TYPE zdesc_15
p_infotype TYPE choic
CHANGING p_changes.
CALL FUNCTION 'ZHR_GET_INFOTYPE_FIELD_CHANGES'
EXPORTING
search_text = p_search_text
infotype = p_infotype
pernr = p0000-pernr
bypass_type_check = 'X'
IMPORTING
old_value = wa_old
new_value = wa_new
TABLES
date_range = s_datum
EXCEPTIONS
no_change_found = 1
OTHERS = 2.
IF sy-subrc EQ 0.
p_changes = c_checked.
ENDIF.
ENDFORM. " CHECK_FOR_CHANGE
I assigned RPUAUD00 program in Z function module.
Cheers,
Guru. -
Hi ,
Can any one please tell me all the tables to be used for making a report for overtime payments or send any report related to it.
waiting for the reply.
Thanks & Regards
RohitHi,
report zporgr0100
line-size 252
line-count 60(1)
no standard page heading
message-id zx.
Database Tables & Infotypes
tables: pcl1, " HR Cluster1
pcl2, " HR Cluster1
pa0003, " Master data - Payroll Status
cskt, " Cost Center Texts
t528t, " Positions Texts
t513s, " Job Titles
pernr, " Logical PNP
t001p, " Personnel Subarea
t500p, " Personnel Area
t501, " Employee Group
t503k, " Employee Subgroup
csks. " Cost Center
infotypes:0000,0001.
*include rpclst00.
include rpc2rx00.
include rpc2rxx0.
include rpc2cd00.
*include rpc2ps00.
*include rpc2pt00.
*include rpcfvp00.
*include rpcfdc10.
*include rpcfdc00.
include rpppxd00.
include rpppxd10.
Declaration of Internal Tables
Internal Table for Output Data
data: begin of rep_tab occurs 0,
kostl like pa0001-kostl, " Cost Center
pernr like pa0001-pernr, " Personal Number
ename like pa0001-ename, " Employee Name
ctext like cskt-ltext, " Cost Center Text
ptext like t528t-plstx, " Position Text
ot1 type p decimals 2, " Jan OT Amount
ot2 type p decimals 2, " Feb OT Amount
ot3 type p decimals 2, " Mar OT Amount
ot4 type p decimals 2, " Apr OT Amount
ot5 type p decimals 2, " May OT Amount
ot6 type p decimals 2, " Jun OT Amount
ot7 type p decimals 2, " Jul OT Amount
ot8 type p decimals 2, " Aug OT Amount
ot9 type p decimals 2, " Sep OT Amount
ot10 type p decimals 2, " Oct OT Amount
ot11 type p decimals 2, " Nov OT Amount
ot12 type p decimals 2, " Dec OT Amount
ott type p decimals 2, " Total OT Amount
end of rep_tab.
Declaration of Variables
data: v_mon(2) type n, " Month
v_no type i, " Data Lines
v_year(4) type c, " Year
v_date like sy-datum, " Date
v_date1 like sy-datum, " Date
v_seqnr like pc261-seqnr. " Sequence No.
Declaration of Constants
data: c_type like hrp1001-otype value 'S', " Object Type
c_kokrs like cskt-kokrs value '1000', " Controlling Area
c_date1 like sy-datum value '18000101', " Date
c_date2 like sy-datum value '99991231', " Date
c_x type c value 'X', " Sign
c_mon(2) type c value '01', " Month
c_val1(2) type c value '31', " Date
c_val2(2) type c value '12', " Month Type
c_val like p0041-dar01 value '01', " Date Type
c_lgart1 like p0008-lga01 value '0722', " Wage Type
c_lgart2 like p0008-lga01 value '0723', " Wage Type
c_1(2) type n value '01', " Month1
c_2(2) type n value '02', " Month2
c_3(2) type n value '03', " Month3
c_4(2) type n value '04', " Month4
c_5(2) type n value '05', " Month5
c_6(2) type n value '06', " Month6
c_7(2) type n value '07', " Month7
c_8(2) type n value '08', " Month8
c_9(2) type n value '09', " Month9
c_10(2) type n value '10', " Month10
c_11(2) type n value '11', " Month11
c_12(2) type n value '12'. " Month12
Selection-screen
parameters:
p_year like pc2b0-pabrj obligatory. " Payroll Year
At selection-screen
at selection-screen.
Validate the Selection Screen fields
perform validate_screen.
Start-of-Selection
start-of-selection.
Selection of Period
perform get_period.
Get PERNR from LDB
get pernr.
Get the Master data from infotype 0001
perform get_master_data.
Top-of-page
top-of-page.
Write the Report and Column Headings
perform top_of_page.
End-of-Page
end-of-page.
write /1(252) sy-uline.
End-of-Selection
end-of-selection.
Display the Output Report.
perform display_report.
Form-Routines
*& Form validate_screen
Validation of selection Screen fields
form validate_screen.
Validation of Cost Center
clear csks.
if not pnpkostl[] is initial.
select single kostl
into csks-kostl
from csks
where kostl in pnpkostl.
if sy-subrc <> 0.
message e999 with 'Invalid Cost Center'(003).
endif.
endif.
Validation of Personnel Number
clear pa0003.
if not pnppernr[] is initial.
select pernr
from pa0003 up to 1 rows
into pa0003-pernr
where pernr in pnppernr.
endselect.
if sy-subrc <> 0.
message e999 with 'Incorrect Personal Number Entered'(002).
endif.
endif.
Validation of Personnel Area
clear t500p.
if not pnpwerks[] is initial.
select persa
from t500p up to 1 rows
into t500p-persa
where persa in pnpwerks.
endselect.
if sy-subrc <> 0.
message e999 with 'Incorrect Personnel Area Entered'(001).
endif.
endif.
Validation of Personnel Sub Area
clear t001p.
if not pnpbtrtl[] is initial.
select btrtl
from t001p up to 1 rows
into t001p-btrtl
where btrtl in pnpbtrtl.
endselect.
if sy-subrc <> 0.
message e999 with 'Incorrect Personnel Sub Area Entered'(037).
endif.
endif.
Validation of Employee Group
clear t501.
if not pnppersg[] is initial.
select persg
from t501 up to 1 rows
into t501-persg
where persg in pnppersg.
endselect.
if sy-subrc <> 0.
message e999 with 'Incorrect Employee Group Entered'(038).
endif.
endif.
Validation of Employee Sub Group
clear t503k.
if not pnppersk[] is initial.
select persk
from t503k up to 1 rows
into t503k-persk
where persk in pnppersk.
endselect.
if sy-subrc <> 0.
message e999 with 'Incorrect Employee Sub Group Entered'(039).
endif.
endif.
endform. "validate_screen
*& Form get_period
Get the Correct Period based on Selection screen selection
form get_period.
clear: v_year,v_mon, v_date, v_date1.
v_year = sy-datum+0(4).
v_mon = sy-datum+4(2).
if pnptimr1 = c_x. " Current Date
pnpbegda = sy-datum.
pnpendda = sy-datum.
elseif pnptimr2 = c_x. " Current Month
concatenate v_year v_mon c_val into v_date.
concatenate v_year v_mon c_val1 into v_date1.
pnpbegda = v_date.
pnpendda = v_date1.
elseif pnptimr3 = c_x. " Current Year
concatenate v_year c_val c_val into v_date.
concatenate v_year c_val2 c_val1 into v_date1.
pnpbegda = v_date.
pnpendda = v_date1.
elseif pnptimr4 = c_x. " Upto Today
pnpbegda = c_date1.
pnpendda = sy-datum.
elseif pnptimr5 = c_x. " From Today
pnpbegda = sy-datum.
pnpendda = c_date2.
else.
if ( pnpbegda is initial and pnpendda is initial ).
pnpbegda = c_date1.
pnpendda = c_date2.
elseif pnpbegda is initial and not pnpendda is initial.
pnpbegda = c_date1.
pnpendda = pnpendda.
elseif not ( pnpbegda is initial and pnpendda is initial ).
pnpbegda = pnpbegda.
pnpendda = pnpendda.
endif.
endif.
endform. "get_period
*& Form get_master_data
Get the Master Data from Database Tables PA0001,0002,0003
form get_master_data.
Get data from Respective Infotypes
rp_provide_from_last p0001 space pnpbegda pnpendda.
if p0001-kostl in pnpkostl.
rep_tab-kostl = p0001-kostl.
rep_tab-pernr = p0001-pernr.
rep_tab-ename = p0001-ename.
Get the Position Text
clear t528t-plstx.
select single plstx into t528t-plstx from t528t
where plans = p0001-plans and
otype = c_type and
sprsl = sy-langu.
if sy-subrc = 0.
rep_tab-ptext = t528t-plstx.
endif.
Get the Cost Center Text
clear cskt-ltext.
select single ltext into cskt-ltext from cskt
where spras = sy-langu and
kokrs = c_kokrs and
kostl = p0001-kostl.
if sy-subrc = 0.
rep_tab-ctext = cskt-ltext.
endif.
Get the Overtime Payment Data
perform get_ot_data.
rep_tab-ott = rep_tab-ot1 + rep_tab-ot2 + rep_tab-ot3 +
rep_tab-ot4 + rep_tab-ot5 + rep_tab-ot6 +
rep_tab-ot7 + rep_tab-ot8 + rep_tab-ot9 +
rep_tab-ot10 + rep_tab-ot11 + rep_tab-ot12.
append rep_tab.
clear rep_tab.
endif.
sort rep_tab by kostl pernr.
delete rep_tab where kostl = ' '.
delete rep_tab where ott = 0.
endform. "get_master_data
*& Form get_ot_data
Get the Overtime Payment Data
form get_ot_data.
cd-key = pernr-pernr.
rp-imp-c2-cd.
sort rgdir by seqnr.
To get sequence number for the payroll period
loop at rgdir where void is initial
and reversal is initial
and outofseq is initial
and srtza eq 'A'.
if rgdir-fpper+0(4) = p_year.
To consider offcycle run data
if not rgdir-ocrsn is initial.
v_seqnr = rgdir-seqnr.
exit.
endif.
v_seqnr = rgdir-seqnr.
endif.
if not v_seqnr is initial.
perform import_rx.
endif.
perform process_wagetypes.
endloop.
endform. "get_ot_data
include rpppxm00.
*& Form Import_rx
Import the RX data from Clusters
form import_rx.
rx-key-pernr = cd-key-pernr.
rx-key-seqno = v_seqnr.
rp-init-buffer.
rp-imp-c2-rx.
endform. " Import_rx
*& Form Process_wagetypes
Calculate the Overtime Amount based on Wage types
form process_wagetypes.
loop at rt.
if rt-lgart = c_lgart1 or rt-lgart = c_lgart2.
if rgdir-fpper+0(4) = p_year.
v_mon = rgdir-fpper+4(2).
case v_mon .
when c_1.
rep_tab-ot1 = rep_tab-ot1 + rt-betrg.
when c_2.
rep_tab-ot2 = rep_tab-ot2 + rt-betrg.
when c_3.
rep_tab-ot3 = rep_tab-ot3 + rt-betrg.
when c_4.
rep_tab-ot4 = rep_tab-ot4 + rt-betrg.
when c_5.
rep_tab-ot5 = rep_tab-ot5 + rt-betrg.
when c_6.
rep_tab-ot6 = rep_tab-ot6 + rt-betrg.
when c_7.
rep_tab-ot7 = rep_tab-ot7 + rt-betrg.
when c_8.
rep_tab-ot8 = rep_tab-ot8 + rt-betrg.
when c_9.
rep_tab-ot9 = rep_tab-ot9 + rt-betrg.
when c_10.
rep_tab-ot10 = rep_tab-ot10 + rt-betrg.
when c_11.
rep_tab-ot11 = rep_tab-ot11 + rt-betrg.
when c_12.
rep_tab-ot12 = rep_tab-ot12 + rt-betrg.
endcase.
endif.
endif.
endloop.
endform. "process_wagetypes
*& Form top_of_page
Write the Report and Column Headings
form top_of_page.
format color col_heading on.
write: /1(252) 'NATIONAL DRILLING COMPANY'(010) centered,
/1(252) 'Overtime Payments Details'(011) centered.
format color off.
if pnptimr1 = c_x. " Current Date
write: /2 'Period From :'(036), sy-datum, 'To:'(006), sy-datum.
elseif pnptimr2 = c_x. " Current Month
write: /2 'Period From :'(036), v_date, 'To:'(006), v_date1.
elseif pnptimr3 = c_x. " Current Year
write: /2 'Period From :'(036), v_date, 'To:'(006), v_date1.
elseif pnptimr4 = c_x. " Upto Today
write: /2 'Period From :'(036), c_date1, 'To:'(006), sy-datum.
elseif pnptimr5 = c_x. " From Today
write: /2 'Period From :'(036), sy-datum, 'To:'(006), c_date2.
else.
if ( pnpbegda is initial and pnpendda is initial ).
write: /2 'Period From :'(036), c_date1, 'To:'(006), c_date2.
elseif pnpbegda is initial and not pnpendda is initial.
write: /2 'Period From :'(036), c_date1, 'To:'(006), pnpendda.
elseif not ( pnpbegda is initial and pnpendda is initial ).
write: /2 'Period From :'(036), pnpbegda,
'To:'(006), pnpendda.
endif.
endif.
write: 219 'Report Run Date:'(018), sy-datum.
if not pnpkostl[] is initial.
if pnpkostl-high is initial.
write: /2 'Cost Center :'(004), pnpkostl-low,
219 'Time :'(020), sy-uzeit.
else.
write: /2 'Cost Center From:'(005), pnpkostl-low+7(3),
'To:'(006), pnpkostl-high,
219 'Time :'(020), sy-uzeit.
endif.
else.
write: /219 'Time :'(020), sy-uzeit.
endif.
if not pnppernr[] is initial.
if pnppernr-high is initial.
write: /2 'Personal Number :'(007), pnppernr-low,
219 'User :'(021), sy-uname.
else.
write: /2 'Personal No.From:'(008), pnppernr-low,
'To:'(006), pnppernr-high,
219 'User :'(021), sy-uname.
endif.
else.
write: /219 'User :'(021), sy-uname.
endif.
write: /219 'Page No :'(022), sy-pagno.
format color col_heading.
write /1(252) sy-uline.
write:/1 sy-vline, 10 sy-vline,
41 sy-vline,
67 sy-vline, 68(167) 'Overtime Payments(Dirhams)'(013) centered,
235 sy-vline,252 sy-vline.
format color col_heading.
write:/1 sy-vline, 2(8) 'Emp #'(019) centered,
10 sy-vline, 11(30) 'Employee Name'(012) centered,
41 sy-vline, 42(25) 'Position'(014) centered,
67 sy-vline, 68(167) sy-uline,
235 sy-vline,236(16) 'Total'(017) centered,
252 sy-vline.
write:/1 sy-vline, 10 sy-vline,
41 sy-vline,
67 sy-vline, 68(13) 'JANUARY'(024) centered,
81 sy-vline, 82(13) 'FEBRUARY'(025) centered,
95 sy-vline, 96(13) 'MARCH'(026) centered,
109 sy-vline,110(13) 'APRIL'(027) centered,
123 sy-vline,124(13) 'MAY'(028) centered,
137 sy-vline,138(13) 'JUNE'(029) centered,
151 sy-vline,152(13) 'JULY'(030) centered,
165 sy-vline,166(13) 'AUGUST'(031) centered,
179 sy-vline,180(13) 'SEPTEMBER'(032) centered,
193 sy-vline,194(13) 'OCTOBER'(033) centered,
207 sy-vline,208(13) 'NOVEMBER'(034) centered,
221 sy-vline,222(13) 'DECEMBER'(035) centered,
235 sy-vline,252 sy-vline.
format color off.
write /1(252) sy-uline.
endform. "top_of_page
*& Form Display_report
Write the Report Output
form display_report.
clear v_no.
describe table rep_tab lines v_no.
if v_no = 0.
message i999 with
'No Data found for the entered Selection'(015).
endif.
loop at rep_tab.
format color 3.
at new kostl.
read table rep_tab index sy-tabix.
write:/1 sy-vline, 2(12) 'Cost Center:'(009),
14(10) rep_tab-kostl,
25(30) rep_tab-ctext,
252 sy-vline.
format color off.
write /1(252) sy-uline.
endat.
format color col_normal.
write: /1 sy-vline, 2(8) rep_tab-pernr,
10 sy-vline, 11(30) rep_tab-ename,
41 sy-vline, 42(25) rep_tab-ptext,
67 sy-vline, 68(13) rep_tab-ot1 no-zero,
81 sy-vline, 82(13) rep_tab-ot2 no-zero,
95 sy-vline, 96(13) rep_tab-ot3 no-zero,
109 sy-vline,110(13) rep_tab-ot4 no-zero,
123 sy-vline,124(13) rep_tab-ot5 no-zero,
137 sy-vline,138(13) rep_tab-ot6 no-zero,
151 sy-vline,152(13) rep_tab-ot7 no-zero,
165 sy-vline,166(13) rep_tab-ot8 no-zero,
179 sy-vline,180(13) rep_tab-ot9 no-zero,
193 sy-vline,194(13) rep_tab-ot10 no-zero,
207 sy-vline,208(13) rep_tab-ot11 no-zero,
221 sy-vline,222(13) rep_tab-ot12 no-zero,
235 sy-vline,236(16) rep_tab-ott no-zero,
252 sy-vline.
at end of kostl.
write /1(252) sy-uline.
endat.
format color off.
at last.
sum.
format color 1.
write: /1 sy-vline,
10 sy-vline, 11(30) 'Total'(017) centered,
41 sy-vline,
67 sy-vline, 68(13) rep_tab-ot1 no-zero,
81 sy-vline, 82(13) rep_tab-ot2 no-zero,
95 sy-vline, 96(13) rep_tab-ot3 no-zero,
109 sy-vline,110(13) rep_tab-ot4 no-zero,
123 sy-vline,124(13) rep_tab-ot5 no-zero,
137 sy-vline,138(13) rep_tab-ot6 no-zero,
151 sy-vline,152(13) rep_tab-ot7 no-zero,
165 sy-vline,166(13) rep_tab-ot8 no-zero,
179 sy-vline,180(13) rep_tab-ot9 no-zero,
193 sy-vline,194(13) rep_tab-ot10 no-zero,
207 sy-vline,208(13) rep_tab-ot11 no-zero,
221 sy-vline,222(13) rep_tab-ot12 no-zero,
235 sy-vline,236(16) rep_tab-ott no-zero,
252 sy-vline.
write /1(252) sy-uline.
endat.
format color off.
endloop.
endform. "display_report
<b>reward points for useful answers</b>
regards,
ANJI -
How to push custom infotype details to Standard Log Report
Hi Experts,
i am using S_AHR_61016380 SAP Standard Report for Log Change Data in
the report development. However, the standard report for logged changes
does not capture the long term documents run for the custom infotype.
it is only giving the logged changes for the standard SAP infotypes
and it doesnot capture any details for the custom infotype.
We are looking a possibility on how to push custom infotype details to S_AHR_61016380.
Pls suggest in case you have any inputs for the same.
Thanks & Regards,
Kishore.Hello Amith,
As u said i have created a Z program, and also i have used the following FMs.
1. 'HR_INFOTYPE_LOG_GET_LIST'
2. 'HR_INFOTYPE_LOG_GET_DETAIL'
Using these FMs i am able to get log records from the standard infotypes but i am unable to fetch data from the custom infotype tables.
Please give me any solution to read the log records from the custom infotype tables.
Thanks,
Kishore
Maybe you are looking for
-
I have an older flat panel HDTV with only 1 HDMI connection which is being used through my cable box for TV reception. I also use a Bose 3.2.1. GS Series II home theatre system. It has no HDMI inputs. Can I use an Apple TV with my present system?
-
I have a new computer , want to install CS5 and deactivate from old. Problem is my CS5 is an upgrade and needs a older version of Elements which I no longer have. Any suggestions?
-
Transforming XML/XSL data to PDF
What is a process to convert a XML document to a PDF? Where could I find some Java classes that aid in this process?
-
I am having troubles measuring the velocity of my linear encoder with PCI-6220 card. I have read examples that used dx/dt, but I cannot seem to get that to wok-- when I wire that output to a gauge, I get "0". I have also tried using shift registers
-
Skype-In can't make Group Call
I have two Skype # assigned to my ID. Since my Skype-Out subscription expired, I have been having difficulty with Group calls. Once I add a new incoming call, it automatically put the original call on hold and prompt me with the option of buying a sk