Ansicht
Dokumentation

BBP_TRIGGER_PO_COND - Condition-Dependent Document Output

BBP_TRIGGER_PO_COND - Condition-Dependent Document Output

TXBHW - Original Tax Base Amount in Local Currency   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

In this activity, you specify conditions for outputting SRM documents for which action profiles and actions have already been defined.
This means that you can configure multiple output (serial processing) for certain documents, on basis of all the attributes that belong to the relevant business object.
Note that SRM does not support any start conditions (for example, Approval Required).

Note:
Alternatively, you can use BAdI BBP_OUTPUT_CHANGE_SF for flexible document output (applicable only in case of Smart Form output).

You have selected the determination technology with transportable conditions in the IMG activity Define Actions for Document Output.

You have the following options for setting the indicator Default Settings from Action Definition for a selected action profile:

  • If you set this indicator,
    you can transfer the settings you made in the activity Define Actions for Document Output to an action template, where they cannot be changed.
  • If you do not set this indicator,
    you can transfer the settings you made in the activity Define Actions for Document Output to an action template, where they can be changed.

If you want to edit the action profile for SRM documents (application BBP_PDProcurement Document), always do so by working through the relevant activity in the Implementation Guide (IMG) for SRM Server, and not by calling transaction SPPFCADM (PPF Administration: Start Customizing).

To edit an action profile, proceed as follows:

  1. Select an action profilefor the desired document.
    The actions that are assigned to this profile appear in the upper right-hand area of the screen.
    SRM ships several actions with sample schedule conditions for the action definition of individual documents.
  2. Choose Create....
    The system adds an action to the list.
    You can change the proposed processing type (for example, print) and processing if necessary.
  3. Select the new action by double-clicking it.
  4. Depending on what you want, either select or deselect the indicator Default Settings from Action Definitionon the Overview tab page.
    Specify valid processing times (for example, When Document Is Saved); see also Define Actions for Document Output.
  5. Edit the action details.
    1. Make sure that the indicator Schedule Automatically has been selected.
      This means that the action will be scheduled automatically, provided that the schedule condition is met.
    2. Also make sue that at least one Available Processing option has been assigned to the action template.
  • If you have selected Processing with Smart Forms, you must ensure that a Smart Form with a valid name, class and method has been assigned under Form.

  • If you have selected External Communication, you must make sure that a PDF-based form with a valid name and a valid format corresponding to an implementation of the Business Add-In implementations of method PERSONALIZE_PDF_DOC_PDFIF of Business Add-In DOC_PERSONALIZE_BCS exists and is assigned under the form.

  • If you have selected Processing with Method Call, you will be able to use a document-specific method (for example, EBP: Send Purchase Order in XML Formatfor purchase orders).
    Note:
    You can use this method as a template for your own methods in the <DS:GLOS.36F8E991E7CC696AE10000009B38F984>Business Object Builder.

  1. Edit the schedule conditions.
    You can edit existing conditions (for example, Standard Output XML), or create new conditions.
    1. Ensure that at least one scheduling conditionis assigned.
    2. Choose Edit Condition.
      This takes you to the initial screen of the condition editor.
    3. If you want to create a new schedule condition, you also go to the condition editor.
      Enter a description. You can store conditions by double-clicking the Condition Definitionarea of the screen.

      For more information about working in the condition editor, see the SAP Library (Basis-> Business Management-> SAP Business Workflow-> Reference Documentation-> SAP Business Workflow - Navigation-> Workflow Builder-> Functions in Workflow Builder-> Condition Editor).

      Note: You can set up serial processing for schedule conditions. If you do not create a Stopas the end of processing for output actions, the system sequentially processes a further output action (providing that the relevant condition is met).

You could specify the following values for processing a purchase order by mail:

Description (Setting): Sample value:
Action Definition, Processing Type Standard PO, E-Mail
Overview tab page Schedule Automatically indicator = X
Action Details Processing type = Smart Forms Mail
Form name = BBP_PO
Processing class = CL_PD_PROCESSING_BBP
Processing method = PROCESS_BBP_PO_MAI
Schedule Condition Description = Standard Output Mail
Interface/object type = BUS2201 (Purchase Order EC)
Condition definition = Purchase Order EC.SendMedium& = XML

For PDF based forms:

Description (Setting): Sample value:
Action Definition, Processing Type Standard PO, E-Mail
Overview tab page Schedule Automatically indicator = X
Action Details Processing type = External Communication

,,Form name = BBP_PO_ADB

,,Form Type = PDF Based Form

,,Format = BBP_PO_ADB_MAI

Schedule Condition,,Description = Standard Output Mail

,,Interface/object type = BUS2201 (Purchase Order EC)

,,Condition definition = Purchase Order EC.SendMedium& = MAI


Action Details
  • Parameter(in schedule condition)
    You can define parameters instead of fixed values for comparison conditions. This means that you can use a parameter several times. If you have to make changes to a limit value in several conditions, using the parameter means that you avoid having to change the value in each of the affected conditions. All you have to do is change the parameter.
    Example:
    You want to create different output actions for purchase orders, depending on the purchase order value. To do this, you create a parameter for the Purchase Order Total Limit Value, and assign the relevant value to the parameter (5000, for example). You use this parameter in 20 conditions. ... After a while, however, you want to change the limit value to 7000. By changing it in the parameter, your change takes effect in all of the affected conditions.






BAL Application Log Documentation   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 11202 Date: 20240524 Time: 000950     sap01-206 ( 83 ms )