“DBTAB_NAME” must be a flat structure. Internal tables, strings, references, and structures cannot be used as components.

Analysis

Why SAP treats the table as a structure?

Why is this error displayed when “DBTAB_NAME” exists in Data Dictionaty as Database Table?

In our case we are dealing with the database table called „ZLR_DDIC_MODEL“:

Here is the syntax error:

Explanation

Lets take a look to the help.

(Pressing F1 when cursor is on TABLES statement)

In the help we will find out that the database table must be defined as something which is called „Flat Structure“

Flat structure means the following:

So any field in the database table can’t contain either STRING or XSTRING type.

Which in the case of database table „ZLR_DDIC_MODEL“ it contains a field with string type:

That’s why the error occurs with this error message: ” DBTAB_NAME ” must be a flat structure. Internal tables, strings, references, and structures cannot be used as components.

Comments
  1. Situs Termurah says:

    What the f*** cant believe it

Add a comment

Your email address will not be published. Required fields are marked *

 

Your personal information will be exclusively used for processing current comment only. Personal data protection policy