Skip to Content

Attribute values: How does "Value help" and "Task" work?

Hello,

I have created a customer Attribute which is an entry reference for MX_PERSON and a single value attribute. I want to display only some entries of identities when somebody uses this attributes on web UI task. Therefore I have to configure the attribute on tab "Attribute Values".


"SQL query" is working fine. But I want to test also the other methods.


"Value help": Is it possible that this doesn't work with attribute which has as type entry reference? I have added one entry to table mxi_value_help but this will be ignored. All entries of MX_PERSON will be displayed.

I have used following syntax
ValID ValKey ValText ValLocale
<new attribute> <mskey of an entry> <displayname of an entry> NULL

I expected that only one entry will be displayed.


"Task": I have no idea. Can anybody please give me an example how it works?


Thanks in advance!

Kind Regards
Michael

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 25 at 09:30 AM

    Hi Michael,

    I think you are heading in a wrong direction.

    For the purpose described I think an SQL statement is the appropriate way.

    Attribute value help is a lookup table to match simple attributes (not references) to dedicated value. Please find the example in the link Richard posted which explains the intention. The feature is most commonly used with attributes like MX_SALUTATION which translates HR values like 001 and 002 into language dependent values like "Frau", "Herr", "Ms." or "Mr.".

    The idea of tasks is to set a reference for the specification of access controls. You define one task as the source for the access controls and refer to this task on the UI-tasks that should get the same settings. This way you only will have to maintain the task with the source specification for the access controls and all other tasks referring to it will inherit the new setting. Which can lead to intended but also to unintended effects!

    HTH

    Regards,

    Alex

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 22 at 10:43 AM

    Hi,
    I expect that the value help structure does not work with referenced entries. See https://help.sap.com/viewer/4773a9ae1296411a9d5c24873a8d418c/8.0/en-US/333e1c676fb54aa1a4de052c873a7bdc.html.
    Attribute value help is working only with:

    • SingleSelect
    • Radio button
    • ObjectValueHelp
    • MultiSelect

    The option "Task" I did not found out either :D
    The documentation says "Select this option to specify a task for which the access control is used to retrieve the legal values." -_-

    Regards, Richard

    Add comment
    10|10000 characters needed characters exceeded