Subtype ctreation for the Infotype 0185
Hi,
I am trying to create a subtype for the standard infotype 0185. I have followed below mentioned steps for that:
1) I have created an entry using v_t591a in SM31 and saved it.
2) In PM01, created a Customer Include under Enhancement of Single Screen and added some fields to it. Activated it also.
3) Even then I was not able to find the subtype in pa30, so have changed the technical attributes related to subtypes.
Please give me any suggestion regarding this.
Thanks,
Sree
Hi,
Please check the below thread for the procedure to create a subtype for the standard infotype...
/message/4304842#4304842 [original link is broken]
Check the below thread regarding a subtype issue for infotype 0185
No subtypes for Infotype 0185
Check this thread for further information if necessary
Check field Identity Number Infotype 0185 Subtype 02
Hope this would help you.
Good luck
Narin
Similar Messages
-
Issue with pa30 transaction for the infotype 15
Hi All,
I am creating additional payments for the infotype 15 in PA30 transaction.
i followed following steps: wage type
amount
date of origin
assignment number
then i clicked Maintain cost assignment button there i entered cost center 1027 . anybody can tell me where this cost center will save i need that table name.
thanks,
maheedharHi Soumya,
it is saving in ASSOB table that fine. but my question is how to get particular cost center for the personal number.
thanks,
maheedhar -
When i am running the RBDMDOC it will not genarated the idoc for the infotype 0105
Hi experts,
I am run a pa40 action and change the record of 0105 infotype, in bd64 as part of data filtering I am also mentioned 0105 . but when I am run the RBDMIDOC the idoc is not generated of the infotype 0105 .
Thanks in Advance .
Venkateswara Rao.Hi Venkat Narayan,
Thank for giving such a help,
1. I am created record for the infotypes i.e :0,1,2,6,105.
2 In bd64 I done a data filtering for above infotypes , its fine , but when I am running the bd21 Tcode the idoc is generated for 0,1, 2,6,. it is not generated for p0105.
please find the following screen shorts.
Thanks.
venkat -
Getting the data for the infotype 0006 and Subtype 4 in HR ABAP
Hi All,
I need to get the data from the info type 0006 and the subtype 4 , only i need to fetch the data in communications . Could you any one tell me best way to fetch that data.
Thanks,
SAP SAR.Write a select single on PA0006 for the given pernr begin and end dates and for subtype 4 ...
select single * from PA0006
where pernr = p_pernr
and SUBTY = '0004'
and ENDDA >= s_date-low
and BEGDA <= s_date-high. -
Custom Subtype table for custom Infotype
Hi,
How can I have a customer table Z* as subtype for an infotype? In PM01 I can set a Z table and field in infotype settings, but an error occurs when genarating my infotype.
I would like someting similar to IT 2006 in my custom infotype where I would have a specific Z table as subtype (not a generic one like t591a) so that new entries in that Z table appears as new subtype options.
Thanks and regrads.
Sérgio.Hi,
The Subtype Table doesn't contain the Subtype Field.
For Example: PM01 for IT 2006 has Subtype Table T556A, Subtype Field KTART (which is not part of T556A).
KTART is a field in the IT2006 Structure itself.
Subtype Table is used just for the Values of the subtypes, Texts, Time Constraints and Object IDs.
Can you mention what the Structure of Z table is, and what the Subtype Field is.
Thanks,
Suryakiran D. -
BDC for the Infotype 0585 in HR Module
Hi ,
Iam facing problem in Uploading the Data into the Infotype 0585 ( Section 80 Deductions - Proposals ).
Can i get any BDC to upload the Infotype 0585-Proposals.
Points will be Surely Rewarded.
Regards,
N.L.Narayana*& Report Z_HR_UPLOAD_INFOTYPE_0585
report z_hr_upload_infotype_0585.
tables:pa0585.
data:begin of it_585 occurs 0 ,
pernr type rp50g-pernr, "Personnel no
begda type pa0585-begda, "Begin Date
endda type pa0585-endda, "End data
sbs01 type pa0585-sbs01, "Sub section code
sbd01 type pa0585-sbd01, "Sub section division number
pcn01(12) type c, "Proposed contribution
sbs02 type pa0585-sbs02, "Sub section code
sbd02 type pa0585-sbd02, "Sub section division number
pcn02(12) type c, "Proposed contribution
sbs03 type pa0585-sbs03, "Sub section code
sbd03 type pa0585-sbd03, "Sub section division number
pcn03(12) type c, "Proposed contribution
sbs04 type pa0585-sbs04, "Sub section code
sbd04 type pa0585-sbd04, "Sub section division number
pcn04(12) type c, "Proposed contribution
sbs05 type pa0585-sbs05, "Sub section code
sbd05 type pa0585-sbd05, "Sub section division number
pcn05(12) type c, "Proposed contribution
sbs06 type pa0585-sbs06, "Sub section code
sbd06 type pa0585-sbd06, "Sub section division number
pcn06(12) type c, "Proposed contribution
sbs07 type pa0585-sbs07, "Sub section code
sbd07 type pa0585-sbd07, "Sub section division number
pcn07(12) type c, "Proposed contribution
sbs08 type pa0585-sbs08, "Sub section code
sbd08 type pa0585-sbd08, "Sub section division number
pcn08(12) type c, "Proposed contribution
sbs09 type pa0585-sbs09, "Sub section code
sbd09 type pa0585-sbd09, "Sub section division number
pcn09(12) type c, "Proposed contribution
sbs10 type pa0585-sbs10, "Sub section code
sbd10 type pa0585-sbd10, "Sub section division number
pcn10(12) type c, "Proposed contribution
sbs11 type pa0585-sbs11, "Sub section code
sbd11 type pa0585-sbd12, "Sub section division number
pcn11(12) type c, "Proposed contribution
sbs12 type pa0585-sbs12, "Sub section code
sbd12 type pa0585-sbd12, "Sub section division number
pcn12(12) type c, "Proposed contribution
sbs13 type pa0585-sbs13, "Sub section code
sbd13 type pa0585-sbd13, "Sub section division number
pcn13(12) type c, "Proposed contribution
sbs14 type pa0585-sbs14, "Sub section code
sbd14 type pa0585-sbd14, "Sub section division number
pcn14(12) type c, "Proposed contribution
sbs15 type pa0585-sbs15, "Sub section code
sbd15 type pa0585-sbd15, "Sub section division number
pcn15(12) type c, "Proposed contribution
end of it_585.
data:wa_585a like it_585.
*--selection Screen--
selection-screen: begin of block blk1 with frame title text-000.
parameters: p_file type rlgrap-filename obligatory.
selection-screen: end of block blk1.
at selection-screen on value-request for p_file.
*-to locate file in a directory (on value request)
call function 'KD_GET_FILENAME_ON_F4'
exporting
static = 'X'
changing
file_name = p_file
exceptions
mask_too_long = 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.
endif.
START-OF-SELECTION *
start-of-selection.
perform get_data.
perform emp_invt.
*& Form GET_DATA
text
--> p1 text
<-- p2 text
form get_data.
READ FILE INTO INTERNAL TABLE.
data: lv_fname type string.
lv_fname = p_file.
call function 'GUI_UPLOAD'
exporting
filename = lv_fname
filetype = 'ASC'
has_field_separator = '#'
tables
data_tab = it_585[]
exceptions
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
others = 17.
if not sy-subrc is initial.
MESSAGE e000(ZHRMSG) WITH lv_fname.
endif.
endform. " GET_DATA
*& Form EMP_INVT
text
--> p1 text
<-- p2 text
form emp_invt.
data : wa_0585 type p0585,
it_return type bapireturn1 occurs 0 with header line,
it_05851 type p0585 occurs 0,
it_pa0585 type standard table of pa0585 with header line .
loop at it_585 into wa_585a.
move-corresponding wa_585a to wa_0585.
wa_0585-infty = '0585'.
append wa_0585 to it_05851.
clear:wa_0585 ,
wa_585a.
endloop.
sort it_05851 by pernr.
select * from pa0585 into table it_pa0585
for all entries in it_05851
where pernr = it_05851-pernr.
loop at it_05851 into wa_0585.
Convert START Date into internal format (ex: 10/06/04 -> 20040610
call function 'CONVERSION_EXIT_DATEX_INPUT'
exporting
input = wa_0585-begda
importing
output = wa_0585-begda.
Convert END Date into internal format (ex: 10/06/04 -> 20040610 )
call function 'CONVERSION_EXIT_DATEX_INPUT'
exporting
input = wa_0585-endda
importing
output = wa_0585-endda.
*******Function module to lock personnel no
call function 'BAPI_EMPLOYEE_ENQUEUE'
exporting
number = wa_0585-pernr.
IMPORTING
return = WA_RETURN.
read table it_pa0585 with key pernr = wa_0585-pernr
begda = wa_0585-begda
endda = wa_0585-endda.
if sy-subrc is initial.
call function 'HR_INFOTYPE_OPERATION'
exporting
infty = '0585'
number = wa_0585-pernr
SUBTYPE =
OBJECTID =
LOCKINDICATOR =
validityend = wa_0585-endda
validitybegin = wa_0585-begda
RECORDNUMBER =
record = wa_0585
operation = 'MOD'
tclas = 'A'
dialog_mode = '1'
nocommit = ''.
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
RETURN = IT_RETURN[].
KEY =
else.
call function 'HR_INFOTYPE_OPERATION'
exporting
infty = '0585'
number = wa_0585-pernr
SUBTYPE =
OBJECTID =
LOCKINDICATOR =
validityend = wa_0585-endda
validitybegin = wa_0585-begda
RECORDNUMBER =
record = wa_0585
operation = 'INS'
tclas = 'A'
dialog_mode = '1'
nocommit = ''.
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
RETURN = IT_RETURN[].
KEY =
endif.
Function module to unlock the personnel no
call function 'BAPI_EMPLOYEE_DEQUEUE'
exporting
number = wa_0585-pernr.
clear wa_0585.
endloop.
endform. " EMP_INVT -
Related BAPIs for the Infotypes
Dear Friends ,
I have got an issue to post the following details to external system Can anyone please provide me the related BAPIs for the following Infotypes.
Infotype 02 - Personel details
Infotype 06 - Adress details
Infotype 09 - Bank details
Infotype 33 - Statistics
Infotype 21 - Family details
Infotype 08 - Basic Pay
Infotype 28 - Internal Medical Service
Infotype 22 - Education details
Regards,
Gopi.Hi,
System can work even if target system not always online. The IDoc will be created and sendingcontinue once the system has coneected to other system
System can work that target system always online and active then only it interacts both system use bapi. It will be disadvantage of bapi
The tabe TBDBA stores the relavant message type, IDOC type, OUtbound function module,inbound module that are generated as part of the ALE BAPI interface for a particular Business object method
Edited by: sekharch on Jan 9, 2011 4:17 PM -
Events triggered for the infotypes
Good day everybody,
I would like to know which events are triggered for the following infotypes:
1. PA0105.
2. PA0000.
3. PA0002.
4. PA0001.
5. PA0185.
Or can you please advice as to where to look or how to look for it
Thanks in advance,
ThembaHi...
1) place a break point in FM "BF_FUNCTIONS_READ".
2) excute your infotypes so that execution stops at this FM and gave the event triggered.
Regards,
Lokeswari. -
Allowed Namespaces for the infotype subtypes
Hi,
I am creating a subtype as RFID with a time constraint 2 for IT0105. When i was saving the same, the system prompted a message as : "Choose the key from the allowed namespace". It was just a prompt and the system allowed me to save the record successfully.
Would just lke to know if there will be any implications of this on any other functionality further. Can someone let me know the same.
Thanks in Advance.
SureshIt should not create any problem.......
This message is coming might be SAP has Repository Name space and this word is not available in that repository.
Standard Repository Name spave for PA is "/1PAPA/" .
Mohan -
Read authorisation for the Infotypes
Hi All,
I want to provide Read authorisation for few Master data Infotypes for a particular USER.
How do i do it?..Kindly help.
ElizHi,
Goto tcode
PFCG
1.Create a Role and click the Third Tab Authorizations once you create the role
click the change icon.
2.EDIT->Insert Authorization->selection criteria
search for human resources and add..
3.in the tree navigate to HR master Data -->authorization Level as R
M (read with entry helps)
R (read),
S (write locked record; unlock if the last person to change the record is not the current user),
E (write locked record),
D (change lock indicator),
W (write data records)
(all operations).
Note:Use /nAuth to change the menu tree for authorization in left hand side .
If you have IDES copy the profile HR940_RESTRICTED to Z profile and modify accordingly.
Regards,
Nachy -
Need help for the infotype 15 in PA30 transaction
Hi,
My requirement is :
In infotype 0015 when ever i change the amount i need old amount and new amount respectively.
I am getting new amount by using below logic.
"-- Get changed record
CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
EXPORTING
PRELP = INNNN
IMPORTING
PNNNN = I0015.
anybody can tell me how to get old amount.
Thanks,
MaheedharHi, Tadakamadla
You can do the following way i think.
For Example
date = begda -1 . " Begda of Current Record
now select following way.
Select single * from pa0015
where pernr = pernr
and endda = date.
Hope will help you..
Please Reply if any Issue,
Regards,
Faisal -
Access for the IT 0008 at the Program Level.
Friends
Quick question for your for the access for IT 008 for specific user.
User have the access for the PA30 Tcode for IT 008.
but user runs the Z* customized program to update IT 008 for specific Per number, he or she
can not update the IT 008 for the user.
There is not "authority-check" statement in the program
Please advise.
Thanks,
From
PT.Hi,
Try assigning the P_ABAP authorization objects which is used during the authorization check for HR Reports.
Give the report name in the REPID field
and in the COARS give 0,1, or 2 depending on the degree of simplification required.
Different values for COARS
: Authorization using
COARS = <BLANK> or no authorization. The authorization checks are to be processed as in
Authorization using
COARS = 1.The authorization checks for the infotype/subtype combination and for organizational assignment are to be checked separately. This means that a user is authorized to read a personnel number when he or she has a read authorization for all the infotypes (subtypes) requested by the program and that the user has a read authorization for the organizational assignment of the personnel number. Authorization using
COARS = 2. The authorization check is inactive.
Thanks.
Neha.
Erie.Edited by: Neha Kapoor on Apr 7, 2009 8:51 PM
Edited by: Neha Kapoor on Apr 7, 2009 8:53 PM -
Time constraint 'T' for custom infotype
HI experts,
Im creating a custom infotype and i want to assign time constraint 'T' for that infotype. But while assigning the time constraint in Infotype characteristcs in PM01, it throws the below error message.
"TIme constraint T is not allowed for 9021 infotype".
Pls tell me what is the pbm here and how to solve the problem?Hi,
Try this.
If a subtype needs to be maintained for the Infotype then some additional steps also needs to be performed
before providing Infotype characteristics
1. Select the Technical attributes from the initial screen of PM01 transaction .You will see a list of RP_XXXX where XXXX is infotype.
2. Select the change button on application tool bar. The dialog module in the above screen then becomes
editable.
3. Select the Infotype 9021 and select the details button. Make sure you are in change mode.
4. Provide the Subtype field of the Infotype, Subtype table as T591A and Subty.text table as T591S.
5. Save and go back to the initial PM01 screen.
6. The subtypes for an Infotype can be entered via the maintenance view V_T591A.
Now try maintaining time constraint T with view V_T582A through SM31.
cheers
Ajay -
Hi Gurus,
Am developing the program in which for the given subtype for the infotype 14 all the records should be deleted for that date selection. For this I write a program given below. It show that the Error 009No data stored for 0014 in the selected period Although the data is there. Please tell me where the error in my program.
*& Report ZDEL14_SUBTYPE
REPORT zdel14_subtype.
TABLES : pernr,
pa0014.
INFOTYPES : 0001,
0014.
DATA : BEGIN OF it_p0014 OCCURS 0.
INCLUDE STRUCTURE p0014.
DATA : END OF it_p0014.
DATA : zp0014 TYPE p0014.
SELECTION-SCREEN BEGIN OF BLOCK days1 WITH FRAME TITLE text-s02.
PARAMETER p_wage TYPE p0014-subty OBLIGATORY.
SELECTION-SCREEN END OF BLOCK days1.
DATA : return LIKE bapireturn1.
AT SELECTION-SCREEN.
IF pnpbegda IS INITIAL OR pnpendda IS INITIAL.
MESSAGE 'Enter Date' TYPE 'E'.
ENDIF.
START-OF-SELECTION *
START-OF-SELECTION.
GET pernr.
rp_provide_from_last p0001 space pnpbegda pnpendda.
PROVIDE * FROM p0014 BETWEEN pnpbegda AND pnpendda
WHERE p0014-subty EQ p_wage .
PERFORM delete14.
ENDPROVIDE.
END-OF-SELECTION.
*& Form delete14
text
FORM delete14.
CALL FUNCTION 'DEQUEUE_ALL' .
CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
EXPORTING
number = p0014-pernr.
IF sy-subrc NE 0.
MESSAGE 'Unable To Insert. Release Lock Keys' TYPE 'E'.
ENDIF.
p0014-BETRG = 0.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '0014'
number = p0014-pernr
subtype = p_wage
objectid = p0014-objps
lockindicator = p0014-sprps
validityend = p0014-endda
validitybegin = p0014-begda
recordnumber = p0014-seqnr
record = p0014
operation = 'DEL'
tclas = 'B'
dialog_mode = '0'
nocommit = ''
IMPORTING
return = return
EXCEPTIONS
OTHERS = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
EXPORTING
number = p0014-pernr.
IF return-number NE 0.
WRITE :/ p0014-pernr, 'IS NOT DELETED' ,return.
ENDIF.
ENDFORM. "delete14
Points will be awarded
Thanks
RaviHi Gurus,
Problem Solved by my own. i used the
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '0014'
number = p0014-pernr
subtype = p_wage
objectid = p0014-objps
lockindicator = p0014-sprps
validityend = p0014-endda
validitybegin = p0014-begda
recordnumber = p0014-seqnr
record = p0014
operation = 'DEL'
tclas = 'B'
dialog_mode = '0'
nocommit = ''
IMPORTING
return = return
EXCEPTIONS
OTHERS = 0.
for the function module. ITs working.
Thanks
Ravi -
Adding a custom field in a sap standard screen in pa30 for an infotype.
Hi to all..
i'm in a requirement to add a custom field in a standard screen of pa30. for the infotype 0442.
I googled up.. but i was not getting proper solution for it.. can any one provide a solution for it..
With regards.
Aahbha.Hello Sirs,
Step by step instructions on:
http://help.sap.com/erp2005_ehp_04/helpdata/EN/4f/d52552575e11d189270000e8322f96/frameset.htm
The below thread provide more info on how to create an infotype from scratch, but this is just for the reference:
add custom fields to standard infotype
Regards,
Bentow.
Maybe you are looking for
-
Ajuda por favor\Help please
Comprei esse Iphone 4 do imei: 01 326700 516327 4 iccid: 8955 0536 6300 0497 4767 numero de serie: DV6JC01LDP0N de uma amiga que ela ia viajar para o rio de janeiro para estudos, e usei o aparelho normalmente, mas não entendia muito ai resolvi restau
-
Company code not showing in the shopping cart list
Hello, Can anyone please help me with this? Currently we are on SRM 5.0 with extended and connected to one backend system. Everything works good. Now we are trying to connect another backend system to SRM. The situation is that we have made the same
-
Problems with installing 9ias infrastructure
Iam trying to install oracle 9ias application server on a windows 2000 professional edition. so before installing application server iam trying to install 9ias infrastructure. my initial attempts have failed so iam trying to reinstall it again after
-
WRT160N v2 as access point inside LAN
I got this router and I need to set it as an Access Point (will not be using the routing functionality) in the far side of our building. Our LAN uses IP addresss in the range 10.*.*.* with subnet 255.0.0.0, so I need to put the access point ino this
-
Change documents in WTY after the Claim is "complete"
Dear All, In WTY transaction, I am unable to view the change documents (Extras --> Change Documents) after the Claim is flagged off as "Complete" Is there a way to overcome this ? Thanks. Raj