cancel
Showing results for 
Search instead for 
Did you mean: 

Error in ALV navigation

Former Member
0 Kudos

I want to navigate to detail view from ALV on click of item in alv. I want to fire outplug from alv. but amm getting error. Error Method "FIRE_OUT_ALV_LIST" is unknown or PROTECTED or PRIVATE. Code Below CASE r_param->column.     WHEN lc_ebeln. **    if click on PO number column then open Details       ASSIGN r_param->value->* TO .       wd_this->fire_out_alv_list( ).   ENDCASE.

Accepted Solutions (0)

Answers (1)

Answers (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi,

if you want to fire outbound plug, follow the syntax WD_THIS->FIRE_XYZ_PLG( ), here XYZ - plug name

Make sure that OUT_ALV_LIST outbound plug is created in your view of alv

Then use this line: WD_THIS->FIRE_OUT_ALV_LIST_PLG( ).

Hope this helps you.

Regards,

Rama

Former Member
0 Kudos

I am having outplug in view of ALV still am getting error Method "FIRE_OUT_ALV_LIST" is unknown or PROTECTED or PRIVATE. Please help

ramakrishnappa
Active Contributor
0 Kudos

As suggested earlier, you should call your out bound plug as below

WD_THIS->FIRE_OUT_ALV_LIST_PLG( )


Regards,

Rama

Former Member
0 Kudos

Hi Rama

I have this code in method of "nav_details" of the event "ON_CLICK" of ALV in Component Controller.

I have the outbound plug with name "OUT_DETAILS_PLG" in the view of ALV.

My code is below in component controller method "Nav_details" on event " ON_CLICK"

Method nav_details.

***

----

-----

wd_this->fire_out_details_plg( ).

Endmethod.

Am getting the syntax error

Method  "fire_out_alv_plg" is unknown or protected or private.

I used the plug with the same name as you have mentioned but also giving syntax error.

ramakrishnappa
Active Contributor
0 Kudos

Hi,

You cannot fire an out bound plug from component controller reference.

You have to fire it inside ALV view

Regards,

Rama