|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
ABAP Proxy communication (Server Proxy)
document describes Time bound file processing scenario where in, a file
containing the employee personal details is picked from a FTP server system
(Sender/Source) and sent to SAP System (Receiver/Target) via Exchange
Infrastructure. Server ABAP proxy is configured to post the data to an
application on target SAP System which will save the records into database.
us have design in Integration repository. The following screen illustrates the
outbound message structure in which employee data type is encapsulated.
In this example a small difference is maintained between the
source message structure and target structure to show the need of mapping. Find
below the mapping where in Full name is constructed after concatenating the Last
name and First name.
Finally we require a message interface, which will
encapsulate the message mapping between source structure and target structure.
Before completing the configuration in Integration Directory,
let us create a ABAP proxy object in Target SAP system.
Go to Transaction: SPROXY where in you get to see all the
objects designed in Integration Repository. As Proxies implement message
interfaces in Integration Repository, navigate to the required inbound message
interface, as we are creating a Server proxy. Right click to create the Proxy as
shown in the below screenshot.
You can observe a Proxy-interface getting created in Target
system with ‘Properties’, ‘Generation’, ‘Structure’ and ‘Type
You observe that Structures resembling inbound data types,
message types get created in the system. As the target structure can get
multiple records of Employee personal details in this scenario, observe that a
Table type of ZEMPLOYEE_IB_EMPLOYEE_TAB getting created. This can be transferred
to required application in SAP for successful processing of the records,
ultimately saving them into database.
You can observe the compatible equivalent elements of inbound
data type created.
Finally you need to implement the Proxy. For this double
click ‘Implementing Class’ on ‘Properties’ tab to lead you to method ‘EXECUTE_ASYNCHRONOUS’.
This is default method that gets created with Implementing Class where in you
need to code as per the business logic. Find below the screenshot of the sample
code that reads the data from Employee internal table and inserts the data into
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards