Add office photos
TCS logo
Engaged Employer

TCS

Verified
3.7
based on 90.5k Reviews
Video summary
Filter interviews by
SAP Abap Technical Consultant
Experienced
Clear (1)

10+ TCS SAP Abap Technical Consultant Interview Questions and Answers

Updated 5 Feb 2024

Q1. How to display multiple screen in one layout

Ans.

To display multiple screens in one layout, use the SAP Screen Painter tool and create a custom screen with multiple subscreens.

  • Create a custom screen using the SAP Screen Painter tool

  • Add multiple subscreens to the custom screen

  • Define the layout of each subscreen using the Screen Painter

  • Use the PBO (Process Before Output) module to display the subscreens in the desired layout

  • Use the PAI (Process After Input) module to handle user input from the subscreens

View 6 more answers
right arrow

Q2. What is the use of constructor? When it will be called

Ans.

Constructor is used to initialize an object. It is called when an object is created.

  • Constructor is a special method with the same name as the class.

  • It is used to initialize the instance variables of a class.

  • It is called automatically when an object is created using the new keyword.

  • Constructors can be overloaded to provide different ways of initializing objects.

  • Example: public class Employee { public Employee() { // constructor code } }

View 4 more answers
right arrow

Q3. What is Singleton class. What is the use of singleton class

Ans.

Singleton class is a class that can only have one instance at a time.

  • It is used to ensure that there is only one instance of a class in the system.

  • It is often used in situations where a single object needs to coordinate actions across the system.

  • Example: Database connection class, logger class, configuration class.

  • It can be implemented using private constructors, static methods, and static variables.

View 1 answer
right arrow

Q4. What is enhancement framework? Difference between customer exit and Badi

Ans.

Enhancement framework is a tool to modify standard SAP applications without changing the original code.

  • Enhancement framework provides a way to add custom code to standard SAP applications.

  • Customer exits are predefined hooks in the standard code that allow custom code to be added.

  • Badis are similar to customer exits but provide more flexibility and can be implemented multiple times.

  • Enhancement framework is used to avoid modifying standard code and to make upgrades easier.

  • Exampl...read more

View 1 answer
right arrow
Discover TCS interview dos and don'ts from real experiences

Q5. What is the annotation used to display text element in cds

Ans.

The annotation used to display text element in CDS is @Semantics.text

  • The @Semantics.text annotation is used to display text elements in CDS views

  • It is used in combination with the element name and the label for the text

  • Example: @Semantics.text.label: 'Product Description';

  • The label can be customized to display any desired text

View 1 answer
right arrow

Q6. Which method will be called in backend to handle the deep entity call?

Ans.

The method called in backend to handle deep entity call is GET_DEEP_ENTITY.

  • GET_DEEP_ENTITY method is used to retrieve a deep entity from the backend system.

  • It is used to retrieve a single entity with its related entities in one request.

  • It is called when a deep entity is requested in OData service.

  • It is used to retrieve data from multiple tables in one request.

View 1 answer
right arrow
Are these interview questions helpful?

Q7. What is table function in cds. Practical example when it was used

Ans.

Table function in CDS is a reusable database function that can be used to define complex logic and calculations.

  • Table function is defined in CDS (Core Data Services) using the @EndUserFunction annotation.

  • It allows you to define complex logic and calculations that can be used in CDS views or ABAP programs.

  • Table functions can have input parameters and return a table of data as the result.

  • They can be used to perform data transformations, aggregations, filtering, and more.

  • A pract...read more

View 1 answer
right arrow

Q8. What is abstract class. Difference between abstract class and Interface

Ans.

Abstract class is a class that cannot be instantiated. Interface is a collection of abstract methods.

  • Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.

  • Abstract class can have instance variables, while interface cannot.

  • A class can implement multiple interfaces, but can only inherit from one abstract class.

  • Example of abstract class: Animal (cannot be instantiated). Example of interface: Runnable (collection of abstrac...read more

View 1 answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. What is partner profile in Idocs? Steps to create custom Idoc.

Ans.

Partner profile in Idocs is used to define communication partners and their settings.

  • Partner profile contains information about the communication partner such as their ID, address, and communication protocol

  • Partner profile is used to determine the outbound and inbound processing of Idocs

  • To create a custom Idoc, define the segments and fields using WE31 transaction

  • Create a message type using WE81 transaction and link it to the Idoc type

  • Create a process code using WE42 transact...read more

View 1 answer
right arrow

Q10. How to publish Odata service by consumption view

Ans.

To publish Odata service by consumption view, create a consumption view and expose it as an Odata service.

  • Create a consumption view using SE11 transaction

  • Activate the view and generate the runtime object

  • Create an Odata service using SEGW transaction

  • Add the consumption view to the Odata service

  • Activate and publish the Odata service

View 1 answer
right arrow

Q11. What is VDM module in CDS

Ans.

VDM module in CDS is a virtual data model that provides a semantic layer on top of the underlying database tables.

  • VDM stands for Virtual Data Model.

  • It is used in SAP ABAP CDS (Core Data Services) to define the structure and behavior of data models.

  • VDM provides a semantic layer that abstracts the complexity of the underlying database tables.

  • It allows developers to define entities, associations, and annotations to represent business objects and relationships.

  • VDM modules can be ...read more

View 1 answer
right arrow

Q12. What is search help exit

Ans.

Search help exit is a user-defined ABAP routine that is used to modify the search help behavior.

  • Search help exit is used to customize the search help functionality in SAP.

  • It allows developers to modify the search help behavior by adding additional checks or filters.

  • Search help exit is implemented as a user-defined ABAP routine that is called during the search help process.

  • It can be used to restrict the search results or to add additional fields to the search help dialog.

  • Examp...read more

View 1 answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Recently Viewed
SALARIES
ENPAY Transformer Components
INTERVIEWS
Accenture Federal Services
No Interviews
INTERVIEWS
Sphinx Worldbiz
No Interviews
DESIGNATION
INTERVIEWS
Medha Servo Drives
No Interviews
INTERVIEWS
Sphinx Worldbiz
No Interviews
INTERVIEWS
Accenture Federal Services
No Interviews
DESIGNATION
INTERVIEWS
Accenture Federal Services
No Interviews
INTERVIEWS
Mindtree Solutions
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter