Posts

Showing posts with the label bdc faqs

SAP ABAP BDC-Interview Questions With Answers-6.

26. What Is CTU_PARAMS In BDC? What Are The Different Components Available In This Structure? CTU_PARAMS is a structure which has components used to control processing of CALL_TRANSACTION. This structure is used to provide display mode, update mode, default size and more control components to the Call Transaction statement. The different components available in CTU_PARAMS are: DISMODE - Processing Mode A - All Screens N - No Screens E - Only Error Screens UPMODE - Update Mode S - Synchronous A - Asynchronous L - Local CATTMODE - CATT Means Computer Aided Test Tool Blank - No CATT Mode, N - CATT Without Single Screen Control A - CATT With Single Screen Control DEFSIZE - Default Size For Screen resolution. 'X' - Yes, ' ' - No. RACOMMIT - Do not end transaction at COMMIT WORK. 'X' - Yes, ' ' - No. NOBINPT - No batch input session active (that is, SY-BINPT = SPACE). SY-BINPT is always space during a CATT procedure. 'X' - ...

SAP ABAP BDC-Interview Questions With Answers-5.

21. How To Capture Messages While Processing Call Transaction In BDC? System messages issued during the transaction can be stored in the as shown below. This internal table must be declared as TYPE TABLE OF BDCMSGCOLL. DATA: gt_bdcdata TYPE TABLE OF bdcdata WITH HEADER LINE, gt_msgtab TYPE TABLE OF bdcmsgcoll WITH HEADER LINE. CALL TRANSACTION 'xxxx' USING gt_bdcdata MODE 'N'' UPDATE 'S' MESSAGES INTO gt_msgtab. Internal table gt_msgtab contains only message no and message Id and not the actual message. In order to extract the exact message FORMAT_MESSAGE function module can be used. FORMAT_MESSAGE function module gives the actual message based on the message id, message no, and message variables. LOOP AT gt_messtab.    CALL FUNCTION 'FORMAT_MESSAGE'    EXPORTING       id = gt_bdcdata -msgid       lang = gt_bdcdata -msgspra       no = gt_bdcdata -msgnr       v1 = gt_bdcdat...

SAP ABAP BDC-Interview Questions With Answers-4.

16. What Are The Difference Between Call Session Method & Call Transaction Method? Differences between Call Session Method & Call Transaction Method are: In CALL SESSION method, the SAP database is updated during the processing of the batch input session, not the execution of the BDC program. In CALL TRANSACTION method, the SAP database is updated during the execution of the BDC program. In CALL SESSION method , errors are handled automatically by the system during the processing of the batch input session. Errors are recorded in a log and with the batch input session, error is kept. In CALL TRANSACTION method, errors are not handled automatically by the system. Errors must be handled explicitly in the BDC program. In CALL SESSION method - Asynchronous Processing and Synchronous Database update. During processing, no transaction is started until the previous transaction has been written to the database. In CALL TRANSACTION method - Synchronous Processing and dat...

SAP ABAP BDC-Interview Questions With Answers-3.

11. What Is The Importance Of KEEP Parameter In BDC_OPEN_GROUP Function Module? KEEP flag or parameter to indicate whether the batch input session should be kept (‘X’) or deleted (‘ ’) after the successful processing. The default value for this parameter is (‘ ‘)to delete the batch input session. 12. What Is The Importance Of POST_LOCAL Parameter In BDC_INSERT Function Module? POST_LOCAL parameter is used to set the update mode for the session. If this parameter is set to ‘X’ the update will run in asynchronous mode instead of the default synchronous one. 13. What Is The Biggest Disadvantage Of Using Batch Input Session Method? When dealing with batch input sessions, there is a timing issue involving the creation of a batch input session and the processing of a batch input session. The creation and processing of batch input sessions are distinct or two different actions; therefore, they occur at different times. Between the time a batch input session is created and the ...

SAP ABAP BDC-Interview Questions With Answers-2.

6. What Are The Two Methods To Process Batch Input Sessions? There are two methods to process batch input session: Manually process batch input sessions in the Session Overview i.e. SM35 transaction code. Execute program RSBDCSUB. 7. For What Purpose RSBDCSUB Program Is Used? Using the Session Overview is one method to processing batch input sessions. Another method is to execute the RSBDCSUB program is used for processing batch input sessions. It schedules a session to be processed in the background. When this program is executed, a parameter screen prompts the user for the session name. Also one can schedule this program to be executed in background where a variant would be required for the parameter screen. Also by using SUBMIT statement, RSBDCSUB program can be executed from any ABAP program. 8. Which Transaction Is Used To Process Batch Input Session? What Are The Different Modes Of Processing Batch Input Sessions? Transaction code SM35 is used to process Batch ...

SAP ABAP BDC-Interview Questions With Answers-1.

1. What Is BDC Programming? BDC stands for Batch Data Communication. Batch Data Communication (BDC) is the oldest batch interfacing technique that is available in SAP. BDC works on the principle of simulating user input for transactional screen, via an ABAP program. BDC is used to transfer data. Generally it is used to transfer data from one SAP system to another SAP system or from a non-SAP system to SAP system. To transfer the data BDC uses transactional codes available in the system. BDC is generally used to transfer large amounts of data into SAP system available in electronic form. 2. What Are The Advantages Of Using BDC As An Interface Technique? There are three advantages of using BDC as an interface technique: BDC works by carrying out normal SAP transactions just as a user would use it but it execute the transaction automatically. All the screen validations and business logic validation will be done while using Batch Data Input. BDC is suitable for entering large...