SAP Infoset

ABAP, Java, BSP, etc.
5 Beiträge • Seite 1 von 1
5 Beiträge Seite 1 von 1

SAP Infoset

Beitrag von caaron (ForumUser / 3 / 0 / 0 ) »
can some one tell me how to declare a left outer join in my Infoset?
I have try to do this but some how it is not working.
Tanks in advance

gesponsert
Stellenangebote auf ABAPforum.com schalten
kostenfrei für Ausbildungsberufe und Werksstudenten


Re: SAP Infoset

Beitrag von Tron (Top Expert / 1327 / 35 / 331 ) »
Hi,
In SQ02 go to the Tables in the Basic View (grafics design) . Locate the desired tables and press the Right mouse button on the "rubber band" .
choose inner or outer join. thats it.
greets Jens
<:: XING-Gruppe Tricktresor::>
Die deutsche Rechtschreibung ist Freeware, du darfst sie kostenlos nutzen –
Aber sie ist nicht Open Source, d. h. du darfst sie nicht verändern oder in veränderter Form veröffentlichen.

Re: SAP Infoset

Beitrag von caaron (ForumUser / 3 / 0 / 0 ) »
Hi Jens,
thanks for the help. I have tried this and could implement the left outer Join. However i had no change in my results. (No data Found)
I am using this three tables in my Join.
Mara (as the main table), Malg and WLMV.
I need the left Outer join so as to have information from the MARA even when this is not contain in the malg and wlmv tables.

Thanks alot.

Re: SAP Infoset

Beitrag von Unit605 (Expert / 975 / 37 / 93 ) »
You might not using the right logic?

This might explain what you needed:
Left outer join

The result of a left outer join (or simply left join) for tables A and B always contains all records of the "left" table (A), even if the join-condition does not find any matching record in the "right" table (B). This means that if the ON clause matches 0 (zero) records in B (for a given record in A), the join will still return a row in the result (for that record)—but with NULL in each column from B. A left outer join returns all the values from an inner join plus all values in the left table that do not match to the right table.

For example, this allows us to find an employee's department, but still shows the employee(s) even when they have not been assigned to a department (contrary to the inner-join example above, where unassigned employees were excluded from the result).

Example of a left outer join (the OUTER keyword is optional), with the additional result row (compared with the inner join) italicized:

SELECT *
FROM employee LEFT OUTER JOIN department
ON employee.DepartmentID = department.DepartmentID;
http://en.wikipedia.org/wiki/Join_%28SQ ... outer_join

Re: SAP Infoset

Beitrag von caaron (ForumUser / 3 / 0 / 0 ) »
Thanks a lot. The problem was because, I used the Date field (WLMV-LM_DATE_FR) from the WLMV table as a selection criteria. I have tried this without the date field and it works.
The fun is, I need to declare this field in my Query as default.
Thanks

Seite 1 von 1

Vergleichbare Themen

4
Antw.
1581
Views
Query / Infoset
von Piero » 21.12.2004 10:40 • Verfasst in ABAP® Core
1
Antw.
2025
Views
Produktklassifizierung in Infoset
von donald.peter » 07.06.2009 11:48 • Verfasst in ABAP® für Anfänger
0
Antw.
917
Views
0
Antw.
1233
Views
Defektes Infoset
von CrashOverride » 03.02.2005 14:23 • Verfasst in SAP - Allgemeines
1
Antw.
695
Views
Zusatzfeld im Infoset summieren
von Deki » 10.02.2020 07:57 • Verfasst in ABAP® für Anfänger

Über diesen Beitrag


Unterstütze die Community und teile den Beitrag für mehr Leser und Austausch

Aktuelle Forenbeiträge

Zugriff auf Daten via Webdav
vor 16 Stunden von msfox 1 / 31
Interne Tabelle
vor 16 Stunden von sap_enthusiast 3 / 162
Zwischensumme Adobe Forms
vor 3 Tagen von Lucyalison 1 / 71

Newsletter Anmeldung

Keine Beiträge verpassen! Wöchentlich versenden wir lesenwerte Beiträge aus unserer Community.
Die letzte Ausgabe findest du hier.
Details zum Versandverfahren und zu Ihren Widerrufsmöglichkeiten findest du in unserer Datenschutzerklärung.

Aktuelle Forenbeiträge

Zugriff auf Daten via Webdav
vor 16 Stunden von msfox 1 / 31
Interne Tabelle
vor 16 Stunden von sap_enthusiast 3 / 162
Zwischensumme Adobe Forms
vor 3 Tagen von Lucyalison 1 / 71

Unbeantwortete Forenbeiträge

Zugriff auf Daten via Webdav
vor 16 Stunden von msfox 1 / 31
Zwischensumme Adobe Forms
vor 3 Tagen von Lucyalison 1 / 71
Group Items auf einer Filterbar
vor einer Woche von Bright4.5 1 / 111