Vous êtes sur la page 1sur 5

1. BATCH DATA COMMUNCATION(BDC) ?

What are the differences between Call Transaction and Session. What happens if goes off.
In session method we transfer data from internal table to database table though sessions.
Call Transaction is a techniques similar to session method, while batch input is a two
step procedure, call transaction does both steps online one right after the other, we can
restart the system.
Syntax : CALL TRANSACION <TOCDE> USING <BDCDATA> MODE <A/N/E>
UPDATE <S/A> Messages into <into <INT.TABLE>
SESSION METHOD

CALL TRANSACTION METHOD

1. Data is not updated in database tables


unless session processed.

1. Immediate Updating in Database


Table.

2. No Sy - Subrc is returned

2. Sy - Subrc is returned.

3. Error Log is created for error records

3. Error need to be handled explicitly.

4. Updation in databse table is always


Synchronomous.

4. Updation in database table is


Asyncronomous

2. Different modes and updates in call transaction. ?


MODES:
A - is all screen mode. All the screen of transaction are displayed.
N - is no screen mode no Screen is displayed when you executed the transaction.
E - is error screen Only those Screen are displayed where in you have error record.
UPDATES :
S - is for Synchronous updates in which if we change data of one table then all the
related tables get updated and them SY-SUBRC is returned i.e., SY-SUBRC is returned
for once and all.
A - is for asynchronomous update when we change data of one table, the Sy-subrc is
returned. And then updation of other affected tables takes a place so if system fails to
update other tables still sy-subrc returned is O.

3. How do you trap the error message in call.


When the records updated in database table by session method, error record is stored in
the logfile.
In call transaction there is no such log file avaible and error record is lost unless handled.
Normally we need to given reoport of all the error records ie., records which are not
inserted or updated in the database table and this can be done by BDCMSGCOLL.

4. Can we process session from within the program.


Yes.
5. What are the different ways you can schedule a background.Job?
7. How do you upload a Logo. ?
There are two ways to print a company LOGO.
There are two ways to print a company logo.
1. The Logo can be included in the Layout set,
2. It can be a macro and PCI 5 Printers.
Including LOGO in the Layout Set.
Create Logo with a graphics programs and save it as .tiff file.
From editor run the program RSTXLDMC.
Parameters to be passed are
Filename
Filetype
BMON For a black and white image.
BCOL for a color image.
Text Name - The standards text in Layoutset.
8. What are smart forms (4.6 b and 4.6d) Jet forms ?
A. Please see 1www.SAP.COM/forms.
B.
9. Can You Send SAP Layout outoput as an email attachment yes
www.sapfans.com
10. Purpose of Protect and End Protect ?

You can determine that a paragraph. Must not be separated by a page break. The lines in
this command are printed together on one page. If the space is enough on current page.
If how ever the space is not sufficient the Protect command then works as a New Page.

13. What is LDB and do your prefer an LDB over select on some tables.
A. LDB providers procedures for retrieving complex data from database. In
addition a logical database creates a standard user dialogue with a selection
screen for specifying.
I prefer LDB. Because.
1. No need to take care fo the key fields and foreign key relationships
between the tables.
2. A selection screen with appropriate selection criteria is automatically
generated.
3. No need to code standards authority checked in the report, since they are
executed by report automatically.
4. Improvements to database access methods of LDB immediates improves
the performance of all report using it.
14. CLEAR, REFRESH, free and DELETE.
1. CLEAR : Leaves Memory allocated
Clear Itab. :- Clear contents from an internal table but memory still
available.
Clear Itab() Clear the header line.
Clear Itab
Clear Itab()

With header line


Without header line.
Clears the Headerline
Deletes all rows.
Delete all rows
Deletes all rows.

2.REFRESH : Leaves Memory allocated, does not work on header line.


All rows are freshed, but memory is allocated.
The header line if it exits as unchanged.

3. FREE: Removes Memory of body does not work on header line.


All rows are deleted and memory is freed. The header line it exits remains
unchanged.
4. DELETE : Delete one are more rows.
Syntax : delete itab
15. Purpose of edition Lock what program attribute do you specify for ABAP
PROGRAM.
Program Attribues:
In this we can determine the runtime environment of the program and thus
determine how ABAP/4 program is executed we must enter them carefully to
enable the system to process the program correctly.
1 Executable programs. 2 Module Pools . 3 Includes .
4 Subroutines
5. Function Groups 6. Interface Pools 7. Class Pools.
Status, Application, Authorization, LDB.
Editor Lock: Prevents other users from making changes to the program.
Enables an individual user to lock the program. Also facilitate locking of the program
sources for pc download purposes.
16. Can you explain Get Parameter, Set Parameters, Import & Export.
The statements SET parameter and GET parameter allow us to read/write from the SAP
memory. The SAP memory otherwise known as global memory is available to user
during entire duration of a terminal session. Its contents are retained across transation
boundaries as well as external & internal sessions.
The statements export to memory and Import from memory allow us to store & retrive
data from ABAP/4 memory. The contents of ABAP/4 memory are retrained only during
life time of an external memory. We can retain or pass data during internal session.
Syntax : Export ob1 ob2 .. obname to memory Id<id-name>
Import ob1 ob2 .. obname from memory ID<ID-name>.
Set Parameter ID RID Fields <Fields Name>
Get Parameter ID RID fields <Fields Name>.
SAP Script:
1. Are Layout sets Client dependent or independent ?
Dependent.
2. What are standard texts ? Differences between open and start form ?.

Standard Texts:
Open Form: Open form for printing, it should be called before any other form
function.
Start-form: In between open-form & close form we can use different forms. This
allows us to combine several different form into one print output.
To switch forms we use the function module start-form. If another form is still open
we must close it first using End-form.

Vous aimerez peut-être aussi