Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Validation at table level in table maintenance generator

$
0
0

The validation should be like we need an unique cost center in the program.

i have three fieds in the table

company code and cost center are primary fields and user is another field

 

The validation that we want is if we have an entry

 

company code          cost center            user

ww                           ARZ5511              Nithin


is allowed

it should not allow any more entry for the same cost center

ie ARZ5511

and if we have an entry

 

company code          cost center            user

X1                           ARZ5511              Nithin

 

it should not abllow any entry with

1*   ARZ5511 ttruax

  similarly for X3, X5, X7 and X9, 3*,5*,7*,9*.

Here * means the company code starting with 1.

 

I'm not knowing how to deal with this case.

Please help me guys.

 

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>