Skip to Content

displaying released contract only at hierarchy contract list

Apr 10 at 12:24 PM


avatar image

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,

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Daniel Marlen
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,


10 |10000 characters needed characters left characters exceeded