SAP ABAP IMG Activity DPR_PDF_FORM (BAdI: PDF-Based Forms)
Hierarchy
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
   PPM-PRO (Application Component) Project Management
     DEVELOPMENT_PROJECTS_CUSTOMIZE (Package) General Customizing for Project Management
IMG Activity
ID DPR_PDF_FORM BAdI: PDF-Based Forms  
Transaction Code S_PPD_96000057   (empty) 
Created on 20050713    
Customizing Attributes DPR_PDF_FORM   BAdI: PDF-Based Forms 
Customizing Activity DPR_PDF_FORM   BAdI: PDF-Based Forms 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name DPR_PDF_FORM    

Use

This Business Add-In (BAdI) is used in the Project Management (PPM-PRO) component.

This BAdI enables you to include your own PDF-based forms in Project Management. The forms are used as forms for printing project elements and the milestone trend analysis, and for creating project status reports and approval documents. A form can only be used for a single project element type because the reference form interface is categorized in this way.

Requirements

You have created and activated forms (see Create PDF-Based Forms and Activate Forms per Project Type).

Standard settings

  • The BAdI is not designed for multiple use.
  • The BAdI is filter-dependent. You choose the name of a PDF-based form as the filter value. Generic filter values are not permitted.
  • SAP supplies multiple print forms in the standard system for the following types of project elements:

Project Element    Form Name    Implementation

Project definition    DPR_PROJECT_HIER    DPR_PROJECT_HIER

Phase    DPR_PHASE_HIER    DPR_PHASE_HIER

Task    DPR_TASK_HIER    DPR_TASK_HIER

Approval    DPR_APPROVAL_HIER    DPR_APPROVAL_HIER

Checklist    DPR_CHECKLIST_HIER    DPR_CHECKLIST_HIER

Checklist item    DPR_CHECKLIST_ITEM_HIER    DPR_CHECKLIST_ITEM_HIER

Status report    DPR_STATUS_REPORT_AIF    DPR_STATUSREPORT_AIF

Notes    DPR_NOTES    DPR_FORM_NOTES

Control plan    DPR_CONTROL_PLAN_2    DPR_CTRL_PLAN

   

The corresponding implementations are active in the standard system.

Activities

Create an active implementation for each PDF-based form you want to use as a print form.

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Troubleshooting

If you encounter problems when working with print forms, check the following points:

  • Is the PDF-based form active?
  • Is the BAdI implementation active?
  • Was at least one object type transferred?
  • Was a valid reference form transferred?
  • Are the reference form and the transferred object types compatible?
  • Is the interface of the form you created yourself identical to the interface of the reference form?
  • Have objects been activated correctly in Customizing?
  • Did you implement all the BAdI methods?
  • Were invalid options or definitions of the options transferred?

Example

See also

BAdI method documentation:

GET_FORM_NAME

GET_OBJECT_TYPES

GET_REFERENCE_FORM_NAME

GET_OPTIONS

GET_OPTIONS_DEFINITIONS

MAP_ADD_DATA

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG DPR_PDF_FORM 0 APL0000022 Structure 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050713 
SAP Release Created in 400