How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here...

29
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 1 How to Create a PD Info Type from Scratch Applies to: SAP ECC 6.0 and above.For more information, visit the Enterprise Resource Planning homepage . Summary There are a lot of standard PD info types provided by SAP. However, sometimes there arise needs to create customized ones. This article gives you a step-by-step guideline for the configuration of a PD info type from scratch. Author: Dilek Ersoz Adak Company: MilSOFT ICT Created on: 22 September 2010 Author Bio Dilek has been graduated from Bilkent University (Ankara, Turkey) Computer Engineering department in 2003. She started working while she was still an undergraduate student. Her first workplace was Aselsan (Ankara, Turkey) where she has worked for 5 years. There she has dealt with HR (Personnel Administration, Organizational Management, Payroll, Training and Event Management, HR-ABAP) and BI modules as well as ABAP development. In May, 2008 she switched to Milsoft ICT (Ankara, Turkey) as an SAP consultant where her main interest area is again HCM modules including Personnel Administration, Personnel Development, Organizational Management, Objective Setting and Appraisals, Training and Event Management and Payroll. She is also dealing with BI and Portal configuration. She is still working in MilSOFT ICT.

Transcript of How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here...

Page 1: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 1

How to Create a PD Info Type from

Scratch

Applies to:

SAP ECC 6.0 and above.For more information, visit the Enterprise Resource Planning homepage.

Summary

There are a lot of standard PD info types provided by SAP. However, sometimes there arise needs to create customized ones. This article gives you a step-by-step guideline for the configuration of a PD info type from scratch.

Author: Dilek Ersoz Adak

Company: MilSOFT ICT

Created on: 22 September 2010

Author Bio

Dilek has been graduated from Bilkent University (Ankara, Turkey) Computer Engineering department in 2003. She started working while she was still an undergraduate student. Her first workplace was Aselsan (Ankara, Turkey) where she has worked for 5 years. There she has dealt with HR (Personnel Administration, Organizational Management, Payroll, Training and Event Management, HR-ABAP) and BI modules as well as ABAP development. In May, 2008 she switched to Milsoft ICT (Ankara, Turkey) as an SAP consultant where her main interest area

is again HCM modules including Personnel Administration, Personnel Development, Organizational Management, Objective Setting and Appraisals, Training and Event Management and Payroll. She is also dealing with BI and Portal configuration. She is still working in MilSOFT ICT.

Page 2: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 2

Table of Contents

Steps for Creating PD Info type From Scratch ................................................................................................... 3

Creation of Tables/Structures ......................................................................................................................... 3

Creation of ABAP coding ................................................................................................................................ 6

Maintenance of Configuration Tables ........................................................................................................... 15

Testing the Info type ...................................................................................................................................... 26

Related Content ................................................................................................................................................ 28

Disclaimer and Liability Notice .......................................................................................................................... 29

Page 3: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 3

Steps for Creating PD Info type From Scratch

Throughout the article XXXX will be used as the info type number. Please note that custom info types should lie within 9000-9999 number range.

Creation of Tables/Structures

1. Create HRI9XXX structure via SE11. Include the fields that are to be included in the info type.

Page 4: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 4

2. Create HRP9XXX table via SE11. Here make sure you have the includes: a. HRIKEY b. HRIADMIN c. HRI9XXX (created in the previous step)

Page 5: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 5

3. Create P9XXX table via SE11. Same includes as HRP9XXX should be added.

Page 6: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 6

Creation of ABAP coding

4. Create MPXXXX00 module pool via SE38. Please do not forget to add P9XXX table into the TABLES part.

Page 7: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 7

5. If no special initialization is needed, you can add a empty INIT_9XXX module into MP9XXX20 include.

Page 8: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 8

6. Go to SE51 t-code. Input program name as MP9XXX00 and screen number as 2000. Select “Change”.

Page 9: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 9

7. Press Layout button. Add relevant fields of info type. (e.g. P9XXX-ZZZZZ)

Page 10: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 10

8. Go to SE38 t-code. Create MP9XXXBI module pool. Here please write down the fields that are

added to info type screen.

Page 11: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 11

9. Go to SE35 t-code. Create RH_INFOTYP_9XXX dialog module. Make sure to specify program name

as MP9XXX00 and screen no as 1000.

Page 12: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 12

10. Go to PPCI t-code. Fill info type & info type name fields. Press “Create” button.

Page 13: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 13

Page 14: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 14

Page 15: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 15

Maintenance of Configuration Tables

Now, we will update relevant configuration tables as provided by the log from PPCI transaction. 11. Go to SM30 transaction – Table/view name T777D. Maintain. Press “New Entries” button.

Page 16: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 16

12. Go to SM30 transaction – Table/view name T778T. Maintain. Press “New Entries” button.

Page 17: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 17

Create the following entry.

Page 18: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 18

Page 19: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 19

13. Go to SM30 transaction – Table/view name T77ID. Maintain. Press “New Entries” button.

Page 20: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 20

Create the following entry.

Page 21: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 21

14. Go to SM30 transaction – Table/view name T77OA. Maintain. Press “New Entries” button.

Page 22: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 22

Create the following entry.

Page 23: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 23

15. Go to SM30 transaction – Table/view name T777M. Maintain. Press “New Entries” button.

Page 24: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 24

Create the following entry.

16. Maintain T778U if info type is to have subtypes. (subtype texts will be automatically saved into

T777U) 17. Maintain T77NI if you selected “Country specific info type” in table T777D.

Page 25: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 25

18. Go to transaction SOBJ - Piece list for PDST and PDWS

Page 26: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 26

Testing the Info type

19. Now info type is ready for input: a. Go to PP01. Select the object type info type is assigned to (in our case T). For a specific

object select the info type from list and select “Create” button.

Page 27: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 27

b. Info type is ready for input:

Page 28: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 28

Related Content

For more information, visit the Enterprise Resource Planning homepage.

Page 29: How to Create a PD Info Type from Scratch - Community … · Create MP9XXXBI module pool. Here please write down the fields that are ... How to Create a PD Info Type from Scratch

How to Create a PD Info Type from Scratch

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 29

Disclaimer and Liability Notice

This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.

SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.

SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.