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.
Hello
EHS allows lot of enhancement options. The option you would like to use is one of the many options to improve the "business part" in maintaining something
In the maintenance dialog any how in most cases the data is not "stored" immediately... i can understand your concerns (the technical part). To make it short: it is possible to find a solution (we are using this options for some subprocesses) but the solution depends on the "exact" business requirement.
The "BAPI" i believe you can not use as the BAPI is looking on data which is "yet stored" in data base and not which is "entered in the mode of user".; in most cases: the "phrase set" approach is used for entering data.. so the data is not yet stored in database.
To enhance here: you should only go on if the "business need is big enough"; one criteria might be:
if you now use 5 min in the dialog (until the full value assignment is prepared according to your needs) the "extension" (by using this exit) must be designed so clever that you will need now only may be at least of 3 min (so there must be a dramatic reduce in time to go on). And the "extension" should refer to a property/value assignment type which is used quite often a day so that overall some profit might be gained. Example. such extensions might make sense in context of "core" properties like may be GHS Classification / Labeling stuff but not if you will enter data in the VAT very rarely.,
C.B.
PS: there is nearly "zero" discssions running for EHS workflow but a "EHS workflow" can help as well to reduce the "maintance times" (if you have a clever design !)
But e.g. by using of rulesets and other extension options: as well you can gain speed in maintenance. So the "dynamic phrase set option" is only one of the many options to gain speed in data handling. You should therefore consider the other options as well before you start implementing something. In most cases; the person acting does have a "specific" idea in mind; why they would like to maintain.. and here you should invest time to understand the focus to find the best solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.