cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Proxies to send the data to PI

Former Member
0 Kudos

I have a scenario to send some data from ECC to Legacy system in flatfile format. I would like to use ABAP client proxies on the ECC side and File receiver adapter to tranmit the data to Legacy system.

I tried various sample scenarios and know how to send simple data using ABAP report program(which triggers the client proxy from ECC).

But the question is if I have to read SAP data files and send the data conditionally based on certain criteria to the other Legacy system. How do we write the ABAP code with in the ABAP Proxie program? Can any body share the real time coding procedure to achieve this. I am not good at ABAP.

I absolutely have good idea how we can configure on the receiver side.

Thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Chris,

> But the question is if I have to read SAP data files and send the data conditionally based on certain criteria to the other Legacy system.

Receiver Legacy side configuration will be done in XI side only (in your case). Since you want to pass data to different legacy systems then you need to do conditional Receiver Determination.

In R3 (in your proxy) while extracting the data, just extract the data based on given conditions and pass it to XI and then in XI in Receiver Determination based on your conditions you can send the data to other Legacy Systems.

I hope it helps you..

Regards,

Sarvesh

former_member240483
Contributor
0 Kudos

As advised above start your coding if u have any problem share with us we will try to give some inputs..your coding is purely depends on thebusiness requiremnt..according the requirement writea code and call ABAP proxy ...

PT

Former Member
0 Kudos

Based on the conditions (like Context objects) can be used to send the data to Legacy system.

You can create context based on the payload and that can determine whether you want to send data or not.

Can you give any sample conditions?

Former Member
0 Kudos

For exampe If I want to transfer only specific data from various SAP database files from ECC and then triggering the ABAP client proxy in the ABAP report program, how do we code that ABAP program, any real time examples, or ideas..!

I have tried a sample ABAP report program(from the SDN forums which sends simple data to file system, but now I need to incorporate some real time business logic in this report program before triggering the outbound proxy

Former Member
0 Kudos

Hi

If I want to transfer only specific data from various SAP database files from ECC and then triggering the ABAP client proxy in the ABAP report program

There are various ways to do this. Create a class that can call reports(forms) for various legacy system say L1, L2 and L3. now create 3 reports each for the systems .

In XI create a generic structure which can satisfy L1, L2 & L3 and generate the proxy for this structure.

now in reports for L1 pass the data from ERP tables specific to L1 and use the client proxy report to pass the data to XI and deliver the flat file. Similarly for others you can do

now at XI you do conditional receiver determination. Identify the condition from the payload that can distinguish L1, L2 & L3. based on this you can pass the data to defined receiver.

Hope this helps.

Thanks

Gaurav

Former Member
0 Kudos

It's difficult to give an ABAP example that suits your requirement. The coding will depend on what is the business logic. However you can use the sample program as a base and then start your coding. If you get stuck somewhere or you are not sure about which tables the data should be extracted or what is the logic to extract data from the tables, then you can always ask question on the forum.

regards,

Advait