Skip to content

Checking of modified SAP standard objects in RFC context doesn't work #1157

Open
@ConjuringCoffee

Description

@ConjuringCoffee

Currently it is not possible to check most modified SAP standard objects when the ATC check is called via RFC.

The cause is this logic within method INFORM of ZCL_AOC_SUPER:

        SELECT SINGLE cnam FROM reposrc INTO lv_cnam
          WHERE progname = p_sub_obj_name AND r3state = 'A'.
        IF sy-subrc = 0
            AND ( lv_cnam = 'SAP'
            OR lv_cnam = 'SAP*'
            OR lv_cnam = 'DDIC' ).
          RETURN.
        ENDIF.

In an RFC context, any information contained in table REPOSRC is irrelevant to this check.

Unfortunately, I don't have a good idea on how to solve this yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions