Hi Experts,
I need some help regarding query scripts.
I am trying to build a script which download multiple revisions of material master.
For that I am using table MARA, AEOI, AENR
Table MARA is used for selection for material, AEOI is used to fetch revision(it can store multiple revisions of materials) and then table AENR is used to fetch the change number details.
Now for a scenario,where a revision is assigned to a material in SAP my query works , that is it fetches details from all 3 tables.
But cases where the material is newly/just created with
no revision assigned, I still want to see that material as output with field selected from table AEOI & AENR as empty .
How can I achieve this .? I have tried setting up my join between MARA & AEOI as left outer join but that doesn't give desired results.
I am attaching my query here for reference.
Regards
Aakansha
------------------------------
Aakansha Gupta | SAP DATA MIGRATION CONSULTANT
Moog GmbH |
------------------------------