Skip to Content
author's profile photo Former Member
Former Member

How to retrieve the data from the table stored in sap system using BAPI

Hi experts,

1.Can you please provide the information how to retrieve the data from the table stored in sap system using BAPI.

2. I created RFC Lookup as part of my requirement i created everything as per blog SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups

3. i have few points,

1. how to create BAPI program to retrieve the data from tables. here we use customize or standard.?

2.If it is customize need to write BAPI program for every time,when we working with RFC lookup ? If Yes can you please provide the information how to write BAPI program and where to executive this BAPI program to fetch the data from the table and process to RFC lookup.

3.If it is standard one which function module is used to get the information from the table. can you please provide function module name.

Regards,

Sruthi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2015 at 11:47 AM

    Hi Kanchiraju,

    RFC look up concept is that we can access the remotely enable function module present in SAP system externally and use it according to our requirement.

    So, first pls check and find the function module/BAPI which takes the input and gives the output as you desired. If you don't get any standard one, then you need to develop a customised FM as per the requirement. For all these, you can take the help of any ABAPer.

    If it is a function module, then make sure is it remotely enabled or not to use externally i.e. from PI.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 23, 2015 at 06:41 AM

    Hi,

    you have to develop a function module maybe in SE80 specify the input output parameters(you need to use the input parameters while passing value to FM in udf in PI) and op parameters will be used while retreiving data from resultset after the query runs

    why dont you go for graphical RFC lookup they will save you the need of writing a udf

    Graphical RFC Lookup and How you can design lookups for multiple values to be retrieved in a single call

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.