Author name: CareerAsylum from SAP

Syntax and usage of several data_source~* in query

Hi, We can use data_source~* in  OPEN SQL to select all columns from table. https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abapselect_list.htm#!ABAP_VARIANT_1@1@ But what happens if we have several tables with overlapping column names? For example:   TYPES: BEGIN OF t_output, vbeln TYPE vbeln, kunnr TYPE kunnr, name1 TYPE name1, ort01 TYPE ort01, END OF t_output, tt_output TYPE STANDARD TABLE OF t_output …

Syntax and usage of several data_source~* in query Read More »

Syntax and usage of several data_source~* in query

Hi, We can use data_source~* in  OPEN SQL to select all columns from table. https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abapselect_list.htm#!ABAP_VARIANT_1@1@ But what happens if we have several tables with overlapping column names? For example:   TYPES: BEGIN OF t_output, vbeln TYPE vbeln, kunnr TYPE kunnr, name1 TYPE name1, ort01 TYPE ort01, END OF t_output, tt_output TYPE STANDARD TABLE OF t_output …

Syntax and usage of several data_source~* in query Read More »

Scroll to Top