Skip to Content

displaying released contract only at hierarchy contract list

Dear Experts,

We are at srm 7 version (714). We are using contract hierarchy at stand alone scenario.
The system displays related contracts ander header > hierarchy tab. but the system displays all contract at all ststus. We would like te see only released contract. Does anyone knows how to filter and display only the released status contract?

Other option is to display another row with the status of each contract.

Thank you,
Yaron

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 12 at 10:50 AM

    Dear Yaron,

    Per standard design system lists all Contracts in the hierarchy, so if you would like to restrict the list, you need to modify the standard logic. When user opens the Hierarchy tab, system calls Method GET_HIER_TREE of class /SAPSRM/CL_PDO_BO_CTR. This Method returns the hierarchy list to the main REFRESH method that will populate the table in the UI. So in this Method (GET_HIER_TREE) you would need to implement a post-exit enhancement using a logic that loops at the table ET_HIER_TREE and selects the statuses FM CRM_STATUS_READ exporting the GUID. Then, you can delete those entries from the hier table, where the FM doesn't return the Released status I1141.

    Best regards,

    Daniel

    Add comment
    10|10000 characters needed characters exceeded

    • Dear Yaron,

      The option I have mentioned does that. If you implement the enhancement, you filter the displayed result list based on status. You won't lose any data on DB side. The only thing the system does is that it filters the not Released contract from the displayed list.

      Best regards,

      Daniel