Вы находитесь на странице: 1из 5

what is 'X' parameter in BAPI?

to make a changes in BAPI Parameter we will be using statement 'X".


in which situation we use user-exits and badi's?? with example
user exit has a single implementation , badi has multiple implimentations , the more added advantage of badi compared to
exit is , we can deactivate particular implementation in the production server, if the particular implimentation need not be
executed.but for such opportunity lacks.
IF I SAVE A TRANSACTIONAL DATA TABLE IN APPL0 INSTEAD OF APPL1 DURING TECHNICAL SETTINGS OF A
NEW TABLE WHTHER IT WILL CREATE ANY PROBLEM ?
Yes, APPL0 is the technical settings for Master Table which changes seldom whereas APPL1 is for Transaction
Table which changes frequently. We should save the data of the database table on its appropriate disk space otherwise
will create disk space problem, fatal disk problem etc.
Can we use instance attributes inside a static attributes? say yes or no ?
No, as static attributes are created once class is declared.
In SAP R/3 architecture, how many databases can exist?
Only one.

Where the captured data is stored in ALV Interactive Reports using usercommand?? I_callback_usercommand
I_callback_user command = 'USER_COMMAND'.
Then we need to explicitly create Form ( subroutine ) with name USER_COMMAND.
FORM USER_COMMAND USING OK_CODE LIKE SY-UCOMM
SELFIELD TYPE SLIS_SELFIELD.
How will you add search help in a program
first create search help in se11
and then write below code in report
parameters: p_bukrs type bukrs matchcode <search help name>
what is the main difference between headerline and workarea??
Both will act as same. Workarea we will create it explicitly but where as headerline with delacation of internal table we will
get it.
example:
DATA: wa_mara type mara.
DATA: T_MARA TYPE TABLE OF MARA WITH HEADER LINE.
Suppose in the BDC call transaction we updated one record into the database. In the message log it is showing
successful, but it was not updated into the data base? How can we handle?
Commit work

BDC Session Method

BDC Call transaction method

synchronous processing
can transfer large amount of data
processing is slower
error log is created automatically
data is not updated until session is
processed

Asynchronous processing
can transfer small amount of data
processing is faster
error log is created explicitly
data is updated automatically

How can we display multiple alv's without using containers?


Use blocked ALV.

I have one BADI Definition , which i have use it in multiple Implementation .Now i am
calling the BADI , In which Sequence the BADI will be called ?
Can i control the sequence of calling ?
Compiler usually lists the implementations of a BAdI in an arbitrary sequence. You can modify this arbitrary sequence
so that implementations are called in a way you define it. All you need to do is to implement a Sorter BAdI
(BADI_SORTER) and define a sub screen in an own function group. The sub screen allows you to enter data used for
sorting. The BADI_SORTER to determine sequence of implementation calls is a Single Use Filter dependent BAdI, i.e. for
one single filter value only one implementation is allowed.

Which method is faster among 4 methods used in LSMW.?


DirectInput
What are the 4 methods in LSMW.
DirectInput
Batch input recording
BAPI
IDOC

What is the effect on Customer Exits and User Exits maintained


in a system on Up-gradation.
Customer Exits are enhancements hence protected against up-gradation however, User Exits are considered as
modifications to ABAP program and are not protected against the up-gradation and hence are overwritten during upgradation.

Dropdown box in abap report program.


Use VRM_SET_Values function and fill LIST and values with internal table.
what is the difference between a table and template in Smartforms?
Template is of fixed no. of rows.
Table is variable length of rows.

Can we use binary search in internal table sorted in descending


order ? if no why?
y we need SSF_FUNCTION_MODULE IN SMARTFORMS?
When a smart form is activated, a FM name is generated, and
it could be different in Dev, Cons and prd systems. For that
reason, we use the SSF_FUNCTION_MODULE name, to get the name
of the FM at run time, and use for further processing.
WHAT IS DIFFERENCE BETWEEN USER EXIT AND BADI
User Exit:
1)it is procedural approach.
2)Program are written in between form endform.
2)it Need access key .
BADI:
1) it is object oriented approach.
2) Reusable because of oops concept .
3) first definition (se18) then implementation (se19)
if u have two internal table such as itab1 and itab2.in itab1 has four fields such as f1,f2,f3,f4 and in itab2 has two
fields such as f1,f2.then how can u copy data from first internal table to second internal table.
Move-corresponding itab1 to itab2.

will a break-point statement trigger in background job? say yes or no. then whats is the reason?
break-point will not trigger in the background job because it is a dialogue instance statement.

can i use data element or domain in the program and how?


werks type werks_d (WERKS_D is data element)
You can not use domain in programs because Domain is the technical attributes of a Data Element.

what precautions or prerequisites do you follow to update a record into database


table and how
Lock data to be edited(creating a lock object from dictionary and call the FM Enqueue_lock).

what is version management in sap abap.Do we have this concept in scripts


also?if at all then how do you handle in scripts and what's its usage
Version is used to differentiate the current active version and previous active version. if our current active version
is wrong we can retrieve the previous version.
path to version management : Utilities -> versions ->version management.
you can compare current version and previous active version also.
for Script released versions ...
goto Tcode SE03 ---> select SEARCH FOR OBJECTS IN REQUESTS/TASKS

where do we store all custom programs in SD module?


Table Name : TRDIR

For particular transaction you want to upload the data using any of bdc
method...if the transaction contains any of pop window functionality and having
radio button in the window..Any one of the radio button must be selected then
only the next data can be inserted how will you handle this scenario in your
program
while recording through transaction SHDB. check 'Not a batch input session', then you will get the popups in recording.
just continue the recording. .
check sy-subrc = 0.
* This statement checks for the condition and if it is true, the further code will be executed. If not, the execution will stop if
sy-subrc fails.
if sy-subrc = 0.
endif.
* This statement checks the above condition and even if sy-subrc fails, the code will be executed further.

Compare BDC call transaction and session method?


1)call transaction :
->we will go for call transaction, when we have to upload less amount of data and we have to do the immediate
updation.
->if we execute huge amount of data with call transaction then the session we will be expired
->we have to handle the errors in call transactions
2) session method:

->we will go for session method when we have to upload huge amount of data.
->it generates session and executes in background
->we don't want handle the errors. it generates one log file and stores in it.

what is main diffrence b/w refresh ,clear and free? with example?
in case of an internal table clear clears all fields in the header line.
refresh clears the body of internal table but the memory remains allocated
and free clears body as well as makes memory free.

Why do we use Process On Value Request(POV) event instead of data element, search
help in module pool.
in case if we created one input field which is needed to upload a file .

How many domains will create for one data element?


Only one but we create many data element for one domain.

Can we create a database table through a report?


We can create a db using BDC.

What is BAPI?
Business Appl interface RFC FM , interfaces to oops programming.

Difference between Break-point and watch-point.


BREAK-POINT.... it stops the processing of the program at a certain Executable Statement... It can be static (i.e.,
writing BREAK-POINT command in code) It can be dynamically set during Debgging...
WATCH-POINT... is used on a particular variable/ data object, so that we will specify certain condition
( like wa_t001-bukrs = 1000 ) to halt the processing... If the processing founds that the condition reached... then
the BREAK-POINT triggers...

Pick statement usage


If you want to fire both At User Command & AT line-selection then you have to put pick corresponding f2 in the SET
PF-STATUS .

Call-screen, set-screen and leave screen differences


call-screen gives the control to the screen number that specified and once the execution of the called screen is completed
the control returns to the statement just below the call-screen statement.
set-screen changes the current screen number to the screen number specified with set-screen but the
control is transferred only when the leave screen statement is encountered here it is different from call-screen as
the control doesnt get transferred back to the calling screen.
RFC and BAPI
RFC are direct system call
BAPI

HOW CAN WE MODIFY STANDARD TABLES?


Using Append structure.

what are different types of message types available for ale/idocs?


Material master MATMAS
Service master- SRVMAS
Product catalog PRDCAT
Price list- PRICAT.etc
how to navigate to report from report?
By using Submit <reportname>
Can I create a Field without a Data Element? How?
yes We can create field without Data element.
Choose Build-In type option, enter data type, length and short desc.

Вам также может понравиться