Infotype creation validation
Hi
I need to validate the creation of record in a custom infotype such that the record can be created or exists only when there is a record in another subtype of the same infotype. Please can you advise what would be the best way to achive this?
Regards
Rajeev
Hi Rajeev,
You will have to use USER EXITs for this purpose.
While saving this particular custom infotype of yours you can query the PA9XXX table for the other subtype.
If it exists then you can continue saving or else you can throw an error message.
Please contact your HR ABAP person to look into it.
Hope this helps
-Ajay
Similar Messages
-
Pa custom infptype and org management infotype creation
hi experts,
pa custom infptype and org management infotype creation
steps are same or not.
If any difference b/w both plz give me step by step procedure.
Regards,
SandeepPA infotype will create in PM01 everything we need fill from PM01.
OM infotype
:- 1. we need to create HRI9XXX structure.
2. PPCJ t-code u can create from this t-code.
PA INFOTYPE CREATION
1) Go to Transaction PM01.
2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
3) Select the `Employee Infotype' radio button.
4) Select the `PS Structure Infotype'.
5) Click on Create. A separate table maintenance window appears.
6) Create a PS structure with all the fields you want on the Infotype
7) Save and Activate the PS structure
8) Go back to the initial screen of PM01.
9) Click on `All' push button. It takes a few moments.
10) Click on `Technical Characteristics' . Infotype list screen appears
11) Click on `Change'(pencil) button
12) Select your Infotype and click on `Detail' (magnifying glass) button
13) Give `T591A' as subtype table
14) Give `T591S' as subtype txt tab
15) Give your subtype field as subtype field
16) Save and come back to PM01 initial screen
17) Click on `Infotype Characteristics' . Infotype list screen appears
18) Click on `Change' (pencil) button
19) Click on `New Entries'
20) Enter your Infotype number and short text
21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)
22) Save your entries.
23) Now the Infotype is created and ready to use.
24) If you want to change the layout of the Infotype as per your requirement.
25) In the PM01 initial screen.Select `Screen' radio button and give 2000 as the screen name, then click on edit.
26) In the next screen.. Select `Layout Editor' and click `Change'.
27) Screen default layout appears.here you can design/modify the screen.. change the attributes of the fields. etc.
28) Save and activate. (Don't forget to `Activate at every level)
Edited by: sapabap229 on Aug 30, 2010 11:19 AM -
Organization Management/ Personnel Development Infotype Creation
Hi Experts,
Like Personnel Administration Infotype 9xxx,
xxx- series.which are created using PM01 Transaction.
What is the approach to create Organization Management/ Personnel Development Infotype Creation.
Do they have series 9xxxx.
Please advice.
Thanks in Advance.
Regards,
IFFHi irfan,
Have u checked this thread?Have a look at the pdf mentioned in the thread.
how to create OM Infotype
Check ur gmail as well.
Regards,
Manoj. -
hello all,
can anyone guide me on PD infotype creation?
With all neccesary steps or links for the same,
Thanks in advance,
YashviHi,
This was posted by some one else. I do not remeber the link. The following is the procedure
Enter the transaction code PPCI
Enter a four digit infotype number (9nnn) and an infotype name.
Select Field Infotype
Choose Infotype Create.
Choose Check environment to maintain the required entry in table T777I (Infotypes per object type).
Choose the Entry 'T777I' under the list of 'Table Entries' (This list is produced when you choose 'Check' on the First screen of the Transaction PPCI.
Press the 'Change' button and you will be taken to the 'Maintain Table Views' Transaction (SM30).
Press the Maintain button.
From the list of Infotypes locate the custom infotype created and select the entry for that.
Click on the 'Time Constraint' folder appearing on the left hand corner of the screen.
The screen for Change View Time Constraint would appear.
In the object type field put in: O,P,S whatever is relevant to your requirement.Also add the time constraint.
Save it and double click on the 'Infotypes per object type' folder (on the left hand side again).
Create a new entry here for your infotype and save it.
Regards
Vick -
Custom infotype creation issue
Hi Experts,
I have a requirement to create a custom infotype based on certain conditions. But there is a problem while saving data in the infotype. The infotype is populated from another infotype automatically through dynamic actions.
But while saving the data for the first time it happens as per the requirements and data gets saved properly.
But when the data is saved for the second time for the same pernr , the previous data is over written even though the new record starts with a different begin data.Also i have created the infotype with time constraint '1'.
can you please let me know if i am missing anything while creating or is this a logic issue .? all the logic has been coded in the flow logic part of the screen.
also if i dont save the data in the infotype it does not pop up any message like 'data not saved' which usually happens with every infotype. Please clarify me on this as well...
Thanks,
Raj Thilak.Hi,
Check the logic how it is updating the custom infotype . I think it is nothing to do with creation of custom info type
Regards
Krishna -
Infotype Creation - Writing logic in MPP program.
Hello Guru's,
I dont know much about Module pool programming. I created a infotype with subtypes. And now I have to check various conditions and Validations ( Field level and Screen level). And list screen is also there.
i. Age, Service calculation.
ii. Getting some wage types from infotype 0008 and adding it.
iii. Field level validations like checking the entered amount r date in the screen, just after entering the value in the screen field.
like different things. Please tell me in detail, incense which logic we have to write and where we have to write ( which program (MP999100, MP999110,20, 30) screen and which event like PBO, PAI) in detail please.
Thanks in advance.To handle all the validations:
In the PAI event.
Chain.
create a module for your validations and handle all ur validations in that module.
endchain.
Regards,
Kiran -
Sap hr: Infotypes without validity dates
Hi
1)Can u name some of the Infotypes in sap hr without validity dates,
2)what r the infotypes v have to assign in
a) Trermination
b) pramotion
c)retirement
d)pramotion
Akhil.Hi,
All of the infotypes in HR need to be created with validity dates.
All of the HT information is based on beginning and end dates.
In termination, you had better restrict 0 and change the organizational assignments in 1.
In promotion, update 8.
In retirement, update1.
You may wanna update any additional infotype if you wish to..
Regards,
Dilek -
About Infotype Creation in ECC6.0
Hi All
Actually my requirement is create a custom infotype and use this infotype in pa30.Buy i am using ecc6.0 version.
I know in 4.7 version only. Try to send me steps about create infotype in ecc6.0 version.it is very urgent requirement.
Regards
hariSteps to create a HR Infotype:
1) Go to Transaction PM01.
2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
3) Select the 'Employee Infotype' radio button.
4) Select the 'PS Structure Infotype'.
5) Click on Create... A separate table maintenance window appears...
6) Create a PS structure with all the fields you want on the Infotype
7) Save and Activate the PS structure
8) Go back to the initial screen of PM01.
9) Click on 'All' push button. It takes a few moments.
10) Click on 'Technical Characteristics'. Infotype list screen appears
11) Click on 'Change'(pencil) button
12) Select your Infotype and click on 'Detail' (magnifying glass) button
13) Give 'T591A' as subtype table
14) Give 'T591S' as subtype txt tab
15) Give your subtype field as subtype field
16) Save and come back to PM01 initial screen
17) Click on 'Infotype Characteristics' ... Infotype list screen appears
18) Click on 'Change' (pencil) button
19) Click on 'New Entries'
20) Enter your Infotype number and short text
21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)
22) Save your entries.
23) Now the Infotype is created and ready to use.
24) If you want to change the layout of the Infotype as per your requirement...
25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.
26) In the next screen.. Select 'Layout Editor' and click 'Change'.
27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.
28) Save and activate. (Don't forget to 'Activate at every level)
Subtype Creation :
Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.
Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.
Subty.text tab is T591S and time const tab is T591A.
See:
http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
HR related site:
http://www.sapdevelopment.co.uk/hr/hrhome.htm
Enhancement of Infotype
Check the following
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf
Infotype Enhancement overview screen
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1
Regards. -
About new infotype creation ?
Hi Experts,
I want to create new infotype in PD.
Will any one help me how to start with.
Before creating infotype whether we need to create structure.
How to create the structure HRI9xxx.
*Please give the step by step procedure and t-code to create theHRI9xxx structure,Pxxxx,any tables like T777 etc.
*Suggest some links to create these things.
*Give step by step procedure to create structure and Infotypes.
Helpfull answers are rewarded for sure.
Thanks,
Sakthi CSteps to create a HR Infotype:
1) Go to Transaction PM01.
2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
3) Select the 'Employee Infotype' radio button.
4) Select the 'PS Structure Infotype'.
5) Click on Create... A separate table maintenance window appears...
6) Create a PS structure with all the fields you want on the Infotype
7) Save and Activate the PS structure
8) Go back to the initial screen of PM01.
9) Click on 'All' push button. It takes a few moments.
10) Click on 'Technical Characteristics'. Infotype list screen appears
11) Click on 'Change'(pencil) button
12) Select your Infotype and click on 'Detail' (magnifying glass) button
13) Give 'T591A' as subtype table
14) Give 'T591S' as subtype txt tab
15) Give your subtype field as subtype field
16) Save and come back to PM01 initial screen
17) Click on 'Infotype Characteristics' ... Infotype list screen appears
18) Click on 'Change' (pencil) button
19) Click on 'New Entries'
20) Enter your Infotype number and short text
21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)
22) Save your entries.
23) Now the Infotype is created and ready to use.
24) If you want to change the layout of the Infotype as per your requirement...
25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.
26) In the next screen.. Select 'Layout Editor' and click 'Change'.
27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.
28) Save and activate. (Don't forget to 'Activate at every level)
Subtype Creation :
Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.
Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.
Subty.text tab is T591S and time const tab is T591A.
See:
http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
HR related site:
http://www.sapdevelopment.co.uk/hr/hrhome.htm
Enhancement of Infotype
Check the following
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf
Infotype Enhancement overview screen
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1
Reward points if uesful. -
hello,
i have got a requirement to create an infotype.. i don't have any idea on that.. can i get a detailed step by step process on how to create an infotype..
thanks in advanceStep 1: Create Infotypes
i. Goto Transaction PM01 To create Infotypes:
ii. Enter the Infotype Number and say create all.
iii. The following message would display:
i. PSnnnn Does not exist. How do you want to proceed?
iv. Click
v. A maintain Structure screen appears.
Fill in the short text description and the PS structure of the Infotype.
Since the fields Personnel No, Employee Begin Date, End Date, Sequential Number,
Date of Last Change, Name of user who changed the object are available in the PAKEY and PSHD1 structure, define the PSnnnn structure with only the fields you needed.
vi. Once the PS Structure is created, save and activate the structure.
vii. In the initial screen of PM01, now click on .
Create a new entry for the infotype.
Fill in the values as mentioned below and save.
Infotype Characteristics:
Infotype Name of the infotype_ Short Text: __Short Description________
General Attributes :
Time constraint = 1 Record must have no gaps, no overlapping
Check Subtype Obligatory layout of an infotype screen depends on the subtype
Display and Selection:
Select w/ start = 3 Valid record for entered data
Select w/ end = 5 Records with valid dates within the period entered
Select w/o date = 6 Read all records
Screen header = 02 Header ID
Create w/o end = 1 Default value is 31.12.9999
Technical Data:
Single screen = 2000
List screen = 3000; List Entry Checked.
viii. In the initial screen of PM01, now click on .
Choose the infotype entry in the list.
Fill in the values as mentioned below and save.
Technical Attributes:
In tab section,
The following attribute values are given:
Applicant DB Tab = PAnnnn Infotype Name
Subtype field = SUBTY
Subtype table = T591A
Subty.text tab. = T591S
Time cnstr.tab. = T591A
Prim. /Sec. = I Infotype
Period/key date = I Interval
and .
ix. Infotype Screen Modification:
Edit Screen 2000 from PM01 for the Infotype.
ABAP Editor for the Infotype Program MPnnnn00 will be displayed.
Click . Flow Logic will be displayed.
Create two modules: wity your logic to implemented
Message was edited by: MohanVamsi Krishna -
Hi All,
I have created a custom infotype with time constraint 2 which has the multiple records for pernr.( Similar to Infotype 0168).
When i am inserting the record since there is same key for the pernr its not inserting the data in the table pa9001. so i tried to insert by means of adding the SEQNR and inserting the data. But there is an error poping up saying "Sequence Number 001 not permitted" its not allowing me to enter the value.
Can you please help me.
I have used the USER EXIT for inserting the data.
Thanks
YogeshAs Subhash said, you need to create IT with time constraint 3. With time constraint 3, if you creating more than one record on same day, the SEQNO increments. If day differs (BEGDA, ENDDA) SEQNO starts with 0. If time contraints 2, gaps are allowed, (BEGDA, ENDDA) should be different.
Check T777Z entry.
Regards,
Ramki. -
Issue in radio button group in module pool in infotype creation
Hi,
I have a custom infotype,where there are six radio buttons belonging to same group for different mode of payment.Issue is when user clicks a radiobutton,a subscreen opens .there are six different subscreens when user clicks on each of the six radio buttons.
Requirement is when user clicks one button ,one subscreen opens but the other radio buttons(whcih are eligible to be open) gets disabled .I have tried to handle the issue manually through coding ,but i think the issue is with the radiobutton grouping.
How to make the other radio buttons open for input even when the user has clicked on one button and the subscreen opens corresponding to the screen so that the imemediately ther user clicks on another radio button and get the corresponding subscreen opened for him.Pls advise.I have written a custom module in PBO section of my custom infotype.There i have written this code:-
LOOP AT SCREEN.
READ TABLE fp_it_payment_opt_open INTO wa_payment_opt_open WITH KEY scrname = screen-name.
IF sy-subrc = 0.
screen-input = c_input_on.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
The internal table it_payment_opt contains all the radio buttons and checkboxes and is populated when the radio buttons and checkboxes are turned input on while modifying the screen depending upon course of my price and personnel subarea.
While calling subscreen area in PBO,the radiobuttons get into a state of input-off automatically.so i have written a z-module after
the module hidden_data .
PROCESS BEFORE OUTPUT.
general infotype-independent operations
MODULE before_output.
CALL SUBSCREEN subscreen_empl INCLUDING empl_prog empl_dynnr.
CALL SUBSCREEN subscreen_header INCLUDING header_prog header_dynnr.
infotype specific operations
MODULE p9300.
CALL SUBSCREEN subscreen_area INCLUDING subscr_prog subscr_dynnr.
MODULE hidden_data.
module z_open_paymnt_optns.
My problem has been solved ,hence am closing the thread.Thanks to all of you. -
Problem in creating help input for custom infotype creation
Hi,
I had the task of creating a custom infotype for storing recruitment test result.
I created it using the following structure:
Component ______________Data Element
TEST_TYPE______________ZTEST_TYPE
TEST_DATE
LOCATION
PIC_____________________RFPER
EX_PIC
TEST_RESULT____________ZRESULT_TYPE
STATUS_________________ZSTATUS_TYPE
OTHER_POSITION_________PLANS
Now for the component other_position for the entry help i use is H_T528B with check table T528B. My objective is, when the infotype is accessed through pa30 and user is inputting the entry, when they press F4 on the inputbox for other_position, help search should show the list of all position within the system. But rather than that, the input help display such message:
No values selected
Maintain entries?
Yes No Cancel
When I choose yes, the input help suddenly prompt me to "Choose customizing project" which i believe is from SPRO.
How do I fix this problem so that when I press f4, the help will shows all position within the system.
Thanksnot answered, but found another work around
-
Infotype Creation - FM HR_INFOTYPE_OPERATION
How do everyone,
I am using the FM HR_INFOTYPE_OPERATION to create a recurring payment infotype.
Everything is working fine. However, when the infotype is created it is created against the
master cost centre. This is ok for some people but not all.
If you create the infotype through PA30 you have the option to 'Maintain Cost Assignment'
which displays a pop up box and allows the user to enter a different cost centre.
Does anybody know how this can be replicated if possible using HR_INFOTYPE_OPERATION
or is there another FM to use???
Any help much appreciated.
Andytry to record a batch input session and create the infotype with batch input instead of HR_INFOTYPE_OPERATION
otherwise you could maintain the tables for cost distribution,
view ASSOB_HR (tables ASSOB, ASSHR and PDSNR) -
Hi All,
I have created a an Infotype.I have entered two entries in it.
But when i am going to PA30 to view this data system is giving a message that No Data stored for this paricular selection period.But i can see the data when i Execute PM01.
So please suggest me on this what to to do.
Thanks.
Regards
RamHi All,
Thanks for our reply.
If i am giving the date selection period it is working.But if i am giving an employee number and and my custom infotype number and by clicking on the display i could not get data.so please suggest me on this.
Thanks.
Regards
Ram
Maybe you are looking for
-
After opening images in Photos shop CC 2014, Adobe Bride will sometimes crash... it's totally random...
-
Plsql procedure containing select statement to fill page items
I would like to fill items :P200_A and :P200_B and so on with the result of a SELECT which depends on the different values of many select lists. E.G. :P200_list_alpha with the list of values STATIC:less than 10;less,equal than 10;equal,above 10;above
-
Do I need to render after finished editing in FCE?
I'm finishing my very first FCEHD3.5 project (the whole audio & video editing part). DO I HAVE TO RENDER ANYTHING befor recording to the camera, using the method that you described? (I used some photos in my project and they look "funny" while played
-
Single Payment receipt aganest Multiple Customer invoices
Hi All, I need your help to slove this business senario, here i have one payment receipts i need to clear against multiple customer invoice, how to clear the single payment receipt for multiple customer invocies, But customer will not infore which i
-
Steps, How DissemblerComponent converts FlatFile to XML
Hi, I am working on custom FlatFile Dissembler Component. please suggest me, what is the internal Processing of FlatfileDissembler and how Flat file is converted into XML. Regards Atul