SAP ALE IDOC EDI-Kor_01.4.4 Customer Distribution Model

1.4.4 Customer Distribution Model

R/3 시스템에서 Customer Distribution Model은 여러 시스템들 간에 오고 가는 message flow에 관한 정보를 보관하는 도구이다. customer distribution model은 SAP가 제공하는 Distribution Reference Model에 기반을 두고 있다. (customer distribution model은 distribution reference model에 저장되어 있는 것과는 다른 분배 시나리오를 가질 수 있다. 간단히 말하면, customer distribution model은 어떤 logical system으로 어떤 message(message type)들이 전달되는가를 규정하는 자료를 저장하고 있다. 여러 개의 message들이 하나의 logical system으로 전달될 수도 있고, 반대로 하나의 message가 여러 logical system으로 전달될 수도 있다. filter object와 listings을 사용하여(다음에 나오는 설명을 참조하라), model 내에서 특정 logical system에 대하여 filtering정보를 지정할 수가 있다. customer distribution model은 해당 client의 base logical system을 기준으로 정의하게 되는데, outbound인 경우에는 base logical system을 ‘송신자’로 하고, inbound인 경우에는 base logical system을 ‘수신자’로 하여 정의하게 된다.

SAP ALE IDOC EDI-Kor_03.2.2 Outbound Interface – Customer Distribution Model의 설정 & Port의 정의

3.2.2 Customer Distribution Model의 설정

customer distribution model을 생성하고 관리하기 위해서는 transaction BD64을 이용하라. 우리는 여기서 새로운 model, 즉 “POMODEL001 을 생성하고, base logical system FSTCLNT100이 logical system ZPOCHG001로 message type ORDERS를 전송하게끔 한다. 우리가 여기서 사용할 수 있는 filter object type이 두 개 있는데, EBELN(구매주문 번호)와 LIFNR(구매처 번호)가 그것이다. 혹시 필요할지 모르겠지만, 특정 구매처(vendor)에 대하여 logical system과 port가 별도로 구분되어 있고, 그 구매처(vendor)에 대한 구매주문(purchase order) IDOC을 그 logical system으로 송신하고자 한다면, LIFNR을 filter object로 사용할 수 있다. 우리는 여기서 단순히 그 filter object에 값만 입력하여 지정함으로써, 해당 구매처(vendor)에 대한 구매주문(purchase order)을 구분할 수 있다. 우리는 동일한 logical system이나 또는 다른 logical system에서 다른 종류의 message type을 전송하고자 할 때도, 동일한 customer distribution model을 사용할 수 있다는 사실에 주의하기 바란다.

SAP ALE IDOC EDI-Kor_02.4.7 Customer Distribution Model의 분배

2.4.7 Customer Distribution Model의 분배

customer distribution model CHRCLSMODL은 송신시스템에서 생성되었다. 이것은 다른 시스템으로 전송되는 특정 message(여기서는 CHRMAS와 CLSMAS)의 flow를 결정하고 통제한다. 수신시스템이 inbound IDOC을 받아 들이고 처리할 수 있도록 하기 위해서는, 이러한 정보가 수신시스템에게도 전달되어야 한다(참고 : 수신시스템에서 송신시스템과 동일한 내용의 customer distribution model을 설정하는 방법에는 두 가지가 있다. 첫 번째는 송신시스템에서 했던 것처럼 수신시스템에서 직접 설정하는 것이고, 두 번째는 송신시스템에서 작업한 customer distributio model을 수신시스템으로 전송하는 것이다). R/3의 ALE는 customer distribution model을 상대편 시스템으로 분배할 수 있는 도구를 제공해 준다. customer distribution model을 분배하기 위해서는 다음 작업을 수행한다. [그림 2-31]을 참조하라.

SAP ALE IDOC EDI-Kor_02.4.2 Customer Distribution Model의 설정

2.4.2 Customer Distribution Model의 설정

이전 장에서 설명한 방식에 따라, 필요한 message type에 대한 message flow을 지정하기 위해서 customer distribution model을 설정해 보기로 하자.

n transaction BD64를 실행한다.

n 그러면 [Display Distribution Model] 화면이 나타난다. 변경작업을 할 수 있도록 화면 위에서 [Switch between display and edit mode] 버튼을 눌러 [Change Distribution Model] 화면으로 전환한다.

n 화면 위에서 [Create model View] 버튼을 누른다.

n 그러면 팝업화면이 나타나는데, 여기서 [Short text] 필드에 “Send Characteristics and Class”와 같이 customer distribution model에 대한 설명을 입력하고, [Technical name] 필드에는 “CHRCLSMODL”와 같이 model에 대한 ID를 입력하고, [Start date]와 [End date] 필드에는 유효일자를 입력한 다음, [Enter] 키를 누른다.

SAP ALE IDOC EDI-Kor_02.3.2 Customer Distribution Model 설정

2.3.2 Customer Distribution Model 설정

customer distribution model은 한 시스템에서 다른 시스템으로 가는 message flow를 표현하는 것이다. 여기서는 어떤 logical system이 base logical system과 송수신하는 message type을 규정할 뿐만 아니라, filter object를 이용하여 서로 통신하는 자료에 대하여 filtering 조건을 지정한다. 이전에 언급한 것처럼, 이러한 개념은ALE에서만 적용할 수 있다.

customer distribution model을 설정하려면 다음 작업을 실행한다. 그[림 2-8]과 [그림 2-9], 그리고 [그림 2-10]을 참조하라.