We are looking for some guidance or sample code on the best approach to implement dynamic phrase set assignment in SAP EHS module. We would like to dynamically change the phraseset assigned to a characteristic based on the value selected in another characteristic.
We saw that SAP enhancement C14X0001 is available to dynamically determine and assign phrase sets to characteristics based on the current value assignment usage.
Could we still leverage enhancement C14X0001 but drive the logic not on the assignment usage but on a value stored in another characteristic ?
What if this other characteristic is not even yet save in the database and has just been entered at the user interface level (SAP GUI) by the user, could we still use BAPI_BUS1077_GETDETAIL or another family of function needs to be use ? How can we access the current user interface context (SAP GUI) ?
Aside from enhancement C14X0001 would there be other recommended approach that we should try ?
Thanks
Request clarification before answering.
Hi,
Thanks for the initial feedback. We have many use cases where the data entry is complex and would really benefit from dynamic phrase set. We will eventually look into custom "EHS workflow" but short term our goal was to simply use the existing C14X0001 enhancement.
We are planning to continue in this direction for now. We have revised the sample function module provided by SAP "C14X_PHRSEL_DYNAMIC_SET" but this is a limited example. How could we extend that approach to access other characteristics value not yet stored in the database ? If you have additional technical guidance or sample code that may help us it would be great.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
I am not allowed to share code examples (or other details of our implementation). But we have implemented such requirement (as yours). I need to check later C14X_PHRSEL_DYNAMIC_SET.
Overall: the benefit of the use of this functionality depends on the requirement. If i need to decide now: yes we have implemented it..but the business support is,, from my point of view, limited and the ratio (reduction of maintenance time) is not good enough, So if need to implement it once again: I would not go on in this direction once again but I would prefer e.g. rule set etc. options.
C.B.
Hello
regarding "We have many use cases where the data entry is complex and would really benefit from dynamic phrase set."
Keep in mind this.. in EHS classic there is really a huge number of useful functionality which you can use as a "work around" so that you gain the same benefit but without programming. The use of the other approaches depends on "philosophy" / "User training" etc. and it depends on the number of "variants" you need in your maintenance process
Simple examples are like:
As mentioned above: an user has some specific idea in mind why he/she would like to maintain something . One easy to use option is
use REAL_GRPs having the data you need ; use inheritance; User need then only to "insert" a REAL_GRP in "inheritance" part with an "inheritance template"... The "trick" here is only the "organization" of the REAL_GRPs (you need "usefull" identifiers to search for such REAL_GRps)
A second simple example is: you can copy easily data from spec A to B. So if you have a hit lits with A and B and you would like to maintain B but A does have "similar" data: by using SAP standard copy/insert mechanism" you can populate "B" in < 1 min with use ful data and you need to adust may be only partially the data as copied.
These simple functions are very helpful easy to learn and you avoid complex development
C.B.
PS: please check the "MSDS Maker" options; SAP is now using a different Term since years.. (new term: COSSTA) but this approach is as well very flexible and can be a better solution than the "phrase set" option
E.g. https://answers.sap.com/questions/12501558/how-to-connect-msds-maker-tool-to-sap.html
https://answers.sap.com/questions/11960041/msds-maker-usage.html
https://answers.sap.com/questions/12603684/msds-maker-question.html
https://answers.sap.com/questions/12387806/use-of-msds-maker-and-set-up-process.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.