cancel
Showing results for 
Search instead for 
Did you mean: 

File to ABAP Proxy(ProductActivityNotification_In)

anilekar
Participant
0 Kudos

Hi All

I have to develop one scenario for Flat File to ABAP Proxy (ProductActivityNotification_In).

I am going to use Receiver File Adapter(to receive file in PI) and Reiver XI adapter(to send file to SNC proxy ProductActivityNotification_In)

I am new to XI please let me know how to approach to this solution.

What could be the design steps I need to consider?

Do I Need to use content conversion?

Can I use graphical mapping?

Thanks for your inputs.

Regards

Amol.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

You need to use file Sender Adapter

better to search SDN/wiki/ blog etc before posting, to get more info

check this for set-up (here it is FTP, instead use file)

https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=72123509

Regards

Vishnu

Answers (5)

Answers (5)

anilekar
Participant
0 Kudos

Thanks all I did it

anilekar
Participant
0 Kudos

thanks a lot guys, I will try all these will get back to you if i stuck somewhere

former_member859847
Active Contributor
0 Kudos

Hi

Proxy generation enables you to create proxies in application systems. Proxies encapsulate the creation or parsing of XML messages and the communication with the relevant runtime components required to send or receive the messages. The proxy runtime controls these processes and can itself be controlled in application programs by means of additional methods.

Since the communication between the sender and receiver is decoupled, you can use proxies to exchange messages with various different communication parties, and also by using adapters. However, this section of the documentation only discusses the programming model for the proxy runtime.

There are two types of Proxies.

Java Proxies and ABAP Proxies.

Java proxies are used when java applications needs to send and receive data and ABAP proxies are used when ABAP applications needs to send and receive data.

Please go through below docs

XI: RFC or ABAP Proxy ? ....ABAP Proxies with attachments

/people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments

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

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

ABAP Proxy Runtime

http://help.sap.com/saphelp_nw04s/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm

Setting Up Point-to-Point Connections with proxy

http://help.sap.com/saphelp_nw04s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm

Reliable Messaging ? EOIO in ABAP Proxies

/people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies

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

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81...

warm regards

mahesh.

former_member181985
Active Contributor
0 Kudos

Since you are new.......

You need a Sender File Adapter with File Content Conversion mode.

Do File Content Conversion in such a way that the transformed structure will be as expected by the target ABAP Proxy.....

Now send transformed payload to Proxy using XI adapter in receiver mode.

To understand the XI basic design/configuration steps you can startup with a simple File to File scenario.

Search the forum for the same..........

Former Member
0 Kudos

Hey,

You need to import the SNC standard content in XI.

This will provide you with the Proxy interface.

Then you need to do certain settings on the SNC server.

R3 side

SLDCHECK

Use this transaction to access the SLD of XI.

SLDAPICUST

Create an entry for respective XI server

requires hostname, port username and ip.

Can have multiple enteries for different servers.

But you can check only one entry.

based on the entry that is checked, respective SLD API will be triggered from

SLDCHECK.

SM59 (T type connections).

To connect to the SLD you need 2 types of TCP/IP connections.

1)LCRSAPRFC:-

In this you require the gateway host(ip address) and gatewayservice(sapgw[system no.])

YOu also need to give Program ID.

Entry of corresponding Program ID must be maintained in SMGW.

IN SMGW Click GoTo->logged on Clients.

If entry is not there for corresponding XI.

Create a communication channel in XI, pointing to R3 and give a Program ID

in the channel. Once the channel is activated, corresponding Program ID wil

appear in SMGW.

2)SAPSLDAPI:-

In this case follow the same porcedure as for LCRSAPRFC.

As far as the Program ID is concerned te procedure mentioned above is for

Customized RFC's

The RFC destinations mentioned here are both standard RFC's

Hence for these two RFC's no need to Create Program ID's. you just need to

change the System ID of the Program ID.

Both these RFC's are maintained in the J2ee server of XI.

SPROXY.

In this transcation you can check the Proxies.

If the proxies are not activated (i.e. if the message interfaces are not active)

then you need to maintain one G type RFC destination pointing the resepctive XI server.

In the G tpye RFC destination give the Ip adress of the XI server in the target

host and set the path prefix as /rep.

Goto SPROXY->Goto->connection test-> click on the table SPROXSET.

In this table maintain enteries for ADDRESS_ONLY_FROM_SPROXSET and IFR_HTTP_DEST

The values corresponding to these enteries will be the G tpye RFC destination.

In order to connect R3 to the Integaration server you need to maintain H type

The default RFC is XI_INTEGRATIONSERVER. In you need to give the Target host entry as the

Ip address and Path Prefic as.../sap/XI/engine/?type=entry (this you can get from SXMB_ADM of XI)

You can also create the H type RFc of your own.

goto SXMB_ADM(r3) and open Integration engine configuration.

Goto edit->change global configuration and give the RFC dest name like this:-

Corresponding Integration server:- dest://{h-type rfc destination}

If you do not want to create RFC destination you can directly give

the Integration server address(that you can obtain from SXMB_ADM of XI) in the

Corresponding Integration server field.

This is to activate the communication between SNC and PI.

now you need to create the file structure in XI.

the next step is to do the mapping between the file structure and the appropriate interface

As yours is a flat file you need to do a file content conversion

In Integration directory you need to configure two channels one for File and the other one for Proxy.

regards,

Milan