Skip to Content
avatar image
Former Member

XI Scenarios (Views)

Guys,

Need some u r views on below statements.

1) When i am using RFC Sender Adapter , i can only just give only static import paramters or else i can schedule it to background.

So i understand that RFC Sender Adapter can be used when we want to use to do particular job on timely basic (Job would be constant).

If any one says , we can pass dynamic import parameters .. kindly share how it could be done ?

To my understanding Sender System (Sap) Should start my process and XI takes on from there and no where XI can start the Receiver System (In case Of Sender RFC i mean).

2) So for Dynamic Data flow , we can use IDOC.So when any updation is made it would populate the IDOC which in turn starts my XI box configured Scenario.

Share u views on Sender RFC / IDOC Adapter 😊

regards

Srini

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 21, 2008 at 04:55 AM

    Hi Srini,

    Say you want to capture Material master changes, without using IDOC.

    If there is a BADI/USER exit available after saving in the transaction, a piece of code can be inserted wich makes an entry of material number in the Z table.

    A scheduled report program can take the material number from Z table, read material master from SAP using this and trigger proxy.

    I hope this answer is sufficient.

    Regards,

    Vikas

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 18, 2008 at 05:23 AM

    Hi,

    Refer this Blog

    Choose the Right Adapter to integrate with SAP systems

    Regards,

    Suryanarayana

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 18, 2008 at 05:32 AM

    Hi Srini,

    Sender RFC adapter is used when sender SAP system wants to request XI Integration Engine to process RFC calls. This could either be synchronous or asynchronous. Generally this is synchronous. For details see [Understanding the RFC Adapter|http://www.riyaz.net/blog/index.php/2008/02/06/understanding-the-rfc-adapter/]. For IDoc adapter, see [IDoc Communication using SAP XI|http://www.riyaz.net/blog/index.php/2008/02/11/xipi-simple-idoc-communication-using-sap-xi/].

    Regards,

    Riyaz

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 18, 2008 at 05:35 AM

    can only just give only static import paramters or else i can schedule it to background.

    U can schedule an RFC.

    If any one says , we can pass dynamic import parameters .. kindly share how it could be done ?

    By static parameter, do u mean value of parameters are static or the number of parameters is static? Number of parameters should be static but value can always be dynamic.

    To my understanding Sender System (Sap) Should start my process and XI takes on from there and no where XI can start the Receiver System (In case Of Sender RFC i mean).

    This is correct.

    2) So for Dynamic Data flow , we can use IDOC.

    For dynamic data flow, even RFCs can be used. In case of RFCs, trigger point may be a scheduled RFC or a sheduled report calling RFC internally which may send the data dynamically to XI.

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Prateek Raj Srivastava

      Hi Guys,

      can u reply back if we need.

      Intermidate tabler for both RFC and IDOC.

      i understand that IDOC can populate it"s segments as per the ALE config made.

      But that it not case with RFC , lot more work around has to be made in regards with development.

      kindly give u r views

      regards

      Srinivas

  • avatar image
    Former Member
    Jul 18, 2008 at 11:28 AM

    Hi Srini,

    There are 2 cases.

    1) Standard table with no standard IDOC.

    You can capture the primary keys of changed records in a custom table. This can be done in a BADI implementation/user exit.

    A scedule report program can the read the records using this Z table and trigger a client proxy to PI.

    2) Z table.

    Same approach can be built in the peice of code which updates this table. You can directly trigger Proxy if real time interface is required.

    Does this answer your question? Or your question is different.

    Regards,

    Vikas

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 18, 2008 at 11:49 AM

    Hi Srini,

    You dont need to use RFC or IDOC.

    You can use ABAP Proxy. It also supports application and system acknowledgements.

    Regards,

    Vikas

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Halo,

      if i use ABAP Client proxy , i have to write code to capture the paramters that has been updated ,

      then in turn as said first i have to transfer all the data first to intermidiate table and then this abap proxy report program has to run to fetch data.

      though i agree efficiency vice.

      Is it good if i use IDOC , kindly read entire replies hope u guys understand what i am saying

      regards

      Srini

  • avatar image
    Former Member
    Jul 21, 2008 at 04:02 AM

    Hi Srini,

    You dont need to store entire data in an intermediate table. Only key field like EmployeeNumber needs to be stored.

    Custom IDOC will require much more development work.

    Also an IDOC will genereate one message per record in PI. Using proxy, you can make packets of say 500 records, wich is much more efficient.

    You need to take a call based on requirement.

    Regards,

    Vikas

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Vikas,

      Thanks for u r reply.

      U mean to say that capturing only the key fields (Primary key) would be enough u mean to say.

      Well based on this i should schedule my ABAP proxy to fetch data and pass to XI which would be triggering point .

      That was my comcern.. can u elobrate the scenario what u had in mind with some example.

      thx in advance

      rgds

      srini