YouTube Icon

Interview Questions.

Top 33 Sap Bdc Interview Questions - Jul 27, 2022

fluid

Top 33 Sap Bdc Interview Questions

Q1. Have You Set Up A Back Ground Job ? How To Create A Background Job Without A Variant ?

Yes, user can create history job scheduling in two approaches.

By calling the executable application RSBDCSUB

Transaction Code SM37

Q2. What Should Be The Approach For Writing A Bdc Program?

Create recording

Transfer the records from legacy device to inner time period

From internal table transfer the statistics to BDC shape

Create consultation or use name transaction technique to replace facts to database desk.

Q3. Power Is Interrupted While Transferring Data From Internal Table To Application Server. How Will You Determine Many Records Are Transferred In Session Method And Call Transaction Method?

Check no. Of information already up to date and delete them from input report and run BDC once more.

Q4. Update Types In Call Transaction Method. What Is The Difference ?

Calltransaction replace kinds:replace types : S /A/LS-SYNCHRONOUSA-ASYNCHRONOUSL-LOCAL MEMORYsynchronous mode is looking forward to commit paintings and asynchronous is not awaiting devote work.

Q5. How To Write A Code For Multiple Transactions?

You have to Write BDC_Insert Function module Twice. Remaining Function modules like BDC_group_open and BDC_close_group need to be write as soon as there...You could bypass  or greater transaction code in BDC_insert function module.

Q6. What Is The Diffreence Between The Following.A) Bdc_open_group And Bdc_open_dataset.B) Bdc_close_group And Bdc_close_dataset?

No characteristic module named BDC_OPEN_DATASET is exist .

Q7. What Is The Structure Of Bdcmsgcoll?

Go to se11 and enter bdcmsgcoll in database desk filed and click on show it will displayed all of the fields which can be current in the bdcmsgcall structure.

Q8. How To Transfer Data Into Line Items Using Batch Input Session Method?

Desk controls

Q9. Where Can You Find Error Log For Call Transaction?

Declare it_bdcmsgcoll kind bdcmsgcoll.

Declare to maintain messages like Message (100) and w_msg TYPE bdcmsgcoll,

 Call transaction like under

CALL TRANSACTION MM01 USING IT_BDCDATA UPDATE S MESSAGES INTO IT_BDCMSGCOLL.

IF SY-SUBRC <> @

loop at it_bdcmsgcoll into wa_bdcmsgcoll wherein w_msg = E;.

CALL FUNCTION MESSAGE_TEXT_BUILD

EXPORTING

msgid = wa_bdcmsgcoll-msgid

msgnr = wa_bdcmsgcoll-msgnr

msgv1 = wa_bdcmsgcoll-msgv1

msgv2 = wa_bdcmsgcoll-msgv2

msgv3 = wa_bdcmsgcoll-msgv3

msgv4 = wa_bdcmsgcoll-msgv4

IMPORTING

message_text_output = w_message.

FM will genrate significant Error Discription :w_message.

Q10. How Can We Handle Table Control In Bdc?

We can deal with table manage using line index , 

Line index shows which line of Table control is to be use for BDC transaction,

Ex -

perform bdc_field using 'RC29K-AUSKZ(01)'

shows 1st line of desk control goes to be used for transaction which is Line index of Table Control 

Q11. Explain About Sap Fico Testing And The Tools Used?

If you need to do FICO trying out, you need to recognize the FICO process in SAP and also need to be familiar with the T-Codes and their capability. A little bit of Configuration information is likewise required to test FICO.

Tools: LSMW and BDC equipment willl be used for facts migration and loading the transactional/Master data in SAP.

Q12. If I Want To Execute A Program Only In Background Not In Foreground Is There Any Option For This?

In Session technique, in SM35 when you manner the batch, you need to choose the radio button Background, so it will run in history. In name transaction you want to say the Mode price as N (no display screen), to be able to run in history.

Q13. How Do You Send Files To The Legacy Systems From Sap And Vice Versa? How Does One Know That The Legacy Files Have Come On To The Sap Server You Are Working On?

BDC is used to switch the facts from legacy machine to SAP gadget & vice versa...

We can send the files from SAP to legacy system thru datasets (open dataset for output...) & GUI_download (F'n Module)..

Q14. How Table Control Cn Be Generated Using Bdc?

Using index

Q15. What Are The Types Of Records That Are Transferred To Sap R/three And Used By Interfaces?

Any sort of facts may be transferred to SAP R/three

Q16. How To Load Data From Ms Excel Sheet To Sap By Using Bdc Method ?

Using function module UPLOAD or WS_UPLOAD or GUI_UPLOAD, but we need to provide record kind as 'wxi'. OR use feature module : alsm_excel_to_internaltable.

Q17. How Can We Upload A Text File Having Delimiters In To Legacy System?

For up loading?Textual content report we use the pre-described FM gui_upload. In that FM we've the parameter has_field_seperator, for that we assign the default delimiter 'x'.

?????????? HAS_FIELD_SEPERATOR = 'X'

'X' can offer the What ever delimiter we used in flat document for seperation.

Q18. How Do We Assign Dynamic Views While Creating Material Master And Generating Bdc?

By defining the view index as like as desk control Index fee. Suppose if view is in 9th function fee, then assign this cost to index .

Q19. How To Handle Error In Session Method?

In session method the machine automatically dealt with the mistake.Goto sm35select the consultation call ,then pick the analysis tab button within the top after that pick the Log created, Here we are able to see the mistake record.

Q20. What Is The Difference Between Call Transaction And Session Method?

Call trasaction technique trasfers non sap facts into sap at once after finishing touch of BDC, whereas consultation approach creates the session and transfers information whilst consumer seesions it. It tranfers records separately while trasaction technique transfers information all together.

Q21. Can We Handle Two Transaction Codes In The Same Program Using Call Transaction Bdc Input Method?

No.

Q22. What Is The Difference Between Upload And Ws_upload ?

The diffrence among WS_Upload and Upload is when you operate function Upload it activates for a dailog field where in you need to key in the report region. Where as in case of WS_Upload you specify the file area inside the feature enter parameters itself.

Q23. What Are The Table Controls In Bdc ? What Is The Difference Between Bdc And Lsmw ?What Is The Difference Between Bdc And Rfc ?

BDC - Batch facts verbal exchange in which there are 2 procedures

in bound

outbound

RFC - faraway fucntion name(or) calling

Q24. What Is The Difference Between Rfc And Bapi Function Modules?

BAPI's are the faraway enabled Function modules that are defined in the Business Object Repository (BOR) as the strategies of the enterprise items.I can say BAPI is the subset of RFC. RFC connects to the alternative machine thru BAPI and vice versa.

Q25. Use If Idoc And Bapi?

Idoc is convey facts from one server to different server,bapi can be used to update the statistics base desk with legacy device information.

Q26. While Doing Bdc Exp Va01 Transaction Sometime In The Item Level Data Shows Only four Items And Other Times It Will Show 6 Line Items, How Will You Maintain This Kind Of Screen Resolutions Scenerio?

Fill the CTUPARAM shape for Screen resolutions , and get in touch with this shape using options from CTUPARAM in Call Transaction Syntax

Q27. How Do You Write Manual Bdc Session Method?

Steps to create guide BDC consultation

Use BDC_OPEN_GROUP to open the session

loop at the inner table which you will use in transaction , stps of BDC transaction recording

Use BDC_INSERT to insert 1 transaction in Session

endloop

Use BDC_CLOSE_GROUP to shut the consultation .

Q28. How To Write A Code In Tab Control?

For tab manipulate we must use concatenate alternatives to your coding.

Q29. What Is The Use Of Table Control In Bdc Is It Same In Module Pool Table Control?

Yeah that table manage is same as that used in module pool right here we do recording

Q30. From Excel To Abap - Is Batch Mode Possible ?

DATA  w_file TYPE string.

* Convert the report path into string

  w_file = p_input.

* Internal Table ought to have same subject collection as EXL File.

  CLEAR   t_upload.

  REFRESH t_upload.

* Call characteristic to add the records into internal table

  CALL FUNCTION 'GUI_UPLOAD'

    EXPORTING

      filename                = w_file

      filetype                = 'ASC'

      has_field_separator     = 'X'

    TABLES

      data_tab                = t_upload

    EXCEPTIONS

      file_open_error         = 1

      file_read_error         = 2

      no_batch                = three

      gui_refuse_filetransfer = 4

      invalid_type            = 5

      no_authority            = 6

      unknown_error           = 7

      bad_data_format         = eight

      header_not_allowed      = nine

      separator_not_allowed   = 10

      header_too_long         = eleven

      unknown_dp_error        = 12

      access_denied           = 13

      dp_out_of_memory        = 14

      disk_full               = 15

      dp_timeout              = 16

      OTHERS                  = 17.

  IF sy-subrc NE zero.

*    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

*            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

  ELSE.

*   Delete the primary row of heading from the uploaded desk

    DELETE t_upload INDEX 1.

  ENDIF.       " IF sy-subrc EQ 0.

Q31. How To Handle Errors In Call Transaction Bdc Method Without Using Bdcmsgcoll Internal Table?

We can use session method logfile in call transaction.

We should ship error statistics in to one internal table .

Next for that itab u can use consultation method .

With this u will get session technique log record in call tran.

Q32. Why Lsmw Does Not Support Call Transaction Method?

Lsmw is one time requirement call tr. Would not have log report. We ought to keep explicitly

Q33. How Can We Use Multiple Transactions By Using Bdc_insert?

In the function module t-code right here mention transaction code, and dynprotab here citing inner table name ,calling no of times a FM and assing TCODE and INTERNALTABLENAME




CFG