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

Create Database view-VBAK and ZTABLE-No common fields

Hi,

I have to create a Database view by using VBAK and ZTAble where there is no Common fields. One of Z Amount field is referenced to VBAK. So i want to make a join on it by using View. But there is no common field in these two tables. Is it possible to create View without common field. I want currency reference only from VBAk table.

Pleaase suggest a solutions.

Thanks &Regards,

Revathi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Sep 13, 2010 at 07:47 AM

    Hello,

    As far as I understand

    you want to use WAERK field of VBAK as currency unit for amounts in your Z table.

    But at least you should have document number field to access this field in VBAK

    and for a join between that two tables.

    If your Z table doesn't have common field with VBAK

    how will you decide which record of VBAK is match for your record in Z table?

    I think the reference field which set for amount fields in your Z table is incorrect,

    Add a new field which type WAERK to your Z table itself and set reference fields for amounts as this field.

    I think it'll be more clear solution. And you won't have dumps in ALV.

    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.