Wednesday 1 April 2015

625.) Append structures in tables, what happens when version is
upgraded ?

Assuming that SAP has not made any changes to the table
that you added an append to, the standard table will remain
the same. The append will still be there as well.

If SAP delivers changes to the table it will show up in
SPDD and you will be given the chance to reinclude your
append. If for example you created the append because of an
SAP note it is possible that SAP will incorporate the
fields that you added in the append into the new version of
the table delivered with the upgrade. In that case you will
want to discard the append.
626.)POOLED AND CLUSTER TABLE EXAMPLES?
A.) Pool Tables: A004, A044, A046, A047
Cluster Tables: BSEG, BSES,CDPOS 

627.) Which client is called as golden cient? IS it 100, if yes why?


A.) Golden client contains all the configuration data and master
data so some extent. All the configuration settings are done
in golden clients and then moved to other clients. Hence
this client acts as a master record for all transaction
628.) Difference between jobpage and form page?
A.)
629.) jobpages:
job pages give the number of jobs going for spool request.
ex: page 1 of 1
syntax:
page &page& of &sapscript-jobpages&

form pages:
form pages give the total no of pages in a form.
ex: page 1 of 1.
syntax:
page &page& of &sapscript-formpages& 
629.) How to call transaction in session method without recording?
A.)
630.) How to Read long Text using Scripts
A.)READ_TEXT
631.) WHAT IS DOCUMENTATION?WHY IT IS USED?
A.) IT SHOWS CLEARCUT IDEA HOW U DEVELOPED AN OBJECT SO THAT
ANY ONE CAN EASILY UNDERSTAND , IN FUTURE IT WILL BE USEFUL
FOR OTHER CONSULTANT WHO TAKE UR PROJECT,ANALYSES EASILY
AND HELPFUL DURING UPGRADATION OR DURING MAKING ANY
ENHANCEMENT. 
632.)What is webdynpro?
A.) WebDynpro is a technology which helps a SAP ERP or SAP CRM
to Place successfully over Internet Applications. Webdynpro
applications can be created using ABAP as well as JAVA
technology.Webdynpro generates a weblink, using whcih we
can place SAP application over internet. So we can say that
Webdynpro are going to start a new era of web based ERP
system. 
633.) How you will doing the bypass by using select statment
A.)SELECT…BY PASSING BUFFER
634.)What is luw?
A.) The R/3 system is multi user system and many users access
the same information at the same time, which is mainly
DATA. Consider the case where one user is modifying a
record, and second user is trying to delete the same
record. If the second user is successful in deleting the
record then the first user will face problem for modifying
the record that is already deleted. The avoid such
situation, R/3 system has provided Logical Unit of Work. 
634.) with out using chain and end chain how you will do
validations
FIELD FIELD_NAME MODULE MODULE_NAME.
EX
FIELD MARA-MATNR MODULE VALIDATE_MATNR.


If u wnat to do Validation sof Fields which are interlinked
then it has to be betw

CHAIN
ENDHAIN. 
635.) Where does the  Hide data stored

This statement stores the content of a variable dobj
together with the current list line whose line number is
contained in sy-linno in the hide area of the current list
level. The data type of the variables dobj must be flat and
no field symbols can be specified that point to rows of
internal tables, and no class attributes can be specified.
The stored values can be read as follows:

For each user action in a displayed screen list that leads
to a list result, all the row values stored using HIDE -
that is, the row on which the screen cursor is positioned
at the time of the event - are assigned to the respective
variables.

If a list row of an arbitrary list level is read or
modified using the statements READ LINE or MODIFY LINE, all
the values of this row stored using HIDE are assigned to
the respective variables.

Hide Area
Area in the list buffer, to which global variables can be
stored for every row of a screen list using the statement
HIDE.

Notes

The HIDE statement works independently of whether the list
cursor was set. In particular, variables for empty list
rows can be stored - that is, rows in which the list cursor
was positioned using statements like SKIP.

The HIDE statement should be executed immediately at the
statement that has set the list cursor in the row.

Outside of classes, prior to release 7.0, for dobj
constants and literals could still be specified. However,
it was not possible to read them at list events and in the
READ LINE statement. 
636.) How can you remove leading zeros of a number in script?

SHIFT LEFT DELETING LEADING '0'
OR
&VARIABLE(Z)&
637.) i have created a smartform containing table which start
from middle of first page.when i run smartform then on next
page same table appears which start from middle of page.so
how to get table that start from top of next page??
A.)
638.)Smartform output in pdf format?
A.)
639.) how to keep pushbuttons in application toolbar in alv?
A.) You need to copy the GUI status to the zprogram and add the
new buttons in the new GUI status/ you can create a new GUI
status using SE41.
When calling the FM 'REUSE_ALV_GRID_DISPLAY' set the status
I_CALLBACK_PF_STATUS_SET = 'F_SET_STATUS' and write a perform

Form F_SET_STATUS using rt_extab type slis_t_extab.

set pf-status 'GUI_DEMO' excluding rt_extab.
set titlebar 'D0100'.

endform. "f01_alv_event_pf_status_set 
640.) what is Bapi?what is the functionality of Bapi?why we go
for Bapi?
BAPIs (Business Application Programming Interfaces) are the
standard SAP interfaces. They play an important role in the
technical integration and in the exchange of business data
between SAP components, and between SAP and non-SAP
components. BAPIs enable you to integrate these components
and are therefore an important part of developing
integration scenarios where multiple components are
connected to each other, either on a local network or on
the Internet. 
641.) what is the use of help view?how can we create search help for a field?in how many ways we can give search help?
A.) Help view is used to display the list of possible values
for a particular help.
642.) where we do UTP(unit test planing)?and how to write UTP?and
who writes UTP?
utp will me done in 2 ways:-

1)negative testing (gvng wrong i/p & handling errors)
2)positive testing (gvng rght i/p getin rght o/p) 
643.) how to prepare technical specs? what are the steps used to
prepare it?
It depends on the template provided by the company. Based on
that we prepare TS. Generally we do the high level design,
Detailed level design, what will be the input(Parameter,
select-options),Dependability if any, Authorization require
for that,Customized tables,Transport request details,FM
etc,UTP (Unit Test Plan with proper test data) ,PSUEDO CODE is prepared.
644.) why we use matchcode object?without using match codes how
we use search helps?

Matchcode object is used to add search help for a particular field in a selection screen.

However there is an alternate method to create search help without using Matchcode object.
Use Function module, F4INT_INT_TABLE_VALUE_REQUEST in an event AT SELECTION-SCREEN on VALUE REQUEST FOR and pass necessary parameters to this FM(See the where used list of this FM for many examples) 
645.) what is use of STOP stsment
A.) When the stop statement is executed , the runtime
environment triggers the event END-OF-SELECTION.
 
646.) what is the difference between DATA ELEMENT and DOMAIN?
please give the fully detailed
Data element contains the semantic charecterstics for the
field, such as field labels, business context & online
documentation.
Domain deals with the technical charecterstics of the field
such as field length and field type 
647.)COMMIT & ROLLBACK.
A.) Using commit, It saves any modification made within objects of database. We can not undo our transaction which done within commit.
Rollback is similar to undo button of any s/w browser. That is, when we make any changes in recodes of table, we can came back to previous form of that table by using rollback. 
648.) What is reject statement? please reply me breifly?
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'.
...


REJECT cancels processing of the event 'GET SBOOK' and
resumes with the processing of the event 'GET SFLIGHT' .

Note
The name of the subroutine containing the "PUT dbtab"
statement must begin with PUT_dbtab . 
649.) 5. I have two pages, In one page I want address, Header,
Main &
footer. In the second page
I want only Main. How to do it?
In first page you select on tab conditions->and additional
evevt->"only on first page" for all table lines of address
window, Header window,
and footer window.

Radhashyam 
650.) What are the views when we are creating Material ?
A.) Basic Data 1
Basic Data 2
Classification
Sales: Sales Org. Data 1
Sales: Sales Org. Data 2
Sales: General/Plant Data
Foreign Trade: Export Data
Sales Text
Purchasing
Foreign Trade: Import Data
Purchase Order Text
MRP 1
MRP 2
MRP 3
MRP 4
Forecasting
General Plant Data / Storage 1...and Many more
651.) How to transfer data which is coming from are report as output to another report
A.)EXPORT & IMPORT
652.) 3) Will 50,000 records be uploaded directly into APP's
Server?
What Exactly u want i didn't understand, but i think u want
to ask can i upload 50000 record in application server from
datbase server. I think u can do this thing by internal
table with occurs. here u have to give occurs limit like
data: begin of itab occurs 1000. 
653.) What is the button to change the variant in ALV ?p
A.) By using the Function Module Reuse_alv_variant_default_get
we change the variant
654.)Can u give me one example where we should use only
CALL TRANSACTION method in BDC?
Call Transaction:-
When there is need of only one transaction to be updated
such as 'MM01' and number of records are less. And also
while updating the database there will be less load on the
processor, as we know call transaction works in foreground
i.e in online mode then we can use call transaction.

Otherwise use Batch input session as it can update mor than
one transaction and it is used when the records are more as
it can be processed in background processing mode. Its
better to use batch input session as it provides error
handling facility implicitly whereas in call transaction we
have to write code i.e explicit error handling.
655.) When using call transaction method for 1000 records , If u
found error in 64th record  then how can u find it and how
can u send this to user
By using T.code [SLG1] we can find 64 record. or we can
know by BDCMSGCOLL. 
USING BDCMSGCOLL
656.) What is the mandatory event in LDBs.?
A.)
657.) Can I write COMMIT and ROLLBACK in user-exit?
A.) ofcourse we can write but it is not recommended.

In an user exit control is in the mid of a transaction data
will be updated or not is decided at the end of the
execution of the transaction.

If we write Commit it will commit the database update
whereas case may be like transaction went into error and
database update is not required in that case there will be
data inconsistancy.
658.) What is the exact use of Reuse_alv_field_catlog_merge
A.) This FM is used to create field catalog from dictionary
structure or internal table. 
659.) what is partner profiles?
A.) Patner profile is nothing but which patner u will have to
asigned that is either outbound partner or inbound partner.

The transaction code is for partner profile WE20.

In this partner profile u will define the these parameters.

sender
reciever
message type
these above define of both inbound as well as outbound partners. 
660.) hey guys, what is the t-code that copies a script from one client to other client....!
A.) Run the program RSTXFCPY,it copies the script from one
client to other client. 
661.) If i work in an implementation project will i have to register with SAP?What is the process of blue printing?What is the role of an abapper in implementatin project? Regards,
A.) u don't want to register with sap, just u can work only that
project. everything do company.register with sap is company's
work. that is not developer.
blue print meals, suppose one company wants to start sap,
ie. newly development. at that time technical managers
prepare some blue prints, means how many developers need to
develop project (for abap,sd,mm etc)
that blue print contains the what are the aims and goals of
company. in implementation project abapers will do develop
thereports,scripts,bdcs etc according to there requirement
662.) What is the role of an abapper in support project?What is
the ticket concept in support project?Who raise the ticket
and who resolve it?Let me know the complete procedure?
In support project, abaper role is to support project. how
means support people will raise tickets(problems occur in
reports etc) and send to abapers with some id. abapers will
do the work. and they contact to support people that id.

In support project there should a SAP Support Team and the
Team members had given an ID , If the user gets any errors
he can issue the tickets to that iD for a particular Consultant.
663.) what is need of function group for function modules whereas
there is no need of f.group for subroutines?
2)Function groups means, some related function modules are
grouped in to one function group.
For Example: For date lot of different date function modules
are available in SAP R/3, so these function modules are
grouped in to one Function group.

3)Subroutines are used in only with in the program.
Frequently used part of program is keep in to subroutines.
Globally not available. But where as Function modules are
available in central library of R/3 and global access.
664.) How to Delete an LSMW Projcet, Subproject and Object.
A.) 1. run transaction LSMW
then GOTO ADMINISTRATOR in Main Menu
choose which project subproject or else object needs to be
deleted and then click on delete button
click yes. 
665.) what is the use of OK_CODE in BDC?
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.
666.) which command is used to flushes the database buffer?
A.) use the by pass buffer command on the select statement
which will fetch the data directly from the database
ignoring the buffered data on the application layer. 
667.) how to change the package of an object?i.e a report stored in ymadhuri package.now it should be changed to ysaru
A.) GOto SE38-->
Goto-> Object dictionary entry->
Click on change button->
Remove previouis package name.
Enter your new package name.
Click on save.
If you want a new request you can create. 
668.)What is cardinality?
A.) The cardinality (n:m) describes relationship between the
records of the foreign key table & the records of the check
table. 
669.)Select single and select ….upto 1 rows?
A.) Using Select single * we can get exact record as we are using
primary key there,where as in Select up to 1 row,it will pick
first record from the selected records.if we forgot to opt for
primary keys in the where condition in select single then
it'll act like select single up to 1 row. 
670.) can labels generate in smartforms?if yes how?
A.)No.
671.) what is manue table field in NAST table?what is its purpose
in sap scripts?
NAST used for message status of script that whether form
is executing correctly or there are any issues,is form is
ready to print,whether it is revised , changed ,saved etc. 
672.) which type of problems we generally face in reports and BDC
in real time?
A.)
673.) What do you do when the system crashes in the middle of
batch session?
f system crashes in the middle of batch session.we check
the log.howmany records are successfuly updated and delete
those records from source file.and re run the session. 
674.)Which table stores online messages?
A.)T100
675.) What are the problems in processing batch input session?
a.) 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 tabl
iii.)Sessions cannot run fast and in parallel.
676.) what is technical documentation and functional documentation?
what are the steps for unit testing?
Functional Documentation contains more into Functional
requirement information.

Technical Documentation contains purely technical
information of the objct like how the selection screen will
be, what are the tables to be used, how the output will be
and etc.,

Unit Testing is depends on object but it is only testing
the developed object and screen shots with different
outputs and all.
677.) how to send the idoc to multiple sub systems?
A.) Before send IDOc to multiple system you haveto configure
logical system(SALE), Maintain RFC destination(SM59),
Create Port(WE21) in all recevied systems..

Next step In sender sytem maintain message type in
Distribution Model(BD64) and maintain outbound partener
profile(we20) in sender system..

In receiver reciver system just maintain inbound partner
profile(we20)..

The above steps repeat for all receivers and finally send
IDOC.
678.) there is size categery(0,1,2,3)if i need more space after
giving the size 0.what i have to do now?
The size category is used to define initial space require
in database. If due to overload of data more size is
require then it will automatically increase in the ratio of
size category.

For example category 0 can contains 0 to 630 records.
When 631 item will be inserted into table automatically
space for next 630 records(as category is 0) will be
provided in database.
679.) what is the difference b/w database and data dictionary?
A.) Data Dictionay is an interface to create objects which will
be get stored in database.

In general term both refers the same meaning for Storage
Space.
680.) What is an implementation project?In any job openings they
desire people with at least one project with an end to end
implementation.
Could u give me the details of project implementation and
the role of an abapper in the implementation?
And what type of questions do the recruiters normally ask
for implementation projects?
1. Implementation
2. Upgradation

As per wikipedia definition

"In the IT Industry, implementation refers to post-sales
process of guiding a client from purchase to use of the
software or hardware that was purchased. This includes
Requirements Analysis, Scope Analysis, Customizations,
Systems Integrations, User Policies, User Training and
Delivery. ".

The role of an Abaper comes after the blue print sign off.
It starts from legecy data upload till final reports
generations.
681.) Suppose, we are creating one table. at that time we are mention table space and size category. Generally size category is from 0 to 6 is available. suppose if we are declare size category as 0(zero). For 0 (zero) the size of rows is from 0(zero) to 19000. I have 25000 records to insert into table. but table size is declared as 0(zero). i.e 19000 records. what about remaining 6000 records. shall i insert in to table or not? if insert how can i do? if not insert what can i do? Please answer me? i faced this one in TCS interview.
A.) It will create another extent . suppose the primary extent
contain the 19000 record and the next extent or secondary
extent contain the remaining 6000 record . Its created
automatecally by the RDMS. ok 
682.) how to calculate the difference between two date type of
variables ?
'FIMA_DAYS_AND_MONTHS_AND_YEARS'
DAYS_BETWEEN_TWO_DATES
HR_99S_INTERVAL_BETWEEN_DATES 
682.) In a script, i want to print something at end of last page
only.How can i print it?
: IF &NEXTPAGE& EQ 0
whatever footer you want.
/: ENDIF 
683.) What is the difference between LSMW and CATT?
A.) LSMW: is uesd to migration of data from non-sap system to
the sap system or sap system to sap system.here what happend
means the data is migrated from the one system to another
system. so this is a migration tool
whereas in CATT is used to computer aided testing tool is
used to test the abap object

so this is a testing tool (catt)
this is a migration tool (lsmw) 
684.) What is an index?
By  default system will create the primary index or User can
create,if user How?
And also Secondary indexes by User or by defaultly system?
Indexes are a sorted copy of the table that exist in the
database which helps in faster retrival of data from the
database.
Primary Index : User cannot create a primary index, the
system creates a primary index by default based on the
primary keys of the table.

Secondary Index : The secondary indexes are created by the
user.we can create a maximum of upto 15 secondary indexes
for a table. 
685.) what is difference between update and modify
A.)
686.) What is the difference  between occurs 1 and occurs 2
A.) when ever we created a itab with occurs 0 initially 8kb
memoryh is alloted, but ifthe datais more than 8kb again
the sys allotes 8kb at run time.
but in case of occurs 1 if 8kb is not enough the abap
runtime envoronment allote memory for one record only
again not enough again allot memory for one record this
proces continious up to store compleate data.
in case of occurs 2 allote memory for records in same
above manner.
687.) wat is the significance of keyword " LIKE ".
A.) LIKE is used to refer the existing DataObjects
TYPE is used to refer the existing DataTypes

Example for TYPE and LIKE

Data: Num type I.
Here Type is to refer the existing DataType I.


Data: Price Like Num.
Here Like is used to refer existing DataObject Num. 
688.) Difference between GET and GET Late?
A.) Get node.

Read the first record from the database for corresponding
node(table).

Get node Late.

Read the first record from the database for corresponding
node(table) after processing all child nodes
689.) What are the errors occurred in a report?
A.) 1. syntax errors
2. naming conventions errors
3. dump errors
4. runtime errors
5. declaration errors
6. terminating errors
7. sucessful errors
8. warning errors
690.) what is long text?
A.) A long text is nothing but a text is assinged with the
standard text which is assioated with the text elements.
This is defined by the transaction code is SO10.

syntax: selection-screen begin of block bl1 with frame title
text-001. (If u double click on the text will go open the
one pop-up window for entering the text. 
691.) Difference between Occurs0,occurs10 and occurs100?
A.) if there is 101 records in an internal table and u created
internal table with occurs 100 then it will insert first 100
records with probable space and remaining 1 record also
inserted with again 100 records of space will be allocated.
so here 99 record of space will be waste.
same to occuurs 10 also. 
B.) 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)

But where as in defauty the system is create the 8KB size of
the memory space for the internal table. 
692.) Polindrome Program for string
and Polindrome Program for numbers in ABAP
A.)STRING_REVERSE
693.) write the program for prime numbers between 1 to 1000
A.) data: n type i default 1,
m type i,
p type i,
r type p decimal 2,
l_v_cnt type n.

do n times.
if n <= 1000.
m = 1.
do m times.
if m <= n.
r = n / m.
p = n / m.
m = m + 1.
if r = p.
l_v_cnt = l_v_cnt + 1.
endif.
endif.
enddo.
else.
exit.
endif.
if l_v_cnt = '2'.
write: n.
endif.
n = n + 1.
enddo. 
694.) what is ASAP methodology? How many phases are there? what is
the percentage of each phase?
Accelerated SAP is a comprehensive solution for the
implementation of the R/3 System, comprising a proven
methodology, tools and a range of services for the rapid
implementation and ongoing optimization of R/3 installations.
695.) how many records are updated from a flatfile to sap database
in one shot?
ALL the records present in the flat file are updated to SAP
Database in one shot, it intents that we do not have to
execute it repetedly to upload the record set. So ans is
All the records present in the flat file. 
696.) what is inline documnetation?
A.) Comments for better code readablity in the program. 
697.)How many secondary indexes can be created in sap?
A.)9,16,22
698.)Set Cursor and Get Cursor
A.) Set Cursor is used to place cursor on a particul input
field,or a particular line in an output list.

Get cursor can be used to find out the position of the
cursor where the action has occured.This can be used most
of the time when ever you doubble click on use f2 function.

699.) how to trasfert script from one server to another server or
one clint to another clint
A.)USING SCC1
700.) what is the use of 'split' in BDC? Is


it related to some
tab adjustment to the flat file during BDC?
spilt is a keyword which can split data based on seperation
in inter face programming,,,,,,,,,,

example;
1 in,in,in tab x,y,z tab 11,12,13.........this is flat
file,......
split it_itab-banks at ',' in to table banks,
split it_itab-bankl at ',' in to table bankl,
split it_itab-bankn at ',' in to table bankn....... 
701.) After finding enhancements of a perticular transaction
using SMOD, how can you opt one enhancement from all
displayed enhacements?
Directly go to the function module of that particular exit
and find there whether the required parameter for your
enhancment is availble or not.
if it is available then thats the right one and we can
go ahead accordingly. 
702.) Why don’t use LSMW method instead of BDC methods, if the
data is master data?
LSMW is used to load Master data.
I have used to it to load HR master data.

Therefore the premise that it's not used to load master data is wrong.

It's usually used by functional consultants as it's GUI based, but to assume it's not used by technical consultant will be wrong.

BDC gives us/programmer much more control. We can add custom code in LSMW though.

Step 6 in LSMW is -- Maintain Fixed Values,translations ,user defined routines. We can add our code here. 
703.) what is macro and function?
A.) Function will be use in globally and macro will be use in
locally. 
704.) how to added data in list box?
A.) FM is VRM_SET_VALUES 
705.) how to replace the Old BDC transactions with the new enjoy
SAP transactions

you can replace the bdc code by bapi code 
706.) how to placed drop down arrow in the input field of module
pool table control/ steploop
707.) what is the table name of stock of material
A.)MARD
708.) Can anybody tell me the procedure to impliment the SAP OSS notes in detail?
A.)
709.)PERFORMANCE TUNING.
A.) Performance tuning is a technique used to fine tune your
ABAP programs when they have complex select statements and
huge set of data to be accessed from database.

Performacne of a scelect statement or a program can be
tested using tools like SE 30- Runtime analysis and SQL
Trace ST05.

Other than this there are set of thumb rules that can be
followed:

1) Keep the data selection small.
 Avoid unnecessary data across the network
 Always use the where clause
 Avoid selecting useless data we filter later.
 Use the index of the relevant database tables to
make the where clause more efficient
 Avoid using complex where clauses
 If possible avoid using the NOT in conjunction with
the where clause.
2) Transport as little data as possible
• transport only fields that are really used
• use the aggregate functions in the select clause
for calculations
• Consider using the distinct statement if there is
possibility of duplicate entries
3) Use fewer data base access
• Transfer all of the data at once frm data base to
internal tables.
• When possible avoid accessing the same data again
and again
• Avoid using nested loops instead of that use an
internal table and use the select for all entires statement. 
705.) how many structures are in sap R/3(ABAP)
A.) deep structure.
nested structure
simple structure
706.)AT NEW EVENT.
A.) at new is a control-break command.
IT has to be used between loop and endloop.

at new of .......end at.

This is triggered when evee ther is a change in value in
value of or any other fields to the left of .

When this is triggered all the values to the right are set
to 0 and nonnumeric values are set to *. 
707.) which of the command flushes the database buffer?
  a) $free    b) $tab.

to reset the table buffers we use $tab 
$TAB resets the TABLE buffers of the application server 
708.) in select _upto N ROWS IF N=0 THEN------------------are rows are selected?
A.)ALL RECORDS
709.) what is the standard script for picking list?
A.) rvpicksin 
710.)STRUCTURE AND TABLETYPE
A.) Table type

The table type specifies how you can access individual table
rows via ABAP.
Generally all internal tables are treated as table types.
There are different types of table types like
standard,sorted and hashed.

Internal tables are used only during program execution i.e
data flows into internal table only during program execution.
Data manipulations in internal table during debugging will
not effect database.No memory is allocated for table types
like internal table.

structure

Structure contains data only when it is inserted in database
table using append or include.
We change the data in structure which will effect Database.
Memory is allocated to structure only when it is included in
table using append or include. 
711.)What is process code?
A.) process code is the function module in which the code to
capture the idocs that was sent by the sender(outbound)and
to update in the database table.

Example : matm 
712.) i have a problem in report which is at production server
what will i do?
If any error arises in the production a CR ( Change Request
need to created ) , that shd be duly approved by the
superiors , once this is done then that CR shd be worked in
the development server, and then again goes throguh the qlt
and then moved to production 
713.) A report has statements like:
 top-of-page.
write :/.
End-of-page.
write:/.
But the end-of-page is not displayed ?please verify?
SAP reserves space for TOP-OF-PAGE event automatically.
But for END-OF-PAGE event to be triggered, we should
EXPLICITLY reserve space using the following
LINE-COUNT 22(2) where 2 LINE space is reserved for FOOTER
to print END-OF-PAGE. 
714.) How to debug an Idoc at runtime?

IDocs are processed by a function module, which are mapped
against in table EDIFCT. When you process an IDoc with BD87
you can have a breakpoint in the function and it will stop.
For outbound processing it depends on which program is
sending the IDoc. For transactional data like purchase
orders, the IDoc is created via RSNAST00 which in turn calls
a function module assigned to the processing code (BD41)
715.) which transaction is used to make dictionary adjustments
when upgrading versions of SAP?
A.)SPDD
716.) what is the use of CTU_PARAMS hwen we r working with BDC?
A.) CTU_PARAMS is a system structure, used for handling variable
screen size dynamically. 
717.) partner profiles are stored in table:edpp1 
718.) what is RFC STUB program?
A.) RFC stub programs contain all the parameter-handling and
communications necessary to call SAP function modules from
a non-SAP System 
719.)Which table stores on line messages?
A.T100
720) what is the standard program to check the consistency of the
partner profiles?
To check the consistency of partner profiles, we can
execute the program RSECHK07. You can do this via
transaction SE38. 
721.)SAP ENHANCEMENTS STORED IN WHICH TABLE?
A.) These are the Related tables for the questions.

MODSAP-SAP Enhancements
MODACT-Modifications
MODATTR-Attributes of Extension Project 
722.)HOW TO DEBUG A POPUP WINDOW?
A.) Create a small text file(notepad) on your local computer
with the following content

[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand

Start Debugging, whenever you want to debug a popup take
this file and drop it over your popup.
723.)Invoice and Performa Invoice.
A.)
Proforma invoice nothing but the invoice is recived before
sending material for advance payment.

invoice is nothing but the invoice send with
material.payemnt for this materail will give after
suitablity. 
724.) How to get the column count of a report?
a.) SY-LINSZ system variable gives the column count(line size)
and SY-LINCT for line count. 
725.) How to Split one delivery into many ( Step by Step)?
726.) How to combine multiple delivery into one Billing ( Step by Step)?
727.) How to combine multiple order in one Delivery ( Step by Step)?
728.) Give 3 scenario due to which you require Gap analysis in your project?
729.)what is the difference between at line selection and at line selection on field.
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. 
730.) how many no of buttons we can create on Apllication tool Bar
731.) what is the purpose of BAPI BAPI_CUSTMATINFO_GETLIST What is input and output of this BAPI.
732.) WHAT ARE THE INPUT PARAMETERS TO BE PASSED FOR THE BAPIS 'BAPI_CUSTMATINFO_GETDETAILM' AND 'BAPI_CUSTMATINFO_GETLIST'
733.)
What is the purpose of BAPI 'BAPI_SALESORDER_SIMULATE'?
Write a sample program.
734.)what are the roles and responsibilities of a technical
consultant will be assigned in idoc development in real time?
in case of
a)IDOC EXTENSION
b)sending TRANSACTIONAL IDOC
c)CHANGE POINTERS
A.) 1)IDOC Extension is nothing but Extending the Existing IDOC as
an Enhancement
2)Transactional IDOC is means that sending the IDOC from place
to an another by using FM called INBOUND-IDOC_PROCESS
3)Change pointers are menat for Activate the IDOC by using TX
Code BD61 
735.) when u already have predefined tool LSMW for uploading
data....which is more easy and efficient to use and les
sprogramming is required..then whats the need to write a
program in BDC....
whats the main purpose....?
LSMW and BDC are vastly different.
BDC (Batch Data Communication) is a technology used for data
transfer. it is meant for transferring data thru SAP
transactions itself. when u use BDC for data transfer, the
sequence of steps is the same as when u use standard sap
transaction screens for data upload. the only difference is
that u can use different options for foreground/backgrou nd
processing.

LSMW on the other hand is a tool that helps migrate data
from a legacy system (non-sap system ) to SAP system. it
offers u various options to use either batch input, direct
input, BAPIs or idocs. it involves a series of some 17-18
steps to migrate data.

BDC:
Batch Data Communication (BDC) is the process of
transferring data from one SAP System to another SAP system
or from a non-SAP system to SAP System.

Features :
BDC is an automatic procedure.
This method is used to transfer large amount of data that is
available in electronic medium.
BDC can be used primarily when installing the SAP system and
when transferring data from a legacy system (external system).
BDC uses normal transaction codes to transfer data.

Types of BDC :
CLASSICAL BATCH INPUT (Session Method)
CALL TRANSACTION

BATCH INPUT METHOD:
This method is also called as ‘CLASSICAL METHOD’.
Features:
Asynchronous processing.
Synchronous Processing in database update.
Transfer data for more than one transaction.
Batch input processing log will be generated.
During processing, no transaction is started until the
previous transaction has been written to the database.

CALL TRANSACTION METHOD :
This is another method to transfer data from the legacy system.

Features:
Synchronous processing. The system performs a database
commit immediately before and after the CALL TRANSACTION
USING statement.
Updating the database can be either synchronous or
asynchronous. The program specifies the update type.
Transfer data for a single transaction.
Transfers data for a sequence of dialog screens.
No batch input processing log is generated.

LSMW:

The LSM Workbench is an R/3-based tool that supports You
when transferring data from non-SAP systems ("Legacy
Systems") to R/3 once or periodically.
The tool supports conversion of data of the legacy system in
a convenient way. The data can then be imported into the R/3
system via batch input, direct input, BAPIs or IDocs.
Furthermore, the LSM Workbench provides a recording function
that allows to generate a "data migration object" in an
entry or change transaction.

The main advantages of the LSM Workbench:
• Part of R/3 and thus independent of individual platforms
• A variety of technical possibilities of data conversion:
• Data consistency due to standard import techniques:
Batch input
Direct input
BAPIs (Business Application Programming Interfaces)
IDocs (Intermediate Documents)
The import technique to be used in an individual case
depends on the business object.
• Generation of the conversion program on the basis of
defined rules
• Clear interactive process guide
• Interface for data in spreadsheet format
• Creation of data migration objects on the basis of
recorded transactions
• Charge-free for SAP customers and SAP partners
736.)TEXT TABLE IN SAP?
A.) Table A is a text table of table B if the key of A
comprises the key of B and an additional language key field
(field of data type LANG). Table A may therefore contain
explanatory text in several languages for each key entry of
737.) WHAT IS DIFFERENCE BETWEEN BATCH INPUT MEHTOD AND DIRECT
INPUT
1) We cannot send the fields | 1) We can send fields as per
according to our requirement| requirement.
|
2) validations are done based | 2) validations are done based
on pre-defined function | on applications.
modules |
738.) what is the significance of project, subproject and object
in lsmw?
Project : Specifies the name of the data transfer project.
more than one subproject can be assigned to project.

Subproject : Specifies the name of the subproject.
A subproject can have an unlimited number of objects.

Object : Object name. An object corresponds to a business
object. 
739.) how to transfer two idoc simeltaniously,
A.) select the option collect idoc instead of tranfer
immediately. then schedule the transfer of idocs at periodicity 
740.) what is the difference b/w driver program & print program?
A.) driver program internally created.
print program we have to create 
741.) what is the use of protect / end protect control command in
the scripts?
Sap script using Protect end protect avoid the page break.

it is use /: protect

/: text
/: endprotect 
742.) what is meaning of idoc monitoring?
A.)Checking idoc status.
743.) can please tell me the differences b/w bapi & bdc?
a.) n case of bdc data transfer takes place from flat file into
sap system ie the file existing in sap system to sap sytem

where is bapi's r remotly enabled function modules which are
assigned to some business objects n used to transfer the
data between different business partners who are using
different systems other than sap.

when you plan to upgrade your system version then bdc
willnot support those upgradations where as bapi's will support.
744.) how can I assign a foregin key relation ship for a structure?
A.) We can assign foreign key relation for structure component
(field)

Steps.

In structure, Select next TAB (Check Entry) --> you can set
the foreign key 
745.) how we will create a bullets in sap-scripts
A.) Open a Script through SE71 in Change Mode and Press "TEXT"
Button, You can view Window. In that goto menu,
press "Insert" option and select "Characters" you can
select the below options
SAP Symbols
SAP Icons.
746.) one client needs material description more than 40 chars so
how can we extend  because in standard table material descp
is of 40 chars only
1. User screen exit and modify the screen in
MM01/02/03.
2. Using Append Structure, create new field in MAKT
(Material Desc)
3. Write User-Exit to populate this new field. 
747.) how to print amount in words in alv ??
 will the function module spell_amount work ?
A.) Yes,the function module spell_amount will work but there is
some limitation to it as well.
for eg: if amount is '6000' it will read as six thousand.
if amont is '6078',it will read as six thousand
seventy-eight.
but for 6000.78,it will read as six hundred
thousand seventy-eight.
You can try out other combination as well
748.) can we debug the smartform if yes how can we debug
A.) Using SMARTFORM_TRACE
or by putting the break point in program lines 
749.) how do you transport a script and how do you transport a
standard texts?
By using standard program RSTXTRAN we can transfer SAP
Standard text from on client to another.
and using standard program RSTXSCRP we can transport script
from one client to another. 
750.) in start of selection if we perform validation ,what happens?
A.) If we validate in Start-of-selection event,then selection
screen will not appear for input.We have to start the
execution of the program again. 
751.) how to field properties are set with **** as a password.
A.)
at election-screen output .
loop at screen.
screen-invisible = 1 .
modify screen.
endloop . 
752.) can u create more than one selection screen?

A.)

Answer
1
yes we can create by using selection-screen begin of screen
scr no.
we can call that by using
call selection-screen scrno.
not by call screen (because its a selection-screen no
normal screen)
753.) how to validate either processing view is already exist or not?
A.) You can use Web UI to check the views exist in the DTR or
not 

753.) what is the model dialog box?
A.) It is pop-up screen that would be displyed over another
screen with out releaseing the other screen.

After executing the section in it may come back to the
exiting screen or call another screen 
754.) with out doing any action how to go another screen ,means
when ever control comes to that particular field this action
has to be done?
Once next screen is set during the processing of a current
screen. After you call a screen, the next screen can be
overwritten with the SET SCREEN statement for the duration
of the actual next screen processing. 
755.) can u create internal table dynamically ? how?
A.) Use this method.
call method cl_alv_table_create =>create_dynamic_table
and assign this to a field symbol. 
756,)HOW TO DEBUG SMARTFORMS?
Execute the smartform, u can see a function module /000012.
Click on GOTO on the menu bar. Click on Main program. You
canm see the includes. click on the last include i.e F01.
and keep the break-point(Shift+Control+12) at ur desired
point.
757.) how we can take a file from Presentation server to
Application server?
Use t-code CG3Z (FROM PRESENTATION SERVER TO APPLICATION)
T-CODE CG3Y (FROM APPLICATION SERVER TO PRESENTATION) 
758.) how can i change rows inot columns in the finaldisplay list?
A.) This is possible using dynamic internal table.
Declaration
DATA : IFCAT_TAB TYPE LVC_T_FCAT,
FCAT_TAB TYPE LVC_S_FCAT.

DATA : TLINS TYPE I.

FIELD-SYMBOLS : TYPE TABLE, TYPE ANY.
FIELD-SYMBOLS : TYPE ANY, TYPE ANY,
TYPE ANY.

DATA : IDATA TYPE REF TO DATA,
NEW_LINE TYPE REF TO DATA.

LOOP AT ALV_FLDCAT_T INTO ALV_FLDCAT.
MOVE-CORRESPONDING ALV_FLDCAT TO FCAT_TAB.
APPEND FCAT_TAB TO IFCAT_TAB.
ENDLOOP.

After creating normal alv field catalogue we can add rows
info as column....

DELETE ADJACENT DUPLICATES FROM IFCAT_TAB COMPARING
FIELDNAME.

SORT IFCAT_TAB BY COL_POS ASCENDING. "FIELDNAME

CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
EXPORTING
IT_FIELDCATALOG = IFCAT_TAB
IMPORTING
EP_TABLE = IDATA.

ASSIGN IDATA->* TO .

CREATE DATA NEW_LINE LIKE LINE OF .

ASSIGN NEW_LINE->* TO
759.) I am trying to automate a manual processing of iDOCs in
BD87. I used the following code to pass idoc-id to global
variable 'DCN' and then skip the first screen of BD87 to go
to processing directly. After running this code
       SET PARAMETER ID 'DCN' FIELD itabhdr-idoc_id.
       CALL TRANSACTION 'BD87' AND SKIP FIRST SCREEN.
it takes me to the first screen because it cannot recognize
my idoc-id. How I can pass idoc-id to global?
I have used the above code to goto VA02 with VBELN and it
worked perfectly.
This is because BD87 is a report. Try n use Submit RBDMON00
with selection-table . fill seltab with your IDOC
ID. 
760.) what is code review, when u can do?
A.) Code review is done after finishing the sorce code by the
Developer,that code will be place in Code Review log and can
see the senior developer and will check the code.if at all
having any errors then he can send back the code by placing
it in Review Log.so that developer can see that process the
source properly 
761.)

what u can do in technical spec(i mean from functional spec
what r u writing in tech spec)?
the tech spec contains the complete pseudo code and flow
logic of u report that u r developing 
In technical spec we can mention object business scenrio,
table, user selection screen, program logic, psedo code and
flow chart. 
762.) how can u write in single program call transaction and
session method logic?
if u write logic in call transaction ,is there any errors ?
how can u see in session ?
SITUATION..........IF U HANDLE THE ERRORS IN CALL
TRANSACTION WE HAVE SEVERAL WAYS

1)USING FORMAT_MESSAGE
2)WHATEVER U GET THE ERRORS IN CALL TRANSACTION,SIMPLY PASS
THOSE ERRORS TO SESSION METHOD

................THIS IS THE SITUATION OF BOTH ARE USING IN
THE SAME PROGRAM...OK

WRITE THE LOGIC FOR CALL TRANSACTION
-------------
---------
---------
----------
CALL THE CALL TRANSACTION

IF SY-SUBRE < > 0.

......MEANS THE ABOVE STAT NOT EXECUTED
SUCCESSFULLY....MEANS WE GET THE ERRORS IN CALL TRANSACTION
METHOD...OK

SIMPLY PASS THOSE ERRORS TO SESSION METHOD


LIKE THIS...............

.............

CALL THE TRANSACTION BY USING

BDE_INSERT
......PROVIDE THE INPUT...........OK 


764.) How Calculate TOTALS,SUBTOTALS in ALV Reporting?
A.) data: wa_fieldcat type slis_fieldcat_alv,
it_fieldcat type slis_t_fieldcat_alv.

data: wa_sort type slis_sortinfo_alv,
it_sort type slis_t_sortinfo_alv.

wa_fieldcat-do_sum = 'X'.
append wa_fieldcat to it_fieldcat.

wa_sort-fieldname = 'KUNNR'.
wa_sort-tabname = 'IT_FINAL'.
wa_sort-subtot = 'X'.
append wa_sort to it_sort. 
765.) How to handle Errors in Function Modules?
A.) Using RAISING  
766.) Can we create a Table Without a Primary key?
A.)NO
767.) If suppose There are 10 records in flat file then how many
times BDC_open_group, BDC_INSERT, BDC_CLOSE_group  executed?
open group once,insert 10 times ,close group once 
768.) Can Top-of-page trigger with VLINE.?

TOP OF PAGE is triggered with
write or
skip or
uline or
not with vline. 
769.) What is Table maintenance generator?
A.) Table maintanance is for creating,adding datas to a ZTABLE.
770.)How to find user exits?
A.) find the dilog program of the transaction code and go to
display mode. search the word Call 'customer_function' and
you will found the user exit. the function module for
implementing the user exit is exit__.
Write the code inside the include avaialble in FM. 
771.)How u can perform validations in Lsmw?
A.) Using Field mappings n conversion rules step in LSMW



In this step mapping is important as it will direct the

data fields from source structure to the appropriate fields

in the destination structure.



Eg: Select first field ( ex: kunnr) -> Goto Create source

field double click on it n select kunnr

Repeat like these for all fields

Save the details n F3 
772.) what are the events in LSMW?
A.) BEGIN_OF_PROCESSING

BEGIN_OF_TRANSACTION

BEGIN_OF_RECORD

END_OF_RECORD

END_OF_TRANSACTION

END_OF_PROCESSING 
773.) After Uploading logo into SAP-SCRIPT How To Check  Whether
It is Success fully Uploaded or not?
utilites->print preview-> and provide screen as lp01. 

774.) what is meant by maintenance allowed(if it can provide
authorization, what is authorization)

Table maintenenece will give authorisation to add or all the

enetries into any database table .



authorisation is nothing but it is to give authorisation to

particular user for a transaction. 
775.) what can u do in UTP?
A.) UTP:unit test plans

in this we test the task by various test case senarios.

Example by giving various input values and checking the output. 
776.) how to transfer smartforms?
A.) by transport request

but remember funtion modules of smart forms not

transfort.they have to generate in taget system.

name of sf may change on transport 
777.) could you tell me the difference between an INTERFACE AND
CONVERSION?
CONVERSION:- One time data tranfer (normally BDC)



INTERFACE :- Periodic activity where two systems

communicate (SAP-SAP, SAP-Non SAP) 
778.)Diff b/w AT NEW AND ON CHANGE OF
A.) When we use At new for a field, it will trigger whenever

there is any change in al lthe fields from the left to that

of the particular field. But when we use On change of it

triggers only when there is any change in the particular

field.

At new can only be used inside loop. On change of can used

outside the loop.



No logical Expressions can be added with at new. Logical

expressions like AND OR can be used with on change of.



When AT NEW occurs, the alpha-numeric fields have * in

their value,where as in case of On Change, the alphanumeric

fields have their Corresponding value, of that particular

record, where the Event gets fired.



On Change of executes for the first value of field too,

this is not the case with At New.



On change of cannot be used in ABAP objects At new can be

used in this 

When we use At new for a field, it will trigger whenever

there is any change in all the fields from the left to that

of the particular field. But when we use On change of it

triggers only when there is any change in the particular field.



At new can only be used inside loop. On change of can used

outside the loop.



No logical Expressions can be added with at new. Logical

expression like OR can be used with on change of.



When AT NEW occurs, the alpha-numeric fields have * in their

value, where as in case of On Change, the alphanumeric

fields have their Corresponding value, of that particular

record, where the Event gets fired.



In the below code it matters with structure sequence.

If 1st column to be BUKRS and 2nd column to be F1 in ITAB

Structure then the At New event will show F1 column values

as '*' asterisks.



REPORT ZGSK.

*..........AT NEW Vs ON CHANGE OF EVENTs.............. *



DATA : BEGIN OF ITAB OCCURS 0,

F1(10) TYPE C,

BUKRS LIKE T001-BUKRS,

END OF ITAB.



ITAB-BUKRS = '1000'.

ITAB-F1 = 'ababcbcb'.

APPEND ITAB.



ITAB-BUKRS = '1100'.

ITAB-F1 = '1233333'.

APPEND ITAB.



ITAB-BUKRS = '1100'.

ITAB-F1 = '3333333'.

APPEND ITAB.



ITAB-BUKRS = '1200'.

ITAB-F1 = '555555'.

APPEND ITAB.



*AT NEW

LOOP AT ITAB.

AT NEW BUKRS.

WRITE :/ ITAB-BUKRS , ITAB-F1.

ENDAT.

ENDLOOP.



ULINE.



*AT ONCHANGE

LOOP AT ITAB.

ON CHANGE OF ITAB-BUKRS.

WRITE :/ ITAB-BUKRS , ITAB-F1.

ENDON.

ENDLOOP.



ULINE.



*AT ONCHANGE with Logical Expression "OR"

LOOP AT ITAB.

ON CHANGE OF ITAB-BUKRS or ITAB-F1.

WRITE :/ ITAB-BUKRS , ITAB-F1.

ENDON.

ENDLOOP. 
779.) How many types of RFCs are there?
A.) Asynchronous (aRFC)

Synchronous (sRFC)

Transactional (tRFC)

Queue (qRFC0

Parallel (pRFC) 
780.)

What are control commands in Scripts?
A.) Explicit Page Break: NEW-PAGE



Preventing Page Breaks: PROTECT



Next Main Window: NEW-WINDOW



Assigning a Value to a Text Symbol: DEFINE



Formatting Date Fields: SET DATE MASK



Formatting Time Fields: SET TIME MASK



Country-Dependent Formatting: SET COUNTRY



Position of the Leading Sign: SET SIGN



Initializing Numbered Paragraphs: RESET



Including Other Texts: INCLUDE



Changing the Style: STYLE



Formatting Addresses: ADDRESS



Setting a Header Text in the Main Window: TOP



Setting a Footer Text in the Main Window: BOTTOM



Conditional Text: IF



Finding a Match: CASE



Calling ABAP Subroutines: PERFORM



Inserting Print Controls: PRINT-CONTROL



Boxes, Lines, Shading: BOX, POSITION, SIZE



Hexadecimal Data: HEX, ENDHEX



Summing a Program Symbol: SUMMING 

781.) How many methods are there in BDC? Which methods you know well?
A.) In BDC,there are 3 methods.i.e;

1.Direct Input Method

2.Session Method

3.Call Transaction Method



Direct Input Method:It is used for transferring large

amount of data.It doesn't create sessions but stores the

data directly into the respective tables.It works by

calling number of function modules.If any error occurs then

it will restart the entire procedure and execute the direct

input programs in background only.



2.Session Method:It transfers data periodically.in real

time,this method is not applicable because it needs more

times in terms of hours may be in days.It is carried out by

3 function modules:BDC_OPEN_GROUP,BDC_INSERT &

BDC_CLOSE_GROUP.



3.Call Transaction Method:It transfers data only once at a

time but explicity handled if any errors are occured,It is

used in Real time by using these 3 function modules and

finally give the results by setting the updates & modes.

Updates:Asyncrhonous & Syncrhonous

Modes: A for Show Screen

N for No Screen

E for Error Screen 

782.) What is the maximum value for Line-Size in the Report?
A.) The maximum width of a list is 1023 characters.

You should keep lists to the minimum possible size to

improve useability

and performance(recommendation: LINE-SIZE < 132).

For very wide lists (LINE-SIZE > 255), you should consult

the notes

for using LINE-SIZE greater than 255. 
783.) what is a workflow?
A.) work flow is an equalent to an e-mail.it contains

Inbox&Outbox.WF is for error handling purpose. 
784.)

in which method i can upload data to two transactions?
and how?
somebody tell me.
Using session method you can upload data for 2 or more

transactions.The procedure is

1)open the session using FM : BDC_OPEN_GROUP

2)Insert the transaction using BDC_INSERT

repeat the second step for as many tcodes as you need just

by calling the FM : BDC_INSERT

3)End the session using FM : BDC_CLOSE_GROUP 
785.) can we write at-line-selection and at-user-command at a time
in same program.
plz some body help me to know this answer.

YES BOT THE EVENTS ARE TRIGGERED IN THE SAME PROGRAM. AT

LINE SELECTION EVENT SELECT THE CURRENT ROW WHICH IS STORED

IN SY-LSIND. IF THE USER DOUBLE CLICK ON THE LINE THE AT

USER COMMAND TRIGERS. THIS CONTAINS THE FUNCTION CODE OF

THE FIELD.NOW YOU CAN CALL LIST SCREN THERE AFTER. SO ITS

MANDATORY BOTH THE EVENTS SHOULD TRIGGER IN ONE PROGRAM
786.) Can we call one program(not include) from another program?

By using SUBMIT Statement.



SUBMIT USING SELECTION-SCREEN scr



SUBMIT

VIA SELECTION-SCREEN

USING SELECTION-SET 'VARIANT1'

USING SELECTION-SETS OF PROGRAM


AND RETURN. 



787.) what is difference between occurs1 and occurs2?
A.) Let me correct u Siddharth,

Its not correct that when u use occurs 1 or occurs 2 u

cannot append more values than that, if u use that memory

up, system automatically allocates enough memory so that

the internal table can hold more records.

And as far as occurs 0 is concerned when u use

occurs 0, system allocates 8kb memory from the paging area

unnecessarily, if u intend to retrieve less rows then its

better to write some value on occurs clause.

There is only one case where occurs clause limits the

number of rows that can be added to an internal table, i.e,

when we use APPEND SORTED BY. 
788.) in script can i print the back page of a paper
A.) Easy - page FRONT lists page CONTACTS as next page and

CONTACTS lists FRONT as next page. Since CONTACTS does not

contain a MAIN

window, it will print the contacts info and then continue

on to FRONT for the rest of the main items. Additionally,

set print mode on FRONT to

D (duplex) and set CONTACTS to 'blank' (for both resource

name and print mode - this is the only way to get to the

back of the page). 
789.)
1)            What is read with binary search?
2)            I have initialization write ?a?
                 Top-of-page write ?b? what is the output
for this/
3)            If I don?t have start of selection event in report
will it execute?it is mandatory or not?
4)            What is table maintenance generator?
5)            Is it advisable to have secondary index/
6)            How we will imlement BAPI?
7)            What is process code in idoc?
8)            Where the information msg will display?
9)            Where warning msg will display?
10)          Where we use watch point?what exactly watch point
means?
11)          What is a spool?
12)          What is program name that contains all print
program names and form names other than TNAPR?
13)          How we will capture errors in bapi?
14)          How to transfer std text from production to quality?

1) BINARY SEARCH DIVIDES THE ENTIRE SELECTION PROCESS INTO

TWO PARTS SO ITS HELP FOR PERFORMANCE TUNING.



2) I GUESS ONLY 'b' WOULD BE PRINTED.



3) NO ITS NOT MANDATORY TO CALL THE START OF SELECTION

EVENT.



4) bY RUNNING THE TABLE MAINTENANCE GENERATOR THEN YOU CAN

MAINTAIN THE TABLE THROUGH SM30 DIRECTLY.



5) YES IF ITS A HUGE TABLE AND THE VALUES ARE RARELY

CHANGED.



6) THROUGH CALL FUNCTION AS BAPI IS A FUNCTION MODULE.



8)IN THE STATUS BAR WITH A COLOUR YELLOW



9) I GUESS A POP UP SCREEN OR THE STAUS BAR.



10) IF YOU DEFINE A FIELD NAME IN A WATCH POINT AND YOU RUN

YOU PROGRAM, IF THE VALUE IN THAT PARTICULAR FIELD CHANGES

THEN THE PROGRAM HAULT THERE. ITS VERY MUCH USEFULL FOR

DEBURGING.



11) THE SPOOL CONTAINS ALL THE PRINTING REQUEST. IT IS A

WORK PROCESS IN THE APPLICATION SERVER. YOU CAN SEE IT IN

SPAD T-CODE.



12) NO I DONT KNOW.



13) THROUGH RETURN CODE THAT IT EXPORT AFTER RUNNING.



14) RAISE A REQUEST THROUGH SO10 THEN THROUGH STMS

TRANSPORT. 
790.) wat controls flow logic of online programs?
A.) DYNPRO PROCESSOR CONTROLS THE FLOW LOGIC CODE 
791.)ALE/EDI
A.) ALE-

Itz used within organisation(ie sap to sap)

It uses Trfc ports

Data stored in memory buffer

message format is single

uses R/3 connection

uses Idoc to transfer data



EDI-

Itz used across organisation(ie sap to non-sap vice versa)

uses File ports

Data stored in files

Multiple message formats

uses TCP/IP connections

uses EDI subsystems(middle ware systems) like makator, mq-

series. 
792.) what is the role of extended syntax check in performance tuning?
A.) for extended syntax check, we used tr.code SLIN.

the main purpose is if we declare somany unnecessry

variables in our program ,then easyly we can find it

through SLIN.different ares are availavle like

check load tables,set/get parameter,package check,field

attributes,screen constincy etc.

go through slin . 
793.) what is the role of ST05 in performance tuning?
A.) That means it gives the performed time on the all open SQL

statement described in the program. And correspondingly it

gives the measured time in graph mode. 
793.) difference betn top-of-page and top-of-page during at-
line-selection? in an interactive report, after going to 5th
list, can you come back to 2nd list? how?
Top-of-page event trigger when ever new page start or

when ever write statement trigger in the start-of-selection.



Top-of-page during line selection triggers when ever

secondary list displays.



By using Function Key F3 we can come back to 5ht list to

2nd list .

[or]

at line-selection.

if sy-lsind = 5.

sy-lsind = 2.

endif.
794.) what are ALV reports? how they are different from normal reports? what are the main events that are used in an ALV report? what is the use of SLIS type pool in alv reports?
A.) ALV IS ABAP LIST VIEWER .IF OUTPUT IS MORE THAN 255

CHARACTERS WE CAN CHOOSE SELECETED COLUNS FROM OUTPUT REPORT

THIS IS MAIN DIFFERANCE.







THE FEATURES OF ALV ARE SORTING,FILTERING ,ETC....

TO AVOID CODING FOR PROCESSING LOGIC WE USE FUNCTION

MODULES IN ALV.



BY USING SLIS TYPE POOLS WE CAN USE REUSEEABLE DATA TYPES

IN FUNCTIONMODULES IN ALV REPORTS. 
795.) how to create a button in selection screen? how to add a gui
status in a selection screen?

TYPE-POOLS icon.

TABLES sscrfields. " screen fields

DATA functxt TYPE smp_dyntxt.



and in selection-screen

SELECTION-SCREEN: FUNCTION KEY 1,

FUNCTION KEY 2.

AT SELECTION-SCREEN.

CASE sscrfields-ucomm.

WHEN 'FC01'.

endcase.



This will give you the ida how we can add a button in the

Applicationtool bar . 
796.) what does it mean occurs 0 while creating an internal table?
A.) As it was said in the above answer....if you specify

occurs 0 clause, the system allocates 8KB pages of memory

at a time.However ,there are no advantages to using this

occurs 0 other than the fact it is only easier to code

occurs 0 than it is to estimate the size of the internal

table.



but there is a disadvantage of using this,

dont use occurs 0 if you expect to store less than 8KB in

an internal table.if you do, the system will allocate 8 KB

from the paging area.Memoory will be wasted and paging

could increase, resulting poorer performance.

(for more details refer "sams ABAP/4 in 21 days" page no

347& 348...)
797.) what is a binary search ? and how it is useful in a sorted
internal table?
The solution provided by Siddhart is though correct, I

would like to project the solution in a much detailed with

example.

Binary Search Basic rule - Sort the data in Ascending order.

Suppose we have random numbers ranging from 1 to 10000 and

we are searching for 4219. If the data is unorganized and

random....a sequential search would be time consuming.

Hence once the data is sorted in Ascending order. Binary

search would reduce the LOOKUP time.

In the FIRST PASS BINARY search would split the range of 1 -

10000 in to two halfs (i.e 1 - 4999 & 5000 - 10000) and

compares the 4219 which happens to fall in the first half.

In the next pass again two halfs are made and compared.

This way BINARY SEARCH works by dividing either data into

two halfs.

For internal table......or for anything else....this is it 
798.) for uploading master data(ex:customer data) into sap, which
methods you prefer? call transaction/session/lsmw/bapi? why?
it depends on client requirements.

generally if large amount of data should have to upload

then generally prefers session method.if small amount of

data like only 20000 to 40000 records then call tr.

preferable.lamw is used for one time requirement only.

ex.only bank details of vendor or only address data of

vendor.Bapi is fully oo concept.it is very advantages than

all oter methods. 
799.) How does the inventory get reduced after the delivery?
A.)AFTER PGI
800.) Explain Commit and Roll back?
A.) COMMITMENT: suppose you are updating a table and if you

comit it then the document is updated in the database.



ROOL BACK: If suppose some error occured during updation

and you have not commited then the entire ata is not

updated in the table and that is known as roll back. 
801.) How data is stored in cluster table?
A.) EVERY FILELD BEHAVES AS A TABLE SO WE HAVE TO INSERT VALUES

TO DIFFERENT FIELD OF A PARAMETER. 
802.) what is the difference between user-exit & customer-exit?
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).



2.

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.



3.



User exits are more flexible because you have more

information to use in your code but on the other hand , it

is very easy to manipulate erroneously global data and lead

the standard program to a dump or even to make database

inconsistent.

Customer exits are more restrictive but you are sure any

change you can make to any parameters will never lead to

inconsistency



4.



User-exit doesn̢۪t have any classification.

In customer-exit we have function-module exit , screen exit

, menu exit.



5.

User exits are Basically designed For SD module.

Costomer exits Are available for MM,SD,FI,HR…..Basically

designed for all modules. 
803.) what is the difference between user-exit & BADIs?
A.) One of the limitaiton of EXits(Enhancement) is that

parallel developments are not possibles . i,e if a

developer is using a particular enhancement then no other

developer can make use of that particular enhancement.



Whereas in BADI's parallel development are possible, since

BADI's using OOPs concept.



BADI's are nothing but METHODS, like Function modules.



There ar two kinds of Badi's. They are as follows :

1. Internal Use

2. External Use.



Inernal Use BADI's are implemented by SAP AG.

External BADI's are implemented by developer community.



Again BADI's are classified into two types:

1. Single Use

2. Multiple Use.



* Single use BADI's does not allow parallel developmetns



* Multiple Use BADIs allow parallel developments.
804.) How to upload data using CATT ?
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. 
805.) What is a batch input session?
A.) 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. 
806.) What is ITS?  What are the merits of ITS?

TS 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. 
807.) what is the print program used to change the status of IDOC
from 03-12.
A.)RBDMOIND
808.) difference between cluster and pooled tables
A.) pooled tables: these r small small tables having 100

records in each of them!but, these tables were used for

storing the system data!in these tables there will be no

keys!these tables r having many - to - one relationship!

these tables r having different names which doesnt match

with database tables.



cluster tables: these r very large tables so many records

in each of them!but, these tables were used for storing the

system data!in these tables atleast one primary key will be

present to find the record!these tables r having many - to -

one relationship!



these tables were used by basis people to calculate the

system performance!
809.) wat is RFC?wat r the RFC types?
A.) A remote function call is a call to a function module

running in a system different from the caller's. The remote

function can also be called from within the same system (as

a remote call), but usually caller and called will be in

different systems.



SAP ABAP RFCs are of 3 types:

1. Synchronous RFC

2. Transactional RFCs

3. Queued RFCs.



1. Synchronous RFC

In Synchronous RFCs both the Systems must be available at

the time of the call. These RFCs are based on Synchronous

communication.



2. Transactional RFCs

Here the called system need not be available at the time of

the call. A unique transaction ID is generated and the

called program is stored in the system along with the data.

If the receiving system is not available for a long time

then the call is scheduled to run in a batch.



3. Queued RFCs.



To guarantee that multiple LUWs are processed in the order

specified by the application, tRFC can be serialized using

queues (inbound and outbound queues). This type of RFC is

called queued RFC (qRFC).



qRFC is therefore an extension of tRFC. It transfers an LUW

(transaction) only if it has no predecessors (in reference

to the sequence defined in different application programs)

in the participating queues
810.)ONE-TO-ONE MANY-TO-ONE RELATIONSHIP.
A.) Actually, SAP itself defines some pre-defined tables. All

these table details will be maintained in Data Dictionary.



For transparent table it is always one to one relation. It

means, there exist only one table in the DB for an table in

Data Dictionary.



For Pooled table it is always many to one relation. It

means, there exist only one table in the DB for more than

two table in Data Dictionary. Physically one table exists in

Database level, however the tables in Data Dictionary are

act as views. This concept is implement only to use by SAP

itself. In general, we dont make use of this concept. This

concept meant of better performance of the SAP application. 

811.)

what are conversion routines
A.) conversion routines are used to convert the fields either

from display format to SAP internal format or from SAP

internal format to display format.



For this the following routines are used.



Conversion_exit_xxxxx_input - display format to SAP

internal format.

Conversion_exit_xxxxx_output - SAP internal format to

display format.



we have to create the conversion routines while creating

domains. 

812.) After preparing the SAP script.what is the procedure to send
that script to e-mail?
call function 'CONVERT_ABAPSPOOLJOB_2_PDF'

exporting

src_spoolid = mi_rqident

no_dialog = c_no

dst_device = c_device

importing

pdf_bytecount = gd_bytecount

tables

pdf = it_pdf_output

exceptions

err_no_abap_spooljob = 1

err_no_spooljob = 2

err_no_permission = 3

err_conv_not_possible = 4

err_bad_destdevice = 5

user_cancelled = 6

err_spoolerror = 7

err_temseerror = 8

err_btcjob_open_failed = 9

err_btcjob_submit_failed = 10

err_btcjob_close_failed = 11

others = 12.

check sy-subrc = 0.

* Transfer the 132-long strings to 255-long strings

loop at it_pdf_output.

translate it_pdf_output using ' ~'.

concatenate gd_buffer it_pdf_output into gd_buffer.

endloop.

translate gd_buffer using '~ '.

do.

it_mess_att = gd_buffer.

append it_mess_att.

shift gd_buffer left by 255 places.

if gd_buffer is initial.

exit.

endif.

enddo.



then call FM after populating attachment data



call function 'SO_DOCUMENT_SEND_API1'

exporting

document_data = w_doc_data

put_in_outbox = 'X'

sender_address = ld_sender_address

sender_address_type = ld_sender_address_type

commit_work = 'X'

importing

sent_to_all = w_sent_all

tables

packing_list = t_packing_list

contents_bin = t_attachment

contents_txt = it_message

receivers = t_receivers

exceptions

too_many_receivers = 1

document_not_sent = 2

document_type_not_exist = 3
813.) what is the difference between view and join?
A.) View and Join : two different way to join 2 or more

database table.



Join should be used to join 2 or 3 table small size table ..

performance will reduce in case of join b/w two large

database table.



View are always better then join in terms of performance..

814.) what is the difference between bdc and rfc ?
A.) i think BDC is for data migration from legacy system to r/3

system. but

RFC is is even an interface method were if in company is

employing for eg APO software were it needs to get the data

from an ABAP software or the case my be viceversa then the

software which needs toget the code to be excetued will

tigger a remote call to the calling system for eg here APO

SYSTEM will trigger aremote call to ABAP system were my

pice of code gets excuted and further it proceeds. 

815.) In select-options, how to get the default values as current
month first date and last date by default? 

      Eg: 1/10/2006 and 31/10/2006
DATA : lv_last_day_of_month TYPE sy-datum,

lv_datum_low TYPE sy-datum.



SELECT-OPTIONS : s_data FOR sy-datum.



INITIALIZATION.

s_data-sign = 'I'.

s_data-option = 'BT'.

s_data-low = sy-datum.

lv_datum_low = sy-datum.



REPLACE SECTION OFFSET 6 LENGTH 2 OF lv_datum_low WITH '01'.

if sy-subrc eq 0.

s_data-low = lv_datum_low.

endif.



CALL FUNCTION 'LAST_DAY_OF_MONTHS'

EXPORTING

day_in = sy-datum

IMPORTING

last_day_of_month = lv_last_day_of_month

EXCEPTIONS

day_in_no_date = 1

OTHERS = 2.

IF sy-subrc <> 0.

* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ELSE.

s_data-high = lv_last_day_of_month.

ENDIF.





APPEND s_data. 
816.) What are the output type and Tcodes?

In short : outtype type means type of output..Ex

print,fax,email,edi,ale..etc



This come into picture in Sapscript...and Idoc also ..



RSnast is the program used to precess all type of

output..and I believe the tcode for this program is BD15. 
817.) How did you test the developed objects?
A.) I was testing a developed object. There are two types of

testing



- Negative testing



- Positive testing



In negative testing we will give negative data in input and

we check any errors occurs.



In positive testing we will give positive data in input for

checking errors. 
testing is done with the provided data at the time of

development to check u'r changes..



IF u have to write a code to add A and B to get c.

after writing the code ,u will run the program with

provided data to check the desired output..

input a= 1

b = 2.

c = 3 ..

unit test is correct !!!done ...dev completed.

u hav code the requirement..



Regresion testing and integration testing will be done by

function consultant... 

818.) What is meant by performance analysis?
A.) Is u'r code doing good...

use tcode se30 and run u'r program using a variant and then

analyse the performance...

1. load on database

2. load on aPPLICATION

3. load presentation...



suppose the load on database is more then 50 % and graph

shows red color...that means problem in fetching the data..

need to tune u'r open sql statement ...





after this perform st05.. activate trace and run u'r

program ..after this turn off the trace ...see the trace..

u will get the idea ab't which statement is talking more

time and can fix it..
819.) In Function module SAP provieds Two Standard Exception,
give name of that two exceptions.
A.) exeption1:Communication Failure

      exeption2:System Failure 
820.) What are AUTHORITY OBJECTS ?
A.) Authorization Objects,

1) Protects actions and access data

2) Allows various users to perform various complex checks

with varous conditions.

3) Conditions are descibed in Authorization Fields which

are specified 10 at the max. 
821.)APPEND AND COLLECT
A.) Append adds the record at the end of internal table.

Collect sums up the numeric fields of the records whose

primary keys are equal and adds it as a single record i.e

To fill an itab with lines which have unique standard keys

we use collect statement.If an entry with the same key

already exists,the collect statement does not append a new

line as append statement but adds the contents of the

numeric fields in the work area to the contents of the

numeric fields in the existing entry. 
822.) What is the difference between User Exits and BADI?
A.) Making enhancements using the transactions SMOD/CMOD has

the following disadvantages:



1) This enhancement technique assumes a two-tiered system

infrastructure (SAP – customers).



2) The naming conventions in effect do not tolerate name

extension.



3) It can be called only once. i.e. A user exit can not be

assigned to more than one project.



Adavantages of BAdI

1) Fulfills the requirements of a system infrastructure

containing country versions, industry solutions, partners,

and customers.

2) Business Add-Ins should be considered generalized

Business Transaction Events that can be used to bundle

program, menu and screen enhancements into a single add-in.

3) Business Add-Ins can be created and employed in each of

the various software levels.

4) BAdI can be called namy times. i.e. BAdI implementation

can be assigned to more definations. 
823.) why Transaction Varient needed?
A.) IF YOU WANT TO CHANGE THE FUNCTIONALITY OF THE STANDARD GUI

STATUS FOR A PARTICULAT TRANSATION CODE AND THE SCREEN

LAYOUT, WE CAN DO THIS WITHOUT ANY CODING THROUGH

TRANSATIONAL VARIENT. 
824.) how to handle the errors (duplicate records) in CALL
TRANSACTION METHOD
and HOW CAN WE SHOW THE ENDUSER ABOUT THE ERROR RECORD
Declare one structure of type BDCMSGCOLL and then create

the internal table for the same.



Then use the Call transaction using statement with the

Messages addition then call the function module

Format_message to convert the systems error messages into

the desired format so that user can understand 
825.) what is a cluster directory in abap hr.how can we read a
cluster directory
Finding Payroll Results for a Specific Query



Payroll results are stored in cluster Rx of the PCL2.



The cluster key is non-mnemonic. It contains the PERNR (personnel number) and SEQNO (sequential number) fields.



The internal table RGDIR contains a directory entry for each payroll result. This entry is a sequential number (RGDIR-SEQNR) which uniquely identifies the payroll result.



Payroll results can only be imported if the payroll cluster key contains the personnel number and sequential number.



Before you can import a payroll record, you must select the entry in the RGDIR on the basis of existing data such as for-period, for-payroll area, for-payroll category, in-period, in-payroll area, in-payroll category, and so on, in order to determine the sequential number.



You will probably always have the same queries when importing payroll records. For example, "Which payroll results (original and retroactively accounted records) were written for a specific payroll run (defined by in-payroll category, in-payroll area, in-period)"?



There are standard modules that can be used. It is advantageous to use the standard modules rather than self-programmed solutions because no program modifications will be required if the payroll directory changes. The modules are described in the following section 
826.) How can u get the Sales order no. if u  know only Delivery
Order?
Go to transaction SE16/ SE11 , and enter table LIPS , in
selection screen give the delivary number. and execute.

In next screen the field value of VGBEL (DOCUMENT NUMBER OF
REFERENCE DOCUMENT) is the required sales order number.
827.) How can i develop more than 30 interactive lists in
reports.
We can create 30 interactive lists by using submit
statement,means of calling report, in any of the interative
list .

Using Drill-down reports we can create 30 ineractive list. 
828.) i want to print 1 tp 100 in sapscript in a single page in a
vertical manner
1 6
2 7
3 8
. .
. .

how will i do it
Loop_1 : i = from 1 to 100
write : i, ' ', (i+5).
j = i%5.
if j equal to 0.
i = i+5.
end if.
end of loop_1. 
829.)POOLED AND CLUSTER TABLE EX.
A.) Pool tables are: A005,A001
Cluster table:BSEG 
830.) What are V1 & V2 updates within the SAP LUW? Why & How they
occur?
An update is divided into different modules (see also
Update Request). Each module corresponds to an update
function module.

There are two types of module.

The SAP System makes a distinction between primary, time-
critical (V1) and secondary, non-time-critical (V2) update
modules. The system also supports collective runs for
function modules that are used on a regular basis.

This distinction allows the system to process critical
database changes before less critical changes.

V1 modules describe critical or primary changes; these
affect objects that have a controlling function in the SAP
System, for example order creation or changes to material
stock.
V2 modules describe less critical secondary changes. These
are pure statistical updates, for example, such as result
calculations.
The V1 modules are processed consecutively in a single
update work process on the same application server. This
means that they belong to the same database LUW and can be
reversed. Furthermore, V1 updates are carried out under the
SAP locks of the transaction that creates the update (see
The SAP Lock Concept). This ensures that the data remains
consistent; simultaneous changes to the objects to be
updated are not possible.

All V2 updates are carried out in a separate LUW and not
under the locks of the transaction that creates them. If
your SAP System contains a work process for V2 updates,
these are only carried out in this work process. If this is
not the case, the V2 components are processed by a V1
update process.

All V1 modules of an update must be processed before the V2
modules. 
831.) How many fields(max) can be there in a transparent table?
A.) A table may not have more than 249 fields. The sum of all

field lengths is limited to 1962 (whereby fields with data

type LRAW and LCHR are not counted).
832.) In selection screen I have three fields- Plant, Material
No, and Material group.If i insert plant how do i get the
material no and material group based on plant dynamically?
A.

833.)What is badi?
A.) Badi- BUsiness Add In.



When the customer needs more functionality than the SAP

standard Program(Functionality)then we can add extra

functionality to standard SAP functionality through Badi.

Badi can't distrub the orginial(standard)code.



Adding extra functionality to the standard is nothing

but Add-in.



Badi are not creted in the program itself.

They are created and maintained seperately and called when

we need the Badi. 
834.) The standard symbols in SAP script are stored in which
table?
A.)TTDTG
835.) what is Deep Structure?
A.) A deep structure is a structure that contains fields with

no fixed length like (tables,string,reference type)

Structure that contains other structure is a nested

strucuture. 
836.) what is variable window?
A.) The width of the main window remains the same on each form

page in which it appears. "Continuous" text is output in

the main window (text which covers several pages).



Constant windows are the same size and have the same

contents on all form pages in which they appear. They

therefore only need to be edited once when output. The text

editing process is quicker if a window is defined as

constant.



Variable windows, on the other hand, can be various sizes

and have different contents on different pages 
837.) what r differeces b/n open_form and start_form
A.) Open_Form : To OPEN A FORM FOR PRINTING THE FORM SHOULD BE

OPEN USING OPEN_FORM.



START_FORM : To Begin form several identical form with

different data in single spool request,it shold bestart

with START_FORM & CLOSE with END_FORM 
838.)CONTROL_FORM FUNCTION MODULE.
by using this function module we can pass the control

commands to the form at run time. 
839.) How 10 Digits are stored in Packed Decimal?
A.) packed means it takes double the memory place we give. so,

for 10 digits to store give a value of 5. 
840.)IMPLEMENATATION?
A.) Best implement of ERP can be done using its 11 stages and

these are as follows



-Pre-evaluation and screening



-Package evaluation



-Project planning phase



-Gap analysis



-Reengineering



-Configuration



-Implementation team training



-Testing



-Going live



-End-user training



-Post-implementation



 841.) In an Internal table how do you suppress or add the leading
Zeroes for a particular field in your itab?
Unpacks the packed field A and places it in the field B

with leading zeros. If B is too

short, it is truncated on the left.

Example:



DATA: p_field (2) TYPE p VALUE 103,

c_field (8) TYPE c.

UNPACK p_field TO c_field.



WRITE: p_field, c_field.



Output: 103,

00000103.



To delete leading zeros use PACK
842.) How can u transfer the data from one itab to another
without using move & write statements?

Transfer data can using command

APPEND LINES OF itab1 [FROM idx1] [TO idx2] TO itab2.



or

using itab1[] = itab2[]. 
843.) which table contains the details of all Tcodes?
A.)TSTC
844.)VALUE AND CHECK TABLE.
A.) Value Table - This is maintained at Domain Level.



When ever you create a domain , you can entered allowed

values. For example you go to Domain SHKZG -

Debit/credit indicator. Here only allowed values is H or

S. When ever you use this Domain, the system will force you

to enter only these values. This is a sort of master

check . To be maintained as a customization object. This

mean that if you want to enter values to this table you

have to create a development request & transport the same.



Check table - For example you have Employee master table &

Employee Transaction table.



When ever an employee Transacts we need to check whether

that employee exists , so we can refer to the employee

master table. This is nothing but a Parent & Child

relationship . Here data can be maintained at client

level , no development involved. As per DBMS what we call

foregin key table, is called as check table in SAP.


845.) tell me about NGT?
A.) The nominal group technique (NGT) is a decision making

method for use among groups of many sizes, who want to make

their decision quickly, as by a vote, but want everyone's

opinions taken into account (as opposed to traditional

voting, where only the largest group is considered). The

method of tallying is the difference. First, every member of

the group gives their view of the solution, with a short

explanation. Then, duplicate solutions are eliminated from

the list of all solutions, and the members proceed to rank

the solutions, 1st, 2nd, 3rd, 4th, and so on. The numbers

each solution receives are totaled, and the solution with

the lowest (i.e. most favored) total ranking is selected as

the final decision. There are variations on how this

technique is used. For example, it can identify strengths

versus areas in need of development, rather than be used as

a decision-making voting alternative. Also, options do not

always have to be ranked, but may be evaluated more

subjectively.
846.) what is the default event that is triggers in report?
A.) load-of-program,start-of-selection 
847.) what is OSS notes..what it contains?
A.) OSS are online sap support notes. These notes are available

online for solving critical problems in sap system.We may

use the already existing notes or may add our own quaries.



In order to apply any OSS note, you have to be authorized

by your company and be assigned an OSS ID and password.



For any SAP standard program modification, you are required

to login to OSS and request for a repair program Access key 
848.) what is the Tcode BD87?

Its a transaction to manually process idocs which fall

through EDI function EDI_Data_Incomming. Here you can

choose an idoc or a range of idocs to be processed. This

transantion also gives you a chance to fix any problem in

an idoc by selecting an idoc and initiate WE09. 
849.)What is ALE?
A.) ALE: Application Link enabling.
is used to establish the link between two servers/client,
which are not same architecture(one is 2-tire and another
one is 3-tire, like that) 
850.) What is the difference between Regression testing vs. Smoke
testing?
regression testing :- it is the testing which is conducted to check whether the unchanged functionality have got any side effects due to changed functionality.In brief,when the developer tries to fix any bug,he may not notice on the unchanged functionality which are related to the bug he is fixing.So,in such situation the changed code/functionality may have a great impact on the unchanged code which becomes unnoticed by the developer.

smoke test:-it is the testing which is conducted to test the basic functionality of the build.If smoke test fails,the entire build is rejected. 
regression testing: regression testing means as a tester once verify previous passed tests after defect fixed again this time passed or not once you check it.
ex:total 10 test cases
1 to 9 passed and 10th is failed after defect fixed.
again this time also 1 to 9 passed or not once you verify this is called regression testing.
smoke testing: smoke testing means this testing is done developer.Because after receive defect from tester then that defect was fixed before release note or modified build to tester once verify or check it his/her self because any side effects had come or not.those side effects was effect on remaining test cases.So once your own self check it defect correctly fixed or not this is called smoke testing. 
851.) What is the bug life cycle?
A.) 1.NEW- first of all a new defect is reported by test er to his test manager.
2.Open- than that defect is opened by the test manager and the next step performed by the test manager is "REVIEW" in which he will check for three things
a.whether the defect is duplicate or not
b.whether the defect is valid or invalid
c.Deferred-it means if the defect is not much that imp.
and can be handled at next version than that defect is
set as new
3.Assigned- Now the test manager will assign that valid defect to developer for fixing it
4.Fixed-here it's developer responsibilities to fix that bug allocated by his test manager.if the test is fixed it is sent to tester for retest.
5.Retest-now the tester will retest that part only that was having defect.if that bug has been fixed than tester will close that defect if not than it will "REJECT FIX" and that will again "OPEN"
6.Closed-if the bug has been fixed tester will close it ...and after closing regression testing is being performed to check whether any change has been arrived due to testing in any unchanged product...

again bug life cycle starts 

852.) How many accounting documents generated during billing? and PGI
A.) 1)A/c doc
2)profitability analysis
3)special purpose ledger A/c
4)controlling doc 
853.) What is inheritance and multi-level inheritance? Explain with example ?
A.) Inheritance is nothing but acquiring the properties of one
class(base class) to another class(child class).

Multi-level Inheritance is nothing but one parent class that
have more than one child class. For Ex, P1 is parent Class
and C1 and C2 are the Child classes, now C1 can acquire the
properties of Parent class P1 and C2 can acquire the
properties of both Child calss C1 and Parent Class P1.

SAP ABAP SUPPORTS MULTI-LEVEL INHERITANCE... SAP ABAP NOT
SUPPORTS MULTIPLE INHERITANCE, ACHIEVES THROUGH INTERFACES
CONCEPT... 




No comments:

Post a Comment