cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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 

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

Accepted Solutions (0)

Answers (2)

Answers (2)

vinaymittal
Contributor
0 Kudos

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

pvishnuvardan_reddy
Active Contributor
0 Kudos

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.