I am enhancing a standard component in SRM 7 to achieve some functionality.
The WD Component is FPM_OIF_COMPONENT, created a post exit for the method ONACTION_BUTTONPRESSED and opening a new window from there
CALL METHOD lo_window_manager->create_window_for_cmp_usage
interface_view_name = 'ZWD_LGC_LRSC'
component_usage_name = 'ZWD_LGC_LRSC'
close_in_any_case = ABAP_TRUE <------------this should close the window?
is_resizable = ABAP_FALSE
window = LO_WINDOW
In the component ZWD_LGC_LRSC thers a Create button, on clicking this some processing happens. I expected that the pop up window will close after the processing is completed because of close_in_any_case = ABAP_TRUE ?
But that is not happening.
How can achieve the functionality to close the pop up window automatically after the processing finishes on click of Create button?