cancel
Showing results for 
Search instead for 
Did you mean: 

File to Proxy scenario

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

ok

former_member307485
Active Participant
0 Kudos

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

Shabarish_Nair
Active Contributor
0 Kudos

/people/siva.maranani/blog/2005/04/03/abap-server-proxies - ref this

Former Member
0 Kudos

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 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

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

siddhesh_pathak4
Contributor
0 Kudos

Hello,

Check out the below link,

[;