15
1 INSTALLATION OF FUNCTION MODULES Docu Performer for SAP Version 15

INSTALLATION OF FUNCTION MODULES - bluetelligence...Z_RFC_CODESCAN Mandatory for scan of ABAP source code (coding in Transformations, Includes, Methods, DTP Routines etc.) Analysis

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

  • 1

    INSTALLATION OF FUNCTION MODULES

    Docu Performer for SAP

    Version 15

  • Docu Performer | INSTALLATION OF FUNCTION MODULES 2

    Introduction .............................................................................................................................................................................................................................................. 3

    Overview of Customer-Owned Function Modules ..................................................................................................................................................... 4

    Installation of the Customer-Owned Function Modules ........................................................................................................................................ 5

    Enter the Prefix for the Technical Name of the Customer-Owned Function Module ...................................................................... 6

    Creating Function Modules ........................................................................................................................................................................................................... 7

    Required Authorizations in SAP ................................................................................................................................................................................................ 8

    Update Function Modules ............................................................................................................................................................................................................. 9

    Possible Issue .......................................................................................................................................................................................................................................10

    Transport Function Modules ....................................................................................................................................................................................................11

    Visit our website and subscribe to our newsletter

    www.bluetelligence.de

    Write us an e-mail

    [email protected]

    [email protected]

    Give us a call

    +49 611 16779040

    Visit our blog

    en.blog.bluetelligence.de

    Follow us on Twitter

    @DocuPerformer

    Watch our videos on YouTube

    www.youtube.com/user/bluetelligence

  • Docu Performer | INSTALLATION OF FUNCTION MODULES 3

    IntroductionAfter installation, the Docu Performer is immediately ready for operation. However, with the aid of a few RFC capable function modules the scope of operation can be further enhanced. Customer-owned function modules can be installed in the SAP development system with mi-nimum investment. Installation does not take place via transportation, but rather directly from the Docu Performer via a standard function for the application of function modules. For this the standard SAP function module ”FUNCTION_CREATE_REMOTE“ is used.

  • Docu Performer | INSTALLATION OF FUNCTION MODULES 4

    Overview of Customer-Owned Function Modules

    Function Module Description Module

    Z_RFC_ENTITY_SYNC Synchronization with SAP objects. If the Function Module is not installed, the synchronization works also well, but less performant.

    General

    Z_RFC_READ_REPORT Read Source code of Includes, Reports and Function Modules. Documentation, Analysis

    Z_RFC_GET_DTP_DETAILS Read DTP Filter and Semantic Groups. If the Function Module is not installed, DTPs are documented anyway, but without Filters and Semantic Groups.

    Documentation

    Z_RFC_USAGE_ANALYSIS Mandatory for where-used analysis of InfoObjects and reporting entities. The where-used analysis of InfoProvider works also without the Function Module.

    Analysis

    Z_RFC_AUTH_CHECK Identify users who are authorized to Queries. If the Function Module is not installed, this will still work, but much less performant.

    Documentation

    Z_RFC_CODESCAN Mandatory for scan of ABAP source code (coding in Transformations, Includes, Methods, DTP Routines etc.)

    Analysis

    Z_RFC_GET_STRING Mandantory for documentation of Analysis Processes (APDs). The information is stored in a table field of type STRING that can‘t be read using standard Function Module RFC_READ_TABLE.

    Documentation, Analysis

    Z_RFC_TRANSLATION Write descriptions of objects in relevant tables of the SAP BW-System. Modeling/Translation

    Z_RFC_ADSO_GETDTL_XML Reading information regarding an ADSO. Modeling

    Z_RFC_ADSO_CREATE_XML Creating and activating ADSOs in a SAP BW-System. Modeling

    Z_RFC_FUNCTION_DELETE Deleting Function Modules in a SAP BW-System. Required when updating Function Modules. General

    Z_RFC_CHECK_ACT_TR Check, activate and assign transports of all object types in the Translations Add-On. Translations

  • Docu Performer | INSTALLATION OF FUNCTION MODULES 5

    Installation of the Customer-Owned Function ModulesInstallation of the customer-owned Function Modules takes place in three steps:

    1. Enter the prefix for the technical name of the customer-owned Function Modules in the Docu Performer2. Install the function group in the Docu Performer or in SAP GUI3. Synchronize/install the customer-owned modules

  • Docu Performer | INSTALLATION OF FUNCTION MODULES 6

    Enter the Prefix for the technical Name of the Customer-Owned Function ModuleAfter the function group has been installed, the Function Modules can be installed automatically from Docu Performer (Administration > Create customer Function Modules). You must be connected with the SAP development system in order to be able to install or update the Function Modules. If desired, you can amend the prefix of the technical names. The initial letters (typically Z_) are a freely selectable prefix which, if required, can be changed. Fix is merely the rear part of the name. After input of the prefix, press the button ”Check“.

    The SAP module for the installation of the Function Modules unfortunately does not support technical

    names which include ”/“.

    Go to ”Administration > Create customer Function Modu-les“.

    1

    Enter the new prefix to name the Function Modules, if necessary.

    2

    Click the ”Check“ button to search for existing function modules.

    3

    1

    32

    4

    This property sets the delimiter for Function Modules, that need a delimiter for concatenated string field.

    4

  • Docu Performer | INSTALLATION OF FUNCTION MODULES 7

    Creating Function ModulesTo create new customer specific Function Modules, a Wizard will lead you through the entire process of setting up and updating these objects. Relevant authorization checks need to be successful in advance, to start the Wizard. You can either choose between the inserted prefix or an already existing one. Function Groups can be created automatically or also selected from already present groups. Authorization, lock and further checks are continuously conducted during the complete process. Should one of these test fail, you will receive more detailed information from the Wizard.

    Please read carefully and follow the instructions given by the Wizard.

  • Docu Performer | INSTALLATION OF FUNCTION MODULES 8

    Required Authorizations in SAP

    Authorizations Field Values

    ACTVT 02

    CONFIG_ID

    S_SIW_CFG - Authorization for projects in SIW [T-B274007000]

    BC_A - Basis: AdministrationS_TABU_NAM - Table Access by Generic Standard Tools [T-B274007000]

    Authorizations Field Values

    ACTVT 03

    TABLE CVERS, DEVACCESS, E070V, E071, FUPARAREF, INFO_FUNCT, PROGDIR, TADIR, TFDIR, TLIBG

    BC_C - Basis - Development EnvironmentS_DEVELOP - ABAP Workbench [T-B274007000]

    Customer-specific namespaces, if required1

    AAAB - Cross-application Authorization ObjectsS_RFC - Authorization Check for RFC Access [T-B274007000]

    Authorizations Field Values

    ACTVT 16 Execute

    RFC_NAME AUTHORITY_CHECK, ENQUEUE_READ, RFC_FUNCTION_DELETE, RFC_GET_FUNCTION_INTERFACE, RFC_READ_REPORT, RFC_READ_TABLE, RFC1, RFCPING, RPY_INCLUDE_UPDATE, RS_FUNCTION_POOL_INSERT, RS_FUNCTI-ONMODULE_INSERT, SDTX, SEUF, SIFP, SIW_RFC_REPOSITORY, SIW_RFC_WRI-TE_TADIR, SUNI, SUSR, SYST, USER_NAME_GET, Y*, Z*

    RFC_TYPE FUGR, FUNC

    1

    Authorizations Field ValuesACTVT 01, 02, 03, 07, 16 Execute

    DEVCLASS $TMP, *, Y*, Z*

    OBJNAME Y*, Z*

    OBJTYPE FUGR, FUNC

    P_ GROUP *

    1

    1

  • Docu Performer | INSTALLATION OF FUNCTION MODULES 9

    Update Function ModulesWhen applicable, customer specific Function Modules might need to be updated or generated to be compatible with the Docu Performer Version in usage. In this case, a dialog window will prompt the user to perform an update. Affected Function Modules are highlighted either in red or grey. The Wizard will also offer automatic support for these steps.

  • Docu Performer | INSTALLATION OF FUNCTION MODULES 10

    The reason is probably that SAP tries to display a message like:

    Possible IssueThere might appear following issue when updating the Function Modules:

    This message will be shown only when you run the func-tion module RPY_INCLUDE_UPDATE within SAP.

    Due to the fact that we have a remote connection from Docu Performer, the pop-up is not shown and can‘t be confirmed.

    Probably there is a modifiable transport in SAP that contains the Top-Include of the function group. When the transport was created by another user, SAP automatically adds a new task and requires a user confirmation.

    Find and delete the modifiable transport, that contains the Top-Include of the function group.

  • Docu Performer | INSTALLATION OF FUNCTION MODULES 11

    Transport Function ModulesIn order to transport the customer-owned Function Modules also into the test and production system, the following steps must be taken.

    Call up via Function Group in the SE80

  • Docu Performer | INSTALLATION OF FUNCTION MODULES 12

    Take up Function Group into Transport

  • Docu Performer | INSTALLATION OF FUNCTION MODULES 13

    Take up Function Modules into Transport

  • Docu Performer | INSTALLATION OF FUNCTION MODULES 14

    Summary of the Objects to be transportedTake up Includes into Transport

  • Docu Performer | INSTALLATION OF FUNCTION MODULES 15

    © 2018 bluetelligence GmbH. All rights reserved.

    No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of bluetelligence GmbH. The information contained herein may be changed without prior notice. bluetelligence and Docu Performer and their respective logos are trademarks or registered trademarks of bluetelligence GmbH. SAP, ABAP, BAPI, SAP NetWeaver, SAP BI, SAP BW and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany or an SAP affiliate company. All other product and service names mentioned are the trademarks of their respective companies.