SAP Yong Next Cloud Academy

SAP SYNC TAW10-3(1) 및 개인 과제

秀韩 2022. 7. 6. 19:50

오전 과제)

 

풀이)

1-1
1-2

※ so_con-sgin : 'E', 'I'(대문자)가 온다. E는 제외, I는 포함.

※ so_con-option : 논리연산자가 온다. BT는 비트윈.

 

2, 6
3, 4

(가장 어려웠던 3번 문제)

 

5

추가)

so_con과 so_dat(셀렉트 옵션)은 헤더라인이 있는 테이블로 만들어진다. 퍼폼문으로 값을 넘길 때 테이블 형태로 넘겨야 하는데, 그 때 tables를 쓴다.  테이블스의 순서는 맨 앞, 유징보다 앞에 써야한다. 만약 퍼폼문에서 테이블로 넘기지 않았다면(chainging), type t를 넣어줘야 한다.  

 


1. Describing the ABAP Dictionary

ㄱ. 타입 정의.

 ⓐ Structure

 ⓑ DE

 ⓒ Table Type

ㄴ. objects are automatically created in the db and adjusted to changes.

ㄷ. screen F1, F4 key.

 ⓐ F1 : 코드의 사용법 설명

 ⓑ F4 : 어떤 값을 입력해야 하는지 설명

 

※ DB interface : 에러 체크, 버퍼 사용, 컨버젼(open SQL → native SQL)

 

2. Data Type in the ABAP Dictionary

 

2-1. Creating Domain and Data Element

2-1-1. Creating Domain

 

ㄱ.  SE11 → Domain   Create

 

ㄴ. data type 설정 → No. Charaters 설정

ㄷ. Output Length : 표시되는 길이

ㄹ. Sign : 숫자의 - ,+ 표시

ㅁ. Case-sensitive : 대 소문자 구별

2-1-2. Creating DE

ㄱ. Data Type 선택 → Create

 

ㄴ. 만들 타입 별로 선택

 

ㄷ. 도메인 선택

 

ㄹ. 필드라벨 작성 (long 부분이 텍스트 엘리먼트에 참조된다.)

 

※ set/get parameters 지원, shearch help 지원(F4), Field ID & Translation 지원(다국어 지원). 

2-2. Simple and Nested Structures

2-2-1. Flat Structures

ㄱ. Simple = 플랫 스트럭쳐 : 배열 같은 형태의 구조체, .include 

 

 

2-2-2. Nested Structures

A Nested structure is a structure that refers at least to one other structure but do not refer to table type.

(구조 안의 구조)

 

2-3. Creating Table Type and Deep Structures

2-3-1. Table Type

 

ㄱ. A line type that defines the structure and the data type attributes of a line in the internal table.

 

ㄴ. Access mode, which determines how to manage and access the data. Possible access modes are standard table, sorted table, hashed table, index table, and not specified.

 

ㄷ. Primary key definition and key category.

 

ㄹ. Secondary key (Optional) 

(TW10-3 33p)

 

2-3-2. Deep Structures

테이블 안의 테이블

※ 테이블 타입을 만든 후 데이터를 넣음.

.include : 공통으로 쓰는 필드들을 여러 테이블에 추가할 때 사용. 공통으로 사용되는 필드들을 테이블에 include 하여 사용하는 구조를 얘기한다. 하나의 테이블은 구조체 및 테이블을 포함할 수 있다. 단순히 각 테이블에 공통으로 사용하는 필드들을 쉽게 추가하기 위한 용도로 사용하는 것으로 보인다.

2-4. Creating Type Group

 

ㄱ. SE11에서 타입 그룹 생성

 


여기서부터 일기) 처음으로 강의실에서 다 작성했다. 개 힘듦. 오전부터 머리를 많이 써서 그런지 하루 종일 힘들어 죽을뻔했다. 쉬는 시간에 짬짬이 자서 그나마 다행. 

'SAP Yong Next Cloud Academy' 카테고리의 다른 글

SAP SYNC TAW10-3(3)  (0) 2022.07.08
SAP SYNC TAW10-3(2)  (0) 2022.07.07
SAP SYNC TAW10-2(2)  (0) 2022.07.05
SAP SYNC 2주차 개인과제  (0) 2022.07.03
SAP SYNC TAW10-2(1)  (0) 2022.06.30