Save info   Get password
Home Submit your blog Edit Account Rules RSS-Archive Contact


ALV SIMPLE SAMPLE CODE
2008-05-12 12:58:17
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-05-12 12:57:35
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,


ALV LIST USING OO STYLE SAMPLE CODE
2008-05-12 12:56:26
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 conta


EFFECTIVE CODING IN ABAP 1
2008-05-14 02:14:33
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-05-14 02:04:43
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


BDC AND LSMW COMPARISION
2008-05-14 02:02:08
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


TABLE CONTROL IN BDC
2008-05-14 02:00:21
Steploop and table contol is inevitable in certain transactions. When we run BDC for such transactions, we will face the situation: how many visible lines of steploop/tablecontrol are on the screen?Although we can always find certain method to deal with it, such as function code 'NP', 'POPO', considering some extreme situation: there is only one line visible one the screen, our BDC program should


BDC 1
2008-05-14 01:59:11
(1) BATCH INPUT CONCEPTS:The SAP System offers two primary methods for transferring data into the System from other SAP Systems and non-SAP Systems. These two methods are collectively called "batch input" or "batch data communication."basic technique for data transfer with batch input.Both batch input methods work by carrying out normal SAP transactions, just as a user would. However, batch-input


BDC 2
2008-05-14 01:58:23
B.MANAGING BATCH-INPUT SESSION.Batch input sessions enter data non-interactively into an R/3 System. Batch input is typically used to transfer data from non-R/3 Systems to R/3 Systems or to transfer data between R/3 Systems.This section describes how to manage batch input sessions.To reach the main menu of the batch input system, select System --> Services --> Batch input.Overview and Conceptsa)


BDC 3
2008-05-14 01:56:25
(3) WRITING A DATA TRANSFER PROGRAM:The data transfer program is responsible for doing the following:Converting the data that is to be transferred into the SAP System as required by the SAP data structure or transactions that you are using.The data structure may be generated from the standard SAP data structures (see Generating an SAP Data Structure(5)). This is required if you are working with a


BDC 4
2008-05-14 01:55:36
(5) GENERATING AN SAP DATA STRUCTURE:You can use the ABAP/4 Dictionary to generate data structures for SAP tables in any of the following programming languages:CobolPL/1CYou can then incorporate these data structures in your data conversion program.For most of the standard SAP batch input programs, SAP has also provided special data structure identifiers. With such an identifier, you can generate


No title
2008-05-14 01:54:06
(11) SELECTING A BATCH-INPUT METHOD:When you generate batch input in ABAP/4, you have three options for submitting the data to batch input processing. Only the first two methods can be recommended without reservation. The third method, by way of CALL DIALOG, is outmoded. CALL DIALOG Is less comfortable than the other methods. You should use it only if you must.Create a session on the batch input q


BDC 6
2008-05-14 01:46:22
(13) PROGRAMMING TECHNIQUES :ENTERING DATA AND EXECUTINGFUNCTIONS:a)Sample Code: Filling the BDCDATA Structureb)Identifying a Screenc)Entering a Value in a Fieldd)Executing a Functione)Entering Values in Loop Fieldsf)Positioning the Cursorg)Ending a Transactiona)Sample Code: Filling the BDCDATA Structure:The following form routine shows how the BDCDATA structure should be filled. Build the struc


BDC 7
2008-05-14 01:45:12
(14) CREATING BATCH INPUT SESSIONS:One of the two recommended ways to process batch input data is to store the data in a batch input session. This session can then be run in the SAP System to enter the batch input data into the system.In general, preparing a session is the best and most comfortable way to process batch input data.However, you may wish to use the alternate method, CALL TRANSACTION


BDC 8
2008-05-14 01:44:11
(18) PROCESSING BATCH INPUT SESSIONS:When you create a batch input session, it remains in the batch input queue until it is explicitly started. Session processing can be started in two ways:An on-line user can start the session using the batch input menu options. (To access the batch input options, choose System-->Services-->Batch Input.)You can submit the background job RSBDCSUB to start a sessio


BDC 9
2008-05-14 01:43:33
Error Analysis and Restart CapabilityUnlike "classical" batch input processing using sessions, CALL TRANSACTION USING processing does not provide any special handling for incorrect transactions. There is no restart capability for transactions that contain errors or produce update failures.You can handle incorrect transactions by using update mode S (synchronous updating) and checking the return co


BDC 10
2008-05-14 01:42:46
(23) BATCH INPUT RECORDING FOR TRANSACTION RUNS:This section tells you how to use the recording functions of batch input.For more information, refer to these sections:a)Recording featuresb)Sample programc)Special recording features(24) BATCH INPUT AUTHORIZATIONS:You need no special authorization -- other than the ABAP/4 run time authorization (authorization object S_PROGRAM -- to run a program th


ABAP BDC TABLE CONTROL
2008-05-14 01:42:09
BDC table control is an area on the screen in which you can display data in tabular form. You process it using a loop. Table controls are comparable to step loop tables. While a table control consists of a single definition row, step loop blocks may extend over more than one row. Table controls are more flexible than step loops, and are intended to replace themWhen you need to handle a scenario li


TABLE TYPES IN SAP
2008-05-21 01:00:59
TABLE TYPES IN SAP:Choosing a Table Type The table type (and particularly the access method) that you will use depends on how the typical internal table operations will be most frequently executed. Standard tables This is the most appropriate type if you are going to address the individual table entries using the index. Index access is the quickest possible access. You should fill a standard ta


TYPES OF VIEWS IN SAP
2008-05-21 00:59:53
TYPES OF VIEWS IN SAP: Views :Data about an application object is often distributed on several tables. By defining a :view, you can define an application-dependent view that combines this data. The structure of such a view is defined by specifying the tables and fields used in the view. Fields that are not required can be hidden, thereby minimizing interfaces. A view can be used in ABAP program


ABAP DATA BASE UPDATES COMPLETE
2008-05-21 00:58:39
OVERVIEW: DATABASE UPDATES:You can update databases either using ABAP's Open SQL commands, or with the database-specific commands of your database's Native SQL command set.You can access ABAP cluster databases using special ABAP commands.You can access the data in database tables using the Open SQL commands. The command set includes operations of the Data Manipulation Language (DML). The Data Defi


SAP LOCK CONCEPT
2008-05-21 00:56:55
SAP LOCK CONCEPT:If several users are competing to access the same resource or resources, you need to find a way of synchronizing the access in order to protect the consistency of your data.Example: In a flight booking system, you would need to check whether seats were still free before making a reservation. You also need a guarantee that critical data (the number of free seats in this case)


ORGANIZING DATABASE UPDATES
2008-05-21 00:56:04
ORGANIZING DATA BASE UPDATES:If your transaction executes database updates from the dialog program, you must bundle all of your database updates into a single dialog step (usually the last). This is the only way to ensure that your database changes are processed on the all-or-nothing principle.With database changes from the dialog program, you must save the data you want to change in the global pr


ENHANCEMENTS TO DICTIONERY ELEMENTS IN SAP
2008-05-21 00:54:15
ENHANCEMENTS TO DICTIONARY ELEMENTS:Tables and structures can be expanded in one of two different ways:Append structures allow you to enhance tables by adding fields to them that are not part of the standard. With append structures; customers can add their own fields to any table or structure they want.Append structures are created for use with a specific table. However, a table can have multiple


LESSON 5 DATA BASE DIALOG
2008-05-21 00:52:48
Database tables are administered in the ABAP Dictionary. There you can find current information about a database table's technical attributes. Database tables that have been created in the database using the same line type and name are called transparent tables in the ABAP Dictionary. There are a couple of different ways in which you can navigate to transparent tables in the ABAP Dictionary: C


LESSON 12 ABAP DICTIONARY
2008-05-21 00:51:46
ABAP DICTIONARY:The ABAP Dictionary permits a central management of all the data definitions used in the R/3 System.In the ABAP Dictionary you can create user-defined types (data elements, structures and table types) for use in ABAP programs or in interfaces of function modules. Database objects such as tables and database views can also be defined in the ABAP Dictionary and created with this defi


LESSON 13 PERFORMANCE DURING TABLE ACCESS
2008-05-21 00:50:48
PERFORMANCE DURING TABLE ACCESS:Advantages and disadvantages of the method of buffer synchronization:ŸAdvantage:The load on the network is kept to a minimum. If the buffers were to be synchronized immediately after each modification, each server would have to inform all other servers about each modification to a buffered table via the network. This would have a negative effect on the performance.


LESSON 15 DEPENDENCIES OF DICTIONARY OBJECTS
2008-05-21 00:50:09
DEPENDENCIES OF DICTIONARY OBJECTS"During development, you sometimes need to change an (active) object already used by the system.Such changes are supported in the ABAP Dictionary by separating the active and inactive versions.The active version of an ABAP Dictionary object is the version that the components of the runtime environment (for example ABAP processor, database interface) access. This v


LESSON 16 CHANGES TO DATA BASE TABLES
2008-05-21 00:49:29
CHANGES TO DATA BASE TABLES:The new version of the SAP standard table is activated and the new field is appended to the database table.Please note the following points about append structures:ŸNo append structures may be created for pooled and cluster tables.ŸIf a long field (data type LCHR or LRAW) occurs in a table, it cannot be extended with append structures. This is because such long fields


LESSON17 VIEWS IN ABAP
2008-05-21 00:48:50
VIEWS IN ABAP:The set of data that can be selected with a view greatly depends on whether the view implements an inner join or an outer join.With an inner join, you only get those records which have an entry in all the tables included in the view. With an outer join, on the other hand, those records that do not have a corresponding entry in some of the tables included in the view are also selected


Page 2 of 5 « < 1 2 3 4 > »
eXTReMe Tracker