Wednesday, June 13, 2012

0 Extended program check

Extended program check: This is used to avoid the unnecessary declarations of the program Transaction code for the extended program check is SLIN After completion of program Go to menu bar Program -> check -> extend program check Execute Double click on error and warnings Identify the unnecessary declarations  var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-33481535-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; ...

Monday, June 11, 2012

0 Finding Programs for Transaction

Finding program for the transaction How to find the program for a transaction if you have the Transaction code? Scenario:- When you have the the TCODE and you want to see the underlying coding or the program related to it. Solution 1:- Go to transaction SE93 .Type in the transaction code and press display. Solution 2:- Go to the TCODE. In the menu got to system > status In the Pop-up SAP Data box holds the program details. Solution 3:- Goto table TSTC.Enter TCODE and execute. This is very useful when you have multiple TCODES for which you need to find the programs...

0 FIELD SYMBOLS IN ABAP

Field symbols: Field symbols are placeholders or symbolic names for other fields. They do not physically reserve space for a field, but point to its contents. A field symbol can point to any data object. The data object to which a field symbol points is assigned to it after it has been declared in the program. To declare a Field Symbol, use the statement, FIELD-SYMBOLS <FS> [<type>|STRUCTURE <s> DEFAULT <wa>]. Typing  Field Symbols: The <type> addition allows you to specify the type of a field symbol. Syntax: FIELD-SYMBOLS <FS> <type> Ex : *//variable declaration      ...

0 Control Structures In ABAP

control structures : This are used to control the flow of execution of the program Controlling the Flow of ABAP/4 Programming: The flow of an ABAP/4 program can be controlled internally  and externally.  Internal control is steered  by using some standard  control keywords( IF,CASE, DO,WHILE). Control structures are 2 types 1.Branching  Control structures(IF,CASE) 2.Looping Control structures(DO,WHILE) External control is steered by events . Events are generated either from other ABAP/4 programs (system programs or user programs) or from interactive user input (like, for example, using the mouse to click on the...

0 Move ,Compute & Move-Corresponding in ABAP

Move & Compute: MOVE source TO target. COMPUTE target = source. DATA : d1(4),              d2 TYPE I VALUE 75,              d3 TYPE I.     MOVE ‘SAP’ TO d1.    COMPUTE d3 = d2 + 125.                                                                         ...
 

SAP-ABAP Copyright © 2011 - |- Template created by Vishnu - |- Powered by Blogger Templates