Owner: Free Download SAP ABAP Books,Projects,Reports,Faqs URL:http://allsapabaplive.blogspot.com Join Date: Sat, 07 Jun 2008 08:48:56 -0500 Rating:0 Site Description: BADI,BAPI'S,BDC,HR,Interview Questions,Programming, Reports,RFC,TCodes,ABAP-Java,ALE,IDOCs,ALV's,BSP,BTE, Data Dictionary,Dialog Programming,FICO,SD,MM,Function Modules,Interactive Reports,Internal Tables,Locking, Logical Database,OOPS,PM,PP,QM,R/3,BW,SCR Site statistics:Click here
ALV LIST USING OO STYLE SAMPLE CODE 2008-05-19 09:18:24 1. Create a Control (for Custom and Split Containers only)2. Instantiate a Container Object (in case of Custom and Split Containers, specify the control which is created by us in Screen painter) CREATE OBJECT3. Instantiate an Object of the kind of report that has to be displayed (List, Grid or Tree). CREATE OBJECT . Here we need to specify the Parent Container as the so that it sits in that contai
ALV LIST USING OO STYLE SAMPLE CODE 2008-05-19 09:18:24 1. Create a Control (for Custom and Split Containers only)2. Instantiate a Container Object (in case of Custom and Split Containers, specify the control which is created by us in Screen painter) CREATE OBJECT3. Instantiate an Object of the kind of report that has to be displayed (List, Grid or Tree). CREATE OBJECT . Here we need to specify the Parent Container as the so that it sits in that contai
Defining ABAP BAPI Methods in the BOR 2008-06-10 01:35:41 To represent the remote enabled function module as a BAPI, BAPI Wizard is used. The wizard generates some additional code to allow the BAPI to be called as a workflow method apart from being called by an outside program.When creating a new object type in BOR (Business Object Repository), there can be two possibilities. Either it is created as a subtype of an existing business object or it is crea Read more:Methods
EXAMPLE SHOWING HOW TO CREATE A BAPI 2008-06-10 01:34:53 Programming a BAPI consists of some tasks like: •Defining BAPI Data structures ( using SE11 )•Creating BAPI Function Modules (For each method)•Defining BAPI Methods in the BOR•Documentation of the BAPI•Generate ALE interface for asynchronous BAPIs•Generate and releaseNOTE:Here we will not be covering the two points – Documentation of BAPI and Generating ALE Interface for asynchronous
HOW TO CREATE OWN BAPI’S 2008-06-10 01:34:04 Topics covered under this are:•What is BAPI?•Some Conventions about BAPI•Example showing How to Create a BAPIWhat is BAPI?BAPI is an abbreviation used for Business Application Programming Interface. These are interfaces within the business framework to link SAP components to one another and SAP components with third-party components.The SAP Business Objects are an essential part of the Busi
Create BAPI step by step procedure (by Dinesh deshmukh) 2008-06-10 01:32:28 About the ExampleSTEP 1 - Define a structures for the BAPISTEP 2 - Write Function ModuleSTEP 3 - Create the API Method Using the BAPI 5 WIZARDSTEP 4 - Final steps This BAPI reads system status for a production order from table JEST and system status text fro table TJ02TName ZGetOrderStatusFunction group ZBAP
LOCKS IN ABAP 2008-06-10 01:23:24 Using the SAP Locking FacilityDefinition of an SAP lock The description of an SAP lock to a table is made via the lock condition and the lock mode. The lock condition is a logical condition for the lines of the table to be locked. It describes the area of the table which the lock is to protect from competitive access. To avoid the administration of the lock becoming complicated, the lock condition
REPLACE COMMENTARY IN ALV 2008-06-10 01:22:37 1 IntroductionThe ALV provides Events, which allows users to add information to the List at different rendering time points.Goals of the ALV Form:• UI independent information for rendering• The information is displayed in agreement with the SAP agronomical guidelineThe base Element of the ALV Form is the abstract class CL_SALV_FORM_ELEMENT.This base Element (CL_SALV_FORM_ELEMENT) describes the
ALV WITH POV SAMPLE CODE 2008-06-10 01:22:00 ****EXECUTABLE PROGRAM ON ALV****REPORT Y_MALVPOV .****TABLE WORK AREATABLES:KNA1,VBAK.***SELECTION SCREEN***PARAMETERS:P_KUNNR LIKE KNA1-KUNNR DEFAULT 1001.SELECT-OPTIONS:S_VBELN FOR VBAK-VBELN.****DEFINE INTERNAL TABLE***DATA:BEGIN OF IT_ITAB OCCURS 0, VBELN LIKE VBAK-VBELN, END OF IT_ITAB.***DEFINE INTERNAL TABLE WITH HEADER LINE****DATA:IT_JTAB LIKE VBAK OCCURS 0 WITH HEADER LINE.****PROVIDE T
ALV HIRACHICAL REPORT SAMPLE CODE 2008-06-10 01:21:32 TYPE-POOLS: slis.TABLES : ekko, ekpo.DATA : BEGIN OF i_ekko OCCURS 0, ebeln LIKE ekko-ebeln, ernam LIKE ekko-ernam, bsart LIKE ekko-bsart, var1, END OF i_ekko.DATA : BEGIN OF i_ekpo OCCURS 0, ebeln LIKE ekpo-ebeln, ebelp LIKE ekpo-ebelp, matnr LIKE ekpo-matnr, aedat LIKE ekpo-aedat, var2, END OF i_ekpo.DATA : BEGIN OF i_final OCCURS 0, ebeln LIKE ekko-ebeln, ernam LIKE ek
ALV LIST DISPLAY SAMPLE CODE 2008-06-10 01:21:02 TYPE-POOLS:SLIS.TABLES:EKKO.SELECT-OPTIONS:SO_EBELN FOR EKKO-EBELN.DATA:BEGIN OF IT_EKKO OCCURS 0, EBELN LIKE EKKO-EBELN, "PURCHASE DOCUMENT NUMBER BUKRS LIKE EKKO-BUKRS, "COMPANY CODE BSTYP LIKE EKKO-BSTYP, "PURCHASE DOCUMENT CATEGORY BSART LIKE EKKO-BSART, "PUCHASE DOCUMENT TYPE END OF IT_EKKO.*FIELD CATALOG TABLE DECLARATION.DATA:I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER L
ALV LAYOUT DISPLAY SAMPLE CODE 2008-06-10 01:20:28 TYPE-POOLS:slis.TABLES:ekko.SELECT-OPTIONS:so_ebeln FOR ekko-ebeln.PARAMETERS: VARIANT LIKE DISVARIANT-VARIANT.DATA:BEGIN OF it_ekko OCCURS 0, ebeln LIKE ekko-ebeln, "PURCHASE DOCUMENT NUMBER bukrs LIKE ekko-bukrs, "COMPANY CODE bstyp LIKE ekko-bstyp, "PURCHASE DOCUMENT CATEGORY bsart LIKE ekko-bsart, "PUCHASE DOCUMENT TYPE END OF it_ekko.*FIELD CATALOG AND EVENT CATALOG TABLE DECL
ALV BLOCK SAMPLE REPORT 2008-06-10 01:19:53 TYPE-POOLS: slis.TABLES : ekko, ekpo.DATA : BEGIN OF i_ekko OCCURS 0, ebeln LIKE ekko-ebeln, ernam LIKE ekko-ernam, bsart LIKE ekko-bsart, var1, END OF i_ekko.DATA : BEGIN OF i_ekpo OCCURS 0, ebeln LIKE ekpo-ebeln, ebelp LIKE ekpo-ebelp, matnr LIKE ekpo-matnr, aedat LIKE ekpo-aedat, var2, END OF i_ekpo.DATA : BEGIN OF i_final OCCURS 0, ebeln LIKE ekko-ebeln, ernam LIKE ek
ALV CHECK BOXES SAMPLE CODE 2008-06-10 01:19:17 REPORT zalv5 NO STANDARD PAGE HEADING.*Description-----------------------------------------------------------** TOPICS INTRODUCED:* 1. Learn about the ‘Standard’ PF-Status that comes as default.* 2. Exclude function codes from ‘Standard’ PF-Status and customize it.*----------------------------------------------------------------------*TYPE-POOLS: slis.DATA: BEGIN OF i_data OCCURS 0,qmnum L
ALV INTERACTIVE REPORT SAMPLE CODE 2008-06-10 01:18:43 TYPE-POOLS: SLIS.*type declaration for values from ekkoTYPES: BEGIN OF I_EKKO,EBELN LIKE EKKO-EBELN,AEDAT LIKE EKKO-AEDAT,BUKRS LIKE EKKO-BUKRS,BSART LIKE EKKO-BSART,LIFNR LIKE EKKO-LIFNR,END OF I_EKKO.DATA: IT_EKKO TYPE STANDARD TABLE OF I_EKKO INITIAL SIZE 0,WA_EKKO TYPE I_EKKO.*type declaration for values from ekpoTYPES: BEGIN OF I_EKPO,EBELN LIKE EKPO-EBELN,EBELP LIKE EKPO-EBELP,MATNR LIKE EKP Read more:INTERACTIVE
ALV DOUBLE CLICK SAMPLE CODE 2008-06-10 01:17:55 REPORT ALVINTERSAMPLE NO STANDARD PAGE HEADING LINE-SIZE 650.TYPE-POOLS: SLIS.*type declaration for values from ekkoTYPES: BEGIN OF I_EKKO,EBELN LIKE EKKO-EBELN,AEDAT LIKE EKKO-AEDAT,BUKRS LIKE EKKO-BUKRS,BSART LIKE EKKO-BSART,LIFNR LIKE EKKO-LIFNR,END OF I_EKKO.DATA: IT_EKKO TYPE STANDARD TABLE OF I_EKKO INITIAL SIZE 0,WA_EKKO TYPE I_EKKO.*type declaration for values from ekpoTYPES: BEGIN OF I_EK
ALV SIMPLE SAMPLE CODE 2008-06-10 01:17:12 BCALV_DEMO_HTMLBCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen ModeBCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen modeBCALV_GRID_DEMO Simple ALV Control Call Demo ProgramBCALV_TREE_DEMO Demo for ALV tree controlBCALV_TREE_SIMPLE_DEMOBC_ALV_DEMO_HTML_D0100*data definitiontables:marav. "Table MARA and table MAKT*---------------------------------------------------------------------** Data to be displa
ALV COLURING SAMPLE CODE 2008-06-10 01:16:39 REPORT zalv.****************************************************************** Use of colours in ALV grid (cell, line and column) ******************************************************************* TableTABLES : mara.* TypeTYPES : BEGIN OF ty_mara, matnr LIKE mara-matnr, matkl LIKE mara-matkl, counter(4) TYPE n, free_text(15) TYPE c, color_line(4)
ABAP ALV IN BRIEF 2008-06-10 01:15:25 The common features of report are column alignment, sorting, filtering, subtotals, totals etc. To implement these, a lot of coding and logic is to be put. To avoid that we can use a concept called ABAP List Viewer (ALV).Using ALV, we can have three types of reports:1. Simple Report2. Block Report3. Hierarchical Sequential ReportThere are some function modules which will enable to produce the above
ALV DOCUMENTATION COMPLETE 2008-06-10 01:12:58 ALV (ABAP LIST VIEWER):Sap provides a set of ALV (ABAP LIST VIEWER) function modules, which can be put into use to embellish the output of a report.This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length.In such cases, this set of ALV functions c
ALV IN BRIEF 2008-06-10 01:10:20 IntroductionHere is the definition for ALV from SAP Help: “The ALV Grid control is a flexible tool for displaying lists.The tool provides common list operations as generic functions and can be enhanced by self-defined options.”The ALV Grid control is used to build non-hierarchical, interactive, and modern-design lists. As a control, it is a component that is installed on the local PC.The ALV G
EFFECTIVE CODING IN ABAP 1 2008-06-12 02:09:36 SAP R/3 : ABAP/4 Development Code Efficiency GuidelinesABAP/4 (Advanced Business Application Programming 4GL) language is an "event-driven", "top-down", well-structured and powerful programming language. The ABAP/4 processor controls the execution of an event. Because the ABAP/4 language incorporates many "event" keywords and these keywords need not be in any specific order in the code, it is wise
EFFECTIVE CODING IN ABAP 2 2008-06-12 02:08:54 In case of large statements, the R/3's database interface divides the statement into several parts and recombines the resulting set to one. The advantage here is that the number of transfers is minimized and there is minimal restrictions due to the statement size (compare with range tables).SELECT * FROM TABLEvs.SELECT column(s) FROM TABLEUse a select list or a view instead of SELECT *, if you are
mySAP ABAP Certification - Criteria For Application 2008-06-12 02:06:27 The guidelines: Criteria to applying for a SAP Certification
without Prerequisites:"All candidates registering for the mySAP Certification Test must ensure that they have at least 2 years SAP implementation experience or have attended at least 15 days of relevant training in SAP. It needs to be the classes that SAP Ltd. arrange and accept. For example: HR400 - Payroll Configuration."Proof of the a Read more:Application
BDC AND LSMW COMPARISION 2008-06-12 02:04:40 Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not atypical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is not bi-directional.BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form