ABAP PROXY
description
Transcript of ABAP PROXY
![Page 1: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/1.jpg)
ABAP PROXY
Developments on Application System & Integration
System
![Page 2: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/2.jpg)
Introduction
• ABAP proxies are used when ABAP applications needs to send and receive data.
SAP ECC(Application
System)
SAP PI(Integration
System)Data
![Page 3: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/3.jpg)
Communication
• Transport Protocol : HTTP• RFC Destinations : Type H (HTTP
Connections to ABAP System)
![Page 4: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/4.jpg)
Development on SAP-PI• Enterprises Service Repository :• Create Data Type
![Page 5: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/5.jpg)
Development on SAP-PI• Enterprises Service Repository :• Create Message Type
![Page 6: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/6.jpg)
Development on SAP-PI• Enterprises Service Repository :• Create Service Interface
![Page 7: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/7.jpg)
Development on SAP-ECC
In proxies, it will generate 3 objects at Application System :
• ABAP Class.• Structure for Message Type.• Structure of Data Type.
![Page 8: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/8.jpg)
Development on SAP-ECC
• (Inbound Proxy)
SAP ECC(Application
System)
SAP PI(Integration
System)
Data
![Page 9: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/9.jpg)
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.
![Page 10: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/10.jpg)
• Give Package Name & Prifix : Click on Continue .
Development on SAP-ECC (Inbound Proxy)
![Page 11: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/11.jpg)
Development on SAP-ECC (Inbound Proxy)
• After Completing this creation process, this screen will be there.
![Page 12: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/12.jpg)
Development on SAP-ECC (Inbound Proxy)
• SAVE Activate. Double click on Provider Class, this screen will be there :
•Double click on Method.
![Page 13: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/13.jpg)
Development on SAP-ECC (Inbound Proxy)
• This screen will be there, you have to write your code here in this method.
![Page 14: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/14.jpg)
Development on SAP-ECC (Inbound Proxy)
• Header Structure and Item Structures will be in INPUT Parameter :
![Page 15: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/15.jpg)
Development on SAP-ECC (Inbound Proxy)
• Write code as below :
![Page 16: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/16.jpg)
Development on SAP-ECC
• (Inbound Proxy)• Post the data in Table• Post the data using Function Module
• Inbound Proxy is Complete.
![Page 17: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/17.jpg)
Development on SAP-ECC
• (Outbound Proxy)
SAP ECC(Application
System)
SAP PI(Integration
System)
Data
![Page 18: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/18.jpg)
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.
![Page 19: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/19.jpg)
Development on SAP-ECC (Outbound Proxy)
• After Completing this creation process, this screen will be there.
![Page 20: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/20.jpg)
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.
![Page 21: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/21.jpg)
Development on SAP-ECC (Outbound Proxy)
• For this example, Data Declaration part will be as below :
![Page 22: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/22.jpg)
Development on SAP-ECC (Outbound Proxy)
• For this example, code for filling & Sending Proxy data Subroutine will be as below :
![Page 23: ABAP PROXY](https://reader033.fdocuments.net/reader033/viewer/2022061519/568166fb550346895ddb5dd1/html5/thumbnails/23.jpg)
Thanks !