SAP ABAP IMG Activity CPRO_STRUK_PRINTBADI (BAdI: 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 CPRO_STRUK_PRINTBADI BAdI: Forms  
Transaction Code S_APL_52000017   (empty) 
Created on 20020626    
Customizing Attributes CPRO_STRUK_PRINTBADI   BAdI: Templates 
Customizing Activity CPRO_STRUK_PRINTBADI   BAdI: Templates 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name DPR_FORM    

Use

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

This BAdI enables you to include your own Smart Forms (SAP Smart Forms) in Project Management. The forms are used as print forms for printing project elements. You can only use one form for each project element type because the interface for the reference forms is categorized in this way.

Smart Forms have now been replaced by PDF-based forms. However, you can still use your existing forms (with the exception of approval documents and project status reports). For more information, see Activate Forms per Project Type.

Requirements

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

Standard settings

  • The BAdI is not designed for multiple use.
  • The BADI is filter-dependent. Choose the name of a Smart Form as the filter value. Generic filter values are not permitted.
  • For each Smart Form you want to use as a print form, create an active implementation.

SAP delivers multiple print forms for the following types of project elements in the standard system:

Project Element    Form Name    Implementation

Project definition    DPR_PROJECT    DPR_FORM_PROJECT

Phase    DPR_PHASE    DPR_FORM_PHASE

Task    DPR_TASK    DPR_FORM_TASK

Checklist    DPR_CHECKLIST    DPR_FORM_CHECKLIST

Checklist item    DPR_CHECKLIST_ITEM    DPR_FORM_CHECKLIST_ITEM

The corresponding implementations are active in the standard system.

Activities

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 while working with print forms, check the following points:

  • Is the SAP Smart 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 form interface you created identical to the reference form interface?
  • Have the forms been activated correctly in Customizing?
  • Did you implement all the BAdI methods?
  • Were invalid options or definitions of the options transferred?
  • Is a PDF-based form with the same form name active for the project type?

Example

See also

Methods

Access Method to Form Name (Reading)

Access Method to Object Types (Reading)

Access Method to Name of Reference Form (Reading)

Access Method to Options (Reading)

Access Method to Definitions of Options (Reading)

Interfaces

Forms

Business Attributes
ASAP Roadmap ID 259   Establish Forms and Messages 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20070712 
SAP Release Created in 200