Académique Documents
Professionnel Documents
Culture Documents
Summary
SAP ECC 6.0 does not support the copying of standard infotypes. This paper shows how you can copy
standard infotypes in ECC 6.0.This tutorial explains how to copy infotype 0034 (corporate finctions) to a
custom infotype say 9034.
Author Bio
Ribhu Ahuja is currently working as a SAP HR ABAP consultant for TCS since 2006.
© 2007 SAP AG 1
How to Copy a Standard Infotype in SAP ECC 6.0
Table of Contents
How to Copy a Standard Infotype in SAP ECC 6.0......................................................................... 3
Related Content............................................................................................................................. 15
Disclaimer and Liability Notice....................................................................................................... 16
© 2007 SAP AG 2
How to Copy a Standard Infotype in SAP ECC 6.0
SAP ECC 6.0 does not support copying of standard infotypes; this paper shows how you can copy standard
infotypes in ECC 6.0.
This tutorial explains how to copy infotype 0034 (corporate functions) to a custom infotype say 9034.
First of all, start with the code PM01 and create an infotype 9034.
Click on the button. It asks to create dictionary object as shown, click on ‘create’
button.
© 2007 SAP AG 3
How to Copy a Standard Infotype in SAP ECC 6.0
Now the system takes you to the ‘Maintain Structure’ screen. Give a short description and in the
Components tab, put ‘.include’ in Component column and ‘PS0034’ in component type column. You will be
actually including the infotype 0034 structure in the 9034 structure so the database tables further created will
contain similar fields as in Infotype 0034 – Corporate Functions’. See the Figure below.
After this, Check and Activate the structure. Go back and when it gives some information as a pop
up, click on the green tick mark.
© 2007 SAP AG 4
How to Copy a Standard Infotype in SAP ECC 6.0
Please note that you have to transport the table t5821tvclas manually to the different clients where you want
the infotype 9034 to work. Next, it takes you to infotype characteristics screen of 9034. Click on ‘New Entries’
button. It takes you to the ‘Details of added entries’ screen. Open a new SAP window and go to transaction
PM01, and click on the
button. Click on the entry for infotype 0034 and click on details button (the lense
icon). You see the following screen.
Now copy all the entry fields from 0034 screen to 9034 screen.
© 2007 SAP AG 5
How to Copy a Standard Infotype in SAP ECC 6.0
Note that the time constraint ‘T’ in screen 0034 is changed with time constraint ‘2’ temporarily since the
system not accepts ‘T’ this time. You may change this later when you fill the technical characteristics of
infotype 9034. Go Back and click on the button. Browse to infotype 9034 and click on
the details button (lense icon). Now open the technical characteristics of infotype 0034 in a separate window
and fill the entries from there as shown.
© 2007 SAP AG 6
How to Copy a Standard Infotype in SAP ECC 6.0
Save your entries, go back two screens and click on the Infotype characteristics button, browse to infotype
9034 and change the time constraint to ‘T’. The system should allow you now. Save your entries, go back
and on the PM01 screen, choose infotype number 0034, click on the module pool radio button and click on
the edit button.
© 2007 SAP AG 7
How to Copy a Standard Infotype in SAP ECC 6.0
It takes you to the se38 screen with the module pool of Infotype 0034 in the program name. Click on the
Copy - button and copy the program as MP903400. Henceforth, you will change all the 0034 entries in
the program to 9034.
It gives you a warning that this program already exists. Click on the green tick mark.
© 2007 SAP AG 8
How to Copy a Standard Infotype in SAP ECC 6.0
Check on the ‘includes’ check box – as shown and click on button. In the next screen, check all
the check boxes and click on Copy button.
In the next screen, it gives you an option to rename the includes. Copy the names from source include
columns and paste them in the target column. Put a ‘Z’ in front of each program name in the target column
as shown. If you see any include with a ‘0034’ in its name, change it in the target column to ‘9034’ too.
E.g. if you are copying infotype 0045 to 9045 and you see an include named ‘MP004510’ in the include
source name, change it to ‘ZMP904510’ in the target column.
© 2007 SAP AG 9
How to Copy a Standard Infotype in SAP ECC 6.0
Now click on the button next to each field to highlight them all as shown below and click on copy.
You have to start from the module pool ‘MP903400’ which is the main module pool – copied from module
pool program of infotype 0034. Open the module pool ‘MP903400’ in the change mode. The system allows
you to open it in change mode since 9034 is the custom infotype.
Here you have to replace all the text where you see ‘0034’ by ‘9034’. Double click on each include one by
one and replace all text which mentions 0034 by 9034.
© 2007 SAP AG 10
How to Copy a Standard Infotype in SAP ECC 6.0
In the module pool MP903400, you see first line written as:
INCLUDE ZMP903410.
Double click on that and press ctrl + F and “replace all” 0034 by 9034. Check the program. It will show you
an error has occurred in some other include. Double click on the error to follow in which include it has
occurred. Here as well replace all 0034’s by 9034’s.
The programs won’t activate until all the replacements are done. Keep on changing 0034 to 9034 until all the
includes and module pool are activated.
Note: Some infotypes contain a structure qnnnn as well. To deal with it, create a structure zq9nnn and
include structure qnnnn in it. In the source code and includes, wherever you see qnnnn, replace it by zq9nnn.
Next, you have to change the screens – In PM01 choose the screens radio button and click on edit:
© 2007 SAP AG 11
How to Copy a Standard Infotype in SAP ECC 6.0
Now browse to all the screens one by one and you need to do the same thing here – “Replace 0034 by
9034” and replace qnnnn by zq9nnn. Make these changes in source codes of the screens and in the “layout”
as well.
In the layout, you have to change the fields one by one – as shown.
Make sure that the check box ‘From dictionary’ is checked for the input fields.
Now activate all the screens one by one. There is only one thing left now to be copied and that is the menu
bars. Go to transaction PM01 and on the first tab, give 0034 as the infotype number. Choose the User
interface radio button.
© 2007 SAP AG 12
How to Copy a Standard Infotype in SAP ECC 6.0
Now you would copy the user interface of 0034 to 9034. First you have to delete the user interface of 9034
and then copy interface of 0034 to 9034.On the menu painter screen, replace ‘MP003400’ by ‘MP903400.
Now press button and delete the interface. Now, in the menu painter, give the program
name as ‘MP003400’ and press the ‘copy user interface’ button.
Give the target program as MP903400 and click on the green tick mark.
Once the user interface is copied, activate it you are all done and hence your infotype is copied.
© 2007 SAP AG 13
How to Copy a Standard Infotype in SAP ECC 6.0
After this you need to sit with a functional SAP hr consultant and discuss what all infotypes are linked with
0034. The functional consultant should have a thorough knowledge about this infotype. Discuss with him/her
– what all subtypes you need to configure and in which tables you need to make entries. Make necessary
configuration changes so as to make your infotype 9034 fully functional!!
© 2007 SAP AG 14
How to Copy a Standard Infotype in SAP ECC 6.0
Related Content
www.sap-img.com
www.erpgenie.com
www.sdn.sap.com
© 2007 SAP AG 15
How to Copy a Standard Infotype in SAP ECC 6.0
© 2007 SAP AG 16