cancel
Showing results for 
Search instead for 
Did you mean: 

Error while activating the View

Former Member
0 Kudos

Hi i am trying to activate the view, but it is resulting in this below error.. i am providing the complete details of the view i created, please help me out what is wrong in this...

Tables added

ZTF_CUBD

ZTF_BTRN

TCURC

Join Conditions

ZTF_BTRN MANDT = ZTF_CUBD MANDT

ZTF_CUBD MANDT = TCURC MANDT

ZTF_BTRN MANDT = TCURC MANDT

ZTF_BTRN CALCID = ZTF_CUBD CALCID

ZTF_BTRN PSPID = ZTF_CUBD PSPID

ZTF_BTRN PROVID = ZTF_CUBD PROVID

View Fields

MANDT ZTF_CUBD MANDT

MANDT ZTF_BTRN MANDT

PDATE ZTF_BTRN PDATE

WBS1 ZTF_BTRN WBS1

FUTYP ZTF_BTRN FUTYP

PROVID ZTF_BTRN PROVID

BILLAB ZTF_CUBD BILAB

OBBUD ZTF_CUBD OBBUD

Below is the error message i am getting...

VIEW ZFAB_SUMBLCAL was not activated

Check view ZFAB_SUMBLCAL (OGILIA/07/10/06/23:01)

View allows read-only access only. Maintenance not possible.

'Display using Data Browser only' was set automatically

Key field ZTF_BTRN-CALCID missing

Key field ZTF_BTRN-PSPID missing

Key field ZTF_CUBD-FUTYP missing

Key field ZTF_CUBD-PDATE missing

Key field ZTF_CUBD-POSID missing

Key field ZTF_CUBD-RTYPE missing

All fields are evaluated as key field

Field name MANDT not unique

View ZFAB_SUMBLCAL is not consistent

Some one help me out with this.....

Thanks in advance....

Kris...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey Kris,

The error seen on SU53 clearly says that it is an authorization issue. Please forward the same screenshot to your basis/security people and ask them to provide you authorization to create custom database objects and that will solve your problem.

Thanks and Regards

Subray Hegde

Answers (15)

Answers (15)

Former Member
0 Kudos

Thank you subash will update you once i hear back from our Security guys....

Thank You,

kris....

Former Member
0 Kudos

HI subash i sent you a mail can you please check and respond to me...

Thank You,

kris...

Former Member
0 Kudos

Hey Kris,

As I suspected earlier, this seems to be a problem with authorization. Please consult your security team.

Thanks and Regards

Subray Hegde

Former Member
0 Kudos

HI Guys this are the messages i am getting now after changing my view fields, i have added all the key fields under the view fields...

VIEW ZFAB_SUMBLCAL was not activated

Check view ZFAB_SUMBLCAL (OGIL/07/12/06/08:51)

You do not have authorization for the database modification

View must be created in the database

View ZFAB_SUMBLCAL is consistent

Is this some king od authroization permission i need to get from security.. Please comment...

Thank you,

kris...

Former Member
0 Kudos

Hi Kris,

send the screenshots to my id: hegdesp@gmail.com. I will see what I can do. If you can, send me a screenshot of your view join conditions and errors of activations also.

Thanks and Regards

Subray Hegde

Former Member
0 Kudos

Hi subrey i checked in SU53 as you said and below are the messages i am getitng in it, sorry to trouble you guys so much...

Authorization check failed

Authorization Object S_DEVELOP ABAP Workbench

Activity 40

Package ZBDWBWA

Object name ZFAB_SUMBLCAL

Object type VIEW

Authorization group ABAP/4 program <Dummy>

User's Authorization Data

Authorization Object S_DEVELOP ABAP Workbench

Authorization T-DV15000614

Authorization T-DV15000620

Authorization T-DV15002200

Authorization T-DV15007800

Authorization T-DV15009100

I am not sure this is first time i am seeing this, so i sending you all the messages, so that you can help me out... if you need i can send you the screen shots of these to some mail id of yours...

Thank you once again...

Kris..

Former Member
0 Kudos

HI sunraj thanks for the reply, but if i do a join on all the key fields , most of my data gets filtered, i have almost 8 key fields and as of now i am joining on only 3 key fields.... Thats my situation, lets say if i did a join on all the 8 key fields i might not even get any records....

Please comment on this....

Thank You,

kris.

Former Member
0 Kudos

Hi Kris,

I saw this line in your error message: "You do not have authorization for the database modification". Also, it mentioned that the view is consistant. That means to say that you might have some authorization issue. Try to activate the view again and see if you get the same authorization error again. If you get the authorization error, go to SU53 and see if you got any log there for this activity. If SU53 log says you do not have the authorization, please go to your security team and request for this authorization in dev system. Hope this helps.

Thanks and Regards

Subray Hegde

Former Member
0 Kudos

hi Krish,

i hope u have created a database view, u are getting these errors because ur view is not consistant. Now Since it is not consistant, it will not avail any data to the datasource.

Now, how to resolve ur problem, See While creating the view make sure u join all the key fields with their source tables, as long as u do this system will keep showing u these errors. So while creting the view u feel that it is becoming very bulky, but dont worrry about that, just join all key fields in table to their respective source table.

Once u jon these all ur errors will no longer..

Now check the data in the view, can u see all the data into the view, (u may not find all the lines, this is because of ur join condition with different tables, )

Now go to datasource, rectivate it, so that it will contain latest defination of the view.

in RSA6 or RSA3 see the data in datasource, if is ok then ur problem is entirely solved.

if u have still problem let me know. i have done this activity, so i am very pleased to share things with u.

Assign the points it it helps you.

Former Member
0 Kudos

HI nagesh if i dont change the field name then i am gettin these messages untill i change each and every field that is being repeated, here FUTYP for example and then once i change the name to FUTYP1 then the next one MANDT and so on....

VIEW ZFAB_SUMBLCAL was not activated

Check view ZFAB_SUMBLCAL (OGILI/07/11/06/16:52)

Field name FUTYP not unique

View ZFAB_SUMBLCAL is not consistent

=====================================================

End of activation of worklist

Thank you,

Kris.

Former Member
0 Kudos

thank you guys for helping me out.... I did as you said but i am getting a new message now.....

Below is the error description

VIEW ZFAB_SUMBLCAL was not activated

Check view ZFAB_SUMBLCAL (OGILI/07/11/06/15:39)

You do not have authorization for the database modification

View must be created in the database

View ZFAB_SUMBLCAL is consistent

These are the what i have in view fields...

viewfield Table field

MANDT ZTF_BTRN MANDT

MANDT1 ZTF_CUBD MANDT

PDATE ZTF_BTRN PDATE

WBS1 ZTF_BTRN WBS1

FUTYP ZTF_BTRN FUTYP

PROVID ZTF_BTRN PROVID

CALID ZTF_BTRN CALCID

PSPID ZTF_BTRN PSPID

BILLAB1 ZTF_CUBD BILAB

OBBUD1 ZTF_CUBD OBBUD

FUTYP1 ZTF_CUBD FUTYP

PDATE1 ZTF_CUBD PDATE

POSID1 ZTF_CUBD POSID

RTYPE1 ZTF_CUBD RTYPE

WAERS TCURC WAERS

For some of the names in view fields i changed them by placing 1 at the end, to eliminate the message so and so foeld is not unique. Any suggestions will be helpful..

Thank You,

Kris.

Former Member
0 Kudos

Kris,

no need to change the field Names. keep as it is how it is comming from tables?

Nagesh.

Former Member
0 Kudos

Hi Kris,

The problem here is the key fields of one of your tables is not included in the view fields. For example ZTF_BTRN-CALCID is a key field in your ZTF_BTRN table. It is mandatory that you include the key fields of all the tables in the view in view fields. Otherwise, you will not be able to activate the view. What you can do is that you can select these fields in the view and then hide them in the extractor. This way, your view is also correct and you will not have the fileds that you do not want to see in BW. Let us know if this solves the problem and if you need any more information.

Thanks and Regards

Subray Hegde

Former Member
0 Kudos

HI can anyone reply to me about this please.....

Thank you...

Kris..

Former Member
0 Kudos

Kris,

r u creating <b>Database View</b>?

try to <b>select all the key fields</b> from all these tables. make these fields as key fields.

double click on error message for further information(red icon).

please get back to us incase of any problems.

all the best.

Regards,

Nagesh Ganisetti.

Former Member
0 Kudos

HI thanks for responding i made changes as per you as below ... which ever i selected in ztf_btrn key fields exist in ztf_cubd... Can you suggest me please...

JOin Conditions

ZTF_BTRN MANDT = ZTF_CUBD MANDT

ZTF_CUBD MANDT = TCURC MANDT

ZTF_BTRN CALCID = ZTF_CUBD CALCID

ZTF_BTRN PSPID = ZTF_CUBD PSPID

ZTF_BTRN PROVID = ZTF_CUBD PROVID

View Fields..

MANDT ZTF_CUBD MANDT

MANDT ZTF_BTRN MANDT

PDATE ZTF_BTRN PDATE

WBS1 ZTF_BTRN WBS1

FUTYP ZTF_BTRN FUTYP

PROVID ZTF_BTRN PROVID

BILLAB ZTF_CUBD BILAB

OBBUD ZTF_CUBD OBBUD

WAERS TCURC WAERS

Below is the error message i am getting

VIEW ZFAB_SUMBLCAL was not activated

Check view ZFAB_SUMBLCAL (OGILIA/07/10/06/23:51)

View allows read-only access only. Maintenance not possible.

'Display using Data Browser only' was set automatically

Key field ZTF_BTRN-CALCID missing

Key field ZTF_BTRN-PSPID missing

Key field ZTF_CUBD-FUTYP missing

Key field ZTF_CUBD-PDATE missing

Key field ZTF_CUBD-POSID missing

Key field ZTF_CUBD-RTYPE missing

All fields are evaluated as key field

Field name MANDT not unique

View ZFAB_SUMBLCAL is not consistent

Thank You,

Kris..

sachin_kulshrestha2
Active Contributor
0 Kudos

Hi,

1. In your view fields i cannot see any fields getting selected from Tcurc table.

2. Can you check in both the "Z" table that both the relevant key fields are selected.

3.Your mandt field join should be like

ZTF_BTRN MANDT = ZTF_CUBD MANDT

ZTF_CUBD MANDT = TCURC MANDT

You can remove "ZTF_BTRN MANDT = TCURC MANDT" since in you about two condition your joins does satify..

Hope this Helps!!!