What is the T.C for creating custom IT in PA? How do you
configure? Explain step by step?
Give me some custom IT you created for your company?
Answers were Sorted based on User's Feedback
Answer / pradip pramanik
Creating a New SAP Infotype using transaction PM01 and PPCI
Step 1 Execute transaction PM01 (If you get a message saying
the infotype can not be enhanced, try tranasction PPCI).
Step 2
Select create IT tab and enter new infotype number into
selection box.
Step 3
Press the create ‘ALL’ button (left of infotype no.). You
will get a dialog box asking to confirm,
press the create button.
Step 4
You will now be presented with the standard structure
creation screen (SE11) where you need to
enter the fields of the new infotype. I have entered some
examples but you can put anything in
here.
Step 5
Once you have entered the fields press save and then
activate, before pressing the back button.
You will now be presented with the following screen, where
you will need to make a new entry
or your created infotype (i.e. 9010).
Step 6
The next step is to fill in the infotype attributes, these
will initially be blank and you will need to
fill them in similar to the following, depending on your
requirements. Then press save.
Step 7
Your infotype is now created and can be accessed and
populated in the usual way using
i.e. using transactions such as PA20 and
PA30.
Step 8
If you look at the structure of your new infotype in
transaction ‘SE11’ it will look similar to the
following:
How 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)
Delete info type
DATA:
l_return LIKE bapireturn1,
wa_p2010 type p2010.
CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
number = wa_p2010-pernr
IMPORTING
return = l_return.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '2010'
number = wa_p2010-pernr
subtype = wa_p2010-subty
validityend = wa_p2010-endda
validitybegin = wa_p2010-begda
recordnumber = wa_p2010-seqnr
record = wa_p2010
operation = 'DEL'
nocommit = ''
IMPORTING
return = l_return.
CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
EXPORTING
number = wa_p2010-pernr
IMPORTING
return = l_return.
Read an info type
DATA:
it_p2010 type standard table of p2010.
REFRESH it_p2010.
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = wa_teven-pernr ”Personnel number
infty = '2010' ”Info type
begda = wa_teven-ldate ”Start date
endda = wa_teven-ldate ”End date
TABLES
infty_tab = it_p2010.
IF sy-subrc <> 0.
ENDIF.
Process Infotypes
• RMAC Modules - RMAC module as referred to Macro, is a
special construct of ABAP/4 codes. Normally, the program
code of these modules is stored in table 'TRMAC'. The table
key combines the program code under a given name. It can
also be defined in programs.The RMAC defined in the TRMAC
can be used in all Reports. When an RMAC is changed, the
report has to be regenerated manually to reflect the change.
• Reading Infotypes - by using RMAC (macro) RP-READ-INFOTYPE
REPORT ZHR00001.
INFOTYPE: 0002.
PARAMETERS: PERNR LIKE P0002-PERNR.
RP-READ-INFOTYPE PERNR 0002 P0002 <BEGIN> <END>.
PROVIDE * FROM P0002
if ... then ...endif.
ENDPROVIDE.
• Changing Infotypes - by using RMAC (macro)
RP-READ-INFOTYPE.
• Three steps are involved in changing infotypes:
1. Select the infotype records to be changed;
2. Make the required changes and store the records in an
alternative table;
3. Save this table to the database;
The RP-UPDATE macro updates the database. The parameters of
this macro are the OLD internal table containing the
unchanged records and the NEW internal table containing the
changed records. You cannot create or delete data. Only
modification is possible.
INFOTYPES: Pnnnn NAME OLD,
Pnnnn NAME NEW.
GET PERNR.
PROVIDE * FROM OLD
WHERE .... = ... "Change old record
*Save old record in alternate table
NEW = OLD.
ENDPROVIDE.
RP-UPDATE OLD NEW. "Update changed record
Infotype with repeat structures
How to identify repeat structures:
a. On infotype entry screen, data is entered in table form.
IT0005, IT0008, IT0041, etc.
b. In the infotype structure, fields are grouped by the same
name followed by sequence number.
• P0005-UARnn P0005-UANnn P0005-UBEnn
• P0005-UENnn P0005-UABnn
Repeat Structures
Data is entered on the infotype screen in table format but
stored on the database in a linear structure.
Each row of the table is stored in the same record on the
database.
When evaluating a repeat structure, you must define the
starting point, the increment and the work area which
contains the complete field group definition.
Repeat Structures Evaluation (I)
To evaluate the repeat structures
a. Define work area. The work area is a field string. Its
structure is identical to that of the field group.
b. Use a DO LOOP to divide the repeat structure into
segments and make it available for processing in the work
area, one field group (block) at a time.
Repeat Structures Evaluation(II)
* Define work area
DATA: BEGIN OF VACATION,
UAR LIKE P0005-UAR01, "Leave type
UAN LIKE P0005-UAN01, "Leave entitlement
UBE LIKE P0005-UBE01, "Start date
UEN LIKE P0005-UEN01, "End date
UAB LIKE P0005-UAB01, "Leave accounted
END OF VACATION.
GET PERNR.
RP-PROVIDE-FROM-LAST P0005 SPACE PN/BEGDA PN/ENDDA.
DO 6 TIMES VARYING VACATION FROM P0005-UAR01 "Starting point
NEXT P0005-UAR02. "Increment
If p0005-xyz then ... endif.
ENDDO.
Is This Answer Correct ? | 2 Yes | 0 No |
step 1: here we will be creating fileds which we need to
get into our infotype sby goining to se11 T.CODE, once it
is completed we need to do activities , SAVE, CHECK &
ACTIVATE.
step 2: by going to T.CODE -PPCI, we will be inserting the
fields which we maintained in SE11 T.CODE.
ex: we can create infotypes for address infotypes, child
details, father details , mother details, grand mother and
grand father details, -----------etc
Is This Answer Correct ? | 1 Yes | 6 No |
What are the different methods for time data recording?
detail descrtion of lsmw
What is the Mid year go live ? When and what did you do this mid year go live with process?
How do you create object characteristics in om?
Hi, given interview for a support project and need some suggesation on below issues. 1. how to improve SLA and what are the best way to improve SLA? 2. How to Increase the ticket resolution process? 3. suggest me some new process which will be helpfull in support project? Awaiting for your reply. Many thanks in advance
What is the main use of the profile generator?
What is the tarif feature?
What are the two main categories of wage types? : hr- payroll
FACTORING RTE=TKSOLL Set RTE-TKAU** Subtraction RTE*KGENAU Multiplication RTE/TKDIVI Division ADDWT * OT Output table Can anyone please explain with an example ,how calculation happens in this factoring need each and every step . Please expalain for WPBP also.
What is the use of employee subgroup grouping for collective agreement provision?
An employee goes over the limit of leave quota. How would you make sure that leave accrual in future is reflected correctly?
What is structural authorization in organization management (om)?