gateway service ● fiori 또는 ui5로 sap client단의 ui를 개발하였다면  sap server단의...

Download Gateway Service ● Fiori 또는 UI5로 SAP Client단의 UI를 개발하였다면  SAP Server단의 개발이 이루어져야 한다. Server단의 OData 서비스를 생성하는

If you can't read please download the document

Upload: jung-woo-kim

Post on 18-Jan-2018

238 views

Category:

Documents


0 download

DESCRIPTION

Gateway Service 개발 시 사용되는 Tcode SEGW : Gateway Service Builder /IWFND/MAINT_SERVICE : Activate and Maintain Services /IWFND/GW_CLIENT : Gateway Client ● SEGW  프로젝트생성 및 Import XML(DDIC,RFC,BOR), Service Class 생성 ● /IWFND/MAINT_SERVICE  SEGW 에서 생성한 프로젝트 서비스를 등록 및 관리한다. ● /IWFND/GW_CLIENT  생성된 서비스를 가지고 Create, Read, Update, Delete작업을 수행 함으로 개발된 프로그램을 테스트 할 수 있다.

TRANSCRIPT

Gateway Service Fiori UI5 SAP Client UI SAP Server . Server OData SAP Gateway Service . Create a project Import an XML file (DDIC / RFC/ BOR(Business Objects Repository)) Generate a service Register and Maintain a service Implement a service (Redefine or Mapping Data Source) Gateway Service Tcode
SEGW : Gateway Service Builder /IWFND/MAINT_SERVICE : Activate and Maintain Services /IWFND/GW_CLIENT : Gateway Client SEGW Import XML(DDIC,RFC,BOR), Service Class /IWFND/MAINT_SERVICE SEGW . /IWFND/GW_CLIENT Create, Read, Update, Delete . Gateway Service Builder : SEGW
Project Create Project Open Runtime Objects Generate Gateway Service Builder : Project Create
Project Name Project Description Gateway Service Builder : Import DDIC
Entity Name : Project Entity name . ABAP Dictionary Table Entity name Entity Set . Gateway Service Builder : Import DDIC
. Gateway Service Builder : Import DDIC
Key . Key . Name . PS : CRUD(Readset ) Key Client URI . Gateway Service Builder : Entity Attribute
Create, Update, Sort, Null, Filter . Key Null . Gateway Service Builder : Runtime objects generate Gateway Service Builder : Runtime objects
EntitySet Gateway Service Name Service Data Provider Base Class, Data Provider Secondary Class. DPC_EXT Class secondary class class Business logic . Secondary class Create, Read, Read(set), Update, Delete . Gateway Service Builder : Method Redefine
Go to ABAP Workbench Class CRUD . Gateway Service Builder : Method Redefine
Redefinitions . Redefine . Gateway Service Builder : Method Redefine active Gateway Service Builder : Create Method
Tcode : SE24 Secondary class DPC_EXT , IO_DATA_PROVIDER Create Method Parameter , Create . Gateway Service Builder : Delete Method
Delete key Parameter . Client Parameter IT_KEY_TAB . IT_KEY_TAB Field Name, Value 2 . Name Parameter name Value . Gateway Service Builder : Get entity Method
. Delete, Update Parameter IT_KEY_TAB . ER_ENTITY Client . Gateway Service Builder : Update Method
IO_DATA_PROVIDER Update . Update PUT, MERGE, PATCH 3 IO_DATA_PROVIDER 3 data . Gateway Client . Gateway Service Builder : Get entity set Method
IT_FILTER_SELECT_OPTIONS Client Where . IT_ORDER Sort . IV_FILTER_STRING Where Parameter . Filter, Order Gateway Client . Gateway Service Builder : IV_FILTER_STRING
IV_FILTER_STRING Client Where . filter string Where . PS : Client filter Parameter iv_string_filter it_filter_select_options . Gateway Service Builder : IT_FILTER_SELECT_OPTIONS
Client filter Parameter it_filter_select_options Select options . 2 IT_FILTER_SELECT_OPTIONS Row . Gateway Service Builder : IT_ORDER
Client Order by Parameter it_order . Property Order . it_order Row . Activate and Maintain Services : /IWFND/MAINT_SERVICE
Service Builder Gateway service Service Client . Activate and Maintain Services : Add Service
Service List . Add Service Add Selected Services . Add Selected Services System Alias Possible Entry System Alias . Local Object LOCAL . Activate and Maintain Services : Add Services Get Services
Service List , List Service Builder Project name , Technical Service Name Name _SRV Get Services . Service . Local Object Package Assignment Local Object Activate and Maintain Services : Get Services Activate and Maintain Services : Call ICF Node
Gateway Service Client SAP , , Gateway Service SAP . Activate and Maintain Services : ICF Node
Double Click Activate and Maintain Services : ICF Node
Parameter Name ~CHECK_CSRF_TOKEN Value 0 Client . . Activate and Maintain Services : ICF Node Log on
Logon Data User Password SAP Logon Client Service Logon Log in . Log on Click . Activate and Maintain Services : Call Gateway Client
Service Back . Gateway Client Gateway Client . Gateway Client Service . Gateway Client : /IWFND/GW_CLIENT
Gateway Service Client . Gateway Service Create, Read, ReadSet, Update, Delete Method . Gateway Client : Select Service
Service Name Z* Possible entry Z Service list Display list Service . Service Name . Gateway Client : EntitySet
Select Service Service Request URI . EntitySets Gateway Service Entityset . EntitySet Request URI EntitySet Mapping . Gateway Client : HTTP Method
GET : , List . Called Method : GET_ENTITY, GET_ENTITYSET. POST : Data Create . Called Method : CREATE_ENTITY PUT, PATCH, MERGE : Data Update . Called Method : UPDATE_ENTITY DELETE : Data Delete . Called Method : DELETE_ENTITY Gateway Client : Filter option
HTTP Method GET List Where URI $filter . ( ). $filter SQL . Key AND . ex) ?$filter=Carrid eq 'AZ' and Connid eq '555' Key . ex) ?$filter=Fldate eq datetime' T00:00:00 Ps : $filter= Entity type . Gateway Client : $filter=substringof
$filter=substringof(Value, Field) Like . GET_ENTITY_SET IT_FILTER_SELECT_OPTIONS Select option I, CP, *Value*, . substringof(Value Field) Field Key . Gateway Client : $select
$select=Field1, Field2 List Display field . Field1,Field2 Entity type Name Key . $select Logic . Gateway Client : Get entity
Where Key . = . GET_ENTITY . Gateway Client : Get entity
. Use as Request . Create, Update . Gateway Client : Create
Use as Request . Create . HTTP Method Post CREATE_ENTITY . Request URI EntitySet . Gateway Client : Update - PUT
PUT Update Null Update . PUT Update Update Update . HTTP Method PUT UPDATE_ENTITY . Gateway Client : Update - MERGE
MERGE PATCH Update io_data_provider URI Key . Update MERGE . MERGE Update Update Update . HTTP Method MERGE UPDATE_ENTITY . Ps : MERGE PATCH . Gateway Client : Delete
HTTP Method DELETE . Key URI . Key Entity Type . Key and . Gateway Service Builder : Function Mapping
Entity Type Service Implementation Create, Read, Read(set), Update, Delete Logic . Service Implementation CRUD RFC Function . Service Implementation Redefine Function . , CRUD Function . Function RFC . Gateway Service Builder : Function Mapping Gateway Service Builder : Function Mapping
Builder Service implementation Mapping . Gateway Service Builder : Read Function Mapping
Propose Mapping Key . Ps : Propose Mapping Read, ReadSet . Gateway Service Builder : Function Mapping
Service Implementation Function CRUD Redefine Function . Gateway Service Builder : Function Mapping
Runtime Objects Generate . End of Document