Skip to Content
0

Significance of Prameter ID in data element level

Jul 14, 2017 at 10:44 AM

104

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Domi Bigl Jul 17, 2017 at 04:26 AM
2

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.

Share
10 |10000 characters needed characters left characters exceeded
Jaya Varghese 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?

Share
10 |10000 characters needed characters left characters exceeded
Horst Keller
Aug 04, 2017 at 05:21 AM
0
Share
10 |10000 characters needed characters left characters exceeded