Beruflich Dokumente
Kultur Dokumente
A) SLIS is a TYPE-POOL used for working with ALV. SLIS contains definations for types,
structures and tables which we use in ALV.
The syntax for the SLIS is:
TYPE-POOLS:SLIS.
DATA SECLARATION:
T_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
W_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
A)
Answers:
itab-name = 'Rakesh'.
itab-age = '26'.
wa-name = 'Rakesh'.
wa-age = '26'.
Append Wa to ITAB.
3.Difference between user exit and customer exit.
A) Customer Exits : In standard programs we can find function modules. with in that
fm's we can find includes. There we have access to writing our own code. No need of
Access key. Through package we can find Enhasement and we can impliment our code in
SMOD and CMOD tcode's.
User Exits : In standard programs we have Subroutines wich will b started with User-exit.
based on formal parameters of subroutine we will impliment our code.For implimentation
we must require Access key.
A) Proforma invoice nothing but the invoice is recived before sending material for advance
payment.
A) select * from means, it completely retrieves all the data from database table. it is not
good for programming.
select up to 1 row means, it retrieves all the related values for that query.From that result
first row is selected.
Select single always hits the database. you can not load records into internal table.
select upto 1 row loads all the records those matching selections criteria & pics 1st from
those.
SELECT SINGLE * is prefered when there are all PRIMARY KEYS in WHERE clause, as
Select single * from table
it fetches single record from the database, based on the condition you specified in the
where clause.The 'SELECT SINGLE' statement selects the first row in the database that it
finds that fulfils the 'WHERE' clause If this results in multiple records then only the first
one will be returned and therefore may not be unique.
UP TO 1 ROWS is the special case of UP TO n ROWS can be used with any WHERE
condition and gives you the first record which is found.
A). classic and interactive reports are developed by using events like initialization, at
selection screen,start of selection, top of page etc.
LDB,logical database reports, using Get, Get late events. these are for HR ABAP only.Not
Abapers.
Abap query, it is one of reporting tool.no need of coding use transactions,SQ02,SQ03 and
SQ01
Goto the particular screen layout in which you want drop down list for a field , double
click on that field you will see a drop down field , set it as list box , and save it. You will be
able to see the drop down list box in your selection screen.
A) These get and getlate events comes under the LDB .<br>Get and Getlate events are
used to retrive the data from the<br>logical database tables. This is comes under the sap
Abap-Hr.<br>So this is not sap abap concept. This is totally belongs to<br>the Abap-
Hr.<br><br>Get node.<br><br>Read the first record from the database for
corresponding <br>node(table).<br><br>Get node Late.<br><br>Read the first record
from the database for corresponding <br>node(table) after processing all child nodes.
9). IN selection screen i have three fields matno,plant and matgroup,if is provide
Plant input value,how can i get matno and matgroup based on plant dynamically.
A) using f4if_int_table_value_request function module we can get the matno & material
group.use this function module in the event at selection screen on value request
A). 1)at line selection: it is used to capture all the field values
2)at line selection on filed: it is used to capture only particular field value.
The difference is RFC can be used in distributed enviornment like between two different
SAPs. In distributed enviornment function module cant be work out,Because it dosent
identify the other SAP system apart from is own.Thants why its called refote function
call(RFC)
12).What are fieldsymbols and fieldgroups?Have you used component 'componet idx of
structure " clause with in fieldgroups?
A)
FIELD GROUPS are used to hold/handle large amount of data when the internal table are
not useful we use EXTRACT statement, HEADER structure in them see the example
REPORT demo_extract.
Field symbol is dynamically allocated at runtime and field group is pointer to field symbol.
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 cam 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.
A). when we place control breaks statements with in select & end-select then i will
generate an complie time error and says us to use it in loop......endloop
A). Value table - It's a field in a domain it helps in domain level data validation.
Check table - unlike value table it helps in feild level data validation.
CHECK TABLE:The table that contain all valid set of values is called check table.
ex: MARA Table or EMPLOYEE information Table.
VALUE TABLE:When ever we create a foreign key relationship with another table the
system will look a value table field which is there at domain level.The system proposes
that table as an check table for the foreign key..
Regards,
Kiran Kumar
16).What are Alv reports?How they are different from normal reports?
A). ALV(ABAP LIST VIEWER) displays the output list in a grid format and also have some
operations like select all,deselect all, ascending,descending... and it also have one concept
called blocked alv where we can display the data from two tables in a single grid.
Reports are for displaying data and to display data in header and item wise we use
hierarchical alv so using alv is the best way than using reports.
A). BDC is developer friendly method That means we can write our own code easily. after
writing code we can run at a time for uploading incase of LSMW we have to run for 14
times. If there is any critical scenario then we can easily write our own logic in BDC.IF
there is any Customer fields for standard transactions then we can upload through BDC.
A). A relationship which can be defined between tables and must be explicitly defined at
field level. Foreign keys are used to ensure the consistency of data. Data entered should
be checked against existing data to ensure that there are now contradiction. While defining
foreign key relationship cardinality has to be specified. Cardinality mentions how many
dependent records or how referenced records are possible.
A). In SM37: Select the job, type JDBG in the OK-code and press enter. This can be used
for both completed jobs and jobs to be processed (just make sure you have enough time
to debug before the job actually starts). Breakpoints set in the job flow works. This
method has been successfully used in R/3
4.6C.
A.) In my opinion, You can display the footer, by using the event - end of page event.
A.) 1.If your using call transaction method the on the syntax
for call transaction as shown below put "N" as the option
which stands for no screens.
A.) if the table have yhe field mandt then it is the client dependent if the table have no
field named mandt then it is cleint independent
A.) we can transfer the script from one client to another.goto se71 copy button is there
click that button.give the name of the form name.then in the target form name give ur
own form name and specify the client number also.
Scripts are client dependent.Using IMPORT parameter.You can transfer the script from one
client to another.
Eg : The script is in 200 client, If you want to test the script in 220 client, from 200 client
u have to import to 220 client using IMPORT parameter.
if the sapscript is locked in any transport then copy the trasport into target client using
SCC1 transaction.
A.) 1.Normal FM
2.Remote enabled FM
3.Update FM
A.)
1. Analyze the data from the local file or flat file.
2. Analyze the transaction.
3. Declaring the internal table (BDCDATA)
program: name of the module pool program name
dynpro: screen number.
dynbegin: it indicates for the new screen.
fname: name of the fields in the screen
fval : the values are assigned with the fields.
4.Transferring the data from the local file to internal table
5. Populating the internal table.
A.) Smart Forms allows you to create forms using a graphical design tool with robust
functionality, color, and more. Additionally, all new forms developed at SAP will be created
with the new Smart Form solution.
A.) Yes we can define a table without data element or even domain. This can be done with
the predefined data type available. But if a table is created without this(i.e data element)
then we cannot establish foriegnkey relation with the other table because for both check
table and foreign key table there should be data element in common. Due to this reason it
is strongly recommended not to create any of the fields without a dataelement, because if
there is any change to be made to that particular field(i.e length) which would really affect
the data already present in table if the change is not done perfectly, there may be chances
of missing the same in other table for the same field. So strongly recommended to use
data element which is easy to change and activate so that the effect would be made
globally....
A.) MODIFY - is used for modifying the existing data on the basis of primary key and if
there is no data in table then UPDATE command will add new record into table.
UPDATE - is used for only modifying the existing data on the basis of primary key
A.)T100
A.) USER EXITS are FORMS and are called by SAP standard programs using PERFORM.
CUSTOMER EXITS are FUNCTIONS so they are called using CALL FUNCTION (or more
exactly CALL CUSTOMER FUNCTION).
Inside the form (user exit) you can read and change almost
any global data from host program.
Inside a function (customer exit) you can only acces your
import/export/changing/tables parameters.
A.) We have created the more than one selection screen by using
the call screen statement .
This is the syntax for the more than one selection screen.
A.) An assembly manifest is a text file containing metadata about .NET assemblies. It
describes the relationship and dependencies of the components in the assembly,
versioning information, scope information and the security permissions required by the
assembly.
Whereas Metadata describes characteristics of another data.
A.) Use the Class CL_GUI_ALV_GRID To display the ALV grid control and call Method
SET_TABLE_FOR_FIRST_DISPLAY.
Open SQL statements are program independent of the operating system. Native SQL are
Platform dependant.
Open SQL allows developers to control SQL statements directly. Open SQL encapsulates
the semantics for statement execution, parameter binding and results fetching provided by
each database vendor in a vendor- independent interface. The operations performed with
Open SQL translate directly to the primitive operations provided by each database, yet the
API is consistent across all vendors.
To avoid incompatibilities between different database tables and also to make ABAP/4
programs independent of the database system in use, SAP has created a set of separate
SQL statements called Open SQL. Open SQL contains a subset of standard SQL statements
as well as some enhancements which are specific to SAP.
* SY-SUBRC
After every Open SQL statement, the system field SY-SUBRC contains 0 if the operation
was successful, a value other than 0 if not.
* SY-DBCNT
After an OPEN SQL statement, the system field SY-DBCNT contains the number of
database lines processed.
Open SQL allows you to access all database tables known to the SAP system, regardless of
the database manufacturer. Sometimes, however, we may want to use database-specific
SQL statements called Native SQL in the ABAP/4 program.
A database interface translates SAP's Open SQL statements into SQL commands specific to
the database in use. Native SQL statements access the database directly.
Native SQL
Native SQL allows you to use database-specific SQL statements in an ABAP program. This
means that you can use database tables that are not administered by the ABAP Dictionary,
and therefore integrate data that is not part of the R/3 System.
ABAP Native SQL allows you to include database-specific SQL statements in an ABAP
program. Most ABAP programs containing database-specific SQL statements do not run
with different databases. If different databases are involved, use Open SQL. To execute
ABAP Native SQL in an ABAP program, use the statement EXEC. Open SQL (Subset of
standard SQL statements), allows you to access all database tables available in the R/3
System, regardless of the manufacturer. To avoid conflicts between database tables and to
keep ABAP programs independent from the database system used, SAP has generated its
own set of SQL statements known as Open SQL.
If you create a table by using database tools, without ABAP Dictionary, you are not able to
use Open SQL to reach this table. You just can use Native SQL to do that.
Native SQL statements bypass the R/3 database interface. There is no table logging, and
no synchronization with the database buffer on the application server. For this reason, you
should, wherever possible, use Open SQL to change database tables declared in the ABAP
Dictionary. In particular, tables declared in the ABAP Dictionary that contain log columns
with types LCHR and LRAW should only be addressed using Open SQL, since the columns
contain extra, database-specific length information for the column. Native SQL does not
take this information into account, and may therefore produce incorrect results.
Furthermore, Native SQL does not support automatic client handling. Instead, you must
treat client fields like any other.
To ensure that transactions in the R/3 System are consistent, you should not use any
transaction control statements (COMMIT, ROLLBACK WORK), or any statements that set
transaction parameters (isolation level?) using Native SQL.
Native SQL works without the administrative data about database tables stored in the
ABAP Dictionary. Consequently, it cannot perform all of the consistency check used in
Open SQL. This places a larger degree responsibility on application developers to work
with ABAP fields of the correct type. You should always ensure that the ABAP data type
and the type of database column are identical.
Native SQL Advantages and Disadvantages - EXEC SQL statement
Advantages
* Tables are not declared in ABAP Dictionary can be accessed. (e.g. Tables belonging to
sys or system user of Oracle, etc.)
* To use some of the special features supported by the database-specific SQL. (e.g.
Passing hints to Oracle optimizer.)
Disadvanteges
Ans:Declarative elements
operational,
control,
Events
A.)
A.) Buffering means the data stored at runtime temporarly in application server parllel to
database server.
in real time we use condition buffering option in this perment data stored in buffer.
When you use SUM in a LOOP with an explicitly specified output area, this output area
must be compatible with the line type of the internal table.When using LOOP to process a
sorted extract (see SORT ), the control total
of f at the end of the group appears in the field SUM(f) - - if f is type I , F or P .
COLLECT.
COLLECT is used to create unique or compressed datsets. The key fields are the default
key fields of the internal table itab .
If you use only COLLECT to fill an internal table, COLLECT makes sure that the internal
table does not contain two entries with the same default key fields.
If, besides its default key fields, the internal table contains number fields,the contents of
these number fields are added together if the internal table already contains an entry with
the same key fields.
If the default key of an internal table processed with COLLECT is blank, all the values are
added up in the first table line.
If you specify wa INTO , the entry to be processed is taken from the explicitly specified
work area wa . If not, it comes from the header line of the internal table itab .
After COLLECT , the system field SY-TABIX contains the index of the - existing or new -
table entry with default key fields which match those of the entry to be processed.
COLLECT can create unique or compressed datasets and should be used precisely for this
purpose. If uniqueness or compression are unimportant, or two values with identical
default key field values could not possibly occur in your particular task, you should use
APPEND instead. However, for a unique or compressed dataset which is also efficient,
COLLECT is the statement to use.
If you process a table with COLLECT , you should also use COLLECT to fill it. Only by doing
this can you guarantee that the internal table will actually be unique or compressed, as
described above and COLLECT will run very efficiently.
If you use COLLECT with an explicitly specified work area, it must be compatible with the
line type of the internal table.
COLLECT: if an entry with the same key already exit then COLLECT statement does not
append a new line but adds the contents of numeric fields to contents of numeric fields of
current line entry.
SUM: if you use SUM inside AT-ENDAT block. the system calculates totals for the numeric
fields of all lines in the current line group and writes them to corresponding fields.
A.) The 2 editors are se38 and se80 both have the abap editor in place.In se38 u can go
create programs and view online reports and basically do all thedevelopmet of objects in
this editor.In se80 ( object navigator) there are additional features such as creating
packages,module pool , function group ,classes, programs ( where u can create ur
programs) and BSP applications .
A.) Table control are use update the date directly into the
fileds by using two ways.
REPORT Y730_BDC5 .
*HANDLING TABLE CONTROL IN BDC
DATA : BEGIN OF IT_DUMMY OCCURS 0,
DUMMY(100) TYPE C,
END OF IT_DUMMY.
DATA : BEGIN OF IT_XK01 OCCURS 0,
LIFNR(10) TYPE C,
BUKRS(4) TYPE C,
EKORG(4) TYPE C,
KTOKK(4) TYPE C,
NAME1(30) TYPE C,
SORTL(10) TYPE C,
LAND1(3) TYPE C,
SPRAS(2) TYPE C,
AKONT(6) TYPE C,
FDGRV(2) TYPE C,
WAERS(3) TYPE C,
END OF IT_XK01,
BEGIN OF IT_BANK OCCURS 0,
BANKS(3) TYPE C,
BANKL(10) TYPE C,
BANKN(10) TYPE C,
KOINH(30) TYPE C,
LIFNR(10) TYPE C,
END OF IT_BANK.
DATA : IT_BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE,
IT_BDCMSGCOLL LIKE BDCMSGCOLL OCCURS 0 WITH HEADER
LINE.
LOOP AT IT_DUMMY.
IF IT_DUMMY-DUMMY+0(2) = '11'.
IT_XK01-LIFNR = IT_DUMMY-DUMMY+2(10).
IT_XK01-BUKRS = IT_DUMMY-DUMMY+12(4).
IT_XK01-EKORG = IT_DUMMY-DUMMY+16(4).
IT_XK01-KTOKK = IT_DUMMY-DUMMY+20(4).
IT_XK01-NAME1 = IT_DUMMY-DUMMY+24(30).
IT_XK01-SORTL = IT_DUMMY-DUMMY+54(10).
IT_XK01-LAND1 = IT_DUMMY-DUMMY+64(3).
IT_XK01-SPRAS = IT_DUMMY-DUMMY+67(2).
IT_XK01-AKONT = IT_DUMMY-DUMMY+69(6).
IT_XK01-FDGRV = IT_DUMMY-DUMMY+75(2).
IT_XK01-WAERS = IT_DUMMY-DUMMY+77(3).
APPEND IT_XK01.
ELSE.
IT_BANK-BANKS = IT_DUMMY-DUMMY+2(3).
IT_BANK-BANKL = IT_DUMMY-DUMMY+5(10).
IT_BANK-BANKN = IT_DUMMY-DUMMY+15(10).
IT_BANK-KOINH = IT_DUMMY-DUMMY+25(30).
IT_BANK-LIFNR = IT_DUMMY-DUMMY+55(10).
APPEND IT_BANK.
ENDIF.
ENDLOOP.
LOOP AT IT_XK01.
REFRESH IT_BDCDATA.
perform bdc_dynpro using 'SAPMF02K' '0100'.
perform bdc_field using 'BDC_CURSOR'
'RF02K-REF_LIFNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RF02K-LIFNR'
IT_XK01-LIFNR.
perform bdc_field using 'RF02K-BUKRS'
IT_XK01-BUKRS.
perform bdc_field using 'RF02K-EKORG'
IT_XK01-EKORG.
perform bdc_field using 'RF02K-KTOKK'
IT_XK01-KTOKK.
perform bdc_dynpro using 'SAPMF02K' '0110'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-TELX1'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'LFA1-NAME1'
IT_XK01-NAME1.
perform bdc_field using 'LFA1-SORTL'
IT_XK01-SORTL.
perform bdc_field using 'LFA1-LAND1'
IT_XK01-LAND1.
perform bdc_field using 'LFA1-SPRAS'
IT_XK01-SPRAS.
perform bdc_dynpro using 'SAPMF02K' '0120'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-KUNNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0130'.
perform bdc_field using 'BDC_CURSOR'
'LFBK-KOINH(02)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
DATA : FNAM(20) TYPE C,
IDX TYPE C.
MOVE 1 TO IDX.
LOOP AT IT_BANK WHERE LIFNR = IT_XK01-LIFNR.
CONCATENATE 'LFBK-BANKS(' IDX ')' INTO FNAM.
perform bdc_field using FNAM
IT_BANK-BANKS.
CONCATENATE 'LFBK-BANKL(' IDX ')' INTO FNAM.
perform bdc_field using FNAM
IT_BANK-BANKL.
A.) The default event in the ABAP is Start-of-selection.We have to call explicitely this event
when you are writing other than ths event?, that is when you write AT? SELECTION-
SCREEN EVENTS OR INITIALIZATION EVENT etc,you have to explicitely mention the Start-
of-selection event while you are writing the logic.
Before these events called ,all the code you have written come into this default Start-of-
selection screen event.
End-of-selection- Any processing required before exiting the report is done in End-of-
Selection.
A.) After you have carried out the review of the BAPI concept
and it has been accepted, you can start defining the BAPI
itself.
you have planned and defined these required details can you
start to implement the BAPI and create the required
programming objects.
Standardized BAPIs
Use
Some BAPIs and methods provide basic functions and can be
used for most SAP business object types. Such BAPIs are
known as "standardized" BAPIs.
Features
Use
With the BAPI GetList() you can select a range of object key
values, for example, company codes and material numbers. The
key values returned by this BAPI can be passed on to another
BAPI for further processing, for example, the BAPI GetDetail().
The BAPIs GetList() is a class method (instance-independent).
Features
57.)Is it possible a table exist in data dictionary but not in physical database.
A.) NO. TRANSPARENT TABLE DO EXIST WITH THE SAME STRUCTURE BOTH IN THE
DICTIONARY AS WELL AS IN THE DATABASE,EXACTLY WITH THE SAME DATA AND
FIELDS.
Normally Transparent tables are having 1 to 1 relationship in data dictionary and data
base. That mean if a table exists in data dictionary same table will also exist in Database
however there is one situation where this condition can be violated and which is -when you
create a table and only saved not activated ,in this case table is there in data dictionary
but not in Database .
A.)CALL TRANSACTION.
A.) Elementary search help is a search help that is invoked when an user presses F4 for a
field.
2 ways
1) through SM30
2) from SE11 then go to table maintenance generator
table maintenance can be done using one way table maintenance generator as well as two
way table maintenance generator.In first way you can only enter the data, but in two way
you can enter the data as well as can view too.
61.)How we can make changes in standard script in sales order header data.
we need transaction varient for the pre-define input fields. it can be created from se93.
transaction variants are used to fill the default values into the selection screen.whenever
execute the report these default values are automatically displyed.
Transaction Variant are used to change the layout of the standard transaction without
changing it using Object Key.
A.) Dispatcher recieves the request from client and assigns the request to one of the work
process.<br><br>Roll area: Each workprocess works in a particular memory that memory
is known as Role Area, which consists of User context and session data.<br><br>ABAP-
Processor <br>
A.) land Scape relates to SAP client for movement of objects from Delvelopment to
Production.
For example DGL-10 -> ASI-10 -> PSI-10.
A.) Macros can only be used in the program the are defined in and only after the definition
are expanded at compilation / generation. Subroutines (FORM) can be called from both the
program the are defined in and other programs . A MACRO is more or less an abbreviation
for some lines of code that are used more than once or twice. A FORM is a local subroutine
(which can be called external). A FUNCTION is (more or less) a subroutine that is called
external. Since debugging a MACRO is not really possible, prevent the use of them (I?ve
never used them, but seen them in action). If the subroutine is used only local (called
internal) use a FORM. If the subroutine is called external (used by more than one
program) use a FUNCTION.
A.) 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.
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.
it does not allow duplication.
Append statement is used to append a single row at the end of existing row or rows.
Duplication can be possible.
We need to create a shortcut from the SAPGUI by giving System command as /h.
and drag this shortcut in the POPUP window it will go into dugging mode
68.)What is cts.
A.) he Change and Transport System (CTS) is a tool that helps you to organize
development projects in the ABAP Workbench and in Customizing, and then transport the
changes between the SAP Systems and clients in your system landscape. This
documentation provides you with an overview of how to manage changes with the CTS
and essential information on setting up your system and client landscape and deciding on
a transport strategy. Read and follow this documentation when planning your development
project.
A.) These are the steps to be followed to Upload data through CATT: Creation of the CATT
test case & recording the sample data input. Download of the source file template.
Modification of the source file. Upload of the data from the source file.
Search help means, it displays a list of all possible values for screen field when u press F4
key .
Collective search helps combine several elementary search helps. A collective search help
thus can offer several alternative search paths.
A.) 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.
A.) At First - Get triggered for the first loop iteration. Can be used for printing report
headers.
At new - This event gets triggered when a new value is assigned to the field loop. This
event is normally used for Group headers.
Example:
Item no Name
At First 101 chris
101 Mathew
At new 102 Rachel
102 Natasha
At new 103 Chait
A.) ITS is a Internet Transaction Server. ITS forms an interface between HTTP server and
R/3 system, which converts screen provided data by the R/3 system into HTML documents
and vice-versa. Merits of ITS: A complete web transaction can be developed and tested in
R/3 system. All transaction components, including those used by the ITS outside the R/3
system at runtime, can be stored in the R/3 system. The advantage of automatic language
processing in the R/3 system can be utilized to language-dependent HTML documents at
runtime.
A.) Using transport request number user send an object from development to testing as
well as testing to production servers. abapers only creating the transport request number
but they can't release.only the image of an object should
be transported not fully.every object has only onetransport request number but different
users.
A.)
Answers:
A.) End-of-selection event are mostly used?when we are writing HR-ABAP code. In the HR-
ABAP code, data is retrived in the Start-of-selection event and Printing on the list and all
will be?done in End-of-selection event.
HR-ABAP: if we are using any LDB i the program and if we have fired the GET statement
resoective to that LDB, then END-OF-SELECTION works as end of the data iteration (same
as ENDLOOP works in Loop At statements).
Generally: All the processing logic is written in the START-OF-SELECTION event and END-
OF-SELECTION is used to code the display of data to the user (Write statements or the
ALV).
A.) Exec SQL statement is used to execute native sql . After exec sql, one can use native
sql in program.
A.) Performance tuning is to improve the program performance using some features.
using nested selects,
for all entries,
using view,
ST05 is Tcode for performance tuning.
A.)
in 4.6b name is call it as matchcode.
search help:
match code:
adding search help for the input field is called as mathcode object
A.) BAPI"S provide the standard interface to other applications apart from SAP and within
differnt vesions of SAP too.Also it is OOD bases so dosen"t depends on screen flow.BDC
gets failed if we make changes for screen changes through IMG customization and there
are fw more reasons please mail if u need further details
85.)What is tablecontrol.
Va21.
A.) tables, structures, views, domains, data elements, lock objects, Match code objects.
88.)What is se16.
generally used to search the fields of SAP Tables . and respective data.
A.)
A.) Group by clause is used to fetch the data from the table by the specified field
It is used to find the number of employees present in the specified department no.
A.) Client dependent or independent transfer requirements include client specific or cross
client objects in the change requests. Workbench objects like SAPscripts are client specific,
some entries in customizing are client independent. If you display the object list for one
change request, and then for each object the object attributes, you will find the flag client
specific. If one object in the task list has this flag on, then that transport will be client
dependent
A.) By using [so10] tcode we can create standard text. for transporting we use RSTXTRAN
98.)Significance of at line-selection.
A.) line selection event is used for the to display the secondary list on the basic list.this is
work on the basic list and the secondary list.suppose if u click on the basic list the detail
information is opened into the secondary list.
by using the key words like double click or function key F2.
A.) Indexes are described as a copy of a database table reduced to specific fields. This data
exists in sorted form. This sorting form ease fast access to the field of the tables. In order
that other fields are also read, a pointer to the associated record of the actual table are
included in the index. Yhe indexes are activated along with the table and are created
automatically with it in the database.
A.) Coomit and Roll back in the User exit should not be used. Because while executing
userexit its not allways sure that all needed values for database updations are present or
not.hence we should not use COMMIT or ROLLBACK, of work.
Also userexit is expected to add new functionality to existing functionality, its not
supposed to make any changes in the existing functionality.
A.) Data in IDoc is stored in segments the output from IDoc is obtained by reading the
data stored in its repective segments.
in idoc by using the out put status of the idocs in transaction code is we19.
A.) Index is used to retrive the fast access the data from the
database by using the indexes. This is the efficient
mechanizam to retrive the data differnt databases.
1.primary index.
2. secondary index.
A.) BDC_OKC0DE will store all the ok codes in the BDC program,
when you pass the Fields to a scrren after filling the
fields we need to click any button to move other screens,
so here the Button will be have a OK_CODE internally to
know this we do the recording of the Program, after that we
will store this OK code in the BDC_OKCODE field to trigger
the next operation.
A.) STOP. Effect :The statement STOP is only to be used in executable programs EXIT.
Effect :If the EXIT statement is executed outside of a loop, it will immediately terminate
the current processing block. <br><br>BACK. <br>Effect : This statement positions the
list cursor on the first position of the first line in a logical unit.<br><br>So "Cancle" is not
an exit command<br>
A.) step1:- using screen painter we can design screens as per our application.
step 2:- design logic for our requerment for this program type is Modulpool i.e design flow
logic it provides communactio bt screen painter and modul pool program.
After modification:
sno name palce
1 abc hyderabad
2 xyz Chennai.
Case 2: Commit
sno name palce
1 abc hyderabad
2 xyz bangalore.
After modification:
sno name palce
1 abc hyderabad
2 xyz Chennai.
A.) In Attributes option,we have the option to select potrait or landscape.You can choose
either of them to upload in scripts.
A.)SE16
A.) No., You cant copy the standard table. Because of this we use structures.
Yes, you can copy through SE11, there is simple menu utility to copy standard table.
A.) Main function of ranges to pass data to the actual selection tables without displaying
the selection screen.
It is often necessary to directly access individual records in a data structure. This is done
using unique keys. Number ranges are used to assign numbers to individual database
records for a commercial object, to complete the key. Such numbers are e.g. order
numbers or material master numbers.
1) Self Join
2) Inner Join
3) Outer Join
4) Equi Join
A.) rfc creation is similar to creation of normal function models except that u need to
specify that it is 'REMOTE ENABLED' in the attributes tab of function module(se37)
RFC function is used in distributed enviornment only, throgh RFC, ALE can transfer IDOC
between two SAP systems.RFC maintainance communication between two SAP systems
CHECK TABLE:
The table that contain all valid set of values is called check table.
ex: MARA Table or EMPLOYEE information Table.
VALUE TABLE:
When ever we create a foreign key relationship with another table the system will look a
value table field which is there at domain level.The system proposes that table as an check
table for the foreign key..
A.) Screen painter: Screen painter is a tool to design and maintain screen and its
elements. It allows user to create GUI screens for the transactions. Attributes, layout, filed
attributes and flow logic are the elements of Screen painter. Menu painter: Menu painter is
a tool to design the interface components. Status, menu bars, menu lists, F-key settings,
functions and titles are the components of Menu painters. Screen painter and menu
painter both are the graphical interface of an ABAP/4 applications.
A.) ABAP/4 Query is a powerful tool to generate simple reports without any coding.
ABAP/4 Query can generate the following 3 simple reports: Basic List: It is the simple
reports. Statistics: Reports with statistical functions like Average, Percentages. Ranked
Lists: For analytical reports. - For creating a ABAP/4 Query, programmer has to create
user group and a functional group. Functional group can be created using with or without
logical database table. Finally, assign user group to functional group. Finally, create a
query on the functional group generated.
A.) Default
S Simplex (single sided)
D Duplex (duble sided)
T Tumble Duplex (duble sided)
121.)Why function group is required for function modules but not for subroutines.
A.) The selection criteria is validated in the processing block of the AT SELECTION SCREEN
event for the input values on the screen and respective messages can be sent.
INITIALIZATION.
DNO-LOW = 10.
DNO-HIGH = 30
SIGN I.
OPTION NB.
APPEND DNO.
A.) Ans :- 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
open sql).They are not managable directly using database system tools. iv)Internal tables
-.
A.) > A field group does not reserve storage space for the fields, but contains pointers to
existing fields.> Internal take up memory. Depending on how much memory your system
has . > 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.
125.)What is the effective way of using internal table record .diff types of internal tables.
the above 3 exits are normally called as User exits but in ABAP terminology User exits are
not that. User Exits are Subroutines given by SAP which are in INCLUDE programs are in
Main program of a transaction driver program. For Ex : Open Program SAPMV45A then you
can find some include programs under USER EXITS comments. go to that include
programs then you can find the User exits which are start with name standard FORM
USER_EXIT_XXXXXX...ENDFORM.
Transparent Table ?
1) One to One relationship.
2) Table in the Dictionary has the same name, same number of fields, and the fields have
the same name as in the R3 Table definition.
3) It can hold Application data.
A.)BDC_OKCODE
A.) Select-options specify are displayed on the selection screen for the user to enter
values.
1) Visible Length
2) Matchcode Object
3) Memory ID
4) Lowercase
5) Obligatory
6) No Display
7) Modify ID
A.) SELECT-OPTIONS: specify are displayed on the selection screen for the user to enter
values.
1.Create an Internal table with all required Fields of Transaction code to upload
2.Open Session
3.Transferdata from Flat file to BDCDATA Structure Internal table.
4.Upload data into corresponding Transaction code By calling BDC_INSERT function
module
5.Close the Session.
A.)FM READ_TEXT
133.)What is rfc.
a.) GET CURSOR statement transfers the name of the screen element on which the cursor
is positioned during a user action into the variable <f>.
GET CURSOR FIELD <f> [OFFSET <off>] [LINE <lin>] [VALUE <val>] LENGTH <len>].
A.) SAP has its own Internet transaction Server (ITS). Other products include Haht,
WebObjects, NetDynamics etc. Each product has its' own architecture. However to access
the database, access paths SAP GUI or RFC Channel have to be used.
Yes you can access the SAP throgh internet but for that SAPGUI software should be loaded
to the internet browser, than only we can access SAP. The problem is we need to
download SAPGUI each time if we are using different machines at different locations. So to
avoid this complexity SAP has introduced SAP Enetrprise Portal(E.P.) which is machine
independent.so we can get it with any internet browser software.
Precautions to be taken while u write the program :(SE30 : For performance check)
Note: If we want to check the performance of your program goto SE30 Transaction Code
and select the program radio button and give ur program name and press execute button
and see ur program result and click back that will take u to se30 Transaction code and
press the analyze button and see ur program performance there
if it is green it is good if it is red ur program have poor performance.Try below rules to
improve ur program performance.
1. Avoid using SELECT...ENDSELECT... construct and use SELECT ... INTO TABLE.
2. Use WHERE clause in your SELECT statement to restrict the volume of data retrieved.
3. Design your Query to Use as much index fields as possible from left to right in your
WHERE statement
4. Use FOR ALL ENTRIES in your SELECT statement to retrieve the matching records at
one shot.
5. Avoid using nested SELECT statement, SELECT within LOOPs.
6. Avoid using INTO CORRESPONDING FIELDS OF TABLE. Instead use INTO TABLE.
7. Avoid using SELECT * and Select only the required fields from the table.
8. Avoid nested loops when working with large internal tables.
138.)What is troubleshooting.
A.) A.) It is defined as fixing a problem. It means that How the error was occurred and
how the error has to solve .then that process is called troubleshooting.
A.) You can transport the Z-table but you cannot transport the values to the other system.
You can update the values in a Z-table either by using a report / BDC .
Using Report: we can dispaly, insert and modify the data.Its executable program.
Dialog Programming: we can create our own screens and transactions.we can't execute
directly this.
A.) Any text that needs to be written on the output document should be placed within a
text element. This includes constant text as well as variable data like internal table data
coming from the ABAP program.
The fields of various tables defined in the ABAP program will be included under these text
elements. These fields are carriers of data. Every field should be included in a pair of &
characters. (e.g. &aufk-aufnr&)
143.)What are the problem in processing batch input sessions.
A.) 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.
A.) Control table is used to link the values of the size category and data class defined in
the Dictionary level to the underline date base table.
145.)What is the use of pretty printer?Exactly where can we link the function module
To abap code.
A.) Pretty Printer : is used to Aligned the code Properly. Means it converts the key words
into cap& other words in small letters.
pretty printeris used to the align the abap coding as well as to organize the code in the
abap editor.by using the control commands or function key (shift+f1).
146.)What are the advantage of structures?How can use them in abap programming.
A.) Using a structure, user can add fields to the existing SAP database tables. Using
.INCLUDE and .APPEND statements structures can be added to the database tables.
Creating structures with in a structure is also possible. User can add maximum 9
structures to a database table.
A structure is created in a program mainly for the purpose of reusability.i.e. if you want to
create 2 internal tables of same type , then instead of creating 2 internal tables separately
we can define a structure and create any number of internal tables of this structure type.
A.) append :- By using this we can add a record at the end of the table only
Insert :- By using can we can add a record in between the records of table where ever it is
neccesary
150.)On which event we can validate the input fields in module pool programming.
A.)PAI
A.) Another way to see the print program name is go to SE71 give script name
Press F7 or F6 and select FORM > Check>Texts>click on include Res and press enter you
will get print program list which attach this script.
153.)What is tablebuffer ?what type of programs will use this table buffer.
A.) The table buffer is located between the application and the database. Its goal is to
cache portions of a database table in the application server to reduce database load and
network communication.
154.)How to transfer legacy data into base tables by scheduling a time frame using bdc.
A.) You can use Session method for this and define parameter KEEP ,HOLD,DATE for
transfer.
Sap memory.SET PARAMETER OR GET PARAMETER are the statements that r used to read
or write the data from memory.
Abap memory we can only pass the data b/w programs.here we use EXPORT OR IMPORT
statements to read or write data from the memory.
A.) lock object is used to prevent the several users to access the same
data record at the same time.
A.) RSECHK07
A.) TYPE, you assign datatype directly to the data object while declaring.
LIKE,you assign the datatype of another object to the declaring data object. The datatype
is referenced indirectly.
MM Flow:
1.Purchase Requisition-> Staff in an organization places
Purchase requisition for want of some goods/products - ME51
160.)What are precautions to be taken while working with control break statements.
A.) when you are using control break commands.internal table must be sorted with key
field.and control-break commands must be used in between the LOOP and ENDLOOP only.
Session Method:
1) It is slower than transaction method.
2) While executing, it does not start from starting.
162.)Where do you code hide statement.
A.) ALV is Application 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 can help choose selected
columns and arrange the different columns from a report output and also save different
variants for report display. This is a very efficient tool for dynamically sorting and
arranging the columns from a report output. The report output can contain up to 90
columns in the display with the wide array of display options.
A.) it will trigger with first write statement in start-of-selection, also triggers whenever a
new page is occurs, if at all there is no write statement in start-of-selection, this event will
not trigger at all.
165.)What are step loops?how to perform page up and page down in step loops.
table control
step loops.
166.)How can u write programmitically value help to a field with search help
A.) OPEN_FORM ? This module opens layout set printing. This function must be called up
before we can work with other layout set function like WRITE_FORM.
WRITE_FORM ? Output text element in form window. The specified element of the layout
set window entered is output. The element must be defined in the layout set.
CLOSE_FORM ? End layout set printing. Form printing started with OPEN_FORM is
completed. Possible closing operations on the form last opened are carried out. Form
printing must be completed by this function module. If this is not carried out, nothing is
printed or displayed on the screen.
169.)IF there are 10 pages in sap script ,how to start from 10th page.
A.) In the interactive reporting, the first event you enter is "initialisation" that is used for
the authorization checks , mainly the administrator is responsible for that purposes and he
only has the authority for that.
172.)An abap program needs a batch input session.we need to submit the program
A.) Go to SM36 and create background job by giving job name, job class and job steps
(JOB SCHEDULING)
173.) Initialization,selection-screen,selection-screen on field,start of selection,topof-
page,at-line selection,top-of-page during line selection,a user
command,end-of-page. end-of-selection.These r the events triggered in report. load on
programm is the event triggered first internally,when u execute the program. after that
remaining
above events are triggered one by one.
1. PBO (Process Before Output) ? Before the screen is displayed, the PBO event is
processed.
2. PAI (Process After Input) ? When the user interacts with the screen, the PAI event is
processed.
3. POH (Process On Help) - are triggered when the user requests field help (F1). You can
program the appropriate coding in the corresponding event blocks. At the end of
processing, the system carries on processing the current screen.
4. POV (Process On Value) - are triggered when the user requests possible values help
(F4). You can program the appropriate coding in the corresponding event blocks. At the
end of processing, the system carries on processing the current screen.
175.)What is a ticket.
A.) Data class tells how the table is automatically going to be assigned to the correct area
of table space or Data base space of the database when it is created.Each data class
corresponds to a physical area in which all the tables assigned to this data class are
stored.Following are the data classes:
A.) Functional people will create the functional spec according to client requirement. Then
they will pass the functional spec to Technical people.Technical people will create the Tech.
spec and forward to developer.Developer will dev the object.
A.) You can use field symbols to make the program more dynamic. In this exanmple the
name of a table control is substituted<br>by a field symbol. Thus you cal call the form
with any internal table, using the name of the tabl?control as a parameter.
<br><br>Example<br><br>form insert_row<br> using p_tc_name. <br><br>field-
symbols <tc> type cxtab_control. "Table control<br><br>assign (p_tc_name) to
<tc>.<br><br><br>* insert 100 lines in table control<br><br><tc>-lines =
100.<br><br>
A.) u need to write the Pseudocode in the TS, how can you implement the technical
solution for the requirement into its corr. content or paragraph.
A.) 1. REJECT.
2. REJECT dbtab.
Variant 1
REJECT.
Effect
Stops processing the current database table line and resumes
with the next line of the table on the same hierarchy level.
Unlike the CHECK statement, you can also use REJECT within a
subroutine or loop for table selection.
Variant 2
REJECT dbtab.
Effect
Similar to variation 1. In this case, however, dbtab is a
table from the database hierarchy on a level no deeper than
the current database table. Processing continues by reading
the next record of the table dbtab .
Example
Logical database F1S
Hierarchy: SPFLI -> SFLIGHT -> SBOOK
TABLES: SFLIGHT,
SBOOK.
GET SFLIGHT.
...
GET SBOOK.
...
REJECT 'SFLIGHT'.
...
Note
The name of the subroutine containing the "PUT dbtab"
statement must begin with PUT_dbtab .
A.) To read data from a database tables we use logical database. A logical database
provides read-only access to a group of related tables to an ABAP/4 program.
Advantages: i)check functions which check that user input is complete, correct,and
plausible. ii)Meaningful data selection.
iii)central authorization checks for database accesses.
iv)good read access performance while retaining the hierarchical data view determined by
the application logic.
DisAdvantages: i)If you do not specify a logical database in the program attributes,the
GET events never occur.
ii)There is no ENDGET command,so the code block associated with an event ends with the
next event statement .
A.) 1. occurs 0:
(It means it will create the default rows for the
internal table depend on the requirement)
2. Occurs 10.
(It means it will create the 11 rows for the internal table)
3.Occurs 100.
(It means it will create the 101 rows for the internal table)
A.)TFDIR
A.) START-OF-SELECTION
APPEND ITAB.
ENDSELECT.
LOOP AT ITAB.
WRITE : / 10 ITAB-DEPTNO.
HIDE : ITAB-DEPTNO.
ENDLOOP.
END-OF-SELECTION
186.)What is luw?
A.)
A.) e values in SPA/GPA parameters are user-specific. ABAP programs can access the
parameters using the SET PARAMETER and GET PARAMETER statements.
189.) LDB means Logical DataBase.it is one of reporting tool. no need of programming
knowledge. mainly LDB is used for HR-ABAP.and also used for cluster
and pooled tables.SE36 is transaction code.
A.) Free - You can use FREE to initialize an internal table and release its memory space
without first using the REFRESH or CLEAR statement. Like REFRESH, FREE works on the
table body, not on the table work area. After a FREE statement, you can address the
internal table again. It still occupies the amount of memory required for its header
(currently 256 bytes). When you refill the table, the system has to allocate new memory
space to the lines.
Refresh - This always applies to the body of the table. As with the CLEAR statement, the
memory used by the table before you initialized it remains allocated. To release the
memory space, use the statement
A.) Help view is used to display the list of possible values for a particular help.
A.) version management is the tool is used to compare the objects with version of the
current objects. by using the version management user can compare the previous object
with the version of the current object.who has been modified and who did it.
A.) Synchronous.
194.)In sap scripts how will you link form with event driven.
A.)
A.) Mark the Table maintenance allowed flag if users with the corresponding authorization
may change the data in the table using the Data Browser (Transaction SE16). If the data
in the table should only be maintained with programs or with the table view maintenance
transaction (Transaction SM30), you should not set the flag.
A.) 1) DB LUW - A database LUW is the mechanism used by the database to ensure that
its data is always consistent. A database LUW is an inseparable sequence of database
operations that ends with a database commit. The database LUW is either fully executed
by the database system or not at all. Once a database LUW has been successfully
executed, the database will be in a consistent state. If an error occurs within a database
LUW, all of the database changes since the beginning of the database LUW are reversed.
This leaves the database in the state it had before the transaction started.
2) SAP LUW - A logical unit consisting of dialog steps, whose changes are written to the
database in a single database LUW is called an SAP LUW. Unlike a database LUW, an SAP
LUW can span several dialog steps, and be executed using a series of different work
processes.
197.)What are page windows.how many windows you can maintain in a page window.
A.) Page Window: In this window, we define the margins for left, width, upper and height
for the layout of Header, Logo, Main, & Footer.
A.) 1) F4IF_FIELD_VALUE_REQUEST
2) F4IF_INT_TABLE_VALUE_REQUEST
A .)
Answers:
READ LINE and READ CURRENT LINE ? These statements are used to
read data from the lines of existing list levels. These statements are
closely connected to the HIDE technique.
A.) No, there cannot be more than 1 main window in SAP Script because in WRITE_FORM,
it asks for the parameter Window that will create the problem.
WRITE_FORM?
Exporting
Element
Window
A.)
Answers:
A. AT SELECTION-SCREEN event is triggered in the PAI of the selection screen once the
ABAP runtime environment has passed all of the input data from the selection screen to
the ABAP program.
AT SELECTION-SCREEN OUTPUT - This event block allows you to modify the selection
screen directly before it is displayed.
A.) Tables:
1) Data is permanently stored in tables in the database.
Structure:
1) It contains data temporarily during program run-time.
A.) System variables have been predefined by SAP. We can use these variables in
formulas or, for example, to pass on certain pieces of information to a function module.
How the function called by the function module behaves depends on the type of
information passed on.
A.) An Interactive report is a dynamic drill down report that produces the list on users
choice.
Difference: -
a) The list produced by classical report doesn't allow user to interact with the system
where as the list produced by interactive report allows the user to interact with the
system.
B) Once a classical report, executed user looses control where as Interactive, user has
control.
A.) When the table is activated, a physical table definition is created in the database for
the table definition stored in the ABAP dictionary. The table definition is translated from
the ABAP dictionary of the particular database.
It is available for any insertion, modification and updation of records by any user.
A.) When you call a function module, an instance of its function group plus its data, is
loaded into the memory area of the internal session. An ABAP program can load several
instances by calling function modules from different function groups.
A.) SAP R/3 refers to Systems Application and Product for data processing Real-time
having a 3 tier architecture i.e. Presentation layer, Application layer and Database layer.
A.) Function Groups act as containers for Function Modules that logically belong together.
Function Groups
1) These cannot be defined in a Function Module.
2) It cannot be called.
3) They are containers for Function Module.
Function Modules
1) These must be defined in a Function Group.
2) It can be called from any program.
3) They are not containers for Function Group.
1) Header
2) Logo
3) Main Window
4) Footer
212.)Difference between float and packed datatype.
A.) No, we cannot print decimals in type N because decimal places are not permitted with
N
data type.
C = A + B.
A.)The ABAP system fields are active in all ABAP programs. They are filled by the runtime
environment, and you can query their values in a program to find out particular states of
the system. Although they are variables, you should not assign your own values to them,
since this may overwrite information that is important for the normal running of the
program. However, there are some isolated cases in which you may need to overwrite a
system variable. For example, by assigning a new value to the field SY-LSIND, you can
control navigation within details lists.
A.) GET - After the logical database has read an entry from the node table Tag.
GET LATE - After all of the nodes of the logical database have been processed that are
below <table> in the database hierarchy.
1) OPEN_FORM
2) WRITE_FORM
3) CLOSE_FORM
Exporting
Form
Language
2) WRITE_FORM?
Exporting
Element
Window
3) CLOSE_FORM
A.) SY-TABIX - Current line of an internal table. SY-TABIX is set by the statements below,
but only for index tables. The field is either not set or is set to 0 for hashed tables.
* APPEND sets SY-TABIX to the index of the last line of the table, that is, it contains the
overall number of entries in the table.
* COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. If the
table has the type HASHED TABLE, SY-TABIX is set to 0.
* LOOP AT sets SY-TABIX to the index of the current line at the beginning of each loop
lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the
loop. It is set to 0 if the table has the type HASHED TABLE.
* READ TABLE sets SY-TABIX to the index of the table line read. If you use a binary
search, and the system does not find a line, SY-TABIX contains the total number of lines,
or one more than the total number of lines. SY-INDEX is undefined if a linear search fails
to return an entry.
* SEARCH <itab> FOR sets SY-TABIX to the index of the table line in which the search
string is found.
2) SY-HOST - Server
7) SY-MANDT - Client
222.)If you are using logical databases ?how u can modify the selection screen
Elements.
A.) Extracts are dynamic sequential datasets in which different lines can have different
structures. We can access the individual records in an extract dataset using a LOOP.
A.)
RSTXLDMC OR
First Procedure:
1) Draw the picture
2) Save it
3) /nSE78
4) Write name & Choose Color
5) Click on Import
6) Browse picture
7) Enter
Second Procedure
1) /nSE71
2) Insert
3) Graphics
4) Click on stored on document server
5) Execute
6) Choose name of BMAP
A.) Call Screen: Calling a single screen is a special case of embedding a screen sequence.
If you want to prevent the called screen from covering the current screen completely, you
can use the CALL SCREEN statement with the STARTING AT and ENDING AT
229.)IF i forget some command in sap script ,suppress zero display,how to find.
A.) Suppressing of entire screens is possible with this command. This command allows us
to perform screen processing ?in the background?. Suppressing screens is useful when we
are branching to list-mode from a transaction dialog step.