Saturday, August 25, 2018
Output Management via BRF Business Rule Framework Plus on S4 HANA
Output Management via BRF Business Rule Framework Plus on S4 HANA
With SAP S/4 HANA a new Output Management approach is in place. The complete configuration differs from the configuration that is used when output management is based on NAST (condition technique). The configuration is based on BRF+. In SAP S/4 HANA, the target architecture is based on Adobe Document Server and Adobe Forms only. For the form determination rules (along with other output parameters) BRF+ functionality is used.
Output management based on NAST is not available for new documents in SD Billing from 1511 and is extended to sales order management from 1602. Similarly, output management using BRF+ is mandatory for Purchase order from 1511.
Prerequisites �
Uploading XML for importing output determination application in BRF+ (Ref note 2248229).
- BRF+ is active and usable
- Background RFC configuration has been set up
- Adobe Document Server is available � ADS needs to be implemented to allow SAP to fetch PDF properties for rendering output form
- KPRO has been maintained � KPRO allows to store PDF attachments on physical location.
Steps for uploading XML �
Note 2248229, provides decision tables for new output management. We need to download XML files to local drive and import them using below steps.| Transaction code | BRF+ or BRFPLUS |
BRF+ workbench will be displayed. For importing output application, we need to change layout to �Expert� mode. Follow below steps �
a) Select user mode as �Expert�.
b) Save this settings.
Steps to import �
a) Download zip files from SAP note 2248229 and save them on your local machine
b) Next, we need to select Import XML under the Tools menu.
c) Select relevant file in below screen.
d) Specify Customizing request.
e) Click on �Upload XML File� button.
f) Uploaded application will now be available under Repository tab.
Configuration �
Below configuration steps are relevant for all application areas (Sales Order, Purchase Order, Billing Documents and Outbound Delivery)
SPRO Node for output configuration (IMG Path --> Cross Application Components)1) Define Output types �
Output Control -> Define Output Types
2) Assign Output Channels -
Output Control -> Assign Output channels In this activity assign output channels to output type.3) Define Determination of Form Master Templates �
Output Control -> Define Determination of Form Master Templates
The master form template contains static data (such as a logo and footer) that is applied to each form page and is determined based on configuration setting maintained.
Activities
a) Enter a rule ID, preferably an ID that indicates the logic of the rule.
b) Enter an ordinal number to specify the position of the rule in the determination sequence.
c) Following parameters are optional �
- Organization Type
- Organizational unit
- Channel
- Sender country
- Form Template
During document output, the master form template is determined by comparing each defined rule with the current data provided by the application. If a parameter is not defined (no value entered), this parameter is considered as a match, and else, system determines the rule where all parameters match. Master form template is used corresponding to this rule.
Business Rules for Output Determination �
Below configuration steps are relevant for all application areas (Sales Order, Purchase Order, Billing Documents and Outbound Delivery)
SPRO - > Cross-Application Components -> Output Control -> Define Business Rules for Output Determination (Transaction: OPD)In this Customizing activity, you can define how the system determines output parameters during document processing. You can define business rules for the determination of output parameters, such as output types, recipients, and form templates.
Following determinations are available -
| Determination | Number of Matches | Result | Example |
|---|---|---|---|
| Output Type | Multiple | Output Type to be used | Output BILLING_DOCUMENT can be determined on the basis of billing document type (F2). |
| Receiver | Multiple | List of Receiver Roles | Receiver roles (SP, SH, RE, RG) are determined for the determined output type (BILLING_DOCUMENT). |
| Channel | Multiple | List of Output Channels | Channels (EMAIL, PRINT and IDOC) are determined. |
| Printer Settings | Single | Output devices and number of copies | Output device (LOCL) for channel PRINT |
| Email Settings | Single | Sender Email address and Email Template | link download
|