cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro ABAP calling another ABAP program

Former Member
0 Kudos

I have a question and just want to know if it's possible or not.

Is it possible to write a Web Dynpro ABAP program that calls another ABAP program which happens to be an ALV report?

Rather than re-write the ABAP ALV report, I was wondering if it's possible to call the ABAP ALV report within a Web Dynpro ABAP program and display the results within the Web Dynpro program.

If it's not possible, then I assume it would be better to re-write the code from the ABAP ALV report in the Web Dynpro ABAP program.

Thanks

John

Accepted Solutions (1)

Accepted Solutions (1)

aaron_morden2
Contributor
0 Kudos

The ALV report in your classic program is coded to be displayed in the GUI only.

Your best bet would be to create a Function Module or Method that will return the data to be used in your ALV. Simply call the Function/Method from your Web Dynpro and then bind the table to the DATA context node of the ALV INTERFACE CONTROLLER.

Former Member
0 Kudos

Thank you.

I thought about that as an option. I will look into it.

Answers (0)