Skip to Content
author's profile photo Former Member
Former Member

if am using the data type is curr in domain , can i set the value interval or value range #abap dictionary

if am using the data type is curr in domain , can i set the value interval or value range #abap dictionary

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Apr 07, 2016 at 09:51 PM

    Why on earth would you want to enforce the salary limits in the data dictionary? It's just lazy. Validate the value wherever the data is entered. Today it's one limit, tomorrow there is inflation and it's another limit. Who knows.

    It makes sense to use the dictionary value range only for something more stable and predictable.

    Add a comment
    10|10000 characters needed characters exceeded

    • Quite right. Changing anything about a domain should not be considered lightly, and domain values are supposed to be quite stable. Furthermore, you'd be putting business logic into a technical object!

      If you must do it, put a table name in for the domain values. Don't put the values directly into the domain.

  • author's profile photo Former Member
    Former Member
    Posted on Apr 05, 2016 at 10:40 AM

    Hi Stalin,

    Fixed Value Definition is not allowed for data type CURR.

    So you can not set any Interval or Data range for data type CURR.

    Regards,

    Farook.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      How are you planning to update this tablew??

      If using TMG use source code validation in the TMG or events available. If through a ABAP program put the validation inside the program itself that the value should be between 5000 and 10000.

      Hope this helps.

  • Posted on Apr 08, 2016 at 02:38 PM

    Not that it's necessarily a good idea, but those kinds of checks could probably be programmed in (or better - called from) the Domain (Input) Conversion Routine...

    cheers

    Janis

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.