Ansicht
Dokumentation

APOC_MV_SFORM_PA - Define Rules for Determination of Master Form Template

APOC_MV_SFORM_PA - Define Rules for Determination of Master Form Template

RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

In this activity, you can define rules that determine the master form template.

Every time a document is output by the end user in an application, these rules identify the master form template that is to be used. The rules are based on several parameters: sender data, channel, and form template.

Note: Master form templates can contain placeholders for static data, for example, a logo and a footer. This data is displayed on each form page. You can use the Manage Texts and the Manage Logos app to assign texts and graphics to these placeholders.

You assign an ordinal number to each rule. Whenever an output process is triggered, the master form template is determined by comparing the defined rules in their numerical order with the data provided by the application.

The following logic applies to the numbers: The lower the number, the higher the priority. This implies that lower numbers should be assigned to more specific rules.

The comparison starts with the rule with the lowest number, the most specific rule. If not all parameter conditions are satisfied, the comparison moves on to the rule with the next lowest number.

The comparison continues until it finds a rule in which all the parameters match the data. The determination process now ends, and the master form template specified in this rule is used for the output.

Note: Each rule comprises several parameters. Some of the parameters are optional. If you leave the relevant fields blank, then any value satisfies the condition.

Note: Depending on the application context, different organization types are available. For example, when the determination is triggered by a Finance application, the SALES_ORG organization type is ignored.

Steps 3 to 5 are optional.

  1. Enter free text to create a rule ID. It’s advisable to choose a descriptive name.
    Once you have given a rule a specific ID, you can no longer change this ID.
  2. Enter an ordinal number. This number determines the priority of the rule in the determination sequence.
  3. Enter additional data such as organization type, channel, or form template.
    The applications provide information about which parameters they support.
  4. Enter the master form template that is to be used if all the conditions for the rule are satisfied.
  5. If you want to provide content for the master form template, enter the IDs of the relevant SAPscript texts and graphics.

You have created the companywide master form template YY1_DEFAULT_LAYOUT (default layout). You want to use this template for all output except for documents that are intended for your sales organizations.

For your sales organizations, you have created corresponding master form templates with specific layouts.

To ensure that the correct master form templates are used, you create one rule for each sales organization and one company-wide rule.

Since the company-wide rule should be very generic, most of the parameters are left blank.

Please note that while you can assign the same number to the rules for the sales organizations to ensure that they have the same priority, you need to enter at least one differing parameter, for example, the organization unit ID. Otherwise, you will end up creating several identical rules.

Form Derivation Rule ID Number Org. Type Organization ID Unit Type Org. Unit ID Channel Country/Region Form Template ID Master Form Template
SALES_ORG1 100   VKORG 0001     YY1_SALES_ORG_1
SALES_ORG2 100   VKORG 0002     YY1_SALES_ORG_2
SALES_ORG3 100   VKORG 0003     YY1_SALES_ORG_3
COMPANY_DEFAULT 999         YY1_DEFAULT_LAYOUT

 

 

   

 

 

 

 

 






ROGBILLS - Synchronize billing plans   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 5869 Date: 20240523 Time: 224053     sap01-206 ( 44 ms )