Upload
amit-verma
View
219
Download
0
Embed Size (px)
Citation preview
7/26/2019 BDC Questions
1/11
1
What should be the approach for writing a BDC program?
Ans.: 1. Analysis the Data. 2. Generate SAP structure. 3. Develop transfer
program 4. Create seuential file. !. Create "atch input program. #. Process"atch input $ata
2 What is the alternative to batch input session?
Ans. : Call transaction % call $ialog
What are the steps in a BDC session ?
&he first step in a 'DC session is to i$entify the screens of the transaction that the
program (ill process. )e*t step is to (rite a program to "uil$ the 'DC ta"le that
(ill "e use$ to su"mit the $ata to SAP. &he final step is to su"mit the 'DC ta"le to
the system in the "atch mo$e or as a single transaction "y the CA++&,A)SAC&-) comman$.
3 What are the problems in processing batch input sessions? How is batch inputprocess different from processing on line?
Ans.: Sessions cannot "e run in parallel an$ not fast.
4 What do ou do when the sstem crashes in the middle of a BDC batch
session?
/Chec0 no. of recor$s alrea$y up$ate$ an$ $elete them from input file an$ run 'DCagain.
! What do ou do with errors in BDC batch session?
/Analysis an$ correct input file format an$ entries in internal ta"le 'DCDA&A.
" WH#$ are the commands that allow ou to process se%uential file? #nd what
is their snta&?
Ans :/
,AD DA&AS& rea$ing an$ &,A)S5, (riting
P) D&AS& 6$ataset name7 for 6input output appen$ing7 in
6"inary te*t 7 mo$e at PS-&-) 6position7 8SSAG 6fiel$7
,AD DA&AS& 6$ataset name 7 -)& 6fiel$7
C+S DA&AS& 6$ataset name7
D+& DA&AS& 6$ataset name7
&,A)S5, 6fiel$7 to 6$ataset name7
' What is the process for transferring data from legac sstem to (#)?Ans :/ 5&P file transfer9 8anufacturer specific fiel$ transfer )5Snet(or0 file
system;'DC.
* +&plain the process to transfer a record to a dataset?
Ans :/ &,A)S5, 6fiel$7 to 6$ataset name7.
, Wh batch input?
7/26/2019 BDC Questions
2/11
Ans :/ &o input a large amount of information at off pea0 times.
1- Can data be put directl into the database?
Ans :/ )o9 only after the $ata has "een entere$ via transaction.
11 +&plain at high level. the batch input process?
Ans :/ 'atch $ata is place$ into ueues calle$ "atch input sessions 9 then place$ into
the application programs for maintenance into the $ata"ase.
12 What are the function modules associated with batch input?
Ans :/ 'DC
7/26/2019 BDC Questions
3/11
APP)D 6"$c ta"le7
1! How do ou find the transaction number. program number and field names?
Ans :/
&ransaction no.9program no. System /7 status
5iel$ names / 519 &echnical help1" What are the processing modes for Batch 0nput?
Ans :/ Process on screenforegroun$ 9 Display errors only an$ process in the
"ac0groun$
1' What are the available Codes that can be utilied during batch input
processing?
Ans :/
;n terminates current "atch input transaction an$ mar0s as incorrect.
;"$el $elete current "atch input transaction from session.
;"en$ terminate "atch input processing an$ mar0 session asincorrect.
;"$a change $isplay mo$e to process the session on screen instea$ of
$isplaying only errors.
;"$e change $isplay mo$e to $isplay only errors instea$ of processing the session
on the screen.
1* What is the effect of the BDCC56(6 field name in the BDC table?
Ans :/ @ou can set the cursor an$ enter as a correspon$ing fiel$ value the name of
the fiel$ on (hich the cursor is to "e positione$ .
1, How man tpes of BDCs ou have done?
21 Wh ou choose Call transaction and7or session method?
Call transaction is mainly use$ (hen you (ant to up$ate the $ata"ase using a singletransaction 9 you can also up$ate the $ata"ase in asynchronous mo$e9 (here as
session is use$ to perform huge $ata"ase up$ations using more than one transaction
an$ (hich (ill last for a long time.
22 How you trap errors in call Transactionrrors (hile up$ating the $ata"ase using call transaction techniue are trappe$using a structure "$cmsgcall9 (hose fiel$ msgtyp "ecome e (hen an error recor$
is encountere$. &hose recor$s are formatte$ using format
7/26/2019 BDC Questions
4/11
-n 'DCs (e have t(o types of up$ation mo$es 1 Synchronous 2 Asynchronous
24 What is main difference between session method and LSMW-n the conte*t of session metho$9
the metho$ of up$ating is 'atch -nputE 9
(e reuire a program to "e co$e$9
'ut in the conte*t of +S8F metho$9
&he metho$s of up$ating
using 'atch -nput;Direction -nputE
from an -DC9
from a 'AP- structure.
)o source co$e is reuire$9 the complete operation is performe$ in 1# steps
seuence
2! What is main difference between CATT and LSMW=sing +S8F you can up$ate any 0in$ of $ata "ut no changes to $ata"ase areallo(e$9 (here as CA&& tool can up$ate only master $ata9 (hich also allo(schanges to the master $ata an$ also a significant testing of $ata is possi"le
2" What is BDC and How ou use it?
'C 'asis Components//A'AP (or0"ench//'C 'asis Programming
interfaces//Data transfer
During $ata transfer9 $ata is transferre$ from an e*ternal system into the
SAP ,;3 System. &ransfer $ata from an e*ternal system into an ,;3 System as it is
installe$. &ransfer $ata regularly from an e*ternal system into an ,;3 System.
7/26/2019 BDC Questions
5/11
*ample: -f $ata for some $epartments in your company is input using a system
other than the ,;3 System9 you can still integrate this $ata in the ,;3 System. &o $o
this9 you e*port the $ata from the e*ternal system an$ use a $ata transfer metho$ toimport it into the ,;3 System.
'atch input (ith "atch input sessions : Data consistency chec0 (ith the help ofscreen logic.
Fith the "atch input metho$9 an A'AP program rea$s the e*ternal $ata that is to "e
entere$ in the ,;3 System an$ stores the $ata in a H"atch input sessionH. &he sessionrecor$s the actions that are reuire$ to transfer $ata into the system using normal
SAP transactions.
Fhen the program has generate$ the session9 you can run the session to e*ecute the
SAP transactions in it. @ou can e*plicitly start an$ monitor a session (ith the "atchinput management function "y choosing System I Services I 'atch input9 or
have the session run in the "ac0groun$ processing system.
=se the 'DC
7/26/2019 BDC Questions
6/11
3" 9ive real time wor: done b u in BDC ? $ransactions used ? parameters passed with fun
3' will as: u for screen no;s and dnpro names for BDC that u sa u have done/
! Which technical field in the "DCDATA table holds the last cursor position
41 What is true about the choose correct option7s@
Part of the SAP system
Processes hierarchical $ata files hea$er an$ position
)ee$s a source fiel$ for every target fiel$
## How do you read a L$CAL se%uential file?
4! How do you write a se%uential file?
#& How do you send the "DCDATA table in a Call Transaction statement?
4' What loop do you code for a '(AD DATAS(T statement?
!1 What are the steps in a "DC session ?&he first step in a 'DC session is to i$entify the screens of the transaction that the program (ill proce
ta"le that (ill "e use$ to su"mit the $ata to SAP. &he final step is to su"mit the 'DC ta"le to the syst
7/26/2019 BDC Questions
7/11
CA++ &,A)SAC&-) comman$.
!2 How do you find the information on the current screen ?/ &he information on the current screen can "e foun$ "y System J Status comman$ from any menu
!3 How do you sa)e data in "DC tables ?/ &he $ata in 'DC ta"les is save$ "y using the fiel$ name 'DC
7/26/2019 BDC Questions
8/11
!* Does the C#
7/26/2019 BDC Questions
9/11
"4 How many sessions will be opened usin/ "DC0$
/ nly one session can "e create$ using the '
functon.
"! What is +"ATCH -,1UT. or +"DC. ?/ &he SAP system offers t(o primary metho
8&>D9 CA++ &,A)SAC&-) 8&>D for transferring
from other systems an$ )on/SAP systems. &hese t(o metho$s a
as 'A&C> -)P=& or 'atch Data Communication 'DC.
"" What are the ad)anta/es in "atch -nput ?
/ &he 'atch -nput ensures Data integrity.
)o manual interaction is reuire$ $uring Data transfer.
"' What is the functionality of +Classical "atch -npu-n Classical 'atch -nput an A'AP;4 program rea$s the e*ternal
entere$ in the SAP system an$ stores the $ata in a 'atch -nput sestores the actions that are reuire$ to enter your $ata using norma
"* Which 3unction Modules are used in +Classical "
/ 'DC
7/26/2019 BDC Questions
10/11
*2 How do ou set up batch process?
Data analysis: AnalyQe the $ata that is to "e transferre$ to the SAP System.
RR
Generate SAP structures: Generate SAP $ata structures for incorporation into your$ata e*port program.
RR
Develop transfer program: @ou can (rite the program in A'AP;4 or as an e*ternal
program.
RR
Create seuential file: *port the $ata that is to "e transferre$9 to a seuential file.
RR
Create "atch input program: A'AP;4 "atch input program that (ill rea$ the $ata to
"e transferre$ from the seuential file.
RR
Process "atch input $ata: Process the $ata an$ a$$ it to the SAP System. @ou can$o this either "y:
"atch/input session metho$ or Call transaction metho$.
RR
Analyse results: Chec0 that all $ata has "een successfully processe$.
RR
Analyse rror session: Correct an$ re/process erroneous $ata.
*3 Where do you use "DC?
transferring $ata from another system (hen you install your SAP
System
7/26/2019 BDC Questions
11/11
regularly transferring $ata that is capture$ "y a non/SAP system in
your company into the SAP System. Assume9 for e*ample9 that $ata collection in
some areas of your company is still performe$ "y a non/SAP system. @ou can still
consoli$ate all of your $ata in the SAP System "y e*porting the $ata from the other
system an$ rea$ing it into the SAP System (ith "atch input.
@ou can also use "atch input to transfer $ata "et(een t(o ,;3 Systems. >o(ever9there are more $irect metho$s for $oing this9 such as ,5C remote function calls.
*4 What has to be done to the pac4ed fields before submittin/ toa "DC session?
Declare these fiel$s in the internal ta"le as characters an$ the length of the fiel$
shoul$ "e same as the fiel$ length of the fiel$s $ata element. &his internal ta"le isuse$ to hol$ the $ata fetche$ from the seuential file using FS/uploa$ function
mo$ule
What is LSMW&he +S8F is a cross/application component CA of the SAP ,;3 System.
&he tool has interfaces (ith the Data &ransfer Center an$ (ith "atch input an$
$irect input processing as (ell as stan$ar$ interfaces 'AP- an$ -Doc in ,;3.
&he +S8F comprises the follo(ing main functions:
1. ,ea$ $ata legacy $ata in sprea$sheet ta"les an$;or seuential files.
5unctionRead datareplaces an$ enhances functions Spreadsheet
interfacean$Host interface of +S8F version 1.M. @ou can use any com"ination
out of PC an$ server files no(.
2. Convert $ata from the source into the target format.
3. -mport $ata to the $ata"ase use$ "y the ,;3 application.
TC$D( 5 LSMW