Ansicht
Dokumentation

DPR_PDF_FORM - BAdI: PDF-Based Forms

DPR_PDF_FORM - BAdI: PDF-Based Forms

Fill RESBD Structure from EBP Component Structure   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

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

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 the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

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

BAdI method documentation:

GET_FORM_NAME

GET_OBJECT_TYPES

GET_REFERENCE_FORM_NAME

GET_OPTIONS

GET_OPTIONS_DEFINITIONS

MAP_ADD_DATA






CPI1466 during Backup   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 5256 Date: 20240523 Time: 161411     sap01-206 ( 97 ms )