Sie sind auf Seite 1von 4

9/11/2014 File to Proxy scenario | SCN

http://scn.sap.com/thread/1291692 1/4
Getting Started Newsletters Store

Products Services & Support About SCN Downloads
Industries Training & Education Partnership Developer Center
Lines of Business University Alliances Events & Webinars Innovation
Log On Join Us Hi, Guest Search the Community
Activity Communications Actions
Browse
0 Tweet 0
5 Replies Latest reply: Nov 13, 2009 8:34 AM by veer kumar
Share 0 Like
2480 Views
Average User Rating
(0 ratings)
File to Proxy scenario
This question is Assumed Answered.
Hi Experts,
I am working on File to a proxy scenario.Anyone,Pls send me the detailed scenario step by step.
It would be a great help fr me.I have searched in SDN but i cud not find anything related to this.

Thanks
Veeru
veer kumar Apr 1, 2009 8:09 AM
Re: File to Proxy scenario
Hello,

Check out the below link,

[ SAP PI 7 Sample Scenarios;
Like (0)
Siddhesh Pathak Apr 1, 2009 8:15 AM (in response to veer kumar)
Re: File to Proxy scenario
/people/siva.maranani/blog/2005/04/03/abap-server-proxies - ref this
Like (0)
Shabarish Vijayakumar Apr 1, 2009 8:15 AM (in response to veer kumar)
Re: File to Proxy scenario
Hi! Viru,
Apart from the blog given by vijay I would like to add some detailed inputs..

WHAT ARE PROXIES?

--> Proxies are nothing but interfaces, which will directly communicate with the Integration Server
without any adapter.
--> In some of the real-time scenarios, itu2019s not always a particular type of business system
Amar Srinivas Eli Apr 1, 2009 12:07 PM (in response to Shabarish Vijayakumar)
9/11/2014 File to Proxy scenario | SCN
http://scn.sap.com/thread/1291692 2/4
that has to
send/receive messages with SAP XI; it can also be an application like ABAP or Java. To cater
to
these needs, SAP XI provides different ways to generate interfaces in ABAP and JAVA u2013
and these
interfaces are known as proxies.
--> Proxies are interfaces which will get executed in the Local Integration Engine of the Application
System.

Types of Proxies based on Category:
1. Client Proxy u2013Proxy generated for Outbound Interface.
2. Server Proxy u2013Proxy generated for Inbound Interface.

*HOW CAN WE GENERATE PROXIES IN SAP XI?*

--> Proxies are generated from the WSDL description of the interface objects.
--> Message interfaces are the basis for proxy generation.

--> Proxy will have the same attributes as that of the message interface like inbound/outbound
and synchronous/asynchronous.
--> Same concepts apply for ABAP and JAVA but procedures differ.

PRE-REQUISITES:

1) CREATE RFC DESTINATION OF TYPE HTTP IN THE ECC SYSTEM FOR CONNECTING
ECC
SYSTEM TO SAP XI.

2) CONFIGURING APPLICATION SYSTEMS LOCAL INTEGRATION ENGINE.

Go to Transaction SXMB_ADM
Choose Edit ? Change Global Configuration Data.
Select Role of Business System: Application system
Corresponding Integration Server: dest: XXXXXXXXXXXXXXXXX

3) CONFIGURATION OF THE INTEGRATION ENGINE:
Connection between Business System and System Landscape Directory:
Create RFC destination (TCP/IP) LCRSAPRFC and SAPSLDAPI for the SLD connection.


NEW FEATURES IN PI 7.1 AND ECC6 SYSTEMS:
When we create proxies, previously the proxy class would generate default methods by name
EXECUTE ASYNCHRONOUS/EXECUTESYNCHRONOUS depending upon our scenario. But in
the ECC6 system the default method generated is with the same name as that of our Service
Interface.

Now about your Scenario::

Since yoru Scenario is File to Proxy:

In this scenario we are sending an XML message using a File adapter at sender side and
inserting
the details in a data base table in an ECC6 system at receiver side. For this scenario we need
to
create two business systems, which are used as sender and receiver business systems. The
sender
business system should be of type third-party and receiver business system is of type AS
ABAP.

ENTERPRISE SERVICES REPOSITORY (ESR):
At ESR create sender and receiver Data Types, corresponding Message Types and Service
Interfaces, necessary Message Mapping and Interface Mapping.

a) Create Message Types (sender_mt and receiver_mt) for corresponding Data Types
and
one Outbound Service Interface and one Inbound Service Interface for corresponding
Message Types.
b) Create Message Mapping program between sender and receiver message types.

INTEGRATION DIRECTORY (ID):

Once we complete the design phase we need to configure the scenario in Integration Directory.
Create a Configuration scenario and assign all the configured components to it.

a) Assign Sender and Receiver business systems at Integration Directory and create
sender and receiver communication channels. In our example we need to choose
File
Adapter at sender side and XI Adapter at receiver side.

b) Create Sender File Commuinication Channel and Receiver Communication Channel
as XI
9/11/2014 File to Proxy scenario | SCN
http://scn.sap.com/thread/1291692 3/4
Re: File to Proxy scenario
Hi,

Please check the following links :
File to R/3 via ABAP Proxy
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

Activate ABAP Proxies SAP system
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies

Hope this helps.
Regards,
Divya

Edited by: Divya Nambiar on Apr 1, 2009 12:14 PM
Like (0)
Divya Nambiar Apr 1, 2009 12:14 PM (in response to veer kumar)
Re: File to Proxy scenario
ok
Like (0)
veer kumar Nov 13, 2009 8:34 AM (in response to veer kumar)
which is a defalut CC.
c) Create Sender Agreement, Receiver Determination, Interface Determination and
Receiver
Agreement in a normal way.

PROXY PART::

1) Login to the ECC6 system (receiver). Run transaction u2018SPROXYu2019.

2) Select your interface (outbound or inbound) in our case inbound, right click and create proxy.
Then
save and activate proxy. The generated proxy creates a proxy class for Example ::
ZCL_RECEIVER_SI where you need to implement the business logic.

3) Also CREATE A DATABASE TABLE (ZXXXXXXXX) IN SE11.

4) GO TO SE37 CREATES FUNCTION MODULE (XXXXXX): Mention table name ZXXXXXXXXX
and
table parameter WA in changing tab of Function module.

5) Mention table name ZXXXXXXXXX and table parameter WA in changing tab of Function
module.

6) In Source code tab the function for inserting data into table is written.

*7) Finally, save and activate the function module*

NOW EXECUTING THE SERVER PROXY SCENARIO:


Based on the Poll interval time the file will be picked. Now check for the output in the database
table

ZXXXXX in SE11.


I hope this will be helpful to you very much.

Regards::
Amar Srinivas Eli

Edited by: Amar Srinivas Eli on Apr 1, 2009 3:30 PM

Edited by: Amar Srinivas Eli on Apr 1, 2009 3:35 PM
Like (1)
9/11/2014 File to Proxy scenario | SCN
http://scn.sap.com/thread/1291692 4/4
Follow SCN
Site Index Contact Us SAP Help Portal
Privacy Terms of Use Legal Disclosure Copyright
0 Tweet 0 Share 0 Like

Das könnte Ihnen auch gefallen