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

BAPI steps

Can anyone help me to know how to get the data from SAP to server(java) and vice versa using BAPI..

Example : Material data is in the Java server,Now i need to take the data from tht server to SAP using BAPI..Plz guide me with the steps

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 Oct 22, 2007 at 10:51 AM

    Hi,

    STEP 1 - Define a structures for the BAPI

    STEP 2 - Write Function Module

    • Each BAPI must have its own function group.

    • Under the attrbutes tab remember to select Processing Type Remote Enabled module, otherwise the function module cannot be invoked via RFC and used as a BAPI

    • Import/Export parameters can only be BY VALUE for an RFC enabled function module

    • We are only creating one BAPI in this example, but you can create related BAPIs in the same function pool, so they will be able to share global data.

    Attributes

    Import Parameters

    Export Parameters

    Tables

    STEP 3 - Create the API Method Using the BAPI WIZARD

    STEP 4 - Final steps

    When the Business object has been checked and the documentation created, the follwing steps must be carried out:

    • Release the BAPI function module (in the Function Builder).

    • Release the business object type (in the BOR ObjectType -> Change release status to -> Implemented ).

    • Release the BAPI as a method in the BOR (Release the methods you have created - Set the cursor on the method then

    Edit -> Change release status -> Object type component -> To released )

    <b>reward points if useful.</b>

    regards,

    Vinod Samuel.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 22, 2007 at 11:30 AM

    hi

    good

    go through this link hope this ll help you to solve your problem

    http://help.sap.com/saphelp_nw04s/helpdata/en/5c/2f2c4142aef623e10000000a155106/content.htm

    reward point if helpful.

    thanks

    mrutyun^

    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.