This website is not affiliated with, sponsored by, or approved by SAP AG.

Domain which allows values '+', '-', and ' '

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Domain which allows values '+', '-', and ' '

Postby sapmanie » Wed Jan 11, 2017 10:18 am

Hi.
Anyone know of a standard domain which allows values '+', '-', and ' ' only?
I know I can create a Z one, but I normally try to use SAP standard first.

Thanks!
sapmanie
 
Posts: 483
Joined: Fri Jan 23, 2004 10:39 am

Re: Domain which allows values '+', '-', and ' '

Postby jomgmxnet » Thu Jan 12, 2017 5:55 am

Hi

Data dictionary is your friend and my way to find an answer is the following:

In table DD07L you find the domains with their respective allowed values.
By some SQL statement(s) or using SE16 you will quickly find out the 109 domains which allow +, - and blank - but many of them allow more than that... but you will be able see which are limited to these three.

If you want to pick one with a suitable name, you can search in table DD01T for the names of these domains, and then check if the texts relating to the values +, -, blank are ok for you.

My quick pick would be domain P01C_VORZE

What would be a better/quicker way to answer the question?

Best regards and thanks for many good tips out of this forum in the past :-)
Jochen
jomgmxnet
 
Posts: 1
Joined: Mon Jan 13, 2014 8:23 am

Re: Domain which allows values '+', '-', and ' '

Postby sapmanie » Fri Feb 03, 2017 7:01 am

Thanks for the reply jomgmxnet.
I had used DD07L originally in SE11 but putting '+' into domvalue_l didn't return anything :-P Putting in P01C_VORZE returns the domain though.
Must be some select thing, but thanks, I can use P01C_VORZE anyway!
sapmanie
 
Posts: 483
Joined: Fri Jan 23, 2004 10:39 am


Return to ABAP

Who is online

Users browsing this forum: No registered users and 5 guests





This website is not affiliated with, sponsored by, or approved by SAP AG.