Skip to Content
0
Former Member
Dec 01, 2006 at 11:42 AM

Regarding popup in bsp

109 Views

Hi Gurus,

I am not getting gud help from any blogs..so pls dont send me blog links..

My scenario is like am selecting a value from popup screen(f4 help).Am using MVC pattern. Input field is in "find.htm". It will call 'emppop.do' and eventually it calls the view 'emppop.htm' using the method DO_REQUEST.

1) But my popup screen is coming with short dump

2)Dont know how to select a value from popup screen.

find.htm

-


<htmlb:inputField id = "empid"

showHelp = "true"

value = "<%= empid %>"

onValueHelp = "javascript:window.open ('emppop.do', '_blank', 'Emp Details','width=100,height=300');" />

Hope this is correct since I got it from Raja's post.

emppop.do(DO_REQUEST)

-


SELECT * FROM Z12_EMP_PER INTO TABLE IT_EMP.

DATA: POPVIEW TYPE REF TO IF_BSP_PAGE.

POPVIEW = CREATE_VIEW( VIEW_NAME = 'emppop.htm').

POPVIEW->set_attribute( name = 'it_emp' value = it_emp ).

CALL_VIEW( POPVIEW ).

emppop.htm

-


<%@page language="abap" %>

<%@extension name="htmlb" prefix="htmlb" %>

<htmlb:content design="design2003" >

<htmlb:page title=" " >

<htmlb:form>

<htmlb:tableView id = "pop"

table = "<%= it_emp %>" >

</htmlb:tableView>

</htmlb:form>

</htmlb:page>

</htmlb:content>

Pls help me to correct this and also help me to select a value from this popup.

Thanks in advance...