ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  ERP CRM  >>  SAP  >>  ABAP
 
 


 

 
 Basis interview questions  Basis Interview Questions
 ABAP interview questions  ABAP Interview Questions
 SAPScript interview questions  SAPScript Interview Questions
 SD interview questions  SD Interview Questions
 MM interview questions  MM Interview Questions
 QM interview questions  QM Interview Questions
 PP interview questions  PP Interview Questions
 PM interview questions  PM Interview Questions
 PS interview questions  PS Interview Questions
 FI CO interview questions  FI CO Interview Questions
 HR interview questions  HR Interview Questions
 SAP CRM interview questions  SAP CRM Interview Questions
 SRM interview questions  SRM Interview Questions
 APO interview questions  APO Interview Questions
 Business Warehouse interview questions  Business Warehouse Interview Questions
 Business Workflow interview questions  Business Workflow Interview Questions
 SAP Security interview questions  SAP Security Interview Questions
 SAP Interfaces interview questions  SAP Interfaces Interview Questions
 Netweaver interview questions  Netweaver Interview Questions
 SAP ALE IDocs interview questions  SAP ALE IDocs Interview Questions
 SAP B1 interview questions  SAP B1 Interview Questions
 SAP AllOther interview questions  SAP AllOther Interview Questions
Question
dear PLS TELL ME,COMPLETE PROCEDURE OF SESSION METHOD STEP 
WITH CODE .MY ID: zaheer_guts@yahoo.co.in
 Question Submitted By :: Zaheer
I also faced this Question!!     Rank Answer Posted By  
 
  Re: dear PLS TELL ME,COMPLETE PROCEDURE OF SESSION METHOD STEP WITH CODE .MY ID: zaheer_guts@yahoo.co.in
Answer
# 1
1 STEP)Define an ITAB based on Flat File.
2 STEP)Define an ITAB with ref of BDCDATA Str
3 STEP)Uplaod the data to ITAB Using pd Global class
        CL_GUI_FRONTEND_SERVICES method GUI_UPLOAD.
4 STEP)Call pd Function module BDC_OPEN_GROUP
Provide LOOP to move record from ITAB[] into ITAB.
5 STEP)Refresh ITAB(BDCDATA)
6 STEP)CALL subroutine to place the module POOL program name 
       and screen no in ITAB(BDCDATA).
7 STEP)Call subroutine to place the field name and field value 
       in ITAB(BDCDATA)
8 STEP)CALL pd Function module BDC_INSERT.(provide Mapping)
9 STEP)CALL BDC_CLOSE_GROUP.
Endloop.
 
Is This Answer Correct ?    0 Yes 0 No
Vijay
 
  Re: dear PLS TELL ME,COMPLETE PROCEDURE OF SESSION METHOD STEP WITH CODE .MY ID: zaheer_guts@yahoo.co.in
Answer
# 2
call transation                     session
----------------                  -------------------------
1.synchronization is optional    1.only synchronizations
2.error handle explicitly        2.error log     created
3.faster and less amount of      3.slow and we can
transfered     
data can be transfered             large data.
4.it can process single transa   4.we can process multiple 
  cations                          transactions
5.sy-subrc is returns            5. no sy-subrc

coding of call transations
-------------------------
1.we have a flat file with specifed locations
2.we have to declare internal tables like.
   frist one is flat file length.
   second is to define structures of itab2.
   third is define bdcdata
   fourth is bdcmsgcall.
3.we can use call functions like upload,ws_upload,gui_upload
4.we can spilt the flat file data to itab2 structure.
5.we can give the pool file name and screen fields with
subroutines.
6.we can call the screen like that.....
 call transations <tcode> using bdcdata
                  mode < A/E/N>
                  update <A/S>
                  message into internal tables.
7.we can define code inbetween form ..... endform.

session method 
-------------  
1 to 4 steps is same.
5. call the functions module bdc_open_session
6. call the functions module bdc_insert
7. call the functions moudle bdc_close_session
 
Is This Answer Correct ?    0 Yes 0 No
Prabhu Das
 
 
 

 
 
 
Other ABAP Interview Questions
 
  Question Asked @ Answers
 
How to Read long Text using Scripts EDS1
how can you call two forms in one sap sprict print program  1
what types of request are used to transport repository objects?  2
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, TCS2
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?  2
What are logical databases? What are the advantages/ dis-advantages of logical databases?  1
In Background Report,how to handle errors? Cap-Gemini4
A report has statements like: top-of-page. write :/. End-of-page. write:/. But the end-of-page is not displayed ?please verify? TCS3
How do you check it out whether the Logo is added or not in your forms? FutureSoft1
when u create an index in Data Dictionary..how do we call it in a program or report..? Deloitte2
wat does BDCRECXX contains?  1
how do you put dynamic page breaks in script.  1
How to Create an Interactive List based on the selection criteria specified for the customer number for displaying the customer information on the basic list, their corresponding order details on the secondary list. Plz specify the coding details. Regards, Rahul TCS1
in real time with the help of scripts what we can do? CSC1
IN Smart Form how many windows are there explain them each? Upto how many main windows we can place in Smartform? HP2
What are the FM you used in Session method? FutureSoft2
Example of Pooled and Cluster tables ? IBM3
can please tell me the differences b/w bapi & bdc? Accenture3
what are the events in Module pool Programming? TCS5
what is the use of FOR ALL ENTRIES in an internal table? Keane-India-Ltd4
 
For more ABAP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com