Monday, July 30, 2007

Materials Management Tables

EINAPurchasing Info Record- General Data

EINEPurchasing Info Record- Purchasing Organization Data

MAKTMaterial Descriptions

MARAGeneral Material Data

MARCPlant Data for Material

MARDStorage Location Data for Material

MASTMaterial to BOM Link

MBEWMaterial Valuation

MKPFHeader- Material Document

MSEGDocument Segment- Material

MVERMaterial Consumption

MVKESales Data for materials

RKPFDocument Header- Reservation

T023Mat. groups

T024Purchasing Groups

T156Movement Type

T157HHelp Texts for Movement Types

Wednesday, July 25, 2007

BASIS/ABAP T-CODES

T-Codes for BASIS/ABAP
USMMPressing F8 will display all hotpacks applied.

SEARCH_SAP_MENU Show the menu path to use to execute a given tcode. You can search by transaction code or menu text.

DI02ABAP/4 Repository Information System: Tables.

LSMWLegacy System Migration Workbench. An addon available from SAP that can make data converstion a lot easier. Thanks to Serge Desland for this one.

OSS1SAP Online Service System

OY19Compare Tables

SM13Update monitor. Will show update tasks status. Very useful to determine why an update failed.

S001ABAP Development Workbench

S001ABAP/4 Development Weorkbench. (from john.omeara@syskoplan.ie)

S002System Administration. (from john.omeara@syskoplan.ie)

SA38Execute a program. (from john.omeara@syskoplan.ie)

SCATComputer Aided Test Tool

SCU0Compare Tables

SE01Old Transport & Corrections screen

SE03Groups together most of the tools that you need for doing transports. In total, more than 20 tools can be reached from this one transaction.

SE09Workbench Organizer

SE10New Transport & Correction screen

SE11ABAP/4 Dictionary Maintenance SE12 ABAP/4 Dictionary Display SE13 Maintain Technical Settings (Tables)

SE12Dictionary: Initial Screen - enter object name. (from john.omeara@syskoplan.ie)

SE13Access tables in ABAP/4 Dictionary. (from john.omeara@syskoplan.ie)

SE14Utilities for Dictionary Tables

SE15ABAP/4 Repository Information System

SE16Data Browser: Initial Screen. (from john.omeara@syskoplan.ie)

SE16NTable Browser (the N stands for New, it replaces SE16). Provided by Smijo Mathew.

SE17General Table Display

SE24Class Builder

SE30ABAP/4 Runtime Analysis

SE32ABAP/4 Text Element Maintenance

SE35ABAP/4 Dialog Modules

SE36ABAP/4: Logical Databases

SE37ABAP/4 Function Modules

SE38ABAP Editor

SE39Splitscreen Editor: Program Compare

SE41Menu Painter

SE43Maintain Area Menu

SE48Show program call hierarchy. Very useful to see the overall structure of a program. Thanks to Isabelle Arickx for this tcode.

SE49Table manipulation. Show what tables are behind a transaction code. Thanks to Isabelle Arickx for this tcode.

SE51Screen Painter: Initial Screen. (from john.omeara@syskoplan.ie)

SE54Generate View Maintenance Module

SE61R/3 Documentation

SE62Industry utilities

SE63Translation

SE64Terminology

SE65R/3 document. short text statistics SE66 R/3 Documentation Statistics (Test!)

SE68Translation Administration

SE71SAPscript layout set

SE71SAPScript Layouts Create/Change

SE72SAPscript styles

SE73SAPscript font maintenance (revised)

SE74SAPscript format conversion

SE75SAPscript Settings

SE76SAPscript Translation Layout Sets

SE77SAPscript Translation Styles

SE80ABAP/4 Development Workbench

SE81SAP Application Hierarchy

SE82Customer Application Hierarchy

SE83Reuse Library. Provided by Smiho Mathew.

SE84ABAP/4 Repository Information System

SE85ABAP/4 Dictionary Information System

SE86ABAP/4 Repository Information System

SE87Data Modeler Information System

SE88Development Coordination Info System

SE91Maintain Messages

SE92Maintain system log messages

SE93Maintain Transaction. (from john.omeara@syskoplan.ie)

SEARCH_SAP_MENUFrom the SAP Easy Access screen, type it in the command field and you will be able to search the standard SAP menu for transaction codes / keywords. It will return the nodes to follow for you.

SEUObject Browser

SHD0Transaction variant maintenance

SM04Overview of Users (cancel/delete sessions)

SM12Lock table entries (unlock locked tables)

SM21View the system log, very useful when you get a short dump. Provides much more info than short dump

SM30Maintain Table Views. (from john.omeara@syskoplan.ie)

SM31Table Maintenance

SM32Table maintenance

SM35View Batch Input Sessions

SM37View background jobs

SM50Process Overview. (from john.omeara@syskoplan.ie)

SM51Delete jobs from system (BDC)

SM62Display/Maintain events in SAP, also use function BP_EVENT_RAISE

SMENDisplay the menu path to get to a transaction

SMOD/CMODTransactions for processing/editing/activating new customer enhancements.

SNROObject browser for number range maintenance. (from john.omeara@syskoplan.ie)

SPROStart SAP IMG (Implementation Guide). (from john.omeara@syskoplan.ie)

SQ00ABAP/4 Query: Start Queries

SQ01ABAP/4 Query: Maintain Queries

SQ02ABAP/4 Query: Maintain Funct. Areas

SQ03ABAP/4 Query: Maintain User Groups

SQ07ABAP/4 Query: Language Comparison

ST05Trace SQL Database Requests. (from john.omeara@syskoplan.ie)

ST22ABAP Dump analysis

SU53Display Authorization Values for User. (from john.omeara@syskoplan.ie)

WEDIEDI Menu. IDOC and EDI base.

WE02Display an IDOC

WE07IDOC Statistics

Tuesday, July 24, 2007

ABAP Interview Questions

Top ABAP Interview Questions:


1. What is the typical structure of an ABAP/4 program?

HEADER ,BODY,FOOTER.

2. What are field symbols and field groups.?
Have you used "component idx of structure" clause with field groups?

Field symbols:-
Field groups :-

3. What should be the approach for writing a BDC program?

STEP 1: CONVERTING THE LEGACY SYSTEM DATA TO A FLAT FILE to internal table CALLED "CONVERSION".
STEP 2: TRANSFERING THE FLAT FILE INTO SAP SYSTEM CALLED "SAP DATA TRANSFER".
STEP 3: DEPENDING UPON THE BDC TYPE i)call transaction(Write the program explicity)
ii) create sessions (sessions are created and processed.if success data will transfer).

4. What is a batch input session?

BATCH INPUT SESSION is an intermediate step between internal table and database table.
Data along with the action is stored in session ie data for screen fields, to which screen it is passed,program name behind it, and how next screen is processed.

5. What is the alternative to batch input session?

Call transaction.

6. A situation: An ABAP program creates a batch input session.
We need to submit the program and the batch session in back ground. How to do it?

Please go to SM36 and create background job by giving job name,job class and job steps (JOB SCHEDULING)

8. What are the problems in processing batch input sessions?
How is batch input process different from processing online?

PROBLEMS:-

i) If the user forgets to opt for keep session then the session will be automatically removed from the session queue(log remains). However if session is processed we may delete it manually.
ii)if session processing fails data will not be transferred to SAP database table.

10. What are the different types of data dictionary objects?

tables, structures, views, domains, data elements, lock objects, Matchcode objects.

11. How many types of tables exists and what are they in data dictionary?

4 types of tables
i)Transparent tables - Exists with the same structure both in dictionary as well as in database exactly with the same data and fields. Both Opensql and Nativesql can be used.
ii)Pool tables & iii)Cluster tables -
These are logical tables that are arranged as records of transparent tables.one cannot use native sql on these tables
(only opensql).They are not managable directly using database system tools.
iv)Internal tables - .

12. What is the step by step process to create a table in data dictionary?

step 1: creating domains(data type,field length,range).
step 2: creating data elements(properties and type for a table
field).
step 3: creating tables(SE11).

13. Can a transparent table exist in data dictionary but not in the data base physically?
No. Transporent tables do exist with the same structure, both in the dictionary as well as in database, exactly with the same data and the fields.

14. What are the domains and data elements?

DOMAINS : FORMAL DEFINITION OF THE DATA TYPES.THEY SET ATTRIBUTES SUCH AS DATA TYPE,LENGTH,RANGE.
DATA ELEMENT : A FIELD IN R/3 SYSTEM IS A DATA ELEMENT.

15. Can you create a table with fields not referring to data elements?

YES. eg:- ITAB LIKE SPFLI.here we are referening to a data object(SPFLI) not data element.

16. What is the advantage of structures? How do you use them in the ABAP programs?

The most important advantage of the structures is that they have global existence (i.e.; these could be used by any other program without creating it again).

17. What does an extract statement do in the ABAP program?

Once you have declared the possible record types as field groups and defined their structure, you can fill the extract dataset using the following statements:
EXTRACT .

When the first EXTRACT statement occurs in a program, the system creates the extract dataset and adds the first extract record to it. In each subsequent EXTRACT statement, the new extract record is added to the dataset

EXTRACT HEADER.
When you extract the data, the record is filled with the current values of the corresponding fields.
As soon as the system has processed the first EXTRACT statement for a field group , the structure of the corresponding extract record in the extract dataset is fixed. You can no longer insert new fields into the field groups and HEADER. If you try to modify one of the field groups afterwards and use it in another EXTRACT statement, a runtime error occurs.

By processing EXTRACT statements several times using different field groups, you fill the extract dataset with records of different length and structure. Since you can modify field groups dynamically up to their first usage in an EXTRACT statement, extract datasets provide the advantage that you need not determine the structure at the beginning of the program.

18. What is a collect statement? How is it different from append?

If an entry with the same key already exists, the COLLECT statement does not append a new line, but adds the contents of the numeric fields in the work area to the contents of the numeric fields in the existing entry.