Skip to Content
avatar image
Former Member

ABAP Proxies to send the data to PI

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 24, 2008 at 04:18 PM

    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?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • Oct 26, 2008 at 10:21 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 26, 2008 at 10:55 AM

    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

    Add comment
    10|10000 characters needed characters exceeded