Professional Documents
Culture Documents
ABAP in SAP S - 4HANA® - Dynamic Selection Screen With ALV IDA and Excel - N SPRO
ABAP in SAP S - 4HANA® - Dynamic Selection Screen With ALV IDA and Excel - N SPRO
Previous Next
When SAP created SAP S/4HANA®, it looked to combine and simplify a number of transactions and processes from previous versions like SAP Business Suite and
SAP ECC. Changes also came to ABAP, the underlying development language on which SAP S/4HANA is built, as well.
I’ve recently published a series of blogs on the SAP Community Network (SCN) that details the ABAP changes in SAP S/4HANA from a Consumer Industries
perspective, but many of the updates across other industries. In these blogs, I am going to walk you through some technical aspects of using ABAP in SAP S/4HANA.
The goal will be to focus on comparing older ABAP language features with a detailed explanation of the new ABAP syntax and SAP S/4HANA features.
Below is a preview of the first of this series, where we combine an Excel upload, Dynamic Select Option generation, display on a Popup Screen and show the results
in ALV IDA created for HANA. The complete post can be found on SCN, with plenty of screenshots and code snippets to help you understand just how ABAP has
transitioned from legacy SAP systems to SAP S/4HANA.
1. Program Overview
1. Program Flow Diagram
2. Excel File Format
2. Program Walkthrough
3. HANA and CDS Views
4. Method Tutorial
1. Method Chaining and NEW
2. Read Excel Data
3. Build Select Options
4. Popup Selection Screen
5. ALV IDA
5. Complete Program
6. References
Program Overview
https://www.n-spro.com/blog/abap-in-sap-s-4hana-dynamic-selection-screen-with-alv-ida-and-excel 1/4
2/5/2020 ABAP in SAP S/4HANA®: Dynamic Selection Screen with ALV IDA and Excel - /N SPRO
The Excel file will contain either a Table, View or CDS View with the fields that you’d like to appear as Select-Options on your popup window. As an enhancement to
the previous program, we will add a new row for a Transaction Code. This will allow us to execute the report via transaction code, without re-loading an Excel
spreadsheet each time. In addition, we can store the configuration settings for many reports and their corresponding transaction codes.
https://www.n-spro.com/blog/abap-in-sap-s-4hana-dynamic-selection-screen-with-alv-ida-and-excel 2/4
2/5/2020 ABAP in SAP S/4HANA®: Dynamic Selection Screen with ALV IDA and Excel - /N SPRO
Transaction Code
Table, View or CDS View Name
Selection Fields
Column B contains the actual Transaction Code, Table/View/CDS View name and a list of the fields you want to be included as Select Options on the Popup window.
For the CDS View “S_BOOKINGS”, include the fields CARRIERID, FLIGHTDATE, CUSTOMERID, LOCALCURRENCYAMOUNT on the popup window as Select-
Options whenever we execute the custom SAP Transaction code ZBOOKINGS.
The popup window for the above, would look like the following:
This is just the first section of this blog. To continue reading, please head to the full piece on SCN. For any further questions regarding moving to SAP S/4HANA,
please contact /N SPRO.
By Jonathan Capps | March 26th, 2019 | Categories: Blog | Tags: ABAP, SAP S/4HANA | 0 Comments
Related Posts
https://www.n-spro.com/blog/abap-in-sap-s-4hana-dynamic-selection-screen-with-alv-ida-and-excel 3/4
2/5/2020 ABAP in SAP S/4HANA®: Dynamic Selection Screen with ALV IDA and Excel - /N SPRO
ABAP in SAP S/4HANA: Capability Assessments Build an Intelligent Data SAPPHIRE NOW 2019: How Meeting the Growing
Report Creator Enable Successful Foundation with /N SPRO at Qualtrics Augments Demand for SAP Expertise in
August 7th, 2019 | 0 Comments Transformation Projects ASUG Roadshows Customer Analytics the Consumer Industries
June 28th, 2019 | 0 Comments May 23rd, 2019 | 0 Comments May 8th, 2019 | 0 Comments May 7th, 2019 | 0 Comments
Leave A Comment
Comment...
Save my name, email, and website in this browser for the next time I comment.
POST COMMENT
Privacy Policy - Terms & Conditions - Login - © 2018/N SPRO, A Rizing Company
https://www.n-spro.com/blog/abap-in-sap-s-4hana-dynamic-selection-screen-with-alv-ida-and-excel 4/4