- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Form a dynamic Query in SAP ABAP
You can indeed achieve it. You just follow the below steps:
Step 1 − Define the input parameters
DATA: table_name TYPE string VALUE ‘TABLE’, column_name TYPE string VALUE 'COLBNAME', name_value TYPE string VALUE 'COLVALUE'
Step 2 − Create a table type to hold the output results.
DATA: results TYPE REF TO data, TableType TYPE string FIELD-SYMBOLS <results> TYPE STANDARD TABLE
Step3 − Create a dynamic query to fill the table
- Related Articles
- Creating a variable with dynamic variable type in SAP ABAP
- \nHow to pass dynamic values on the fly to CDS in SAP ABAP\n
- Looping through a dynamic table in SAP
- Defining a variable reference in SAP ABAP
- Negation logic in SAP ABAP
- Using logarithm in SAP ABAP
- Declare dynamically in SAP ABAP
- What is SAP ABAP?
- Retrieving data from a table in SAP ABAP
- Debugging a failed Insert statement in SAP ABAP
- Create database view in SAP ABAP
- Getting unauthorized exception in SAP ABAP
- Sort Datetime Type in SAP ABAP
- Equivalent for Row_Number() in SAP ABAP
- Using SAP BusinessObjects dynamic recipient

Advertisements