Show TOC

Prerequisites for Output ManagementLocate this document in the navigation structure

Use

You should use this process to leverage the capabilities and benefits of the output management adapter.

Process
  1. PPF Agent Class

    Inherit class /BOFU/CL_PPF_SERV_FOR_BO and redefine the methods. You can work with the following methods, all of which have ABAP and BRFplus variants:

    1. Get Profiles

      GET_PROFILES_BY_ABAP()

      If you use an ABAP implementation you can redefine this method to do the following:

      1. Write appropriate logic specific to the application state to select the action profile for the given input keys.

        The keys correspond to node instances.

      2. Write appropriate logic to get the alternative key from the BO for the given input keys.

        If an alternative key is not available, you should use the node ID (GUID) as the Post Processing Framework (PPF) key.

      GET_PROFILES_BY_FDT()

      If you use a BRFplus function, you can use a method. You may not need a business add-in (BAdI) implementation as the function should return the required PPF profiles and the alternative keys.

    2. Get Communication Partner

      GET_COMM_PARNR_BY_ABAP()

      If you use an ABAP implementation you should write appropriate logic to select the document partners from the BO for the given input keys. You can only select the document partners data if you have enabled partner-dependent actions.

      GET_COMM_PARNR_BY_FDT()

      If you use a BRFplus function, do not redefine this method. This method calls the BRFplus function which should return the required document partners.

    3. Evaluate Schedule Condition

      CAN_SCHEDULE_ACTION_BY_ABAP()

      If you use an ABAP implementation you should write appropriate logic to do the following:

      • Retrieve the BO data

      • Check if certain criteria are met to enable the PPF action for the given key

      If the criteria are met, this function returns the keys. For these keys, the system generates the PPF action for the output if you define more than one PPF action for a given BO node. You should check different schedule conditions in the same redefinition and give a CASE statement for the input action name.

      CAN_SCHEDULE_ACTION_BY_FDT()

      If you use a BRFplus function, do not redefine this method. This method calls the BRFplus function that returns the keys for which you can enable a PPF action.

    4. Find Printers

      DETERMINE_PRINTER_BY_ABAP()

      If you use an ABAP implementation, you should write appropriate logic to do the following:

      • Retrieve the BO data

      • Find the appropriate printer to print business documents

      DETERMINE_PRINTER_BY_FDT()

      If you use a BRFplus function, do not redefine this method. This method calls the BRFplus function that returns the printer.

    5. Evaluate Start Condition

      EVAL_START_COND_BY_ABAP()

      If you use an ABAP implementation you should write appropriate logic to do the following:

      • Retrieve the BO data

      • Check if you can mass enable the PPF action for the given key

      EVAL_START_COND_BY_FDT()

      If you use a BRFplus function do not redefine this method. The function returns a status on whether or not the system can start the given action.

    6. Change_Print_Form

      FIND_PRINT_FORM_BY_ABAP()

      If you use an ABAP implementation you should write appropriate logic to do the following:

      • Retrieve BO data

      • Find the PDF-based print form that replaces the original PDF-based print form

      FIND_PRINT_FORM_BY_FDT()

      If you use a BRFplus function do not redefine this method. The function returns the name of the PDF-based print form for the given processing type for the given key.

    7. Personalize_pdf_doc() (Personalization of Forms)

      PERSONALIZE_DOC_BY_ABAP()

      If you use an ABAP implementation you should write appropriate logic to do the following:

      • Retrieve the BO data

      • Fill the PDF-based print form

    8. METHOD_CALL_BY_ABAP():

      Write appropriate logic in this method to create and perform any action specific to the application.

  2. Read Application Data for an Alert: Implementation of BAdI ALERT_EXIT_LOCAL_PPF

    Implement method GET_ALERT_DATA of BAdI ALERT_EXIT_LOCAL_PPF to retrieve BO data for alert containers.

  3. BRFplus Application and Functions

    If you use BRFplus to enable decisions that are based on BO data, you should have the BRFplus application and functions available before you do the PPF configuration.

    For example, you have a BRFplus function to evaluate the schedule condition. The function returns the keys for which the system generates PPF actions. The system can use these actions in output management.