Skip to Content
0

displaying released contract only at hierarchy contract list

Apr 10 at 12:24 PM

27

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,
Yaron

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
1

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Dear Daniel,

Thank you for your answer.

I would like to filter the data Just before presenting it so we will not lose data.
is there any why to do it?

Other option is to add a column with every contract status.


Thank you,
Yaron

0

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

0