Skip to Content
avatar image
Former Member

Fetch the data at runtime from SAP

Hi All,

There is a requiremnt that i need to implement?

I will get a file and then i will process that file in XI and at runtime i need to fetch the data from SAP and then generate the output.

Suppose for Ex:

I am geting a file containing a business partner and then i need to check in SAP whether the business partner exist or not and the other datils of that business partner from SAP and then i need to proceess the file with that details and thus generating the output.

So what all the things that i may need for this scenerio?

How can i achive this?

I hope i can achive this by BPM, if yes then can anyone let me know the steps that i need to follow for this?

I will be highly oblidge for your support...

Many Thanks,

JAY

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 07, 2008 at 05:32 AM

    Hi Jay,

    R u using any RFC for this scenario.

    If u r using RFc then u can achieve this using BPM or without BPM.

    Just refer the below links for more detail which has the same requirement.

    File-RFC-File without BPM:

    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file%28without+bpm%29&

    With BPM.

    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

    u can also do it with RFC lookup:

    • RFC lookup using JCO (without communication channel)

    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups

    • RFC lookup with communication channel.

    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer

    Thnx

    Chirag

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 07, 2008 at 05:31 AM

    Ur scenario is File - XI - Output.

    Now in between as u want to access data from SAP, u may perform RFC lookup to check whether business partner exist or not. No BPM would be required in this case.

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 07, 2008 at 05:43 AM

    Which one will be the better option for this..

    Thanks,

    JAY

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Jay,

      U can try FILE-RFC-FILE without BPM.

      In RFC lookup u need to write the UDF for calling the FM in SAP.

      Thnx

      Chirag

  • avatar image
    Former Member
    Mar 07, 2008 at 05:51 AM

    Thanks A lot Chirag & Raj for your quick reply.

    The file scenerio will be FILE(XML)-- XI ---FILE(XML)

    And while runtime and doing a processing in XI i need to get the data from SAP(EX: All the details for that business partner)

    and then generate the output(XML FILE) with all that detials fetched from SAP.

    Is it like in Mapping i will create a UDF and then do a lookof from SAP and then get the details from SAP and then generate the output or something else.

    Please let me know.

    Thanks,.

    JAY

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 07, 2008 at 06:27 AM

    Thanks Chirag and Raj for your valuable time and quick responce.

    I will definitely look at this and get back to you if i there occured any problme.

    Point is assigned :::

    Good job enjoy....:)

    Thanks,

    JAY.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 07, 2008 at 06:36 AM

    .

    Add comment
    10|10000 characters needed characters exceeded