Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in database view

Private_Member_15166
Active Contributor
0 Likes
2,613

Hi ABAPers,

After a long time i am back here to ask a question but it doesn't mean i have stopped using it.

I have to make some changes in existing view,which has been used earlier in some places.

This is the joint tables.

CSLA

CSLT

ZCO_STREAM

ZCO_ROLE

ZCO_STREAM_ROLE

with some joint condition like this.

CSLAMANDT=CSLTMANDT
CSLAKOKRS=CSLTKOKRS
CSLALSTAR=CSLTLSTAR
CSLADATBI=CSLTDATBI
CSLAMANDT=ZCO_STREAMMANDT
CSLAZZCO_STREAM=ZCO_STREAMCO_STREAM
CSLAMANDT=ZCO_ROLEMANDT
CSLAZZCO_ROLE=ZCO_ROLECO_ROLE
CSLAMANDT=ZCO_STREAM_ROLEMANDT
CSLAZZCO_STREAM=ZCO_STREAM_ROLECO_STREAM
CSLAZZCO_ROLE=ZCO_STREAM_ROLECO_ROLE

Now i have to add a different Z table which has been added in CSLA customization for infotype.

Currently when i am running this view then i am getting the data in view but after using the new table and defining the joint conditions i am getting message that no entries found.

But when i am checking that particular value in each table then it exist.

Please suggest me that why this is happening.

Best Regards

Dhananjay

6 REPLIES 6
Read only

Former Member
0 Likes
2,102

Hi Dhananjay

Did you delete the old TMG first, then create TMG with new table?


regards,

Archer

Read only

0 Likes
2,102

No table maintenance generator for this.

Read only

Private_Member_15166
Active Contributor
0 Likes
2,102

Hi I am going to tell step by step procedure and where i am getting error.

First i have a database view, which has been used in search help.

Here after clicking on content button(shown in red) i am getting the values in this view.

After adding this table and join conditions, i am not getting data in this view after clicking on content.

ZSF_Role_code is the primary key of ZSF_Role table and this table has been defined as a check table in CSLA table.

And as i am comparing in the table there is value available but i am getting this message.

Please let me know that where i am making mistakes.

Thanks and Regards

Dhananjay

Read only

Former Member
0 Likes
2,102

hi dhananjay,

please check also data types. may be mismatching and unable to join.

Read only

0 Likes
2,102

Hi Abdul,

Data types are same.. As you may see here..

ZZSF_ROLE_CODEZSF_ROLE_CODE

for CSLA Table and

ZSF_ROLE_CODEZSF_ROLE_CODE

for ZSF_ROLE table.. Left side is field name and right one is data element..

Your's help will be appreciated

Read only

Private_Member_15166
Active Contributor
0 Likes
2,102

Hi Also in first case i am getting this warning but view is working properly..

Check dependent search help ZDC_TEST

Width 332 of parameter list is too large for personal help

Search help ZDC_TEST was checked with warnings

Key field CSLT-SPRAS missing

All fields are evaluated as key field

View ZDC_TEST is consistent

and after changing i am getting the same error..

Does it making a problem??

Regards