Skip to Content
avatar image
Former Member

Basic Question

Hi,

I need to know how good is to use ABAP Proxies to trigger the data into SAP. I have situation of getting the data from file and passing the data to SAP and this is related to G/L Entries that is journal entry in SAP.

So I want to know how good we should use proxies or we should have IDOC at the SAP Side and if so what IDOCS configuration I have to look and which . Please give me more details for this scenerio.

Thanks

Sudharshan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 23, 2007 at 08:46 PM

    Hi,

    there are two ways:

    you can either use an IDOC - you must specify exactly what you need

    to find it - you can also try searching for the idoc in WE60 (by name)

    if there is no IDOC for your purpose you can use a BAPI

    and call this bapi from ABAP proxy

    once the proxy will get executed you will pass the data to this bapi

    but try searching for IDOCs first as it will have

    standard error handling if no IDOC is avaialble go for the proxy

    for more about IDOCs and XI:

    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>

    Regards,

    michal

    -


    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      1. IDOC case:

      IDOC will have standard error handling - so you'll be able

      to use bd87 to reporcess this IDOC in case of error

      everything about IDOCs and XI is show (step by step with screenshots) in my book:

      <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>

      2. abap proxy - that calls the bapi

      in this case you can also create very nice error handling yourself

      just like shown here:

      /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1

      this way when the bapi returns an error you can

      execute an exception for your proxy - so you will be able

      to reporecess this message very easily via SXMB_MONI

      (almost just like IDOC and bd87)

      all you need to to do in this case it to loop on bapireturn table

      which stores the error info and execute the exception for your porxy

      (as shown in blog)

      both ways are similar but with IDOCs you don't need

      to do any programming but with proxies it's also quite simple

      Regards,

      michal

      -


      <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>