Developments on Application System & Integration System
Introduction
ABAP proxies are used when ABAP applications needs to send and receive data.
Communication
Transport Protocol : HTTP
RFC Destinations : Type H (HTTP Connections to ABAP System)
Development on SAP-PI
Enterprises Service Repository :
Create Data Type
Development on SAP-PI
Enterprises Service Repository :
Create Message Type
Development on SAP-PI
Enterprises Service Repository :
Create Service Interface
Development on SAP-ECC
--> In proxies, it will generate 3 objects at Application System :
ABAP Class.
Structure for Message Type.
Structure of Data Type.
Development on SAP-ECC
(Inbound Proxy)
Development on SAP-ECC (Inbound Proxy)
T-code : SPROXY
Open the node for your Service (Inbound / Outbound) & Right click
Click on CREATE PROXY.
This Development is for Inbound Proxy.
Development on SAP-ECC (Inbound Proxy)
Give Package Name & Prifix : Click on Continue .
Development on SAP-ECC (Inbound Proxy)
After Completing this creation process, this screen will be there.
Development on SAP-ECC (Inbound Proxy)
SAVE --> Activate. Double click on Provider Class, this screen will be there :
Double click on Method.
Development on SAP-ECC (Inbound Proxy)
This screen will be there, you have to write your code here in this method.
Development on SAP-ECC (Inbound Proxy)
Header Structure and Item Structures will be in INPUT Parameter :
Development on SAP-ECC (Inbound Proxy)
Write code as below :
Development on SAP-ECC
(Inbound Proxy)
Post the data in Table
Post the data using Function Module
Inbound Proxy is Complete.
Development on SAP-ECC
(Outbound Proxy)
Development on SAP-ECC (Outbound Proxy)
T-code : SPROXY<
Open the node for your Service (Inbound / Outbound) Right click
Click on CREATE PROXY.
This Development is for Outbound Proxy.
In this Case, choose Outbound Service Interface for Creation of Proxy.
Development on SAP-ECC (Outbound Proxy)
After Completing this creation process, this screen will be there.
Development on SAP-ECC (Outbound Proxy)
For Outbound Proxy, an executable code in ABAP will be written to call that proxy.
In this Example, we are writing that code in Executable program in SE38.
First Pick data from Table.
Fill Proxy Structure & send to Integration System.
Development on SAP-ECC (Outbound Proxy)
For this example, Data Declaration part will be as below :
Development on SAP-ECC (Outbound Proxy)
For this example, code for filling & Sending Proxy data Subroutine will be as below :
'Archive > PO' 카테고리의 다른 글
PO에서 SAP HANA 서비스 접속하는 연결정보 확인 (0) | 2020.10.30 |
---|---|
How to Generate the System Info XML for Maintenance Planner Upload (0) | 2020.02.24 |
PI B2B, SFTP, PGP and CONNECTIVITY ADDON PO 7.5 SP02 (0) | 2020.02.21 |
SFTP addon installation in PI NW 7.5 using SUM 15 (0) | 2020.02.21 |
SAP PI Main Table Switch를 통한 데이터 관리 (0) | 2019.07.04 |