2015-01-06 1 views
-1

이 오류가 발생한 이유는 무엇입니까? 난 방송 error.What처럼 사용하고 경우, 오류 표시 나던 * 형 (2 번 라인 등의 올바른 위치)를 사용하지 않고 오전 때 LIKETYPEABAP에서 TYPE 및 LIKE를 사용하는 경우

TYPES name(20) type c.
data student_name *like name.
student_name = 'satya'.
write student_name.

ERROR - NAME must a flat structure you can not use internal table,string referenceses or structure as component

차이는

답변

6

nametype으로 생성했습니다. 따라서 name 유형의 변수를 선언하는 경우 문을 data student_name type name.으로 작성해야합니다. 이제 변수 student_name 같은 다른 변수 을 만들려면

, 당신은 documentation

를 참조 대한 자세한 설명은 data student_name2 like student_name.

으로 선언에 like 키워드를 사용하는 것

관련 문제