Skip to Content

Significance of Prameter ID in data element level

I have created a custom parameter in TPARA. I have assigned it a value in User Profile settings so that fields referring get that default value. Also I have created a custom data element and specified this parameter ID in data element level. I have a dialog program, having a parameter to be entered by the user and this field is of type of the newly created data element.

PARAMETER CHECKPA TYPE ZMAIL1

ZMAIL1 is the data element with custom parameter assigned.

But when I run this, it is not defaulting the value set in user parameters. When I specify it as

PARAMETER CHECKPA TYPE ZMAIL1 MEMORY ID 'ZAB', it works. Then what is the significance of specifying parameter ID in Data element level.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jul 17, 2017 at 04:26 AM

    The parameter id of the data element is only used if the structure/table field with this data element is directly assigned to the dynpro.

    If you use the element to declare a field/parameter you need to explicite define the SET/GET parameter for the field - either with MEMORY ID at selection screens or at the element list->special attributes tab for "real" dynpro.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 04, 2017 at 03:33 AM
    -1

    Thanks for the info Dominik..

    So when we declare a field of a particular type in dictionary, only data type and length will be inherited, isn't it?

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 04, 2017 at 05:21 AM
    Add comment
    10|10000 characters needed characters exceeded