cancel
Showing results for 
Search instead for 
Did you mean: 

File to Proxy

Former Member
0 Kudos

Hi,

am doing file to proxy scenario,how does the data gets transformed from xi to R/3 and gets updated there?what is the logic behind that?How the data flows from xi to proxy?

Regards,

keerthi

Accepted Solutions (1)

Accepted Solutions (1)

sunil_singh13
Active Contributor
0 Kudos

Hi Keerthi,

When we create Message interfaces (inbound and outbound)

WSDL gets generated for these message interface adn when we go in transaction SPROXY and when we generate proxy for inbound or outbound message interface it executes its corresponding WSDL due to which three things get created

1)Proxy class

2) Meassage type

3)Data Type

We refer proxy class to develope our Report where we give reference to the proxy class and message Type.

And we use Fields Present in Structure to assign values coming from Files and thats how the things Work .

Reward Points if Realy Helpful

Thanks

Sunil Singh

Former Member
0 Kudos

HI sunil,

should we create a structure at receiver side in SE24,will data gets transformed from structure to internal table?

Regards,

keerthi

Former Member
0 Kudos

Hi,

Very first step for proxy scenario is to configure the proxy in XI and R3.

refer the below configuration.

ABAP Proxy configuration:

/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies

after that follow the below steps

1) Create the datatype,messagetype.message interface and remaining desing component.

2) Go to R3 system Enter T-code Sproxy and generate the proxy using message interface for ur scenario and activate it.

3) Write ur code in the method which willl insert or update the data in R3 table.

refer the below weblog:

Server Proxy -

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

File to Inbound Proxy:

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

Debugging Inbound Proxy:

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

chirag

Former Member
0 Kudos

Hi,

should we create a structure at receiver side in SE24

yes,When we generate proxy in Sproxy Tcode,structure automatically created at receiver side in SE24.

will data gets transformed from structure to internal table?

In report program data transfer from structure to internal table.

Regards,

pradeep A.

Answers (4)

Answers (4)

0 Kudos

Hi,

As soon as the Proxy is generated the structure gets created in SE24.

We just have to implement the method that is present in the generated Proxy Class with the logic we require.

Regards,

Ramya

Former Member
0 Kudos

abap server proxy is an approach to communicate with the sap backend system without use of adapters.In systems having Web AS >=6.4, We can either use Proxies or IDOC/RFC adapters for communicating with SAP systems.

In real time you use server proxy when you dont want to use any existing IDOC/RFC.in that case you create your own data type/mesage type/mesage interfaaces in XI system and then create proxy in the application system.

Best option is to use a proxy while handling large volumes and developing a custom business processes.

Proxies can be can be used for both synchronous and asynchronous communication , RFC/BAPI is basically only intended for Synchronous communication, which asks much more system resources from your XI system .

How to create proxy.

http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm

How to Activate Proxy.

/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies

ABAP Server Proxies (Inbound Proxy)

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

File to R/3 via ABAP Proxy with good example

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

Synchronous Proxies:

Inbound Synchronous Proxy

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsa...

**********Reward points,if found useful

Former Member
0 Kudos

Hi,

Proxy communication is adapter less (i.e. conversion from native format to xml and vice versa) communication.

In other way we can say that it’s a communication between two web application servers (xi and R/3).

Communication between XI and R/3 system is possible through RFC connection of type H and some configuration settings in sxmb_adm .Due to these configurations all interfaces developed in XI are replicated in Sproxy in the form of wsdl.

In sproxy we will convert this wsdl interfaces in to classes and methods. we will use that classes and methods in an abap report to insert data in to respected tables.

If u consider text file to R/3(proxy communication)

Text file is converted in to xml file through sender file adapter

In XI mapping and configuration and routing steps take place then xml file send to R/3 system through XI adapter (no conversion).

In R/3 system the abap report developed fetch data from classes and insert in to respected tables.

Rewards points if helpful.

Regards,

pradeep A.

Former Member
0 Kudos

Hi Keerthi,

Refer the following links,

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

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

Regards,

Rohit.

Reward points if helpful.