Professional Documents
Culture Documents
SAP XI ABAP Proxy Communication Client Proxy
SAP XI ABAP Proxy Communication Client Proxy
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
1. Proxy communication always by passes the Adapter Engine and will directly interact with
the application system and Integration engine. So it will give us better performance. 2. Proxies communicate with the XI server by means of native SOAP calls over HTTP. 3. Easy to handle messages with ABAP programming. 4. Proxy is good for large volumes of data. we can catch and persist the errors ( both system & application fault ) which was generated by Proxy setting The rest of the document gives you pre-requisites and steps that are necessary for generating and executing ABAP client proxies. Pre-requisites
1. The business systems should be based on SAP Web AS 6.20 and SAP Web AS 6.20
kernel patch level above 1253 2. You have installed the XI Add-On in each of these business systems as described in the Installation Guide SAP Exchange Infrastructure 3.0 3. The business systems and your central Integration Server are maintained in the System Landscape Directory (SLD).
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
Scenario demonstrating ABAP Client Proxies. Take a business scenario where in business (Source System) sends an Employee details to their Payroll system for calculating the monthly salaries of their employees. But here the source business is running on SAP R/3 and corresponding Payroll system is not on SAP, hence the interpretation of data/communication is different. Because source system sends employee information through proxy communication and the target Payroll system is not aware of these proxy call, so in order to provide a communication between these two we need some interface mechanism which accepts proxy request and converts it into the format understandable by the target payroll system and vice versa.
Objects needed to be developed in IR For this scenario we need to create the corresponding Data types, Message types and Message interfaces for source and target messages. Once the source Message interface is created we can generate the interface in source R/3 system using SPROXY transaction.
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
In this demo scenario, there is slight variance in source and target messages. From the source we will get First name and last name where as target will accommodate only one full name and also source will send the annual salary whereas target will have the field Monthly salary. Hence required mapping should be done.
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
Save it.
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
We can observe the Structures resembling outbound data types, message types get created in the system. As the source structure can send multiple records of Employee, observe that a Table type of ZTDT_EMPDET_OB_EMPLOYEE_TAB getting created. This can be transferred to FTP.
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
Testing the Scenario. In order to test the scenario we need to develop an ABAP Report to trigger a client proxy. The following report is executed in the SE38 Editor for triggering an ABAP Proxy. *&--------------------------------------------------------------------* *& Report Z_SEND_EMP_DETAILS *& *&--------------------------------------------------------------------* *& Published at SAPTechnical.com *& *&--------------------------------------------------------------------* REPORT Z_SEND_EMP_DETAILS. TABLES: PA0001. DATA: PRXY TYPE REF TO ZTCO_MI_EMPDET_OB, FS_EMPLOYEE TYPE ZTDT_EMPDET_OB_EMPLOYEE, T_EMPLOYEE TYPE ZTDT_EMPDET_OB_EMPLOYEE_TAB, FS_EMPLOYEE_MT TYPE ZTMT_EMPDET_OB. DATA: BEGIN OF I_PA0000 OCCURS 0, PERNR LIKE PA0000-PERNR, MASSN LIKE PA0000-MASSN, END OF I_PA0000, BEGIN OF I_PA0001 OCCURS 0, PERNR LIKE PA0000-PERNR, WERKS LIKE PA0001-WERKS, " Personnel Area PERSG LIKE PA0001-PERSG, " Employee Group PERSK LIKE PA0001-PERSK, " Employee Subgroup BTRTL LIKE PA0001-BTRTL, " Personnel Subarea
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
" " " " " " " " " " " " " " " "
Pay scale type Pay Scale Area Pay Scale Group Pay Scale Level Date of Next Increase Currency Key Annual salary Wage Type Wage Type Amount for Payments Number Wage Type Wage Type Amount for Payments Number Wage Type Wage Type Amount for Payments Number
Payment Method Bank country key Bank Keys Bank account number Bank Control Key
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
Personnel number Personnel Area Employee Group Employee Subgroup Personnel Subarea Payroll Area Cost Center Organizational Unit Position
Personnel number Last Name First Name Gender Key Date of Birth
" Personnel number " Work Schedule Rule " Daily Working Hours
" " " " " " " " " " " " " " " " "
Personnel number Pay scale type Pay Scale Area Pay Scale Group Pay Scale Level Date of Next Increase Currency Key Annual salary Wage Type Wage Type Amount for Payments Number Wage Type Wage Type Amount for Payments Number Wage Type Wage Type Amount for Payments Number
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
SEARCH.
SEARCH.
SEARCH.
SEARCH.
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com
For more tips, tutorials, Interview questions, certification questions, please visit SAPTechnical.com