SAP ABAP IMG Activity /SAPPO/VSCRN_ASG (Define Tab Page Display in Object Area)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-GTF-TS-PPO (Application Component) Postprocessing Office
     /SAPPO/CUSTOMIZING (Package) Postprocessing Office - Customizing
IMG Activity
ID /SAPPO/VSCRN_ASG Define Tab Page Display in Object Area  
Transaction Code /SAPPO/72000187   Tab Page: Object Area 
Created on 20041010    
Customizing Attributes /SAPPO/VSCRN_ASG   Define Tab Page Display in Object Area 
Customizing Activity /SAPPO/VSCRN_ASG   Define Tab Page Display in Object Area 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /SAPPO/VSCRN_ASG    

Use

In this IMG activity you have the following options for designing the object area on the detail screen of the Postprocessing Desktop:

  • Replace, add or hide tab pages
  • Hide the object key in the title of the tab pages

When you start the Postprocessing Desktop, the system determines the valid entry in this IMG activity by making the following checks. As soon as one of the checks is successful, the valid entry is found:

  1. Is there a complete, applicable entry?
  2. Is there an applicable entry without message details?
  3. Is there an applicable entry without message details and without an object role?
  4. Is there an applicable entry without message details, object role, and business process, meaning only with an appropriate object type?

Requirements

If you wish to add or replace tab pages, the following prerequisites must be met:

  • In the Function Builder you have created your own function group in the customer namespace (the name starts with Y or Z).
  • In the Screen Painter you have created your own screens, category subscreen , that are in your own function group. You have placed the elements such as output fields, tables, pushbuttons and so on directly on your screen with the Screen Painter.

    For more information about the Screen Painter, see transaction SE51 by choosing Help -> Application Help.

    Note:

    The tab pages in the Postprocessing Desktop are used for displaying data, but not for changing or entering it. However, on your screens you can use pushbuttons. In this case, the assigned function codes must be in the customer namespace.

  • If you do not wish to use any of the PBO and PAI function modules supplied by SAP and none of the function modules for updating the application data, you must have created your own function modules in the customer namespace that are within your own function group. You also need your own PAI function module if you wish to include pushbuttons on your screen.

    In this case, note the following:

    • The interface of the PBO function module must be defined as follows:
    • FUNCTION XYZ_PPO_API_ISDAT.
      *"----------------------------------------------------------------------
      *"*"Local interface:
      *" IMPORTING
      *" REFERENCE(I_STR_OBJECT) TYPE /SAPPO/STR_OBJECT
      *"..EXPORTING
      *" REFERENCE (E_XML_DATA) TYPE STRING
      *" EXCEPTIONS
      *" INTERNAL_ERROR
      *" NOT_AUTHORISED
      *"----------------------------------------------------------------------
      You do not have to directly refer to structure /SAPPO/STR_OBJECT; you can use any structure, but the fields must be of the same type. This can be necessary to avoid errors in the package check.
      Using export parameter E_XML_DATA you can query the serialized data, also outside the system. In this case, a check must be made in the PBO function module to find out if the object to be displayed is in the local system. If this is not the case, you can obtain the data from the external system using proxy function module /SAPPO/API_PROXY_OBJECT_ISDAT, which you call from the PBO module.
    • The interface of the PAI function module must be defined as follows:
    • FUNCTION XYZ_PPO_API_FCODE.
      *"----------------------------------------------------------------------
      *"*"Local interface:
      *" IMPORTING
      *" REFERENCE(I_FCODE) TYPE SYTCODE
      *" EXCEPTIONS
      *" INTERNAL_ERROR
      *"----------------------------------------------------------------------
    • Function module XYZ_PPO_API_REFRESH for updating the application data does not need an interface.

Standard settings

To display the assignments supplied by SAP with the standard system, use IMG activity Display System Settings for the Postprocessing Office.

SAP supplies one tab page per object type. As soon as you create an entry for an object type in this IMG activity, the system no longer takes account of any entries for this object type in system table /SAPPO/SSCRN_AS.

Activities

To design the object area, assign the attributes PAI function module, PBO function module, function module for updating the application data, program and screen number to the object type of the respective tabe page ('Account', for example) and specify whether you want the object key hidden. If you wish to assign different attributes depending on the business process, object role, and message, you can create multiple entries for each object type.

To do this, proceed as follows:

  1. Choose the object type for the tab page for which you wish to assign (other) attributes.

    The system displays both the object types supplied by SAP and the object types created by yourself in the Customizing for the Postprocessing Office (CA-GTF-TS-PPO) by choosing Object Types -> Define Objects for you to choose from.

    • If you wish to include a new tab page, choose one of your object types.
    • If you wish to replace or hide one of the tab pages supplied by SAP, assign other PBO/PAI functions or another function module for updating the application data to a tab page supplied by SAP, or wish to hide the object key in the title of one of the tab pages supplied by SAP, choose the object type in question.
  2. If required, specify a business process, an object role, and a message.

    The message details refer to the main message that is displayed in the header area of the Postprocessing Desktop.

    Note the following:

    • If you do not enter any details about the business process, object role, and message, the entry applies for all business processes, object roles, and messages of an object type for which you have not created a detailed entry.
    • You must enter either all or no message details.
  3. Specify a function module that you want the system to run before calling the tabe page for the PBO event and/or specify a function module that you want the system to run after calling the tab page for the PAI event.
  4. Specify a function module that you want the system to run if you choose Refresh in the toolbar in the Postprocessing Desktop, if you execute a processing method in the object area, or if you choose a pushbutton in the object area.
  5. Specify your required screen (programs) and the screen number.
  6. If you wish to hide the object key in the title of the tab page, set the Hide Key indicator.

Example

Business Attributes
ASAP Roadmap ID 261   Define Screen Control 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG /SAPPO/VSCRN_ASG 0 /SAPPO/ABA0000332 Postprocessing Office 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
/SAPPO/VSCRN_ASG V - View SM30  
History
Last changed by/on SAP  20041010 
SAP Release Created in 700