Ansicht
Dokumentation

BBP_OUTPUT_CHANGE_SF - Change Forms for Document Output

BBP_OUTPUT_CHANGE_SF - Change Forms for Document Output

ABAP Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

You can use the Business Add-In BBP_OUTPUT_CHANGE_SF to override the Smart Forms that are defined in the activity Define Actions for Document Output.
This BAdI serves as an alternative to the IMG activity Condition-Dependent Document Output.

Note that no Smart Forms are used for output via XML.

The following parameters are available in the method CHANGE_FORMS. Depending on the input parameters, you can define other Smart Forms to output the document type.

Importing

IV_GUID
Globally Unique Identifier of the document.

IV_MEDIUM
Output medium found for this document according to Define Actions for Document Output (print: PRN, fax: FAX, e-mail: MAI, XML: MET).

IS_PARTNER
Business partner to whom the document is sent.

IV_OBJECT_TYPE
Business transaction type.

Changing

CV_SMARTFORM
Smart Form used to output the document.

E-mail output
Smart Form with which the document is added to the e-mail in the form of a PDF attachment.

Note:
Note that the BAdI with this parameter overrides the parameter form name (technical name of the Smart Form BBP_PO for example) irrespective of the defined determination technology (SRM: Purchase Order Output Determination, for example).

CV_SMARTFORM_MAIL
Smart Form used to define content and layout of the e-mail text in the case of e-mail output.

CV_SUBJECT_MAIL
Smart Form that determines the text in the (short description of the e-mail content).

As an alternative to this BAdI, you can control document output via determination technology.
For more information, see Condition-Dependent Document Output.






CPI1466 during Backup   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3018 Date: 20240524 Time: 011817     sap01-206 ( 50 ms )