abap step by step bapi

Download Abap Step by Step Bapi

Post on 16-Apr-2015

687 views

Category:

Documents

5 download

Embed Size (px)

TRANSCRIPT

Step-by-step creation of a BAPI with necessary screenshots. Email ThisBlogThis!Share to TwitterShare to Facebook To create the custom BAPI, we need to follow this step-by-step procedure. The steps are 1. Create the BAPI structure. 2. Create Remote Function Module. 3. Place the Remote Function Module into BOR (Business Object Repository). 4. Implement, Generate and Release the BAPI. Step 1: To create BAPI structure, the structure name should start with the keyword ZBAPI. Here, Two BAPI structures are created in this scenario .The name of these BAPI structures are ZBAPI_IMPORT and ZBAPI_TABLE. Step 2: ZBAPI_IMPORT structure contains the following fields.

Step 3: ZBAPI_TABLE structure contains the following fields.

Step 4: Now, define the Remote Enabled Function Module using T-Code SE37 starting with the ZBAPI . Provide the name of the function module as ZBAPI_DEMO_SD. We must pass the Import and export parameters as value parameters.

Attribute Parameters:

Import Parameters:

Export Parameters: Return parameter in the Export parameter contains the error messages. Here, we must create a parameter of type structure BAPIRETURN either in Export Parameter or Table Parameter.

Table Parameters:

Source Parameter: Step5: Place this Function Module in to BOR using the T-code SWO1. Provide the name of the object and press create button.

Provide the following details.

Step 6: Add our Custom BAPI using Utilities->API Method->Add Method

Now, Provide the created Custom Function Module name and click enter.

Press the Next Step Button.

Press the Next Step Button.

Click the YES button.

Now, Method is added in the BOR.

And Press Save button. Step 7: Now Implement the BAPI.

Now, Generate the BAPI by clicking symbol ball.

Lastly, Release the BAPI.

Step 8: Now test the BAPI by clicking Execute Button.

The following screen appears and click execute button.

Provide the sales document number and press execute button.

Now check the output as follows

POSTED BY CAREER ABAP AT 5:26 AM LABELS: TUTORIALS ON BAPI 2 COMMENTS: john said... thaks for ur updata and let me know about badi basic and one real time ex with screen shot APRIL 23, 2012 1:23 AM john said... thanks for ur posting and now i want to know badi both se18 and se19 plz send me with screen shot APRIL 23, 2012 1:25 AM Post a Comment Newer Post Older Post Home Subscribe to: Post Comments (Atom) LIC POLICY LIC Policy have 15 to 20% discounts Please contract LIC agent Phone number : 918121170063 FREELANCE FOR ABAP OR HR-ABAP CODING(FOR A MONTH). We Support you in your Job works. We Do your work through TeamViewer. We are charge for one person 30,000/- (Indian Rupes) for SAP ABAP or SAP HR-ABAP, In Support Project. We are charge for one person 40,000/- (Indian Rupes) for SAP ABAP or SAP HR-ABAP, In Development Project. If any one wants Please Send your Name and Phone number to my Mail ID. Mail to : rajasekhar.puppala@gmail.com Sub : Freelance ABAP.

CUSTOMER RELATIONSHIP MANAGEMENT (CRM) Difference between EEWB and BDT Configurations for opening an external URL (like SAP.COM) from IC WebClient. Adding Web URL (like google.com, yahoo.com) in CRM UI Creation and Configuration of Business Partners Action Profiles in SAP-CRM PRODUCTION PLANNING (PP) Types of Subcontracting Difference between Co-Product and Bi-Product with an example Converting Planned Orders to Purchase Requisitions and Purchase Orders Routing Vs Task list Vs Work Procedure Production Order Splitting Repetitive Manufacturing Cycle Typical Production cycle in Process Industry MRP Run in background for all Network Plants SAP FINANCIALS (FI) Check duplicate creation of Vendor Master that have the same address data through standard SAP settings Validation rules in FI Defining Asset Number Range Steps to configure Document text in Customer Invoice Entry (FB70) transaction Understanding Lockbox Information on FICA (Finance and Contract Accouting) Comparison of FI and FICA TUTORIALS ON SAP DATA DICTIONARY Automatically populating the search hlep values into different fields on the selection screen by using search help exit Providing multiple selection options in Search help Creating a projection view Comparison of Transparent, Pool and Cluster tables Adding new values in Standard Domain Creation of a table pool and pooled table Row level locking of database tables Creation of a View cluster Creation of a Logical Database Working with Table Maintenance Generator Creating a secondary index Creating Search helps (Elementary and collective) Creating a structure in ABAP Dictionary Creating a Transparent Table TUTORIALS ON SAP-ABAP Scheduling Background jobs Converting an XML file with many hierarchy levels to ABAP format FTP file transfer in Background Understanding "Coverage Analyzer" Understanding "Checkpoint Group" Understanding ABAP Unit Downloading report output into Excel using OLE Dynamic SELECT statement Creating a Tabstrip on the selection screen Displaying 3D Graphs in ABAP

Creating a dynamic selection screen on a report Creating a Function Module Downloading file on to the application server Demo on Interactive reporting (One more example) Developing a simple interactive report A real-time example on sending PDF file as an email (Complete program) HR Infotype Creation Creation of a Dynamic Internal table Creation of a Number Range Object Download data from tables with user defined delimiters Create / Modify / Delete records in any table from CSV file ABAP Performance Standards Differences between LSMW and BDC MESSAGE XXXX RAISING XXXX. What is this? Debugging Update Task and Back-ground Task System debugging - Explained in detail Updating Material Master long text (BASIC DATA TEXT, INSPECTION TEXT and INTERNAL COMMENT) Calling an RFC function module from one system to another Object oriented programming (OOP) explained with an example Creating F1 helps with ease Dynamic Variant in a report Working with Menu Painter The Features of ABAPTM New Editor - Part 1 The Features of ABAPTM New Editor - Part 2 Displaying Graphics using ABAP Program Using Sorted table and Index while processing internal tables Implementing events in Table Maintenance Handling favorites in ABAP Workbench Calling a web service in ABAP that validates an email id Creation of a web service in SAP Changing the text "Sales Order" to "Billing Request" in the transactions VA01, VA02 and VA03 Understanding SQL Trace ABAP Performance Tuning Checklist ABAP Programming standards E-mailing the background jobs Creating a Transaction Variant Performance Tuning using Parallel Cursor Scheduling a background job by triggering an event Creating Dynamic Patterns Custom Parameter-id Creation Display images (like company logo) on the selection-screen Creating Dynamic variant using table TVARV Dynamic Selection Screen (Drop downs, pushbuttons, radio buttons, icons) Adding custom context menu in classical list Convert internal table data into HTML using Function Modules Convert internal table data into HTML with out using Function Modules PDF Viewer Program to Upload or Download a report along with ... Download/Upload a program along with PF-Status, Text elements, documentation and others Using Code Templates Issue billing document output in XML format Include translations in a transport request

SAP ENTERPRISE PORTALS (EP) Basics of Enterprise Portal development using Java Viewing the solution manager documents on ESS or on web by deploying the same as a link

Create and Export Transport request in Enterprise Portal Role Transfer from Enterprise Portal to SAP Role Transfer from SAP to Enterprise Portal Running multiple versions of NWDS in one PC Reuse Java Dictionary Types in Web Dynpro Development Components

ABAP INTERVIEW QUESTIONS SAP ABAP Technical Questions ( Data Dictonary ) SAP ABAP Real Time Questions SAP ABAP Reports Questions SAP ABAP Internal Tables Questions SAP Scripts and Smart Forms Questions SAP ABAP Scripts Question and Answers Part 1 SAP ABAP Scripts Question and Answers Part 2 SAP ABAP Scripts Question and Answers Part 3 SAP ABAP Scripts Question and Answers Part 4 SAP ABAP Scripts Question and Answers Part 5 SAP ABAP Scripts Question and Answers Part 5 SAP ABAP Scripts Question and Answers Part 6 SAP ABAP Scripts Question and Answers Part 7 SAP ABAP BDC Programs Questions 1 SAP ABAP BDC Programs Questions 2 SAP ABAP BDC Programs Questions 3 SAP ABAP Report Programming Questions 1 SAP ABAP Report Programming Questions 2 SAP ABAP Report Programming Questions 3 SAP ABAP Report Programming Questions 4 SAP ABAP Report Programming Questions 5 SAP ABAP Report Programming Questions 6 SAP ABAP Report Programming Questions 7 SAP ABAP BDC , LSMW, Conversions Questions SAP ABAP Written Test Questions Sample Test Questions on SAP ABAP Programming Part 1 Part 2 Part 3 Part 4 Part 5 Part 6 100 SAP ABAP Interview Questions SAP ABAP Technical Interview Questions( Data Dicto... SAP ABAP Certification Questions SAP ABAP Questions with Answers ADOBE INTERACTIVE FORMS TUTORIALS Getting started with Adobe Forms with a simple exercise Create table Create table using subform Using Alternative in Adobe Forms Using Text Modules in Adobe Forms Value help in Adobe interactive forms Making subform behave as table and data part as body row Using Where conditions to relate header and item tables in Adobe forms Demo on Nested tables Achieving Control levels functionality in Adobe Forms. Calculating Page-wise Sub-Totals and Grand Total in Adobe forms Including the Standard Texts (SO10) and any other Long Texts in the Adobe Forms

Scenario on displaying logo, background image and fetching data from multiple tables Printing Address using Business Address Services (BAS) Print

Recommended

View more >