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

bapi

Hi,

I have to develop a bapi which fetches data from ztable in R/3 and display it in the form of table.How to proceed for this? Urgent. Please help.

Rgds,

khadeer.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 26, 2008 at 06:26 AM

    Hi,

    Goto SE37 and create a function module and in attributes mention function module as REMOTE ENABLED

    and create it as you create a normal function module...

    Important point is that you have to maintain the structure in SE11 and should give the structure in FM

    In source code write the necessary program...

    SELECT * 
       FROM Ztable 
           into table itab.

    itab is a table define in BAPI function module of type structure defined in SE11.

    Dont forget that you should save the function group of the function module only in Package..

    Check this link....

    [Bapi Creation|http://www.erpgenie.com/abap/bapi/example.htm]

    or

    [Step by Step guidance|http://www.sap-img.com/abap/bapi-step-by-step-guidance.htm]

    Hope this would help you.

    Regards

    Narin Nandivada.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 26, 2008 at 06:26 AM

    1. create the Function Group

    2. Create the Function Module

    3. Tables parameters

    give the tablename and Reference Structure or table,

    4. In the Attributes section check the Radiobutton RFC Function

    5. In side the Function Source code Select the data from ZTABLE into the table parameter and Activate the Whole Function group.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 26, 2008 at 08:08 AM

    Hi Khadeer.

    I would like to suggest,

    1. Go To Transaction - BAPI.

    2. Go To Project.

    3. Navigate to Bapi design.

    4. Navigate to Define Bapi Structures.

    5. Navigate to Creating BAPI Function modules.

    6. Navigate to Implementing BAPI Function module.

    7. Major factor - Function Module must be RFC enabled,

    as all BAPIs are RFC enabled.

    Hope that's usefull.

    Good Luck & Regards.

    Harsh Dave

    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.