Posts

Showing posts with the label SAP ABAP Interview Questions And Answers

SAP ABAP/Data Dictionary-Interview Questions With Answers.

Here's a list of Interview Questions With Answers on SAP ABAP Dictionary / Data Dictionary. Click on the question to find out the answer. Also please discuss and share answers or questions if you have any in the comment box. 1) What Is The Difference Between Native SQL & Open SQL? 2) What Is ABAP Dictionary Or Data Dictionary? What Is The Transaction To Access ABAP Dictionary? 3) What Are The Objects Of the ABAP Dictionary Or What Types Of Objects Can Be Created In The ABAP Dictionary? 4) What Are The 3 Types Of Tables In SAP? 5) What Do You Mean By Transparent Tables In SAP ABAP? 6) What Do You Mean By Pooled Tables In SAP ABAP? Also Explain What Do You Mean By Table Pool? 7) What Do You Mean By Cluster Tables In SAP ABAP? Also Explain What Do You Mean By Table Cluster? 8) What Are The Differences Between Transparent Tables, Pooled Tables & Cluster Tables? 9) What Is A View In SAP? 10) What Are The Different Types Of Views In SAP? 11) What Is A Database ...

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...

RFC-Interview Questions & Answers-SAP ABAP-6.

Image
26. How Can You Differentiate Types Of RFC By Syntax In An ABAP Program? Basically RFC’s can be recognized in an ABAP program by the syntax CALL FUNCTION <rfc name=' '> DESTINATION <destination name=' '>. If the RFC function call contains the clause STARTING NEW TASK, it is an asynchronous RFC; the clause IN BACKGROUND TASK indicates a transactional RFC. If the call only contains the clause DESTINATION, but neither STARTING NEW TASK nor IN BACKGROUND TASK, then the RFC is started as a synchronous RFC. The following code starts the functional module ZRFC_SALES_DEL_STATUS synchronously, asynchronously, and transactionally. * Synchronous RFC CALL FUNCTION ‘ZRFC_SALES_DEL_STATUS’ DESTINATION ‘R10’ EXCEPTIONS argument_error = 1 send_error = 2 OTHERS = 3. * Asynchronous RFC CALL FUNCTION ‘ZRFC_SALES_DEL_STATUS’ STARTING NEW TASK task DESTINATION ‘R10’ EXCEPTIONS communication_failure = 1 system_failure = 2 RESOURCE_FAILURE = 3. ...

RFC-Interview Questions & Answers-SAP ABAP-5.

Image
21. What Do You Mean By The Terms RFC Client & RFC Server? R FC client is the instance that calls up the Remote Function Call (RFC) to execute the function that is provided by an RFC server.  The process that starts the RFC is called the sender or client, and the process in which the RFC is executed is the recipient or server. Say we have CRM and R/3 System. If we want to read Sales Order’s Delivery Status record from R/3 System’s database, we will have to create a remotely callable function module in the R/3 environment which retrieves Sales Order’s Delivery Status records. Now we will have to call this function from the CRM System using a remote function call (Also list the destination for the target R/3 System in SM59) . In this case CRM server acts as an RFC Client and R/3 acts as an RFC Server. 22. What Do You Understand By The Term DESTINATION Used In RFC? CALL FUNCTION RemoteFunction DESTINATION Dest     EXPORTING        f1 =......

RFC-Interview Questions & Answers-SAP ABAP-4.

Image
16. What Is Fast RFC (fRFC)? Fast RFC is a type of RFC used for system internal communications. Interactions between J2ee engine in SAP & the ABP runtime environment in the same instance are done using Fast RFC . This type of RFC is possible only if both the source & target are on the same system. 17. What Is Parallel Processing In RFC (pRFC)? Parallel Processing is an extension of aRFC. Generally when we call a function module, it will stop the current program, execute another (called) program and then returns control to original program and again original program starts execution. With asynchronous function module control will start parallel without stopping the current program from which you called the function module. Parallel processing is generally used when there is a need to process large amount of data. In parallel processing, a job step is started as usual in a background processing work process. A program that runs in a job step can be programmed to us...

RFC-Interview Questions & Answers-SAP ABAP-3.

11. What Is Synchronous RFC (sRFC)? Synchronous Communication is implemented when there is a need for immediate return of data (response) from the receiving system to the sender system. The receiving system should be active at the time this communication is made so that it can process the function call at that very time. This communication is very helpful when real time response is required or when results are required immediately from the destination system. Synchronous RFC is based on synchronous communication which means both the source system and destination system (Client & Server) involved must be available at the time function call is made. sRFC is a means of communication between systems where acknowledgements are required. The resources of the Source System wait at the target system and ensure that they deliver the message/data with ACKD. The Data is consistent and reliable for communication. The only issue is if the target system is not available, the source ...

RFC-Interview Questions & Answers-SAP ABAP-2.

6. For What Purposes Can RFC’s Be Used? RFCs can be used for the following mentioned purposes: To establish Communication between different systems, such as between two SAP systems or between an SAP system and an external system. To establish Communication between application instances or between the application layer and the presentation layer (GUI communication). Can be Used for Parallelizing Processes as one program after another can start several RFCs asynchronously without waiting for processing to finish, RFCs are used to parallelize processes and dynamically distribute workload over the different servers within an SAP system. 7. State Whether RFC’s Are Client Dependent Or Client Independent Objects? RFC’s are Client Independent Objects. RFC connections can always be used across the entire system. This means that an RFC connection you have defined in client 100 can also be used from client 110 also without any difference. 8. What Are The Types of RFC’s availabl...

RFC-Interview Questions With Answers-SAP ABAP-1.

1. What Do You Mean By RFC? Explain In Detail. RFC stands for Remote Function Call. Remote Function Call is an interface for communication between a SAP System and other SAP or third-party compatible system. Remote function calls may be associated with SAP software and ABAP programming and provide a way for an external program (written in languages such as PHP, ASP, Java, C, C++) to use data returned from the server or insert data into server records. For business applications, sometimes it becomes necessary to communicate and exchange information (in predefined formats) with other SAP Systems or non-SAP Systems ( Example Visual Basic to SAP, Java to SAP etc. ). To enable this communication, SAP has provided us with a mechanism called RFC, which stands for 'Remote Function Call'. RFC’s can be used for external integration with SAP, such as PHP/SAP, Flex/SAP, Ruby/SAP, etc. In SAP, RFC Interface system is used for setting-up RFC connections between different SAP syst...