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

Link EKKO, EKPO, EIKP, EIPO in SQVI - missing results

Hello everybody,

I have created a join with EKKO, EKPO, EIKP and EIPO and some other tables. I would like to show the foreign trade relevant data (Customs code, Country of origin) of different POs but I also want to Display those POs in the result that do not have any import data. Is there any chance to have both as a result POs with the requested data and the ones without?

The link is as follows:

coming from RSEG, EBELN = EKKO, EBELN

EKKO, EBELN = EKPO, EBELN

EKKO, EXNUM = EIKP, EXNUM

EIKP, EXNUM = EIPO, EXNUM

The query itself works but I would like to add the missing POs.

Thank you in advance.

Regards,

Julian

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 17, 2015 at 07:05 AM

    Hi Julian.

    Depends on the release you could archive it with CDS.

    Otherwise you need to build an outer join to add the tables, which are not showing up for every po.

    Anyway, what is the problem with two select-statements? The performance might be not more bad than it is with one...

    ~Florian

    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.