SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software
Development resources, articles, tutorials, code samples, tools and downloads for SAP HANA and ABAP, HANA Database, SQLScript, SAP UI5, Screen Personas, Web Dynpro, Workflow

Component Usage ALV Does Not Have an Active Component


While developing a SAP Web Dynpro application using SE80 screen I experienced the following error message.
Component Usage ALV Does Not Have an Active Component

I was trying to display a context data on Web Dynpro table object using the following ABAP code:

DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .
lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
Code




I had managed to overcome this error by using "Embed View" option on Window screen as seen in following SAP Web Dynpro screenshot.

The "Embed View" command properties are as follows; Table as name, SALV_WD_TABLE as component of view and ALV as component usage as seen below.

Web Dynpro component usage active component error



SAP HANA and ABAP

Install SAP Free
CRM Companies List
Web Based CRM Software


Copyright © 2004 - 2021 Eralper YILMAZ. All rights reserved.