Skip to Content
avatar image
Former Member

File to Idoc OR File to AbapProxy

Hello,

Let me expose my problem.

In fact, I need to integrate new Goods Movements sent by a non-Sap system to ECC system.

To do that, the non-sap system sends a file.

Then, I need to generate from this file an Idoc (MBGMCR), fill this Idoc with some extra data (from Ecc tables) and then to integrate it into ECC.

The question here is to find the best solution (according to performance and feasibility) to do that using PI (7.0).

We are hesitating between two scenarios:

1- File to Abap Proxy

We get the data sent by an abap proxy, and then we complete it with the necessary extra data from ECC tables in order to create complete the Idoc segments.

In this case, I canu2019t see the need of SAP PI because we could have just basically read the file directly with ECC.

Even, using PI will be a waste of performance/time (due to mappingu2026)

2- File to IDOC

This alternative looks more interesting (at least in the PI way).

But this scenario may lead to the following problem: there are a lot of fields not filled by the data coming from the non-sap system (even whole segments).

For example, the file contains Orders headers and I need to generate Goods Movements for the materials contained in the orders. So I need to access Orders posts, to retrieve the materials data.

Is there a way to retrieve simple information in PI using ECC data?

Any other suggestion/comment is welcome.

(Any other scenario is also welcome)

Thanks you in advance.

-


Saber L.

SAP PI consultant.

Edited by: LMS LMS on Nov 7, 2008 10:24 AM

Edited by: LMS LMS on Nov 7, 2008 10:25 AM

Edited by: LMS LMS on Nov 7, 2008 10:25 AM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Nov 07, 2008 at 09:30 AM

    ABAP proxy would improve performance in terms of providing adapterless communication.

    In this case, I canu2019t see the need of SAP PI because we could have just basically read the file directly with ECC.

    Making a direct connection would increase point to point connectivity across the organization whose reduction is one of the reason why XI is used.

    If ur communication is async and u have the idoc structure ready, then u may proceed with Idocs.

    But this scenario may lead to the following problem: there are a lot of fields not filled by the data coming from the non-sap system (even whole segments).

    If you want to prevent the node from getting generated, simply disable it in mapping.

    I hope u have seen this

    Choose the Right Adapter to integrate with SAP systems

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      In my opinion, rather using RFC Lookup function for File to IDOC case, you should go for File to Proxy.

      Use XI (for monitoring) and do 1:1 mapping, now once you get your data in Proxy you can paly with it and performance point of view it will be best.

      Regards,

      Sarvesh

  • avatar image
    Former Member
    Nov 07, 2008 at 09:36 AM

    Hi,

    you can go for first option if you don't want any kind of monitoring via XI, but since you have XI as a middleware to monitor then you should use XI also but again it depends upon your choice..

    In second option you need to have on RFC lookup function which will extract the neccessary data based on your requirement as given in below example by you.

    > For example, the file contains Orders headers and I need to generate Goods Movements for the materials contained in the orders. So I need to access Orders posts, to retrieve the materials data.

    In the second option since you have to use RFC lookup then there could be some performance issue.

    So now it is your choice to chose which option is best for you.

    Regards,

    Sarvesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 07, 2008 at 10:05 AM

    HI,

    SAP XI is middelware Component provided by SAP to seperate Design , Configuration , Monitoring of u r Integration 😊

    Hope this would answer u r first question.Chossing SAP XI to u r landscape is not meant not only for integration but also for futher place to view u r landscape interfaces and to enhance it.

    The way u do wud block above functionality in futher wud be hetic find out the point of problem and enhancement wud b hard.

    ABAP proxy wud giving out high performance when copamred to IDOC.But look out if u have abap resource for this

    If u have IDOC std use it reduce u r coding and moreover empty nodes can be handled with the help of the mapping tat's not a problem

    rgds

    srini

    Add comment
    10|10000 characters needed characters exceeded